:root {
    --ink: #10203e;
    --muted: #596b80;
    --line: #d8e5ee;
    --paper: #f7fbfe;
    --white: #ffffff;
    --logo-blue: #2e4e97;
    --logo-sky: #7ea6c5;
    --logo-mist: #82a6c0;
    --red: var(--logo-blue);
    --yellow: var(--logo-sky);
    --green: var(--logo-mist);
    --blue: var(--logo-blue);
    --shadow: 0 18px 55px rgba(16, 32, 62, 0.16);
    --radius: 8px;
    --page-gutter: 70px;
    --wrap: calc(100% - (var(--page-gutter) * 2));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    top: 12px;
    left: 12px;
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    background: var(--yellow);
    border-radius: var(--radius);
}

.wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 252, 255, 0.92);
    border-bottom: 1px solid rgba(16, 21, 31, 0.08);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    width: var(--wrap);
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
}

.brand__logo,
.custom-logo {
    display: block;
    width: min(190px, 42vw);
    max-height: 62px;
    object-fit: contain;
}

.brand__text {
    font-size: 1.05rem;
}

.site-nav {
    margin-left: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav a,
.header-call {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.site-nav a {
    gap: 8px;
    font-size: 1.08rem;
    line-height: 1.2;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.site-nav__icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(46, 78, 151, 0.1);
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a,
.site-nav a[aria-current="page"] {
    color: var(--logo-blue);
    background: rgba(116, 174, 211, 0.18);
    box-shadow: inset 0 0 0 1px rgba(46, 78, 151, 0.22);
}

.header-call {
    gap: 8px;
    color: var(--white);
    background: var(--logo-blue);
}

.action-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.menu-toggle {
    display: none;
}

.hero-road {
    position: relative;
    min-height: min(760px, calc(100vh - 72px));
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 16%, rgba(126, 166, 197, 0.32), transparent 30%),
        linear-gradient(135deg, #10203e 0%, #2e4e97 58%, #12264b 100%);
}

.hero-video,
.hero-video::after,
.hero-video video {
    position: absolute;
    inset: 0;
}

.hero-video {
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video::after {
    content: "";
    background:
        radial-gradient(circle at 18% 12%, rgba(126, 166, 197, 0.42), transparent 28%),
        linear-gradient(135deg, rgba(16, 32, 62, 0.9), rgba(46, 78, 151, 0.72) 54%, rgba(18, 38, 75, 0.9)),
        linear-gradient(180deg, rgba(4, 14, 36, 0.42), rgba(4, 14, 36, 0.72));
}

.hero-road__inner {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 18px;
    width: var(--wrap);
    min-height: inherit;
    margin-inline: auto;
    padding: 48px 0 64px;
}

.hero-kicker,
.eyebrow {
    margin: 0;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-road .hero-kicker {
    color: var(--yellow);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0;
}

h1 {
    max-width: 980px;
    font-size: clamp(3.1rem, 9vw, 7.2rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: 1.35rem;
}

.google-proof {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-self: start;
    gap: 6px 14px;
    max-width: min(100%, 560px);
    padding: 16px 20px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: 0 22px 70px rgba(4, 14, 36, 0.24);
    text-decoration: none;
    animation: maestro-rise .55s ease both;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.google-proof:hover,
.google-proof:focus-visible {
    transform: translateY(-4px);
    background: var(--white);
    box-shadow: 0 28px 82px rgba(4, 14, 36, 0.32);
}

.google-proof__logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 850;
    letter-spacing: 0;
}

.google-proof__logo span:nth-child(1),
.google-proof__logo span:nth-child(4) {
    color: #4285f4;
}

.google-proof__logo span:nth-child(2),
.google-proof__logo span:nth-child(6) {
    color: #db4437;
}

.google-proof__logo span:nth-child(3) {
    color: #f4b400;
}

.google-proof__logo span:nth-child(5) {
    color: #0f9d58;
}

.google-proof strong {
    font-size: 2.45rem;
    font-weight: 950;
    line-height: 1;
}

.google-proof__stars {
    grid-column: 1 / -1;
    color: #f4b400;
    font-size: 1.55rem;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(244, 180, 0, 0.22);
}

.google-proof__text {
    color: var(--muted);
    font-weight: 900;
}

.google-proof__cta {
    color: var(--logo-blue);
    font-weight: 950;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.choice-card {
    display: grid;
    align-content: space-between;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 70px rgba(16, 32, 62, 0.26);
}

.choice-card span {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 950;
    line-height: 1;
}

.choice-card small {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    font-weight: 800;
}

.choice-card--pratique {
    background: linear-gradient(145deg, #2e4e97, #102f72);
}

.choice-card--theorie {
    color: var(--ink);
    background: linear-gradient(145deg, #d7e7f1, #7ea6c5);
}

.choice-card--theorie small {
    color: rgba(16, 21, 31, 0.76);
}

.choice-card--contact {
    background: linear-gradient(145deg, #82a6c0, #2e4e97);
}

.visit-band {
    padding: 34px 0;
    color: var(--white);
    background: var(--red);
}

.visit-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.visit-band .eyebrow {
    color: var(--yellow);
}

.visit-band p {
    margin: 10px 0 0;
    max-width: 660px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button,
.footer-actions a,
.mobile-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
}

.button--dark {
    color: var(--white);
    background: var(--logo-blue);
}

.button--light {
    color: var(--ink);
    background: var(--white);
}

.button--whatsapp {
    color: var(--white);
    background: #25d366;
}

.quick-section,
.formula-section,
.specific-cases,
.content-band,
.faq-preview,
.contact-grid,
.split-cards,
.visual-section {
    padding: 64px 0;
}

.visual-section {
    display: grid;
    gap: 22px;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
}

.photo-tile {
    position: relative;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    background: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.photo-tile img,
.contact-photo,
.visual-feature img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-tile--contain {
    background: #05080d;
}

.photo-tile--contain img {
    object-fit: contain;
}

.photo-tile figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    color: var(--white);
    background: rgba(16, 32, 62, 0.76);
    border-radius: var(--radius);
    font-weight: 900;
}

.visual-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 24px;
    padding-top: 54px;
    padding-bottom: 24px;
}

.visual-feature img {
    max-height: 360px;
    background: #071126;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.visual-feature--car img {
    aspect-ratio: 1;
    height: auto;
    max-height: none;
    padding: 0;
    object-fit: contain;
    object-position: center center;
}

.visual-feature p {
    color: var(--muted);
    font-weight: 700;
}

.contact-photo {
    height: 220px;
    margin: 12px 0 18px;
    border-radius: var(--radius);
}

.quick-section > h2,
.formula-section > h2,
.faq-preview > h2 {
    margin-top: 6px;
    margin-bottom: 22px;
}

.split-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-card,
.formula-card,
.situation-card,
.contact-panel,
.maestro-faq__item {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(16, 21, 31, 0.06);
}

.info-card,
.formula-card,
.situation-card,
.visual-feature,
.contact-panel,
.maestro-faq__item {
    animation: maestro-rise .55s ease both;
}

.info-card p,
.formula-card p,
.situation-card p,
.prose p {
    color: var(--muted);
}

.info-card a {
    font-weight: 900;
    color: var(--red);
}

.info-card--visual {
    overflow: hidden;
    padding: 0;
    background: #05080d;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.info-card--visual:hover,
.info-card--visual:focus-within {
    transform: translateY(-5px);
    border-color: rgba(46, 78, 151, 0.52);
    box-shadow: 0 26px 64px rgba(16, 32, 62, 0.18);
}

.info-card__image-link {
    position: relative;
    display: block;
    color: inherit;
    background: #05080d;
    border-radius: inherit;
    text-decoration: none;
}

.info-card--visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: inherit;
    transition: transform .28s ease, filter .28s ease;
}

.info-card--visual:hover img,
.info-card--visual:focus-within img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.018);
}


.seo-fold {
    padding: 12px 0 64px;
}

.seo-fold summary {
    cursor: pointer;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-weight: 900;
}

.prose {
    max-width: 820px;
}

.prose h2 {
    margin: 28px 0 12px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 74px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 20%, rgba(126, 166, 197, 0.3), transparent 30%),
        linear-gradient(135deg, #10203e, #2e4e97);
}

.page-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 36px;
}

.page-hero__layout > * {
    grid-column: 1;
}

.page-hero__layout::after {
    display: grid;
    grid-column: 2;
    grid-row: 1 / span 5;
    place-items: center;
    min-height: 285px;
    padding: 32px;
    color: rgba(255, 255, 255, 0.93);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 24px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 24px),
        radial-gradient(circle at 18% 18%, rgba(126, 166, 197, 0.42), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    box-shadow: 0 28px 80px rgba(4, 14, 36, 0.24);
    content: attr(data-hero-visual);
    font-size: 4.25rem;
    font-weight: 950;
    line-height: 0.95;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    animation: hero-panel-float 4.8s ease-in-out infinite;
}

.page-hero--pratique .page-hero__layout::after {
    background:
        linear-gradient(180deg, rgba(16, 32, 62, 0.42), rgba(16, 32, 62, 0.08)),
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98) 0 58px,
            transparent 58px 118px
        ),
        linear-gradient(145deg, #223f7e, #10203e);
    background-position: 0 0, center 0, 0 0;
    background-repeat: no-repeat, repeat-y, no-repeat;
    background-size: auto, 34px 118px, auto;
    box-shadow: 0 28px 80px rgba(4, 14, 36, 0.24), inset 0 0 0 999px rgba(16, 32, 62, 0.08);
    text-shadow: 0 4px 22px rgba(4, 14, 36, 0.48);
    animation: hero-panel-float 4.8s ease-in-out infinite, hero-pratique-lines .92s linear infinite;
}

.page-hero--theory .page-hero__layout::after {
    color: var(--white);
    background:
        radial-gradient(circle at 24% 20%, rgba(46, 78, 151, 0.38), transparent 34%),
        linear-gradient(145deg, var(--logo-blue), #10203e);
    border-color: rgba(46, 78, 151, 0.26);
}

.page-hero--contact .page-hero__layout::after {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(145deg, rgba(16, 32, 62, 0.34), rgba(255, 255, 255, 0.1));
}

.page-hero--theory {
    color: var(--ink);
    background: linear-gradient(135deg, #d9e8f1, #7ea6c5);
}

.page-hero--contact {
    background: linear-gradient(135deg, #2e4e97, #82a6c0);
}

.page-hero .eyebrow {
    color: var(--yellow);
}

.page-hero--theory .eyebrow {
    color: var(--red);
}

.page-hero p {
    max-width: 680px;
    margin: 16px 0 22px;
    font-size: 1.15rem;
    font-weight: 700;
}

@keyframes hero-panel-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes hero-pratique-lines {
    to {
        background-position: 0 0, center 118px, 0 0;
    }
}

.specific-cases {
    padding-top: 42px;
}

.specific-cases > h2 {
    margin-top: 6px;
    margin-bottom: 22px;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.situation-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(145deg, var(--logo-blue), var(--ink));
    border-color: rgba(255, 255, 255, 0.14);
    transition: transform .2s ease, box-shadow .2s ease;
}

.situation-card:nth-child(even) {
    color: var(--ink);
    background: linear-gradient(145deg, #d7e7f1, var(--logo-sky));
}

.situation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(16, 32, 62, 0.16);
}

.situation-card span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--ink);
    background: var(--white);
    border-radius: 50%;
    font-weight: 950;
}

.situation-card:nth-child(even) span {
    color: var(--white);
    background: var(--logo-blue);
}

.situation-card h3 {
    font-size: 1.55rem;
}

.situation-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 750;
}

.situation-card:nth-child(even) p {
    color: rgba(16, 32, 62, 0.74);
}

.formula-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.formula-grid--two {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.formula-grid--three {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.formula-card {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.formula-card::before {
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 5px;
    background: linear-gradient(90deg, var(--logo-blue), var(--logo-sky), var(--logo-mist));
    border-radius: 0 0 999px 999px;
    content: "";
}

.formula-card:hover,
.formula-card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(46, 78, 151, 0.45);
    box-shadow: 0 24px 58px rgba(16, 32, 62, 0.14);
}

.formula-card h3 {
    padding-top: 8px;
    font-size: 1.7rem;
}

.formula-card p {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.formula-card strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    margin-top: auto;
    padding: 16px 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--logo-blue), var(--ink));
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    font-size: 3.45rem;
    font-weight: 950;
    line-height: 1;
}

@keyframes maestro-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.note {
    color: var(--muted);
    font-size: 0.94rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 22px;
}

.maestro-form {
    display: grid;
    gap: 14px;
}

.maestro-form label {
    display: grid;
    gap: 6px;
    font-weight: 900;
}

.maestro-form input,
.maestro-form select,
.maestro-form textarea,
.maestro-faq__search {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
}

.maestro-form textarea {
    min-height: 120px;
    resize: vertical;
}

.maestro-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.maestro-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-weight: 600;
}

.maestro-form__consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.maestro-form__status {
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.maestro-form__status--success {
    color: #0c5d40;
    background: #dff7ec;
}

.maestro-form__status--error {
    color: #8d161b;
    background: #ffe1e3;
}

.maestro-faq {
    display: grid;
    gap: 16px;
}

.maestro-faq__toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.maestro-faq__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.maestro-faq__filter {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 900;
    cursor: pointer;
}

.maestro-faq__filter[aria-pressed="true"] {
    color: var(--white);
    background: var(--ink);
}

.maestro-faq__item summary {
    cursor: pointer;
    font-weight: 950;
    font-size: 1.08rem;
}

.maestro-faq__item summary::marker {
    color: var(--red);
}

.maestro-faq__answer {
    color: var(--muted);
}

.maestro-faq__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    padding: 36px 0 92px;
    color: var(--white);
    background: var(--ink);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: var(--wrap);
    margin-inline: auto;
}

.site-footer p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-legal {
    font-weight: 800;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 12px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.social-links a:hover,
.social-links a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-links__item--facebook {
    background: #1877f2;
    border-color: #1877f2;
}

.social-links__item--instagram {
    background: linear-gradient(135deg, #833ab4, #e1306c 52%, #f77737);
    border-color: rgba(255, 255, 255, 0.24);
}

.social-links__item--tiktok {
    background: #0f1117;
    border-color: rgba(255, 255, 255, 0.24);
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
}

.footer-actions a {
    color: var(--ink);
    background: var(--yellow);
}

.mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 8px;
    background: rgba(251, 252, 255, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.mobile-cta a {
    flex-direction: column;
    gap: 3px;
    min-height: 58px;
    padding: 7px 6px;
    color: var(--white);
    background: var(--ink);
    font-size: .82rem;
    line-height: 1.1;
}

.mobile-cta .action-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
}

.exit-popup[hidden] {
    display: none;
}

.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 22px;
}

.exit-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 14, 36, 0.62);
    backdrop-filter: blur(8px);
}

.exit-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    padding: 30px;
    color: var(--ink);
    background:
        radial-gradient(circle at 90% 18%, rgba(126, 166, 197, 0.28), transparent 30%),
        var(--white);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    box-shadow: 0 32px 92px rgba(4, 14, 36, 0.34);
    font-family: Aptos, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
    font-weight: 400;
    animation: exit-popup-in .22s ease both;
}

.exit-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--ink);
    background: rgba(16, 32, 62, 0.08);
    border: 0;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.exit-popup h2 {
    margin: 8px 42px 12px 0;
    font-size: 2.15rem;
    font-weight: 500;
    white-space: nowrap;
}

.exit-popup p {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 400;
}

.exit-popup__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.exit-popup__actions .button {
    gap: 8px;
    min-height: 56px;
    padding: 12px 14px;
    font-weight: 500;
}

.exit-popup__actions svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex: 0 0 auto;
}

.exit-popup__continue {
    margin-top: 16px;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 400;
    cursor: pointer;
}

@keyframes exit-popup-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 980px) {
    :root {
        --page-gutter: 22px;
    }

    .site-header__inner {
        min-height: 64px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
    }

    .menu-toggle__bar,
    .menu-toggle__bar::before,
    .menu-toggle__bar::after {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--ink);
        content: "";
    }

    .menu-toggle__bar {
        position: relative;
    }

    .menu-toggle__bar::before,
    .menu-toggle__bar::after {
        position: absolute;
        left: 0;
    }

    .menu-toggle__bar::before {
        top: -6px;
    }

    .menu-toggle__bar::after {
        top: 6px;
    }

    .site-nav {
        position: absolute;
        top: 64px;
        right: var(--page-gutter);
        left: var(--page-gutter);
        display: none;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        display: grid;
        gap: 4px;
    }

    .site-nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .header-call {
        display: none;
    }

    .choice-grid,
    .visit-band__grid,
    .page-hero__layout,
    .split-cards,
    .situation-grid,
    .formula-grid,
    .formula-grid--two,
    .formula-grid--three,
    .visual-grid,
    .visual-feature,
    .contact-grid,
    .maestro-form__row {
        grid-template-columns: 1fr;
    }

    .hero-road {
        min-height: auto;
    }

    .hero-road__inner {
        min-height: calc(100svh - 64px);
        padding: 38px 0 82px;
    }

    .choice-card {
        min-height: 152px;
    }

    .page-hero__layout::after {
        grid-column: 1;
        grid-row: auto;
        min-height: 150px;
        font-size: 2.5rem;
    }

    .photo-tile {
        min-height: 220px;
    }

    .mobile-cta {
        display: grid;
    }

    .exit-popup__actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    :root {
        --page-gutter: 11px;
    }

    .brand__text {
        max-width: 138px;
        line-height: 1.05;
    }

    h1 {
        font-size: clamp(2.65rem, 15vw, 4.6rem);
    }

    .choice-card {
        min-height: 132px;
        padding: 18px;
    }

    .google-proof {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .google-proof strong {
        font-size: 2.25rem;
    }

    .quick-section,
    .formula-section,
    .specific-cases,
    .content-band,
    .faq-preview,
    .contact-grid,
    .split-cards,
    .visual-section {
        padding: 44px 0;
    }

    .formula-card {
        min-height: 230px;
    }

    .formula-card strong {
        min-height: 78px;
        font-size: 3rem;
    }

    .exit-popup {
        align-items: end;
        padding: 11px;
    }

    .exit-popup__dialog {
        padding: 24px;
    }

    .exit-popup h2 {
        font-size: 1.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .hero-video video {
        display: none;
    }
}
