:root {
    --red: #b5365a;
    --red-dark: #8d2847;
    --pink: #d98ca3;
    --ink: #2c2730;
    --muted: #716970;
    --paper: #fbf8f4;
    --white: #fffdfb;
    --nude: #efe3da;
    --nude-soft: #f7f0ea;
    --plum: #342d35;
    --line: rgba(56, 44, 52, .14);
    --radius: 32px;
    --shadow: 0 28px 80px rgba(77, 50, 61, .16);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 20;
    background: var(--red);
    color: var(--white);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--white);
    color: var(--red);
    font-weight: 900;
    letter-spacing: -.06em;
}

.brand-copy { display: grid; line-height: 1.08; }
.brand-copy b { font-size: 15px; }
.brand-copy small { margin-top: 4px; opacity: .72; font-size: 11px; }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.main-nav a { opacity: .82; transition: opacity .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); box-shadow: 0 12px 30px rgba(8, 9, 20, .2); }
.button-small { min-height: 44px; padding-inline: 20px; font-size: 13px; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 74px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(255, 95, 116, .52), transparent 42%),
        var(--red);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image: radial-gradient(circle at 0 100%, transparent 0 39px, rgba(80,0,20,.9) 40px 42px, transparent 43px);
    background-size: 86px 86px;
}

.hero-orb { position: absolute; border-radius: 50%; border: 80px solid rgba(255,255,255,.13); }
.hero-orb-one { width: 420px; height: 420px; left: -250px; bottom: -250px; }
.hero-orb-two { width: 540px; height: 540px; right: -330px; top: -360px; }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow span { width: 28px; height: 3px; border-radius: 2px; background: currentColor; }

h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(44px, 5.2vw, 76px);
    line-height: .96;
    letter-spacing: -.065em;
}

h1 em {
    display: inline-block;
    padding: .02em .14em .09em;
    border-radius: .22em;
    color: var(--ink);
    background: var(--white);
    font-style: normal;
}

.hero-lead {
    max-width: 650px;
    margin: 28px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,.85);
}

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.hero-actions .button span { font-size: 23px; line-height: 1; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; font-size: 14px; font-weight: 750; }

.trust-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 38px 0 0;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255,255,255,.3);
    list-style: none;
}

.trust-list li { display: grid; gap: 3px; }
.trust-list b { font-size: 14px; }
.trust-list span { font-size: 11px; line-height: 1.35; color: rgba(255,255,255,.7); }

.hero-visual { position: relative; }

.hero-image-frame {
    overflow: hidden;
    border: 8px solid rgba(255,255,255,.94);
    border-radius: 38px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.hero-image-frame img { width: 100%; aspect-ratio: 1.28; object-fit: cover; }

.floating-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(8, 9, 20, .24);
    background: var(--white);
    color: var(--ink);
}

.floating-badge b { font-size: 28px; letter-spacing: -.06em; }
.floating-badge span { font-size: 10px; line-height: 1.15; font-weight: 750; }
.floating-badge-top { top: -22px; right: -18px; }
.floating-badge-bottom { bottom: -22px; left: -24px; background: var(--ink); color: var(--white); }

.proof-strip { background: var(--ink); color: var(--white); }

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 34px;
}

.proof-grid article { display: flex; align-items: center; gap: 14px; padding: 0 28px; border-right: 1px solid rgba(255,255,255,.14); }
.proof-grid article:first-child { padding-left: 0; }
.proof-grid article:last-child { border-right: 0; }
.proof-grid strong { color: var(--red); font-size: 38px; letter-spacing: -.06em; }
.proof-grid p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.35; }

.preview-section { padding: 94px 0 110px; }
.section-heading { max-width: 760px; margin-left: max(20px, calc((100% - 1180px) / 2)); }
.eyebrow-dark { color: var(--red); }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4.5vw, 62px); line-height: 1; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 600px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

@media (max-width: 980px) {
    .main-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .hero-visual { max-width: 700px; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .proof-grid article:nth-child(2) { border-right: 0; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 74px; }
    .brand-copy { display: none; }
    .hero { padding: 46px 0 58px; }
    h1 { font-size: clamp(40px, 12.5vw, 58px); }
    .hero-lead { font-size: 16px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .text-link { align-self: center; }
    .trust-list { grid-template-columns: 1fr 1fr; }
    .trust-list li:last-child { grid-column: 1 / -1; }
    .hero-image-frame { border-width: 5px; border-radius: 25px; transform: none; }
    .floating-badge-top { right: -4px; }
    .floating-badge-bottom { left: -4px; }
    .proof-grid { grid-template-columns: 1fr 1fr; padding-block: 28px; }
    .proof-grid article { align-items: flex-start; flex-direction: column; gap: 3px; padding: 0 16px; }
    .proof-grid article:nth-child(odd) { padding-left: 0; }
    .proof-grid strong { font-size: 34px; }
    .preview-section { padding: 72px 0 84px; }
}

/* Shared navigation and content */
.menu-toggle,
.mobile-menu { display: none; }

.messages { position: relative; z-index: 50; }
.message { margin: 14px 0 0; padding: 14px 18px; border-radius: 14px; background: #fff1f3; color: #990d24; font-weight: 700; }

.section { padding: 110px 0; }
.section h2,
.form-hero h1,
.document-hero h1,
.success-card h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.06em;
}
.section-lead { margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.section .section-heading { max-width: none; margin: 0; }
.split-heading { display: grid; grid-template-columns: 1.1fr .65fr; align-items: end; gap: 80px; }
.split-heading > p { margin: 0 0 6px; color: inherit; opacity: .7; font-size: 16px; line-height: 1.65; }
.eyebrow-light { color: var(--white); }
.button-red { background: var(--red); color: var(--white); box-shadow: 0 14px 34px rgba(255, 39, 68, .25); }
.text-link-dark { color: var(--ink); border-color: rgba(8, 9, 20, .35); }

/* About */
.about-section { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 90px; align-items: start; }
.about-copy h2 { max-width: 760px; }
.timeline { display: grid; margin-top: 42px; border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline article > span { color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.timeline b { font-size: 16px; }
.timeline p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.credentials-card { padding: 34px; border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 70px rgba(8, 9, 20, .08); }
.credential-topline { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.credential-topline span { font-weight: 850; }
.credential-topline b { color: var(--red); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.credentials-card article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.credential-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: #fff0f2; color: var(--red); font-size: 11px; font-weight: 900; }
.credentials-card h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.credentials-card article p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.48; }
.credential-link { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 14px; font-weight: 850; }
.credential-link span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); }

/* Services */
.services-section { position: relative; overflow: hidden; color: var(--white); background: var(--red); }
.services-section::before { content: ""; position: absolute; inset: 0; opacity: .16; background: radial-gradient(circle at 20% 0, rgba(255,255,255,.8), transparent 29%), radial-gradient(circle at 90% 100%, #650014, transparent 34%); }
.services-section .shell { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 54px; }
.service-card { min-height: 330px; display: flex; flex-direction: column; padding: 32px; border: 1px solid rgba(255,255,255,.2); border-radius: 28px; background: rgba(255,255,255,.1); backdrop-filter: blur(7px); }
.service-card-featured { background: var(--white); color: var(--ink); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; color: inherit; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-arrow { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 18px; }
.service-card h3 { max-width: 500px; margin: 46px 0 0; font-size: clamp(28px, 3.3vw, 44px); line-height: .98; letter-spacing: -.055em; }
.service-card > p { max-width: 520px; margin: 17px 0 0; opacity: .7; line-height: 1.55; }
.service-price { display: flex; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 30px; }
.service-price strong { font-size: 19px; }
.service-price span { opacity: .55; font-size: 11px; }

/* Process */
.format-section { background: #f3efed; }
.format-heading { max-width: 850px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-grid article { min-height: 280px; padding: 26px 26px 30px; border-right: 1px solid var(--line); }
.steps-grid article:first-child { padding-left: 0; }
.steps-grid article:last-child { border-right: 0; }
.steps-grid article > span { color: var(--red); font-size: 12px; font-weight: 900; }
.steps-grid h3 { margin: 74px 0 0; font-size: 25px; letter-spacing: -.04em; }
.steps-grid p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.format-note { display: flex; justify-content: space-between; gap: 50px; margin-top: 30px; }
.format-note b { font-size: 15px; }
.format-note span { max-width: 540px; color: var(--muted); font-size: 14px; }

/* Cases */
.cases-section { overflow: hidden; padding-bottom: 124px; }
.cases-heading { align-items: end; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 10px; }
.carousel-controls button { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 20px; cursor: pointer; }
.case-carousel { display: flex; gap: 20px; overflow-x: auto; padding: 52px max(20px, calc((100vw - 1180px) / 2)) 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.case-card { position: relative; flex: 0 0 min(590px, 76vw); overflow: hidden; border-radius: 30px; background: var(--red); box-shadow: 0 18px 45px rgba(8, 9, 20, .12); scroll-snap-align: start; }
.case-card img { width: 100%; aspect-ratio: 1.28; object-fit: cover; }
.case-caption { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 16px; border-radius: 17px; color: var(--white); background: rgba(8,9,20,.92); backdrop-filter: blur(10px); }
.case-caption span { font-size: 12px; opacity: .68; }
.case-caption strong { font-size: 23px; white-space: nowrap; }
.case-caption i { color: var(--red); font-style: normal; }

/* Credentials */
.credentials-section { color: var(--white); background: var(--ink); }
.credentials-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.credentials-grid h2 { max-width: 600px; }
.check-list { display: grid; gap: 0; margin: 38px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 17px 0 17px 32px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.credential-image-button { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 28px; background: var(--red); cursor: zoom-in; }
.credential-image-button img { width: 100%; transition: transform .35s ease; }
.credential-image-button:hover img { transform: scale(1.02); }
.credential-image-button > span { position: absolute; right: 18px; bottom: 18px; padding: 11px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 850; }

/* Courses */
.courses-section { background: var(--paper); }
.courses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.course-card { min-height: 430px; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); }
.course-card:nth-child(even) { background: #fff0f2; }
.course-card > div:first-child { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; }
.status-pill { padding: 7px 10px; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.course-card h3 { max-width: 520px; margin: 52px 0 0; font-size: clamp(30px, 3.5vw, 46px); line-height: .98; letter-spacing: -.055em; }
.course-subtitle { color: var(--ink) !important; font-size: 18px !important; font-weight: 750; }
.course-card > p { max-width: 520px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.course-card footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); font-size: 12px; }
.course-card footer span { color: var(--muted); }
.course-card footer a { font-weight: 850; }

/* Start */
.start-section { position: relative; overflow: hidden; color: var(--white); background: var(--red); }
.start-section::before { content: ""; position: absolute; width: 620px; height: 620px; left: -300px; top: -370px; border: 100px solid rgba(255,255,255,.13); border-radius: 50%; }
.start-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.start-copy p:last-child { margin: 26px 0 0; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.65; }
.start-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.start-option { min-height: 350px; display: flex; flex-direction: column; padding: 30px; border-radius: 28px; background: var(--white); color: var(--ink); transition: transform .2s ease; }
.start-option:hover { transform: translateY(-5px); }
.start-option-dark { background: var(--ink); color: var(--white); }
.start-option > span { color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.start-option h3 { margin: 66px 0 0; font-size: 31px; line-height: 1; letter-spacing: -.05em; }
.start-option p { margin: 14px 0 0; color: currentColor; opacity: .6; font-size: 14px; line-height: 1.55; }
.start-option b { margin-top: auto; font-size: 13px; }

/* FAQ */
.faq-section { background: #f3efed; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; padding: 25px 0; cursor: pointer; font-size: 18px; font-weight: 780; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--red); font-size: 26px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: -6px 0 26px; color: var(--muted); line-height: 1.65; }

/* Footer */
.site-footer { padding: 70px 0 24px; color: var(--white); background: #05050b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.1fr .8fr; gap: 48px; }
.brand-footer { color: var(--white); }
.footer-note { max-width: 320px; margin: 22px 0 0; color: rgba(255,255,255,.48); font-size: 13px; line-height: 1.6; }
.footer-title { margin: 0 0 20px; color: rgba(255,255,255,.42); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid a:not(.brand) { color: rgba(255,255,255,.76); font-size: 13px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.34); font-size: 11px; }

.cookie-note { position: fixed; z-index: 80; right: 18px; bottom: 18px; max-width: 440px; display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 18px 50px rgba(8,9,20,.2); }
.cookie-note[hidden] { display: none; }
.cookie-note p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.cookie-note a { color: var(--red); font-size: 11px; font-weight: 800; }
.cookie-note button { justify-self: end; padding: 0; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }

/* Forms */
.form-hero { position: relative; overflow: hidden; padding: 78px 0; color: var(--white); background: var(--red); }
.form-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -290px; top: -310px; border: 90px solid rgba(255,255,255,.12); border-radius: 50%; }
.form-hero-dark { background: var(--ink); }
.form-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.form-hero h1 { max-width: 820px; }
.form-hero-grid > div:first-child > p:last-child { max-width: 650px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; }
.form-badge { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 24px; }
.form-badge strong { font-size: 28px; }
.form-badge span { color: rgba(255,255,255,.58); font-size: 11px; }
.form-badge i { color: rgba(255,255,255,.38); font-style: normal; }
.legal-promise { display: grid; gap: 10px; padding: 25px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; }
.legal-promise span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.legal-promise b { font-size: 15px; }
.form-section { padding: 80px 0 110px; background: #f4f0ee; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: 52px; align-items: start; }
.registration-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 46px; align-items: start; }
.site-form { padding: 38px; border-radius: 30px; background: var(--white); box-shadow: 0 22px 65px rgba(8,9,20,.07); }
.form-intro { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-intro span { font-size: 18px; font-weight: 850; }
.form-intro p { margin: 0; color: var(--muted); font-size: 11px; }
.form-alert, .draft-warning { margin-bottom: 24px; padding: 16px 18px; border-radius: 14px; background: #fff1f3; color: #8e1325; font-size: 13px; line-height: 1.5; }
.draft-warning { background: #fff4d9; color: #6b4b00; }
.form-grid-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field > label, .radio-fieldset legend { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 820; }
.form-field > label span { color: var(--red); }
.form-field input:not([type="checkbox"]):not([type="radio"]), .form-field select, .form-field textarea { width: 100%; min-height: 52px; padding: 14px 15px; border: 1px solid #dcd6d4; border-radius: 13px; outline: none; background: #fff; color: var(--ink); font: inherit; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,39,68,.1); }
.form-field small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.field-error, .errorlist { margin: 6px 0 0; padding: 0; color: #b30d27; font-size: 11px; list-style: none; }
.radio-fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.radio-fieldset > div { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-fieldset label { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid #dcd6d4; border-radius: 999px; font-size: 13px; cursor: pointer; }
.radio-fieldset input { accent-color: var(--red); }
.consent-box { display: grid; gap: 14px; margin-top: 8px; padding: 20px; border-radius: 18px; background: #f6f3f2; }
.checkbox-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 12px; line-height: 1.5; cursor: pointer; }
.checkbox-row input, .consent-card input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.checkbox-row a, .consent-card a { color: var(--red); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.consent-box > p { margin: 0; color: var(--muted); font-size: 10px; }
.form-submit { width: 100%; margin-top: 24px; }
.form-submit:disabled { opacity: .45; cursor: not-allowed; }
.form-aside { padding-top: 18px; }
.form-aside ol { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: next-step; }
.form-aside li { position: relative; display: grid; gap: 7px; padding: 0 0 28px 44px; counter-increment: next-step; }
.form-aside li::before { content: counter(next-step, decimal-leading-zero); position: absolute; left: 0; top: -2px; color: var(--red); font-size: 12px; font-weight: 900; }
.form-aside li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 4px; width: 1px; background: var(--line); }
.form-aside li span { color: var(--muted); font-size: 13px; }
.direct-contact { display: grid; gap: 8px; margin-top: 22px; padding: 20px; border-radius: 18px; background: var(--ink); color: var(--white); }
.direct-contact span { color: rgba(255,255,255,.5); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.direct-contact a { font-size: 18px; font-weight: 800; }
.form-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin: 38px 0 22px; padding-top: 32px; border-top: 1px solid var(--line); }
.form-step:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-step > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 900; }
.form-step b { font-size: 17px; }
.form-step p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.consent-stack { display: grid; gap: 10px; }
.consent-card { display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 17px; cursor: pointer; }
.consent-card:has(input:checked) { border-color: var(--red); background: #fff7f8; }
.consent-card > span { display: grid; gap: 6px; }
.consent-card b { font-size: 13px; }
.consent-card small { color: var(--muted); font-size: 10px; }
.consent-card a { justify-self: start; font-size: 10px; }
.consent-required::after { content: "обязательно"; justify-self: end; color: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.aside-sticky { position: sticky; top: 24px; }
.secure-list { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; }
.secure-list li { display: grid; gap: 7px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.secure-list b { font-size: 14px; }
.secure-list span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.aside-note { margin-top: 24px; padding: 17px; border-radius: 15px; background: #fff4d9; color: #6b4b00; font-size: 11px; line-height: 1.55; }

/* Success, verification and legal pages */
.success-section { min-height: 70vh; display: grid; place-items: center; padding: 90px 20px; background: #f4f0ee; }
.success-card { width: min(720px, 100%); padding: 54px; border-radius: 34px; background: var(--white); text-align: center; box-shadow: 0 30px 80px rgba(8,9,20,.1); }
.success-icon, .mail-icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 30px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 34px; font-weight: 900; }
.mail-icon { background: var(--ink); }
.success-card .eyebrow { justify-content: center; }
.success-card > p:not(.eyebrow) { max-width: 570px; margin: 24px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.success-card > small { display: block; margin-top: 22px; color: var(--muted); }
.success-card > div:last-child { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 34px; }
.verify-card { max-width: 620px; }
.verify-card .form-field { max-width: 290px; margin: 26px auto 0; text-align: left; }
.code-input { text-align: center; font-size: 28px !important; font-weight: 850; letter-spacing: .25em; }
.debug-code { max-width: 320px; display: grid !important; gap: 5px !important; margin: 22px auto 0 !important; padding: 13px 18px; border-radius: 14px; background: #fff4d9; }
.debug-code span { color: #6b4b00; font-size: 10px; text-transform: uppercase; }
.debug-code b { color: #6b4b00; font-size: 24px; letter-spacing: .18em; }
.verify-card > .button { width: 100%; max-width: 360px; margin-top: 20px; }
.resend-button { display: block; margin: 18px auto 0; padding: 0; border: 0; background: transparent; color: var(--red); font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.verify-card > .text-link { display: inline-block; margin-top: 22px; }
.document-hero { padding: 80px 0; color: var(--white); background: var(--ink); }
.document-hero h1 { max-width: 930px; }
.document-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.document-meta span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: rgba(255,255,255,.65); font-size: 10px; }
.document-section { padding: 70px 0 100px; background: #f4f0ee; }
.document-paper { max-width: 900px; padding: 52px; border-radius: 28px; background: var(--white); box-shadow: 0 20px 60px rgba(8,9,20,.07); }
.document-body { font-family: Georgia, serif; font-size: 16px; line-height: 1.78; }
.document-paper footer { display: grid; gap: 8px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); }
.document-paper footer span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.document-paper code { overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.lightbox { width: min(1120px, calc(100% - 28px)); max-height: 92vh; padding: 12px; border: 0; border-radius: 24px; background: var(--ink); }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox img { max-height: calc(92vh - 24px); margin: auto; border-radius: 15px; }
.lightbox button { position: fixed; z-index: 2; right: 30px; top: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 980px) {
    .section { padding: 86px 0; }
    .about-grid, .credentials-grid, .start-grid, .faq-grid, .form-layout, .registration-layout { grid-template-columns: 1fr; }
    .about-grid, .credentials-grid, .start-grid, .faq-grid { gap: 52px; }
    .split-heading { grid-template-columns: 1fr; gap: 24px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid article:nth-child(2) { border-right: 0; }
    .steps-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .credentials-grid > div:first-child { max-width: 720px; }
    .form-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-badge, .legal-promise { max-width: 600px; }
    .aside-sticky { position: static; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { display: none; }
}

@media (max-width: 720px) {
    .main-nav, .header-cta { display: none; }
    .menu-toggle { width: 45px; height: 45px; display: grid; place-content: center; gap: 6px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 15px; background: transparent; }
    .menu-toggle span { width: 19px; height: 2px; background: var(--white); }
    .mobile-menu { display: grid; padding: 12px 20px 22px; background: var(--red); }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu a { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); color: var(--white); font-weight: 750; }
    .section h2, .form-hero h1, .document-hero h1, .success-card h1 { font-size: clamp(36px, 11vw, 54px); }
    .services-grid, .courses-grid, .start-options { grid-template-columns: 1fr; }
    .service-card, .course-card { min-height: 330px; padding: 26px; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid article, .steps-grid article:first-child { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .steps-grid h3 { margin-top: 38px; }
    .format-note { flex-direction: column; gap: 10px; }
    .case-card { flex-basis: 88vw; }
    .case-caption { position: static; border-radius: 0; }
    .case-caption span { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .form-grid-two { grid-template-columns: 1fr; gap: 0; }
    .site-form { padding: 24px 18px; border-radius: 24px; }
    .form-intro { align-items: flex-start; flex-direction: column; }
    .consent-required::after { display: none; }
    .success-card { padding: 38px 22px; }
    .success-card > div:last-child { align-items: stretch; flex-direction: column; }
    .document-paper { padding: 30px 22px; }
}

@media (max-width: 520px) {
    .section { padding: 72px 0; }
    .timeline article { grid-template-columns: 1fr; gap: 8px; }
    .credentials-card { padding: 24px 19px; }
    .credential-topline { flex-direction: column; }
    .carousel-controls { display: none; }
    .case-carousel { padding-top: 34px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .form-hero { padding: 58px 0; }
    .form-badge { display: none; }
    .cookie-note { left: 12px; right: 12px; bottom: 12px; }
}

/* Readability and typography pass */
html { font-size: 17px; }
body,
button,
input,
select,
textarea {
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}
body { font-size: 1rem; line-height: 1.55; }
.brand-copy b { font-size: 17px; letter-spacing: -.015em; }
.brand-copy small { margin-top: 5px; font-size: 13px; }
.main-nav { font-size: 16px; }
.button-small { font-size: 15px; }
.eyebrow { font-size: 14px; letter-spacing: .105em; }
.hero-lead { font-size: 20px; color: rgba(255,255,255,.92); }
.trust-list b { font-size: 16px; }
.trust-list span { font-size: 14px; color: rgba(255,255,255,.82); }
.floating-badge span { font-size: 13px; line-height: 1.3; }
.proof-grid p { font-size: 15px; color: rgba(255,255,255,.86); }
.section-lead { color: #555762; font-size: 19px; }
.timeline article > span { font-size: 13px; }
.timeline b { font-size: 18px; }
.timeline p { font-size: 15px; color: #555762; }
.credential-topline b { font-size: 13px; }
.credentials-card h3 { font-size: 19px; }
.credentials-card article p { font-size: 15px; color: #555762; }
.credential-link { font-size: 16px; }
.split-heading > p { font-size: 18px; opacity: .84; }
.service-card-top { font-size: 13px; }
.service-card > p { font-size: 17px; opacity: .88; }
.service-price strong { font-size: 22px; }
.service-price span { font-size: 14px; opacity: .72; }
.steps-grid article > span { font-size: 14px; }
.steps-grid h3 { font-size: 28px; }
.steps-grid p { font-size: 16px; color: #555762; }
.format-note b, .format-note span { font-size: 16px; }
.case-caption span { font-size: 14px; opacity: .82; }
.check-list li { font-size: 16px; }
.course-card > div:first-child { font-size: 13px; }
.course-card > p { font-size: 16px; color: #555762; }
.course-card footer { font-size: 14px; }
.start-copy p:last-child { font-size: 18px; color: rgba(255,255,255,.88); }
.start-option > span { font-size: 13px; }
.start-option p { font-size: 16px; opacity: .75; }
.start-option b { font-size: 15px; }
.faq-list summary { font-size: 20px; }
.faq-list details p { font-size: 17px; color: #555762; }
.footer-note { font-size: 15px; color: rgba(255,255,255,.68); }
.footer-title { font-size: 13px; }
.footer-grid a:not(.brand) { font-size: 15px; }
.footer-bottom { font-size: 13px; color: rgba(255,255,255,.58); }
.cookie-note p { font-size: 14px; }
.cookie-note a, .cookie-note button { font-size: 13px; }
.form-hero-grid > div:first-child > p:last-child { font-size: 19px; color: rgba(255,255,255,.86); }
.form-badge span, .legal-promise span { font-size: 13px; }
.legal-promise b { font-size: 17px; }
.form-intro span { font-size: 20px; }
.form-intro p { font-size: 13px; }
.form-alert, .draft-warning { font-size: 15px; }
.form-field > label, .radio-fieldset legend { font-size: 14px; }
.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea { font-size: 16px; }
.form-field small, .field-error, .errorlist { font-size: 13px; }
.radio-fieldset label { font-size: 15px; }
.checkbox-row { font-size: 14px; }
.consent-box > p { font-size: 13px; }
.form-aside li::before { font-size: 14px; }
.form-aside li span { font-size: 15px; }
.direct-contact span { font-size: 13px; }
.direct-contact a { font-size: 20px; }
.form-step b { font-size: 19px; }
.form-step p { font-size: 14px; }
.consent-card b { font-size: 15px; }
.consent-card small, .consent-card a { font-size: 13px; }
.secure-list b { font-size: 16px; }
.secure-list span { font-size: 14px; }
.aside-note { font-size: 13px; }
.document-meta span { font-size: 13px; }
.document-body { font-family: inherit; font-size: 18px; }
.document-paper footer span, .document-paper code { font-size: 12px; }

/* Rebuilt HTML/CSS hero artwork */
.hero-profile-card {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border: 7px solid rgba(255,255,255,.96);
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.11), transparent 44%),
        #ed1635;
    box-shadow: var(--shadow);
}
.hero-profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image: radial-gradient(circle at 0 100%, transparent 0 37px, #8f071d 38px 40px, transparent 41px);
    background-size: 82px 82px;
}
.hero-portrait {
    position: absolute;
    z-index: 2;
    width: 132%;
    max-width: none;
    right: -29%;
    bottom: -1px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(40,0,8,.2));
}
.hero-profile-kicker,
.hero-profile-title,
.hero-profile-footer { position: absolute; z-index: 3; left: 34px; }
.hero-profile-kicker { top: 31px; margin: 0; font-size: 15px; font-style: italic; }
.hero-profile-title { top: 88px; font-size: 32px; line-height: 1.03; letter-spacing: -.05em; }
.hero-profile-title b { display: inline-block; margin: 5px 0; padding: 5px 10px 8px; border-radius: 11px; background: var(--ink); font-size: 34px; }
.hero-profile-footer { right: 28px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 16px; border-radius: 15px; background: rgba(255,255,255,.94); color: var(--ink); }
.hero-profile-footer span { font-size: 13px; }
.hero-profile-footer b { font-size: 15px; }
.hero-petal { position: absolute; z-index: 1; width: 160px; height: 72px; border-radius: 100% 0 100% 0; background: rgba(255,255,255,.94); transform: rotate(-28deg); }
.hero-petal-one { right: -26px; top: 22px; }
.hero-petal-two { right: -18px; top: 116px; transform: rotate(18deg); }
.hero-petal-three { right: 50px; top: -28px; transform: rotate(70deg); }

/* Profi.ru rating */
.proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 320px; }
.profi-proof { min-height: 112px; display: flex; align-items: center; justify-content: flex-end; padding-left: 20px; }
.profi-widget { min-width: 300px; min-height: 100px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: var(--white); color: var(--ink); font-size: 14px; }
.profi-widget > a { color: var(--red); font-weight: 800; }

/* International experience and clickable services */
.timeline-international b { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.timeline-international b i { padding: 5px 8px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.service-card { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-5px); box-shadow: 0 20px 55px rgba(89,0,15,.18); outline: none; }
.service-cta { margin-top: 18px; font-size: 15px; font-weight: 850; }

/* Case gallery */
.case-card { padding: 0; border: 0; color: inherit; font: inherit; text-align: left; cursor: zoom-in; }
.case-card:focus-visible { outline: 4px solid var(--red); outline-offset: 4px; }
.case-zoom { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 13px; font-weight: 800; box-shadow: 0 10px 24px rgba(8,9,20,.14); }
.lightbox[open] { display: grid; grid-template-columns: 68px minmax(0, 1fr) 68px; grid-template-rows: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.lightbox { width: min(1240px, calc(100% - 28px)); height: min(94vh, 980px); max-height: 94vh; padding: 16px; overflow: hidden; }
.lightbox-topbar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 4px; color: var(--white); }
.lightbox-topbar p { margin: 0; font-size: 16px; font-weight: 750; }
.lightbox button { position: static; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font: inherit; font-size: 22px; cursor: pointer; }
.lightbox-topbar button { flex: 0 0 auto; background: var(--white); color: var(--ink); font-size: 28px; }
.lightbox-nav { justify-self: center; }
.lightbox img { grid-column: 2; grid-row: 2; max-width: 100%; max-height: calc(94vh - 100px); border-radius: 17px; object-fit: contain; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox.is-single .lightbox-nav { visibility: hidden; }

@media (max-width: 1100px) {
    .proof-grid { grid-template-columns: repeat(3, 1fr); }
    .profi-proof { grid-column: 1 / -1; justify-content: center; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 980px) {
    .hero-profile-card { min-height: 620px; }
    .hero-portrait { width: 118%; right: -15%; }
}

@media (max-width: 720px) {
    html { font-size: 16px; }
    .brand-copy { display: grid; }
    .brand-copy b { font-size: 16px; }
    .brand-copy small { display: block; font-size: 12px; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid article:nth-child(3) { border-right: 0; }
    .profi-proof { grid-column: 1 / -1; }
    .hero-profile-card { min-height: 540px; border-width: 5px; border-radius: 30px; }
    .hero-portrait { width: 132%; right: -27%; }
    .hero-profile-title { top: 82px; font-size: 27px; }
    .hero-profile-title b { font-size: 29px; }
    .hero-profile-footer { left: 18px; right: 18px; bottom: 16px; }
    .lightbox[open] { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 7px; padding: 9px; }
    .lightbox button { width: 42px; height: 42px; }
    .lightbox-topbar p { font-size: 14px; }
}

@media (max-width: 520px) {
    .brand-copy small { display: none; }
    .hero-profile-card { min-height: 470px; }
    .hero-profile-kicker { top: 22px; left: 22px; }
    .hero-profile-title { top: 66px; left: 22px; }
    .hero-profile-footer { align-items: flex-start; flex-direction: column; gap: 2px; }
    .floating-badge-top { top: -14px; }
    .floating-badge-bottom { bottom: -14px; }
    .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr) auto; }
    .lightbox-topbar { grid-column: 1 / -1; }
    .lightbox img { grid-column: 1 / -1; grid-row: 2; }
    .lightbox-prev { grid-column: 1; grid-row: 3; justify-self: end; }
    .lightbox-next { grid-column: 2; grid-row: 3; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Calm nude palette */
.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 251, .96);
    color: var(--ink);
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--red-dark); }
.hero {
    color: var(--ink);
    background:
        radial-gradient(circle at 4% 12%, rgba(181, 54, 90, .10), transparent 24%),
        linear-gradient(135deg, #fbf7f3 0%, #efe2d9 58%, #e7d5cb 100%);
}
.hero::before {
    opacity: .16;
    background-image: radial-gradient(circle at 0 100%, transparent 0 39px, rgba(181, 54, 90, .22) 40px 42px, transparent 43px);
}
.hero-orb { border-color: rgba(181, 54, 90, .10); }
h1 em { background: var(--red); color: var(--white); }
.hero-lead,
.trust-list span { color: var(--muted); }
.hero-actions .text-link { border-color: rgba(44, 39, 48, .42); }
.trust-list { border-color: var(--line); }
.hero-profile-card {
    border-color: rgba(255, 253, 251, .96);
    background:
        linear-gradient(145deg, rgba(255,255,255,.12), transparent 44%),
        linear-gradient(145deg, #a73355, #c45e7b);
}
.hero-profile-card::before {
    opacity: .18;
    background-image: radial-gradient(circle at 0 100%, transparent 0 37px, rgba(89, 30, 50, .72) 38px 40px, transparent 41px);
}
.hero-profile-kicker,
.hero-profile-title { color: var(--white); }
.hero-profile-title b { background: var(--plum); }
.proof-strip { background: var(--plum); }
.proof-grid strong { color: #e69aaf; }
.about-section,
.cases-section,
.courses-section { background: var(--paper); }
.services-section {
    color: var(--ink);
    background: var(--nude);
}
.services-section::before {
    opacity: .58;
    background:
        radial-gradient(circle at 8% 0, rgba(255,255,255,.82), transparent 28%),
        radial-gradient(circle at 96% 100%, rgba(181,54,90,.11), transparent 34%);
}
.services-section .eyebrow-light { color: var(--red-dark); }
.services-section .split-heading > p { color: var(--muted); opacity: 1; }
.service-card,
.service-card.service-card-featured {
    border-color: rgba(77, 50, 61, .13);
    background: rgba(255,253,251,.94);
    color: var(--ink);
    box-shadow: 0 14px 36px rgba(77, 50, 61, .07);
    backdrop-filter: none;
}
.service-card.service-card-featured { border-color: rgba(181, 54, 90, .38); }
.service-card-top,
.service-cta { color: var(--red-dark); }
.service-card > p,
.service-price span { color: var(--muted); opacity: 1; }
.service-card:hover,
.service-card:focus-visible { box-shadow: 0 22px 50px rgba(77, 50, 61, .13); }
.format-section,
.faq-section { background: var(--nude-soft); }
.cases-section { border-top: 1px solid rgba(56, 44, 52, .06); }
.case-carousel {
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    cursor: grab;
    touch-action: pan-y;
    overscroll-behavior-inline: contain;
}
.case-carousel .case-card { cursor: grab; user-select: none; }
.case-carousel.is-dragging,
.case-carousel.is-dragging .case-card { cursor: grabbing; scroll-snap-type: none; }
.case-carousel.is-dragging .case-card { pointer-events: none; }
.case-card {
    padding: 12px;
    border: 1px solid rgba(56, 44, 52, .12);
    background: #f3e9e2;
    box-shadow: 0 18px 45px rgba(77, 50, 61, .11);
}
.case-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #eadbd2;
}
.case-card img {
    filter: saturate(.58) contrast(.96) brightness(1.035);
    transition: filter .25s ease, transform .25s ease;
}
.case-card:hover img,
.case-card:focus-visible img {
    filter: saturate(.72) contrast(.98) brightness(1.02);
    transform: scale(1.008);
}
.case-caption {
    position: static;
    margin: 0;
    padding: 18px 10px 8px;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    backdrop-filter: none;
}
.case-caption span { color: var(--muted); opacity: 1; }
.case-caption strong { font-size: 27px; }
.case-caption i { color: var(--red-dark); }
.lightbox-topbar {
    min-height: 58px;
    padding: 2px 6px 8px;
}
.lightbox-topbar p {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.lightbox img {
    background: var(--white);
    box-shadow: 0 18px 55px rgba(0,0,0,.25);
}
.carousel-controls button { color: var(--ink); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.carousel-controls button:hover { border-color: var(--red); background: #fff7f8; color: var(--red-dark); }
.credentials-section,
.document-hero,
.form-hero,
.form-hero-dark { background: var(--plum); }
.course-card:nth-child(even) { background: #f5e9e7; }
.start-section {
    color: var(--ink);
    background: linear-gradient(135deg, #f2e8e1, #e6d5cb);
}
.start-section::before { border-color: rgba(181, 54, 90, .10); }
.start-copy p:last-child { color: var(--muted); }
.start-option { box-shadow: 0 16px 40px rgba(77, 50, 61, .08); }
.start-option-dark { background: var(--plum); color: var(--white); }
.form-section,
.document-section,
.success-section { background: var(--nude-soft); }
.site-footer { background: #29242b; }

/* Profi.ru widget and readable fallback while the external script is unavailable */
.profi-widget-shell {
    width: 300px;
    min-height: 100px;
    overflow: hidden;
    border: 1px solid rgba(56, 44, 52, .10);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(0,0,0,.10);
}
.profi-widget { border: 1px solid rgba(56, 44, 52, .10); box-shadow: 0 12px 34px rgba(0,0,0,.10); }
.profi-widget-native { display: none; }
.profi-widget-shell.is-native-widget .profi-widget-native { display: grid; }
.profi-widget-shell.is-native-widget .profi-widget-fallback { display: none; }
.profi-widget iframe { max-width: 100%; border: 0; }
.profi-widget-fallback {
    width: 100%;
    min-height: 100px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    gap: 3px 15px;
    padding: 15px 18px;
    color: var(--ink) !important;
}
.profi-widget-brand {
    grid-row: 1 / 3;
    align-self: center;
    padding: 8px 9px;
    border-radius: 9px;
    background: #ffcd00;
    color: #1f1d22;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.03em;
}
.profi-widget-rating { display: flex; align-items: center; gap: 8px; line-height: 1; }
.profi-widget-rating b { font-size: 24px; letter-spacing: -.04em; }
.profi-widget-rating span { color: #ffb400; font-size: 15px; letter-spacing: .04em; }
.profi-widget-fallback small { color: var(--muted); font-size: 12px; }

/* Published legal documents and consent-aware cookie controls */
.document-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.document-actions .button { min-height: 48px; font-size: 14px; }
.document-button-light { border: 1px solid rgba(255,255,255,.24); color: var(--white); background: transparent; }
.document-view { max-width: 1040px; }
.document-paper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 82px;
    border: 1px solid rgba(67,53,58,.09);
    border-radius: 14px;
    background: #fffefd;
    box-shadow: 0 24px 70px rgba(44,30,35,.08);
}
.document-body {
    color: #252124;
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 18px;
    line-height: 1.62;
    text-align: justify;
    text-rendering: optimizeLegibility;
    hyphens: auto;
}
.document-body .legal-source-title,
.document-body .legal-source-subtitle,
.document-body .legal-source-meta,
.document-body .legal-section-heading,
.document-body .legal-subsection-heading { text-indent: 0; }
.document-body .legal-source-title {
    max-width: 690px;
    margin: 0 auto .35em;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.22;
    text-align: center;
    text-transform: uppercase;
}
.document-body .legal-source-subtitle {
    max-width: 700px;
    margin: 0 auto 1.35em;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
.document-body .legal-source-meta {
    margin: .35em 0;
    text-align: center;
}
.document-body .legal-source-meta + .legal-paragraph { margin-top: 2em; }
.document-body .legal-section-heading {
    margin: 2.15em 0 .95em;
    color: #252124;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
}
.document-body .legal-subsection-heading {
    margin: 1.6em 0 .65em;
    color: #252124;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
}
.document-body .legal-paragraph {
    margin: 0 0 .82em;
    overflow-wrap: anywhere;
    text-indent: 1.6em;
}
.document-body .legal-list,
.document-body .legal-lettered-list {
    display: grid;
    gap: .58em;
    margin: .4em 0 1em;
    padding: 0 0 0 2.15em;
}
.document-body .legal-list { list-style: disc; }
.document-body .legal-list li { padding-left: .25em; }
.document-body .legal-lettered-list { list-style: none; padding-left: 1.65em; }
.document-body .legal-lettered-list li {
    display: grid;
    grid-template-columns: 1.7em 1fr;
    gap: .15em;
}
.legal-list-marker { font-variant-numeric: tabular-nums; }
.legal-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin: 1.25em 0 1.7em;
    border: 1px solid #b9aeaa;
    border-radius: 3px;
    background: var(--white);
}
.legal-table-scroll:focus-visible { outline: 3px solid rgba(203,40,80,.25); outline-offset: 3px; }
.legal-table {
    width: 100%;
    min-width: 710px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
}
.legal-table th,
.legal-table td { padding: 12px 11px; border: 1px solid #b9aeaa; vertical-align: top; }
.legal-table th { background: #e9e3df; font-weight: 700; text-align: center; }
.legal-table th:nth-child(1) { width: 30%; }
.legal-table th:nth-child(2) { width: 24%; }
.legal-table th:nth-child(3) { width: 20%; }
.legal-table th:nth-child(4) { width: 26%; }
.document-paper footer { max-width: 100%; }
.footer-cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.76);
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}
.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible { color: var(--white); }
.cookie-note {
    width: min(500px, calc(100% - 36px));
    max-width: 500px;
    display: block;
    padding: 18px 20px;
}
.cookie-note-copy b { display: block; margin-bottom: 5px; font-size: 18px; }
.cookie-note-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.48; }
.cookie-note-copy a { color: var(--red); font-weight: 800; white-space: nowrap; }
.cookie-inline-links { display: inline-flex; gap: 5px; align-items: baseline; white-space: nowrap; }
.cookie-actions-main { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cookie-manage-toggle {
    display: inline;
    margin: 0;
    padding: 0 !important;
    color: var(--muted);
    font-size: 12px !important;
    font-weight: 650 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cookie-manage-toggle:hover,
.cookie-manage-toggle:focus-visible { color: var(--ink); }
.cookie-preferences { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.cookie-preferences[hidden] { display: none; }
.cookie-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.cookie-options legend { margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.cookie-options label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}
.cookie-options input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.cookie-options span { display: grid; gap: 3px; }
.cookie-options b { font-size: 13px; }
.cookie-options small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-note .cookie-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.cookie-note .cookie-button-primary { border-color: var(--red); background: var(--red); color: var(--white); }
.cookie-save { width: 100%; margin-top: 10px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .menu-toggle { border-color: var(--line); }
    .menu-toggle span { background: var(--ink); }
    .mobile-menu { border-top: 1px solid var(--line); background: var(--white); }
    .mobile-menu a { border-color: var(--line); color: var(--ink); }
    .hero-lead { color: var(--muted); }
    .trust-list span { color: var(--muted); }
    .case-card { padding: 8px; }
    .case-image-wrap { border-radius: 18px; }
    .case-caption { padding: 15px 8px 7px; }
    .profi-widget-shell { transform: scale(.92); transform-origin: center; }
    .case-caption span { display: block; font-size: 13px; }
    .case-caption strong { font-size: 24px; }
    .lightbox-topbar p { font-size: 16px; }
    .document-actions { align-items: stretch; flex-direction: column; }
    .document-actions .button { width: 100%; }
    .document-section { padding-top: 42px; }
    .document-paper { padding: 42px 23px; }
    .document-body { font-size: 17px; line-height: 1.58; text-align: left; }
    .document-body .legal-source-title { font-size: 22px; }
    .document-body .legal-source-subtitle { font-size: 18px; }
    .document-body .legal-section-heading { margin-top: 1.8em; font-size: 20px; }
    .document-body .legal-paragraph { text-indent: 1.2em; }
    .cookie-note { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
    .cookie-actions-main { display: grid; grid-template-columns: 1fr; }
    .cookie-note .cookie-button { width: 100%; }
}
