:root {
    --navy: #071a33;
    --navy-2: #0c2e57;
    --blue: #0b3a6e;
    --orange: #e8771a;
    --orange-deep: #c65312;
    --cream: #f6f1e7;
    --cream-2: #efe6d6;
    --paper: #fffdf9;
    --ink: #142033;
    --muted: #3e4c5c;
    --line: rgba(7, 26, 51, 0.1);
    --header: 4.75rem;
    --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --shadow: 0 14px 36px rgba(7, 26, 51, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.15rem, 4.6vw, 3.7rem);
    margin-bottom: 0.75rem;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}

p {
    color: var(--muted);
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--orange);
    color: #1a1206;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    z-index: 40;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 26, 51, 0.96);
    color: #fff;
    backdrop-filter: blur(10px);
}

.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.brand img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1rem;
}

.brand-text small {
    color: #ffd7b0;
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.site-nav a {
    color: #f6f1e7;
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: transparent;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background: var(--orange);
    color: #1a1206;
}

.btn-primary:hover {
    background: #f59a3c;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

.btn-small {
    min-height: 42px;
    padding: 0.45rem 0.9rem;
}

.btn-large {
    min-height: 56px;
    padding: 0.9rem 1.3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) 1.15fr;
    min-height: calc(100svh - var(--header));
    background: var(--navy);
    color: #fff;
}

.hero-photo {
    position: relative;
    min-height: 28rem;
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 1.25rem;
    border: 2px solid rgba(232, 119, 26, 0.9);
    border-radius: 1.4rem;
    pointer-events: none;
}

.hero-photo-caption {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 1;
    margin: 0;
    color: #fff;
    background: rgba(7, 26, 51, 0.82);
    border: 1px solid rgba(232, 119, 26, 0.7);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.25rem);
    background: linear-gradient(165deg, var(--navy-2), var(--navy) 68%);
}

.hero-copy h1,
.hero-punch,
.hero-lead,
.hero-micro {
    max-width: 38rem;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--orange-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #ffd7b0;
}

.hero-punch {
    margin: 0 0 1rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.25;
    color: #fff;
    font-weight: 600;
}

.hero-punch strong {
    color: var(--orange);
}

.hero-lead,
.hero-micro {
    color: #f3e6d4;
}

.hero-lead {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.flag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.4rem;
}

.flag-row li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.28rem 0.75rem 0.28rem 0.28rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.flag-row img,
.lang-card img {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.hero-micro {
    margin: 0;
    font-size: 0.92rem;
}

.section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
    background: var(--cream-2);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.section-lead {
    font-size: 1.08rem;
}

.signal-grid,
.method-grid,
.lang-grid,
.step-grid {
    display: grid;
    gap: 1rem;
}

.signal-grid,
.method-grid {
    grid-template-columns: repeat(3, 1fr);
}

.signal-grid {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.2rem 1.3rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.persona-quote {
    margin: 1.5rem 0 0;
    padding: 1.4rem 1.5rem 1.3rem;
    border-radius: 1.25rem;
    background: var(--navy);
    color: #fff;
}

.persona-quote blockquote {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.persona-quote figcaption {
    margin-top: 0.75rem;
    color: #ffd7b0;
    font-weight: 700;
}

.lang-grid {
    grid-template-columns: repeat(6, 1fr);
}

.lang-card {
    grid-column: span 3;
}

.lang-card-spotlight {
    grid-column: span 2;
    border-color: rgba(232, 119, 26, 0.55);
    box-shadow: 0 16px 40px rgba(200, 83, 18, 0.12);
}

.lang-card img {
    width: 64px;
    height: 44px;
    margin-bottom: 0.8rem;
}

.lang-card h3 span {
    display: block;
    margin-top: 0.15rem;
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
}

.badge {
    display: inline-block;
    margin: 0 0 0.55rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #fff1e4;
    color: #9a3e00;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-cta {
    margin-top: 1.5rem;
}

.step-grid {
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--orange);
    color: #1a1206;
    font-weight: 800;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 7;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 1.5rem;
    box-shadow: 12px 12px 0 var(--orange);
}

.about-lead {
    color: var(--ink);
    font-size: 1.15rem;
}

.about-grid .btn {
    margin-top: 0.5rem;
}

.closing {
    background:
        radial-gradient(circle at 12% 20%, rgba(232, 119, 26, 0.35), transparent 28%),
        linear-gradient(160deg, var(--navy-2), var(--navy));
    color: #fff;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    text-align: center;
}

.closing .container {
    max-width: 42rem;
}

.closing h2,
.closing p {
    color: #fff;
}

.closing p {
    color: #f3e6d4;
}

.closing .btn {
    margin-top: 0.4rem;
}

.closing-phone {
    margin: 1rem 0 0;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffd7b0 !important;
}

.site-footer {
    background: #061426;
    color: #f6f1e7;
    padding: 2.5rem 0 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
}

.brand-footer small {
    color: #ffd7b0;
}

.footer-label {
    margin: 0 0 0.35rem;
    color: #ffd7b0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-phone {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-phone:hover {
    color: #ffd7b0;
}

.footer-note,
.footer-bottom p {
    color: #d5d0c6;
    font-size: 0.95rem;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
}

.whatsapp-dock {
    display: none;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

::selection {
    background: #ffd7b0;
    color: var(--navy);
}

@media (max-width: 980px) {
    .signal-grid,
    .method-grid,
    .step-grid,
    .about-grid,
    .footer-grid,
    .hero {
        grid-template-columns: 1fr;
    }

    .lang-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lang-card,
    .lang-card-spotlight {
        grid-column: auto;
    }

    .hero-photo {
        min-height: 22rem;
        max-height: 26rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.75rem 1rem 1rem;
        background: var(--navy);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 0.7rem 0.2rem;
    }
}

@media (max-width: 760px) {
    .lang-grid,
    .signal-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        min-height: 16rem;
        max-height: 17rem;
    }

    .hero-photo img {
        object-position: center 42%;
    }

    .hero-copy {
        padding: 1.35rem 1.15rem 1.15rem;
    }

    .flag-row {
        margin: 0.85rem 0 0.9rem;
    }

    .whatsapp-dock.is-visible {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        z-index: 25;
        min-height: 52px;
        border-radius: 999px;
        background: var(--orange);
        color: #1a1206;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(7, 26, 51, 0.28);
    }

    body.has-dock {
        padding-bottom: 5.2rem;
    }

    .site-footer {
        padding-bottom: 1.5rem;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .site-header,
    .whatsapp-dock,
    .hero-actions,
    .section-cta,
    .closing .btn {
        display: none !important;
    }

    body {
        background: #fff;
        padding: 0;
    }
}
