/* ===========================
   Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
    --ivory: #f7f1e4;
    --ivory-2: #fffaf0;
    --paper: #fffdf8;
    --olive: #243d2b;
    --olive-2: #36583b;
    --olive-soft: #e8eee2;
    --gold: #b89a4e;
    --gold-2: #d4bd72;
    --text: #1f2a21;
    --muted: #667160;
    --line: rgba(36, 61, 43, 0.16);
    --shadow: 0 22px 60px rgba(36, 61, 43, 0.15);
    --radius: 8px;
    --header: 68px;
    --container: 1180px;
    --font-title: "Cormorant Garamond", Georgia, serif;
    --font-body: "Montserrat", Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    min-width: 320px;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg, picture { display: block; }
img { max-width: 100%; }
button { font: inherit; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 76px 0; }
.section-heading { max-width: 730px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: uppercase;
}
h1, h2, h3 { color: var(--olive); letter-spacing: 0; }
h1, h2 { font-family: var(--font-title); font-weight: 700; line-height: 0.98; }
h2 { font-size: clamp(2.25rem, 7vw, 3.85rem); }
h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.06; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:hover, .header-cta:hover, .floating-whatsapp:hover { transform: translateY(-2px); }
.btn-primary, .header-cta, .mobile-cta, .btn-card {
    background: var(--olive-2);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(36, 61, 43, 0.22);
}
.btn-primary:hover, .header-cta:hover, .mobile-cta:hover, .btn-card:hover { background: var(--olive); }
.btn-secondary {
    background: rgba(255, 250, 240, 0.82);
    border-color: var(--gold);
    color: var(--olive);
}
.btn-secondary:hover { background: var(--gold); color: var(--olive); }
.btn-card { width: 100%; margin-top: auto; }
.wa-icon {
    display: inline-block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    background-color: currentColor;
    color: inherit;
    mask-image: url("./assets/whatsapp.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("./assets/whatsapp.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

/* ===========================
   Header
   =========================== */
.site-header {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto 0;
    min-height: var(--header);
    background: rgba(255, 250, 240, 0.92);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}
.site-header.scrolled, .site-header.menu-active {
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 14px 32px rgba(36, 61, 43, 0.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header);
    gap: 16px;
}
.brand {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: center;
    color: var(--olive);
    line-height: 1;
}
.brand span {
    font-family: var(--font-title);
    font-size: 1.24rem;
    font-weight: 700;
}
.brand strong {
    margin-top: 3px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.desktop-nav, .header-cta { display: none; }
.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--olive);
    cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 253, 248, 0.98);
    transition: max-height 220ms ease, box-shadow 220ms ease;
}
.mobile-nav.active {
    max-height: 360px;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(36, 61, 43, 0.12);
}
.mobile-nav nav { width: min(100% - 32px, var(--container)); margin-inline: auto; padding: 10px 0 16px; }
.mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-bottom: 1px solid var(--line);
    color: var(--olive);
    font-size: 0.86rem;
    font-weight: 800;
}
.mobile-nav .mobile-cta {
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 12px;
    border: 0;
    border-radius: var(--radius);
    text-transform: uppercase;
}

/* ===========================
   Hero
   =========================== */
.hero {
    position: relative;
    padding-top: var(--header);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0%, rgba(247, 241, 228, 0.98) 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.88) 0%, rgba(255, 250, 240, 0.58) 48%, rgba(232, 238, 226, 0.72) 100%);
}
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line);
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
    grid-template-areas:
        "copy basket"
        "actions basket"
        "proof basket";
    column-gap: clamp(34px, 7vw, 92px);
    align-items: center;
    min-height: calc(710px - var(--header));
    padding: 54px 0 58px;
}
.hero-copy { grid-area: copy; max-width: 650px; }
.hero-copy .eyebrow { margin-bottom: 14px; color: var(--gold); }
.hero h1 { font-size: clamp(3rem, 8vw, 5.65rem); }
.hero-subtitle {
    max-width: 560px;
    margin-top: 18px;
    color: #3f4e42;
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.72;
}
.hero-basket {
    grid-area: basket;
    justify-self: end;
    width: min(100%, 430px);
    margin: 0;
}
.hero-basket picture { width: 100%; }
.hero-basket img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border: 1px solid rgba(184, 154, 78, 0.32);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.hero-actions .btn { min-width: 190px; }
.hero-proof {
    grid-area: proof;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(184, 154, 78, 0.38);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.82);
    color: var(--olive);
    font-size: 0.78rem;
    font-weight: 800;
}
/* ===========================
   Proof
   =========================== */
.proof-strip { background: var(--olive); color: #fffaf0; }
.proof-grid { display: grid; gap: 1px; background: rgba(255, 250, 240, 0.14); }
.proof-grid div { display: grid; gap: 6px; padding: 22px 0; background: var(--olive); }
.proof-grid strong { color: var(--gold-2); font-family: var(--font-title); font-size: 1.45rem; line-height: 1; }
.proof-grid span { max-width: 290px; color: rgba(255, 250, 240, 0.82); font-size: 0.9rem; }

/* ===========================
   Products
   =========================== */
.cestas { background: var(--paper); }
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
}
.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffaf0;
    box-shadow: 0 12px 28px rgba(36, 61, 43, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(184, 154, 78, 0.46); box-shadow: var(--shadow); }
.product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ivory);
}
.product-image picture { width: 100%; height: 100%; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-content {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 20px;
}
.product-content span {
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.product-content h3 { margin-top: 8px; font-size: 1.78rem; }
.product-content p { margin: 12px 0 20px; color: var(--muted); font-size: 0.93rem; }

/* ===========================
   Experience / Steps / About
   =========================== */
.experience { background: var(--olive-soft); }
.experience-grid { display: grid; gap: 28px; align-items: center; }
.feature-list { display: grid; gap: 14px; }
.feature-list article,
.steps-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(36, 61, 43, 0.07);
}
.feature-list strong,
.steps-grid span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0;
}
.feature-list h3, .steps-grid h3 { font-size: 1.55rem; }
.feature-list p, .steps-grid p { margin-top: 10px; color: var(--muted); }

.steps-section { background: var(--paper); }
.steps-grid { display: grid; gap: 14px; margin-top: 36px; }
.steps-grid article { min-height: 190px; border-top: 4px solid var(--gold); }

.about { background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%); }
.about-grid { display: grid; gap: 28px; align-items: center; }
.about-photo { width: min(100%, 390px); max-width: 390px; aspect-ratio: 3 / 4; margin-inline: auto; }
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(184, 154, 78, 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-copy { display: grid; gap: 16px; }
.about-copy p:not(.eyebrow) { color: #3f4e42; }
.about-highlight {
    padding: 16px 18px;
    border-left: 4px solid var(--gold);
    background: rgba(255, 250, 240, 0.78);
    font-weight: 600;
}
.about-copy .btn { width: fit-content; margin-top: 4px; }

/* ===========================
   FAQ / CTA / Footer
   =========================== */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: 30px; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 72px;
    gap: 18px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: var(--olive);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
}
.faq-question svg {
    width: 22px;
    min-width: 22px;
    height: 22px;
    color: var(--gold);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms ease; }
.faq-answer p { min-height: 0; overflow: hidden; color: var(--muted); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer p { padding-bottom: 22px; }

.final-cta { padding: 78px 0; background: var(--olive); color: #fffaf0; text-align: center; }
.final-cta .eyebrow, .final-cta h2 { color: #fffaf0; }
.final-inner { display: grid; justify-items: center; gap: 20px; }
.final-inner h2 { max-width: 820px; }
.final-inner .btn-primary { background: var(--gold); color: var(--olive); box-shadow: none; }
.final-inner .btn-primary:hover { background: var(--gold-2); }

.footer { padding: 48px 0 28px; background: var(--ivory-2); }
.footer-grid { display: grid; gap: 30px; }
.footer .brand { margin-bottom: 14px; }
.footer-brand span { font-size: 1.38rem; }
.footer p, .footer a, .footer span:not(.brand span) { display: block; color: var(--muted); font-size: 0.92rem; }
.footer h2 { margin-bottom: 12px; color: var(--olive); font-size: 0.78rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.footer a { padding: 4px 0; }
.footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--muted); font-size: 0.8rem; }

.floating-whatsapp {
    position: fixed;
    z-index: 45;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 250, 240, 0.78);
    border-radius: 50%;
    background: var(--olive-2);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(36, 61, 43, 0.28);
    transition: transform 180ms ease, background-color 180ms ease;
}
.floating-whatsapp:hover { background: var(--olive); }
.floating-whatsapp .wa-icon { width: 28px; height: 28px; }

.animate-on-scroll { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 520px) {
    :root { --header: 64px; }
    .container { width: min(100% - 28px, var(--container)); }
    .brand span { font-size: 1.12rem; }
    .brand strong { font-size: 0.68rem; }
    .hero { min-height: 640px; }
    .hero::before { background: linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.9) 58%, rgba(255, 250, 240, 0.68) 100%); }
    .hero-inner { min-height: calc(640px - var(--header)); padding: 34px 0 42px; }
    .hero h1 { font-size: clamp(2.72rem, 14vw, 3.65rem); }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; min-width: 0; }
    .hero-proof span { width: 100%; justify-content: center; text-align: center; }
    .about-copy .btn { width: 100%; }
    .floating-whatsapp { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (min-width: 620px) {
    .product-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid div { padding: 24px; }
    .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 820px) {
    .container { width: min(100% - 48px, var(--container)); }
    .section { padding: 98px 0; }
    .experience-grid, .about-grid, .faq-grid { grid-template-columns: 0.95fr 1.05fr; }
    .about-grid { grid-template-columns: 0.78fr 1.22fr; gap: 56px; }
    .footer-grid { grid-template-columns: 1.25fr 0.85fr 1fr; }
}

@media (min-width: 1020px) {
    :root { --header: 76px; }
    .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 26px; }
    .desktop-nav a { color: var(--olive); font-size: 0.77rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
    .desktop-nav a:hover { color: var(--gold); }
    .header-cta { display: inline-flex; align-items: center; min-height: 46px; gap: 9px; padding: 12px 18px; border-radius: var(--radius); font-size: 0.76rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; transition: transform 180ms ease, background-color 180ms ease; }
    .menu-toggle, .mobile-nav { display: none; }
    .hero { min-height: 760px; }
    .hero-inner { min-height: calc(760px - var(--header)); padding-top: 54px; padding-bottom: 60px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
    .proof-grid { grid-template-columns: repeat(4, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 46px; }
}

/* Mobile overflow safeguards */
@media (max-width: 520px) {
    .menu-toggle {
        border-color: var(--olive-2);
        background: var(--olive-2);
        color: #ffffff;
    }

    h1, h2, h3, .hero-subtitle, .section-heading p {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.28rem, 11.3vw, 2.95rem);
        line-height: 1.04;
    }

    h2 {
        font-size: clamp(2rem, 9.6vw, 2.55rem);
        line-height: 1.04;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .section-heading.centered {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .container,
    .mobile-nav nav {
        width: min(calc(100vw - 28px), 362px);
        margin-left: 14px;
        margin-right: auto;
    }

    .hero-copy,
    .section-heading,
    .final-inner,
    .about-copy {
        max-width: 362px;
    }
}


/* Hero layout refinement after image reposition */
@media (max-width: 520px) {
    .hero {
        min-height: 0;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(255, 250, 240, 0.98) 0%, rgba(247, 241, 228, 0.94) 100%);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "basket"
            "actions"
            "proof";
        min-height: 0;
        padding: 32px 0 42px;
    }

    .hero-basket {
        width: min(100%, 320px);
        justify-self: center;
        margin-top: 22px;
    }


    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 20px;
    }

    .hero-proof {
        width: 100%;
    }
}

@media (min-width: 1020px) {
    .hero {
        min-height: 760px;
    }

    .hero-inner {
        min-height: calc(760px - var(--header));
    }
}


