/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --primary: #326e65;
    --primary-dark: #24564f;
    --secondary: #173f39;
    --accent: #c75423;
    --accent-dark: #9f3e1b;
    --accent-soft: #f0d1bd;
    --accent-tint: #f8dfcf;
    --white: #ffffff;
    --ink: #1f2d2a;
    --muted: #5f6d68;
    --warm: #f6e9d8;
    --surface: #fffaf2;
    --surface-strong: #fffdf8;
    --line: rgba(50, 110, 101, 0.18);
    --line-strong: rgba(23, 63, 57, 0.24);
    --shadow: 0 18px 48px rgba(23, 63, 57, 0.12);
    --header-height: 82px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--surface-strong);
    color: var(--ink);
    font-family: "Manrope", Arial, sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    animation: pageIn 0.42s ease both;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: var(--accent-soft);
    color: var(--secondary);
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* ========== UTILITIES ========== */
.container {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    transform: translateY(-140%);
    border-radius: 8px;
    background: var(--white);
    color: var(--secondary);
    padding: 12px 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

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

.section {
    padding: 96px 0;
}

.section-kicker,
.eyebrow {
    margin-bottom: 14px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading h2,
.profile-copy h2,
.gallery-copy h2,
.method-copy h2,
.contact-copy h2 {
    color: var(--secondary);
    font-size: 2.45rem;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.section-heading p,
.profile-copy p,
.gallery-copy p,
.method-copy p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.04rem;
}

.section-heading h2 + p,
.gallery-copy h2 + p,
.method-copy h2 + .method-list,
.contact-copy h2 + p {
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 14px 20px;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(159, 62, 27, 0.22);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.78);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-outline-dark {
    border-color: var(--line-strong);
    background: var(--surface-strong);
    color: var(--secondary);
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.mobile-toggle:focus-visible,
.mobile-menu-close:focus-visible,
.gallery-btn:focus-visible,
.gallery-dot:focus-visible,
.whatsapp-float:focus-visible {
    outline: 3px solid rgba(199, 84, 35, 0.42);
    outline-offset: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(23, 63, 57, 0.92);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(14, 38, 34, 0.16);
    backdrop-filter: blur(14px);
    transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
    height: 68px;
    background: rgba(23, 63, 57, 0.98);
    box-shadow: 0 16px 38px rgba(14, 38, 34, 0.24);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: auto;
    height: 48px;
    filter: brightness(0) invert(1);
    transition: height 0.25s ease;
}

.header.is-scrolled .logo-img {
    height: 42px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-cta {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.86rem;
}

.mobile-toggle,
.mobile-menu-close {
    display: none;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
}

.mobile-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(10, 30, 27, 0.62);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-overlay.is-active {
    opacity: 1;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    display: grid;
    min-height: 86svh;
    overflow: hidden;
    background: var(--secondary);
    color: var(--white);
    padding: calc(var(--header-height) + 54px) 0 74px;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: -32px;
    z-index: -2;
    overflow: hidden;
    transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(1.05);
    transition: transform 0.12s linear;
}

.hero-media::before,
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-media::before {
    z-index: 1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mix-blend-mode: screen;
    opacity: 0.34;
}

.hero-media::after {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(23, 63, 57, 0.96) 0%, rgba(23, 63, 57, 0.82) 48%, rgba(23, 63, 57, 0.5) 100%),
        linear-gradient(180deg, rgba(23, 63, 57, 0.1) 0%, rgba(23, 63, 57, 0.88) 100%);
}

.hero-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(16px) saturate(0.82) brightness(0.72);
    transform: scale(1.08);
    animation: heroBackdropDrift 16s ease-in-out infinite alternate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero::before {
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0%, rgba(240, 209, 189, 0.12) 42%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 34%);
    opacity: 0.72;
    animation: heroLightSweep 9s ease-in-out infinite alternate;
}

.hero::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    z-index: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 28, 25, 0.68) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    grid-template-areas:
        "copy media"
        "proof media";
    gap: 58px;
    align-items: center;
}

.hero-content {
    grid-area: copy;
    max-width: 760px;
}

.hero .eyebrow {
    color: var(--accent-tint);
    margin-bottom: 10px;
}

.hero-signature {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    font-weight: 800;
}

.hero h1 {
    max-width: 740px;
    margin-top: 18px;
    font-size: 4.05rem;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 620px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-proof {
    grid-area: proof;
    display: grid;
    max-width: 640px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: -22px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-proof div {
    min-width: 0;
}

.hero-proof dt {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-proof dd {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    grid-area: media;
    justify-self: end;
    width: min(100%, 610px);
    transform: translate3d(0, var(--hero-visual-y, 0px), 0);
    transition: transform 0.12s linear;
}

.hero-frame {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    aspect-ratio: 1600 / 1345;
    background: rgba(255, 250, 242, 0.08);
    box-shadow: 0 32px 80px rgba(5, 24, 21, 0.36);
}

.hero-frame::before,
.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-frame::before {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.hero-frame::after {
    background:
        linear-gradient(180deg, transparent 44%, rgba(23, 63, 57, 0.62) 100%),
        linear-gradient(90deg, rgba(23, 63, 57, 0.16) 0%, transparent 42%, rgba(199, 84, 35, 0.12) 100%);
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-frame figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    color: var(--white);
}

.hero-frame figcaption span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-frame figcaption strong {
    color: var(--accent-tint);
    font-size: 1rem;
}

.hero-editorial-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.hero-editorial-line span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}

.hero-scroll {
    position: absolute;
    right: max(20px, calc((100vw - 1180px) / 2));
    bottom: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.hero-scroll::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--accent-tint);
    transform-origin: left;
    animation: heroScrollCue 1.8s ease-in-out infinite;
}

@keyframes heroBackdropDrift {
    from {
        transform: scale(1.08) translate3d(-10px, 0, 0);
    }

    to {
        transform: scale(1.12) translate3d(12px, -8px, 0);
    }
}

@keyframes heroLightSweep {
    from {
        opacity: 0.48;
        transform: translateX(-3%);
    }

    to {
        opacity: 0.82;
        transform: translateX(3%);
    }
}

@keyframes heroScrollCue {
    0%,
    100% {
        transform: scaleX(0.48);
        opacity: 0.54;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* ========== INTRO ========== */
.intro-band {
    background: var(--secondary);
    color: var(--white);
    padding: 34px 0 42px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.32fr 1fr;
    gap: 44px;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 30px;
}

.intro-grid .section-kicker {
    color: var(--accent-tint);
}

.intro-grid p:last-child {
    max-width: 830px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

/* ========== PROFILE ========== */
.profile {
    background: var(--surface-strong);
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 70px;
    align-items: center;
}

.profile-copy p + p {
    margin-top: 16px;
}

.profile-portrait {
    margin: 0;
}

.profile-portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    box-shadow: var(--shadow);
}

.profile-portrait figcaption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ========== EXPERTISE ========== */
.expertise {
    background: var(--warm);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.expertise-item {
    min-height: 268px;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(23, 63, 57, 0.16);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.86);
    padding: 28px;
    box-shadow: 0 8px 26px rgba(23, 63, 57, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.expertise-item:nth-child(4),
.expertise-item:nth-child(5) {
    grid-column: span 3;
}

.expertise-item:hover {
    transform: translateY(-6px);
    border-color: rgba(199, 84, 35, 0.5);
    box-shadow: var(--shadow);
}

.expertise-item span,
.method-list span {
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 800;
}

.expertise-item h3,
.method-list h3 {
    color: var(--secondary);
    font-size: 1.16rem;
    line-height: 1.3;
}

.expertise-item p,
.method-list p {
    color: var(--muted);
    font-size: 0.96rem;
}

/* ========== GALLERY ========== */
.gallery {
    background: var(--surface-strong);
}

.gallery-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 58px;
    align-items: center;
}

.gallery-copy {
    align-self: start;
}

.gallery-controls {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.gallery-btn {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface-strong);
    color: var(--secondary);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gallery-btn:hover {
    transform: translateY(-2px);
    background: var(--secondary);
    color: var(--white);
}

.gallery-stage {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--secondary);
    box-shadow: var(--shadow);
}

.gallery-stage:focus {
    outline: none;
}

.gallery-track {
    position: relative;
    min-height: 640px;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.gallery-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-slide--portrait img {
    object-fit: contain;
    object-position: center;
    background: var(--secondary);
}

.gallery-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(23, 63, 57, 0) 0%, rgba(23, 63, 57, 0.78) 100%);
    pointer-events: none;
}

.gallery-slide figcaption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 2;
    max-width: 420px;
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 700;
}

.gallery-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.gallery-dot.is-active {
    width: 26px;
    background: var(--accent-tint);
}

/* ========== METHOD ========== */
.method {
    background: var(--secondary);
    color: var(--white);
}

.method-grid {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.method-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 22px 52px rgba(6, 20, 18, 0.26);
}

.method .section-kicker,
.method-copy h2 {
    color: var(--accent-tint);
}

.method-copy h2 {
    max-width: 720px;
}

.method-list {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.method-list article {
    display: grid;
    grid-template-columns: 44px 0.38fr 1fr;
    gap: 20px;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 20px;
}

.method-list h3,
.method-list p {
    color: var(--white);
}

.method-list p {
    color: rgba(255, 255, 255, 0.72);
}

/* ========== CONTACT ========== */
.contact {
    background: var(--surface-strong);
    padding: 88px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    gap: 48px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(50, 110, 101, 0.08), rgba(199, 84, 35, 0.08)),
        var(--surface);
    padding: 48px;
}

.contact-actions {
    display: grid;
    gap: 14px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 52px 0 28px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
}

.footer .logo-img {
    height: 54px;
}

.footer p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.footer nav a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #128a5a;
    color: var(--white);
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(18, 138, 90, 0.26);
    transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #0d6b45;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1080px) {
    .nav-links {
        gap: 18px;
    }

    .nav {
        gap: 18px;
    }

    .hero h1 {
        font-size: 3.35rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.96fr) minmax(330px, 0.78fr);
        gap: 34px;
    }

    .profile-grid,
    .gallery-layout,
    .method-grid {
        gap: 44px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 72px;
    }

    .header {
        overflow: visible;
    }

    .container {
        width: min(100% - 32px, 1180px);
    }

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

    .mobile-menu-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: inline-flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .nav {
        position: fixed;
        top: 12px;
        right: 12px;
        bottom: auto;
        z-index: 1001;
        width: min(360px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        height: calc(100vh - 24px);
        height: calc(100svh - 24px);
        height: calc(100dvh - 24px);
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 28px;
        background: var(--secondary);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        padding: 88px 24px 28px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 24px 70px rgba(5, 24, 21, 0.38);
        transform: translate3d(calc(100% + 24px), 0, 0);
        transition: transform 0.32s var(--ease);
    }

    .nav.is-open {
        transform: translate3d(0, 0, 0);
    }

    .nav-links {
        display: grid;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .nav-links a {
        display: block;
        padding: 17px 0;
        font-size: 1.04rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        width: 100%;
        max-width: 100%;
        min-height: 52px;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 34px) 0 58px;
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(23, 63, 57, 0.95) 0%, rgba(23, 63, 57, 0.78) 52%, rgba(23, 63, 57, 0.94) 100%),
            linear-gradient(90deg, rgba(23, 63, 57, 0.82), rgba(199, 84, 35, 0.16));
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "media"
            "proof";
        gap: 34px;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-visual {
        justify-self: start;
        width: min(100%, 620px);
    }

    .hero-proof {
        margin-top: 0;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading h2,
    .profile-copy h2,
    .gallery-copy h2,
    .method-copy h2,
    .contact-copy h2 {
        font-size: 2rem;
    }

    .intro-grid,
    .profile-grid,
    .gallery-layout,
    .method-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        gap: 14px;
    }

    .profile-portrait {
        max-width: 520px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-item,
    .expertise-item:nth-child(4),
    .expertise-item:nth-child(5) {
        grid-column: auto;
    }

    .gallery-track {
        min-height: 560px;
    }

    .method-image {
        max-width: 520px;
    }

    .method-list article {
        grid-template-columns: 42px 1fr;
    }

    .method-list p {
        grid-column: 2;
    }

    .contact-grid {
        padding: 34px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header {
        height: 68px;
    }

    .header.is-scrolled {
        height: 64px;
    }

    .header-inner {
        gap: 14px;
    }

    .logo-img {
        height: 38px;
    }

    .header.is-scrolled .logo-img {
        height: 36px;
    }

    .nav {
        top: 10px;
        right: 10px;
        width: min(350px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        height: calc(100svh - 20px);
        height: calc(100dvh - 20px);
        padding: 82px 22px 24px;
    }

    .mobile-menu-close {
        top: 16px;
        right: 16px;
    }

    .nav-links a {
        padding: 15px 0;
        font-size: 1rem;
    }

    .hero {
        padding: 92px 0 42px;
    }

    .hero-media {
        inset: -18px;
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(23, 63, 57, 0.9) 0%, rgba(23, 63, 57, 0.7) 54%, rgba(23, 63, 57, 0.9) 100%),
            linear-gradient(90deg, rgba(23, 63, 57, 0.82), rgba(23, 63, 57, 0.2));
    }

    .hero h1 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    .hero .eyebrow,
    .section-kicker {
        font-size: 0.74rem;
    }

    .hero-signature {
        font-size: 0.76rem;
    }

    .hero-lead {
        margin-top: 18px;
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-actions {
        display: grid;
        gap: 12px;
        margin-top: 24px;
    }

    .hero-frame {
        box-shadow: 0 22px 54px rgba(5, 24, 21, 0.28);
    }

    .hero-proof {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
        padding-top: 18px;
    }

    .hero-proof div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 10px;
    }

    .hero-proof dt {
        font-size: 1.16rem;
    }

    .hero-proof dd {
        margin: 0;
        text-align: right;
    }

    .hero-frame figcaption {
        right: 14px;
        bottom: 14px;
        left: 14px;
        align-items: start;
        flex-direction: column;
        gap: 2px;
    }

    .hero-editorial-line {
        grid-template-columns: 1fr;
    }

    .hero-editorial-line span {
        min-height: 40px;
    }

    .section {
        padding: 54px 0;
    }

    .intro-band {
        padding: 28px 0 32px;
    }

    .intro-grid {
        padding-top: 24px;
    }

    .profile-grid,
    .gallery-layout,
    .method-grid {
        gap: 30px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2,
    .profile-copy h2,
    .gallery-copy h2,
    .method-copy h2,
    .contact-copy h2 {
        font-size: 1.58rem;
        line-height: 1.22;
    }

    .section-heading p,
    .profile-copy p,
    .gallery-copy p,
    .method-copy p,
    .contact-copy p,
    .intro-grid p:last-child {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .profile-copy p + p {
        margin-top: 14px;
    }

    .profile-portrait,
    .method-image {
        width: min(100%, 300px);
        margin-inline: auto;
    }

    .profile-portrait img {
        aspect-ratio: 4 / 5;
    }

    .profile-portrait figcaption {
        font-size: 0.82rem;
    }

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

    .expertise-item {
        min-height: auto;
        gap: 18px;
        padding: 20px;
    }

    .expertise-item h3,
    .method-list h3 {
        font-size: 1.08rem;
    }

    .expertise-item p,
    .method-list p {
        font-size: 0.94rem;
        line-height: 1.68;
    }

    .gallery-controls {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .gallery-btn {
        width: 46px;
        height: 46px;
    }

    .gallery-stage {
        box-shadow: 0 16px 38px rgba(23, 63, 57, 0.12);
    }

    .gallery-track {
        min-height: 470px;
    }

    .gallery-slide figcaption {
        right: 18px;
        bottom: 46px;
        left: 18px;
        font-size: 0.95rem;
    }

    .gallery-dots {
        right: auto;
        bottom: 18px;
        left: 18px;
    }

    .method-copy {
        order: -1;
    }

    .method-image {
        order: 2;
    }

    .method-image img {
        aspect-ratio: 4 / 5;
    }

    .method-list article {
        grid-template-columns: 32px 1fr;
        gap: 14px;
        padding-top: 18px;
    }

    .contact {
        padding: 58px 0;
    }

    .contact-grid {
        padding: 24px 20px;
        gap: 28px;
    }

    .contact-actions {
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding-inline: 16px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.42rem;
    }

    .footer {
        padding: 44px 0 24px;
    }

    .footer .logo-img {
        height: 48px;
    }

    .footer nav {
        gap: 14px;
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-lead {
        font-size: 0.94rem;
    }

    .hero-signature {
        padding-left: 10px;
        font-size: 0.72rem;
    }

    .section-heading h2,
    .profile-copy h2,
    .gallery-copy h2,
    .method-copy h2,
    .contact-copy h2 {
        font-size: 1.42rem;
    }

    .profile-portrait,
    .method-image {
        width: min(100%, 270px);
    }

    .gallery-track {
        min-height: 420px;
    }

    .contact-grid {
        padding: 22px 18px;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
