/* ═══════════════════════════════════════════════════════════════════
   Beleza Pura — main.css  v2.0
   Architecture: mobile-first · CSS custom properties · no frameworks
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 0. RESET & ROOT ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

:root {
    /* Palette */
    --bg:        #FDF6F0;
    --bg-alt:    #F7EEE8;
    --blush:     #F2D9E8;
    --text:      #2D2020;
    --text-mid:  rgba(45, 32, 32, 0.55);
    --rose:      #E8B4C8;
    --mauve:     #C9A0BC;
    --gold:      #D4AF8A;
    --dark:      #1A1010;
    --dark-mid:  rgba(26, 16, 16, 0.75);

    /* Typography */
    --serif:     'Cormorant Garamond', Georgia, serif;
    --sans:      'Raleway', system-ui, sans-serif;
    --fw-thin:   100;
    --fw-light:  300;
    --fw-reg:    400;
    --fw-mid:    500;

    /* Spacing */
    --gap-xs:    0.5rem;
    --gap-sm:    1rem;
    --gap-md:    clamp(1.5rem, 3vw, 2.5rem);
    --gap-lg:    clamp(3rem, 6vw, 6rem);
    --gap-xl:    clamp(5rem, 10vw, 10rem);
    --wrap:      min(88rem, 100% - 4rem);
    --wrap-text: min(52rem, 100%);

    /* Sides nav width */
    --sidenav-w: 4rem;

    /* Easing */
    --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Ambient light position */
    --light-x: 50%;
    --light-y: 50%;
}

/* ─── 1. BASE ──────────────────────────────────────────────────────── */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: var(--fw-light);
    font-size: clamp(0.875rem, 1vw + 0.25rem, 1rem);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ─── 2. GRAIN TEXTURE ─────────────────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: -100%;
    width: 300%;
    height: 300%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.028;
    pointer-events: none;
    z-index: 9999;
    animation: grain 6s steps(2) infinite;
}

@keyframes grain {
    0%   { transform: translate(0, 0); }
    10%  { transform: translate(-2%, -3%); }
    20%  { transform: translate(3%, 2%); }
    30%  { transform: translate(-3%, 3%); }
    40%  { transform: translate(3%, -3%); }
    50%  { transform: translate(-1%, 2%); }
    60%  { transform: translate(2%, -1%); }
    70%  { transform: translate(-2%, -2%); }
    80%  { transform: translate(2%, 2%); }
    90%  { transform: translate(2%, -2%); }
    100% { transform: translate(0, 0); }
}

/* ─── 3. AMBIENT LIGHT ─────────────────────────────────────────────── */
.ambient-light {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        600px circle at var(--light-x) var(--light-y),
        rgba(232, 180, 200, 0.08) 0%,
        transparent 70%
    );
    transition: background 0.1s linear;
}

/* ─── 4. CUSTOM CURSOR ─────────────────────────────────────────────── */
@media (hover: hover) {
    * { cursor: none !important; }
}

.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--rose);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s var(--ease);
}

.cursor__follower {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid var(--rose);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
    overflow: hidden;
}

.cursor__label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.6rem;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.2s var(--ease);
    white-space: nowrap;
}

.cursor--hover .cursor__follower {
    width: 64px; height: 64px;
    background: rgba(242, 217, 232, 0.4);
}

.cursor--image .cursor__follower {
    width: 80px; height: 80px;
    background: rgba(242, 217, 232, 0.3);
    border-color: var(--mauve);
}

.cursor--image .cursor__label {
    opacity: 1;
}

/* ─── 5. LOAD CURTAIN ──────────────────────────────────────────────── */
.curtain {
    position: fixed;
    inset: 0;
    z-index: 8000;
    display: flex;
    pointer-events: none;
}

.curtain__panel {
    flex: 1;
    background: var(--blush);
    transform-origin: top;
    will-change: transform;
}

.curtain__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.curtain__name {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: var(--fw-light);
    font-style: italic;
    color: var(--text);
    letter-spacing: 0.4em;
    display: flex;
    gap: 0.05em;
    overflow: hidden;
}

.curtain__name .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.curtain--done {
    display: none;
}

/* ─── 6. SIDE NAV ──────────────────────────────────────────────────── */
.sidenav {
    display: none;
}

@media (min-width: 1024px) {
    .sidenav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        left: 0; top: 0; bottom: 0;
        width: var(--sidenav-w);
        padding: 2rem 0;
        z-index: 500;
        border-right: 1px solid rgba(45, 32, 32, 0.06);
    }

    .sidenav__logo {
        font-family: var(--serif);
        font-style: italic;
        font-size: 0.9rem;
        font-weight: var(--fw-light);
        color: var(--text-mid);
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        letter-spacing: 0.15em;
        transition: color 0.3s var(--ease);
    }

    .sidenav__logo:hover { color: var(--text); }

    .sidenav__dots {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .sidenav__dot {
        position: relative;
        display: block;
        width: 8px; height: 8px;
        border-radius: 50%;
        background: rgba(45, 32, 32, 0.18);
        transition: background 0.3s var(--ease), transform 0.3s var(--ease-back);
    }

    .sidenav__dot::before {
        content: attr(data-label);
        position: absolute;
        left: calc(100% + 12px);
        top: 50%;
        transform: translateY(-50%);
        font-family: var(--sans);
        font-size: 0.65rem;
        font-weight: var(--fw-light);
        letter-spacing: 0.12em;
        color: var(--text);
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s var(--ease);
    }

    .sidenav__dot:hover,
    .sidenav__dot.is-active {
        background: var(--rose);
        transform: scale(1.5);
    }

    .sidenav__dot:hover::before,
    .sidenav__dot.is-active::before {
        opacity: 1;
    }

    .sidenav__book {
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-family: var(--sans);
        font-size: 0.6rem;
        font-weight: var(--fw-mid);
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--text-mid);
        border: 1px solid rgba(45, 32, 32, 0.18);
        padding: 0.8rem 0.4rem;
        border-radius: 2px;
        transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
    }

    .sidenav__book:hover {
        color: var(--dark);
        border-color: var(--rose);
        background: var(--blush);
    }
}

/* ─── 7. MOBILE NAV ────────────────────────────────────────────────── */
.mobilenav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 600;
    background: rgba(253, 246, 240, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 32, 32, 0.06);
    transition: background 0.3s var(--ease);
}

@media (min-width: 1024px) {
    .mobilenav { display: none; }
}

.mobilenav__logo {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: var(--fw-light);
    color: var(--text);
    letter-spacing: 0.05em;
}

.mobilenav__burger {
    width: 2rem; height: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.mobilenav__burger span {
    display: block;
    height: 1px;
    background: var(--text);
    border-radius: 1px;
    transition: width 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mobilenav__burger span:first-child { width: 1.5rem; }
.mobilenav__burger span:last-child  { width: 1rem; }

.mobilenav__burger[aria-expanded="true"] span:first-child {
    width: 1.5rem;
    transform: translateY(3px) rotate(45deg);
}
.mobilenav__burger[aria-expanded="true"] span:last-child {
    width: 1.5rem;
    transform: translateY(-3px) rotate(-45deg);
}

/* ─── 8. MENU OVERLAY ──────────────────────────────────────────────── */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 700;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 8vw, 6rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.menu-overlay__close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    font-size: 2rem;
    color: rgba(253, 246, 240, 0.5);
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.2s var(--ease);
}

.menu-overlay__close:hover { color: var(--bg); }

.menu-overlay__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-overlay__link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: var(--fw-light);
    font-style: italic;
    color: rgba(253, 246, 240, 0.6);
    line-height: 1.1;
    transition: color 0.2s var(--ease);
    transform: translateY(20px);
    opacity: 0;
}

.menu-overlay__link::before {
    content: attr(data-index);
    font-family: var(--sans);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: var(--fw-light);
    letter-spacing: 0.1em;
    color: var(--rose);
    flex-shrink: 0;
}

.menu-overlay__link:hover { color: var(--bg); }

.menu-overlay__contact {
    position: absolute;
    bottom: clamp(2rem, 5vw, 4rem);
    left: clamp(3rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: var(--fw-light);
    color: rgba(253, 246, 240, 0.4);
}

.menu-overlay__contact a { transition: color 0.2s var(--ease); }
.menu-overlay__contact a:hover { color: var(--bg); }

/* ─── 9. HERO ──────────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 5rem 1.25rem 3rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto;
        align-items: start;
        padding: 0 2rem 0 2rem;
        padding-left: calc(var(--sidenav-w) + 2rem);
    }
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 55fr 45fr;
        padding-left: calc(var(--sidenav-w) + 3rem);
        padding-right: 3rem;
    }
}

.hero__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4rem;
    padding-top: 6rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .hero__text {
        justify-content: center;
        padding: 8rem 0 6rem;
    }
}

.hero__overline {
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hero__title {
    font-family: var(--serif);
    font-weight: var(--fw-light);
    font-style: italic;
    font-size: clamp(3.5rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero__word {
    display: block;
    overflow: hidden;
}

.hero__word--offset {
    margin-left: clamp(1.5rem, 6vw, 5rem);
}

.hero__tagline {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 26ch;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: var(--fw-mid);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 0.5rem;
    width: fit-content;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
    overflow: hidden;
}

.hero__cta:hover {
    color: var(--mauve);
    border-color: var(--mauve);
    gap: 1.25rem;
}

.hero__visual {
    position: relative;
    height: 60vw;
    max-height: 80vh;
    align-self: stretch;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero__visual {
        height: 100%;
        max-height: none;
    }
}

.hero__img-clip {
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 12%);
}

@media (min-width: 768px) {
    .hero__img-clip {
        clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 8%);
    }
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    will-change: transform;
}

.hero__caption {
    position: absolute;
    bottom: 2rem;
    left: -1rem;
    background: var(--bg);
    border: 1px solid rgba(45, 32, 32, 0.08);
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__year {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: var(--fw-light);
    color: var(--text);
    line-height: 1;
}

.hero__caption-text {
    font-size: 0.6rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: calc(var(--sidenav-w) + 3rem);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) { .hero__scroll { display: flex; } }

.hero__scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--text-mid), transparent);
    animation: scrollPulse 2s var(--ease) infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50%       { transform: scaleY(0.5); opacity: 0.5; }
}

.hero__scroll-label {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-mid);
    writing-mode: vertical-lr;
}

/* ─── 10. MARQUEE ──────────────────────────────────────────────────── */
.marquee {
    overflow: hidden;
    border-top: 1px solid rgba(45, 32, 32, 0.08);
    border-bottom: 1px solid rgba(45, 32, 32, 0.08);
    padding: 0.75rem 0;
    background: var(--blush);
}

.marquee__track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.marquee__item {
    padding: 0 1.5rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: var(--fw-light);
    color: var(--text-mid);
    letter-spacing: 0.08em;
    white-space: nowrap;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── 11. SECTION SYSTEM ───────────────────────────────────────────── */
.section {
    padding: var(--gap-xl) 1.25rem;
}

@media (min-width: 768px) {
    .section {
        padding: var(--gap-xl) 2rem;
        padding-left: calc(var(--sidenav-w) + 3rem);
        padding-right: 3rem;
    }
}

.section__label {
    font-size: 0.6rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mauve);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section__label::after {
    content: '';
    display: block;
    height: 1px;
    width: 2.5rem;
    background: var(--rose);
    flex-shrink: 0;
}

.section__title {
    font-family: var(--serif);
    font-weight: var(--fw-light);
    font-style: italic;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
}

.text-center { text-align: center; }
.text-center.section__label::after { display: none; }
.text-center.section__label { justify-content: center; }

/* ─── 12. ABOUT ────────────────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .about {
        grid-template-columns: 5fr 7fr;
        gap: var(--gap-xl);
    }
}

.about__visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.about__img-primary {
    grid-column: 1;
    grid-row: 1 / 3;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

.about__img-secondary {
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
    margin-top: 2rem;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.about__img-primary:hover .about__img,
.about__img-secondary:hover .about__img {
    transform: scale(1.04);
    filter: saturate(0.9);
}

.about__badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 5.5rem; height: 5.5rem;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.about__badge-num {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: var(--fw-reg);
    color: var(--dark);
    line-height: 1;
}

.about__badge-sub {
    font-size: 0.55rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 16, 16, 0.7);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about__body {
    color: var(--text-mid);
    font-weight: var(--fw-light);
    line-height: 1.85;
}

.about__stats {
    display: flex;
    gap: var(--gap-md);
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 32, 32, 0.08);
    margin-top: 0.5rem;
}

.about__stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.about__stat-n {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-light);
    color: var(--text);
    line-height: 1;
}

.about__stat-l {
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
}

/* ─── 13. SERVICES ACCORDION ───────────────────────────────────────── */
.services {
    background: var(--blush);
}

.services__header {
    padding: 0;
    margin-bottom: var(--gap-lg);
}

.services__title {
    font-family: var(--serif);
    font-weight: var(--fw-light);
    font-style: italic;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    color: var(--text);
}

.services__accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(45, 32, 32, 0.1);
}

.acc-item {
    border-bottom: 1px solid rgba(45, 32, 32, 0.1);
}

.acc-item__trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 2.5rem 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    text-align: left;
    transition: background 0.2s var(--ease);
}

@media (min-width: 640px) {
    .acc-item__trigger {
        grid-template-columns: 3rem 1fr 2fr auto;
    }
}

.acc-item__num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--mauve);
}

.acc-item__name {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: var(--fw-light);
    font-style: italic;
    color: var(--text);
}

.acc-item__desc {
    display: none;
    font-size: 0.8rem;
    font-weight: var(--fw-light);
    color: var(--text-mid);
}

@media (min-width: 640px) { .acc-item__desc { display: block; } }

.acc-item__arrow {
    color: var(--text-mid);
    transition: transform 0.4s var(--ease-expo), color 0.3s var(--ease);
    flex-shrink: 0;
}

.acc-item.is-open .acc-item__arrow {
    transform: rotate(180deg);
    color: var(--mauve);
}

.acc-item__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-expo);
}

.acc-item.is-open .acc-item__panel {
    max-height: 2000px;
}

.svc-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(45, 32, 32, 0.05);
}

@media (min-width: 640px) {
    .svc-row {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}

.svc-row__info {
    flex: 1;
}

.svc-row__name {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: var(--fw-reg);
    color: var(--text);
    margin-bottom: 0.2rem;
}

.svc-row__desc {
    font-size: 0.8rem;
    font-weight: var(--fw-light);
    color: var(--text-mid);
    line-height: 1.6;
}

.svc-row__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.svc-row__dur {
    font-size: 0.7rem;
    font-weight: var(--fw-light);
    color: var(--text-mid);
    white-space: nowrap;
}

.svc-row__price {
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    white-space: nowrap;
}

.svc-row__book {
    font-size: 0.6rem;
    font-weight: var(--fw-mid);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid rgba(45, 32, 32, 0.2);
    padding: 0.4rem 0.9rem;
    border-radius: 1px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.svc-row__book::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rose);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s var(--ease-expo);
    z-index: -1;
}

.svc-row__book:hover {
    color: var(--dark);
    border-color: var(--rose);
}

.svc-row__book:hover::before { transform: scaleY(1); }

/* ─── 14. TEAM ─────────────────────────────────────────────────────── */
.team__header {
    margin-bottom: var(--gap-lg);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-md);
}

@media (min-width: 768px) {
    .team__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.team-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.team-card:hover .team-card__img {
    transform: scale(1.04);
    filter: saturate(0.9);
}

.team-card__name {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: var(--fw-light);
    font-style: italic;
    color: var(--text);
}

.team-card__role {
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mauve);
    margin-top: -0.5rem;
}

.team-card__bio {
    font-size: 0.8rem;
    font-weight: var(--fw-light);
    color: var(--text-mid);
    line-height: 1.7;
}

/* ─── 15. GALLERY ──────────────────────────────────────────────────── */
.gallery-section {
    padding: var(--gap-xl) 0;
    overflow: hidden;
}

.gallery-section__header {
    padding: 0 1.25rem var(--gap-lg);
}

@media (min-width: 768px) {
    .gallery-section__header {
        padding: 0 calc(var(--sidenav-w) + 3rem) var(--gap-lg);
    }
}

.gallery-track-wrap {
    position: relative;
    cursor: grab;
}

.gallery-track-wrap:active { cursor: grabbing; }

.gallery-track {
    display: flex;
    gap: 1rem;
    padding: 0 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    user-select: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
    .gallery-track { padding: 0 calc(var(--sidenav-w) + 3rem); }
}

.gallery-item {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 1px;
}

.gallery-item--tall {
    width: clamp(14rem, 25vw, 22rem);
    height: clamp(18rem, 35vw, 30rem);
}

.gallery-item--square {
    width: clamp(14rem, 25vw, 22rem);
    height: clamp(14rem, 25vw, 22rem);
    align-self: flex-end;
}

.gallery-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
    pointer-events: none;
}

.gallery-item:hover .gallery-item__img {
    transform: scale(1.05);
    filter: saturate(0.85);
}

.gallery-item__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1rem 0.75rem;
    background: linear-gradient(to top, rgba(26,16,16,0.6), transparent);
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(253, 246, 240, 0.9);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-item__caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-track-wrap__hint {
    text-align: center;
    padding: 1rem 0 0;
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mid);
}

/* ─── 16. TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials {
    background: var(--bg-alt);
}

.testimonials .section__title {
    margin-bottom: var(--gap-lg);
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-md);
    margin-top: var(--gap-md);
}

@media (min-width: 768px) {
    .test-grid { grid-template-columns: repeat(3, 1fr); }
}

.test-card {
    background: var(--bg);
    border: 1px solid rgba(45, 32, 32, 0.06);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.test-card__mark {
    font-family: var(--serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--rose);
    opacity: 0.4;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    user-select: none;
}

.test-card__text {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    font-weight: var(--fw-light);
    color: var(--text);
    line-height: 1.7;
    padding-top: 1rem;
}

.test-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(45, 32, 32, 0.08);
    margin-top: auto;
}

.test-card__name {
    font-family: var(--serif);
    font-size: 0.9rem;
    font-weight: var(--fw-reg);
    color: var(--text);
    font-style: normal;
}

.test-card__service {
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mauve);
}

/* ─── 17. BOOKING ──────────────────────────────────────────────────── */
.booking {
    background: var(--blush);
}

.booking__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: start;
}

@media (min-width: 768px) {
    .booking__inner { grid-template-columns: 2fr 3fr; }
}

.booking__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking__sub {
    font-size: 0.9rem;
    font-weight: var(--fw-light);
    color: var(--text-mid);
    line-height: 1.8;
}

.booking__perks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.booking__perks li {
    font-size: 0.8rem;
    font-weight: var(--fw-light);
    color: var(--text-mid);
    padding-left: 1.25rem;
    position: relative;
}

.booking__perks li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.55em;
    width: 0.5rem; height: 1px;
    background: var(--rose);
}

/* Form */
.bz-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bz-form__row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bz-form__row--half {
    flex-direction: row;
    flex-wrap: wrap;
}

.bz-form__row--half .bz-form__group { flex: 1 1 10rem; }

.bz-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bz-form__label {
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.bz-form__input {
    background: var(--bg);
    border: 1px solid rgba(45, 32, 32, 0.12);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: var(--fw-light);
    color: var(--text);
    outline: none;
    border-radius: 1px;
    transition: border-color 0.3s var(--ease);
    width: 100%;
    -webkit-appearance: none;
}

.bz-form__input:focus { border-color: var(--mauve); }

.bz-form__textarea {
    resize: vertical;
    min-height: 7rem;
}

.bz-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--text);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: var(--fw-mid);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 1px;
    transition: background 0.3s var(--ease), gap 0.3s var(--ease);
    align-self: flex-start;
    cursor: pointer;
}

.bz-form__submit:hover {
    background: var(--dark);
    gap: 1.25rem;
}

/* ─── 18. CONTACT ──────────────────────────────────────────────────── */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: start;
}

@media (min-width: 768px) {
    .contact__inner { grid-template-columns: 1fr 1fr; }
}

.contact__text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.contact__detail { display: flex; flex-direction: column; gap: 0.25rem; }

.contact__dt {
    font-size: 0.6rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mauve);
}

.contact__dd {
    font-size: 0.9rem;
    font-weight: var(--fw-light);
    color: var(--text);
    line-height: 1.7;
}

.contact__dd a {
    transition: color 0.2s var(--ease);
}

.contact__dd a:hover { color: var(--mauve); }

.contact__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: var(--fw-mid);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid rgba(45, 32, 32, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 1px;
    width: fit-content;
    margin-top: 0.5rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contact__whatsapp:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.05);
}

.contact__map {
    height: clamp(20rem, 40vw, 32rem);
    overflow: hidden;
    filter: grayscale(0.4) sepia(0.1);
    border: 1px solid rgba(45, 32, 32, 0.06);
}

/* ─── 19. FOOTER ───────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 8vw, 6rem) 1.25rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .site-footer {
        padding-left: calc(var(--sidenav-w) + 3rem);
    }
}

.footer__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.footer__name {
    overflow: hidden;
}

.footer__name-text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: var(--fw-thin);
    font-size: clamp(3rem, 12vw, 12rem);
    color: rgba(253, 246, 240, 0.12);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
    white-space: nowrap;
    transition: color 0.6s var(--ease);
}

.site-footer:hover .footer__name-text {
    color: rgba(253, 246, 240, 0.2);
}

.footer__rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
}

.footer__bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer__copy {
    font-size: 0.7rem;
    font-weight: var(--fw-light);
    color: rgba(253, 246, 240, 0.3);
    letter-spacing: 0.05em;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.65rem;
    font-weight: var(--fw-light);
    letter-spacing: 0.1em;
    color: rgba(253, 246, 240, 0.3);
    transition: color 0.2s var(--ease);
}

.footer__links a:hover { color: rgba(253, 246, 240, 0.7); }

/* ─── 20. REVEAL STATES (initial — GSAP sets these) ────────────────── */
[data-reveal],
[data-reveal-word],
[data-reveal-img] {
    opacity: 0;
    transform: translateY(30px);
}

/* ─── 21. RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero {
        padding-top: 5.5rem;
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero__visual {
        order: -1;
        height: 55vw;
        max-height: 260px;
    }

    .hero__img-clip {
        clip-path: none;
    }

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

    .about__visual {
        height: 50vw;
    }

    .about__img-secondary { display: none; }

    .about__img-primary {
        grid-column: 1;
        grid-row: 1;
        clip-path: none;
        aspect-ratio: 16 / 9;
        height: 100%;
    }

    .about__badge { display: none; }

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

    .acc-item__trigger {
        grid-template-columns: 2rem 1fr auto;
    }

    .svc-row {
        flex-direction: column;
    }

    .svc-row__meta {
        flex-wrap: wrap;
    }

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

/* ─── 22. REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal],
    [data-reveal-word],
    [data-reveal-img] {
        opacity: 1 !important;
        transform: none !important;
    }

    .curtain { display: none !important; }
    .cursor, .cursor__follower { display: none !important; }
    .ambient-light { display: none !important; }
    .marquee__track { animation: none; }
    .hero__scroll-line { animation: none; }
}
