/* =====================================================================
   3 LAYERS — Extrait de Parfum
   Design system & styles
   ===================================================================== */

:root {
    /* Brand palette (from the logo) */
    --brand:        #A63D25;   /* terracotta rust */
    --brand-dark:   #7E2E1C;
    --brand-deep:   #571C11;
    --gold:         #C9A24B;
    --gold-soft:    #E4C989;
    --cream:        #F7F1E7;
    --sand:         #EFE5D5;
    --ink:          #2B1B14;   /* warm near-black */
    --muted:        #7A675C;
    --line:         rgba(43, 27, 20, 0.12);
    --white:        #ffffff;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', -apple-system, 'Segoe UI', sans-serif;

    --maxw: 1200px;
    --radius: 4px;
    --shadow-sm: 0 4px 18px rgba(43,27,20,.08);
    --shadow-md: 0 18px 50px rgba(43,27,20,.16);
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-weight: 300;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); }

.eyebrow {
    font-family: var(--font-body);
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--gold-soft); }

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-body); font-weight: 500; font-size: .82rem;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 15px 32px; border: 1px solid var(--brand);
    background: var(--brand); color: var(--cream);
    cursor: pointer; border-radius: var(--radius);
    transition: all .35s var(--ease);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 11px 20px; font-size: .72rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(247,241,231,.6); }
.btn-outline-light:hover { background: var(--cream); color: var(--brand-dark); border-color: var(--cream); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }

.link-arrow {
    font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem;
    color: var(--brand); border-bottom: 1px solid transparent; padding-bottom: 3px;
    transition: border-color .3s;
}
.link-arrow:hover { border-color: var(--brand); }
.link-arrow::after { content: " \2192"; }

/* ---------- Announcement + Header ---------- */
.announce {
    background: var(--brand-deep); color: var(--gold-soft);
    text-align: center; font-size: .74rem; letter-spacing: .14em;
    text-transform: uppercase; padding: 9px 16px;
}
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(247,241,231,.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(247,241,231,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-dark); }
.brand-text em { font-style: normal; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; position: relative; padding: 4px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--brand); transition: width .3s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--brand); }
.nav-cta { color: var(--cream); }
.nav-cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(120% 120% at 15% 0%, rgba(201,162,75,.18), transparent 55%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 55%, var(--brand-deep) 100%);
    color: var(--cream);
    padding: clamp(80px, 12vw, 150px) 0;
}
.hero::before {
    content: "3"; position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
    font-family: var(--font-display); font-size: 52vw; font-weight: 700; line-height: 1;
    color: rgba(255,255,255,.06); pointer-events: none; user-select: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); color: var(--cream); letter-spacing: .01em; }
.hero h1 span { display: block; color: var(--gold-soft); font-style: italic; font-weight: 400; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(247,241,231,.85); margin: 26px 0 38px; max-width: 560px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta div strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-soft); display: block; }
.hero-meta div span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,241,231,.7); }

/* ---------- The 3 Layers concept ---------- */
.layers { background: var(--sand); }
.layers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.layer-card {
    background: var(--cream); padding: 44px 34px; border-radius: var(--radius);
    border: 1px solid var(--line); position: relative; overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.layer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.layer-num {
    font-family: var(--font-display); font-size: 4.5rem; font-weight: 700;
    color: var(--brand); opacity: .18; line-height: 1; position: absolute; top: 14px; right: 22px;
}
.layer-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.layer-card .layer-tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.layer-card p { color: var(--muted); margin-top: 12px; font-size: .98rem; }

/* ---------- Product grid / cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-visual {
    position: relative; aspect-ratio: 4/3; display: grid; place-items: center;
    background: radial-gradient(120% 120% at 50% 15%, rgba(255,255,255,.5), transparent 60%), var(--sand);
    overflow: hidden;
}
.product-card:hover .bottle { transform: translateY(-6px) rotate(-2deg); }
.bottle { width: auto; height: 74%; filter: drop-shadow(0 18px 26px rgba(43,27,20,.22)); transition: transform .5s var(--ease); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-img { transform: scale(1.05); }
.pd-visual .product-img { width: 100%; height: 100%; object-fit: cover; }
.tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--brand); color: var(--cream); font-size: .64rem; letter-spacing: .14em;
    text-transform: uppercase; padding: 6px 12px; border-radius: 100px; font-weight: 500;
}
.tag.gold { background: var(--gold); color: var(--ink); }
.product-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.product-family { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.product-body h3 { font-size: 1.55rem; margin: 6px 0 4px; }
.product-mood { color: var(--muted); font-size: .95rem; font-style: italic; font-family: var(--font-display); }
.product-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--brand-dark); }
.price small { font-family: var(--font-body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; }

/* ---------- Filters (collection) ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn {
    font-family: var(--font-body); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
    padding: 9px 20px; border: 1px solid var(--line); background: transparent; color: var(--ink);
    border-radius: 100px; cursor: pointer; transition: all .3s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: var(--cream); }

/* ---------- Split / feature band ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.split.reverse .split-visual { order: 2; }
.split-visual {
    aspect-ratio: 4/5; border-radius: var(--radius); position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--brand), var(--brand-deep));
    display: grid; place-items: center;
}
.split-visual::after { content: "3L"; font-family: var(--font-display); font-weight: 700; font-size: 9rem; color: rgba(247,241,231,.16); }
.split-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.split-copy p { color: var(--muted); margin-bottom: 18px; }
.check-list { margin: 24px 0 32px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
    border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--brand-deep); color: var(--cream); }
.testimonials .section-head h2 { color: var(--cream); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card { background: rgba(255,255,255,.06); border: 1px solid rgba(247,241,231,.14); border-radius: var(--radius); padding: 34px 30px; }
.testi-card .stars { color: var(--gold-soft); letter-spacing: 3px; margin-bottom: 14px; }
.testi-card p { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: rgba(247,241,231,.92); line-height: 1.5; }
.testi-card .who { margin-top: 20px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(100% 140% at 90% 10%, rgba(201,162,75,.22), transparent 55%),
        linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
    color: var(--cream); text-align: center; padding: 96px 0;
}
.cta-band h2 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band p { color: rgba(247,241,231,.82); max-width: 540px; margin: 18px auto 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: var(--cream); padding: 90px 0 76px; text-align: left; position: relative; overflow: hidden;
}
.page-hero::before {
    content: "3"; position: absolute; right: -4%; bottom: -30%;
    font-family: var(--font-display); font-size: 40vw; font-weight: 700; color: rgba(255,255,255,.05);
}
.page-hero h1 { color: var(--cream); font-size: clamp(2.6rem, 6vw, 4.4rem); position: relative; }
.page-hero p { color: rgba(247,241,231,.85); max-width: 620px; margin: 16px 0 0; position: relative; }
.crumb { position: relative; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.crumb a:hover { text-decoration: underline; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pd-visual { position: sticky; top: 110px; aspect-ratio: 3/4; border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 120% at 50% 10%, rgba(255,255,255,.5), transparent 60%), var(--sand); }
.pd-visual .bottle { height: 72%; }
.pd-family { color: var(--muted); letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; }
.pd h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 8px 0 6px; }
.pd-mood { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--brand); }
.pd-desc { color: var(--muted); margin: 22px 0; font-size: 1.05rem; }
.pd-notes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin: 26px 0; }
.note-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; }
.note-row dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding-top: 4px; }
.note-row dd { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.size-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 26px; }
.size-pill { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; text-align: center; min-width: 96px; }
.size-pill .ml { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.size-pill .amt { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--brand-dark); }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-reassure { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
.pd-reassure span::before { content: "✦ "; color: var(--gold); }

/* ---------- About ---------- */
.story-lead { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.5; color: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { text-align: center; padding: 30px; }
.value-card .vc-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--brand); font-weight: 700; }
.value-card h3 { font-size: 1.35rem; margin: 8px 0 10px; }
.value-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 20px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item .ic { color: var(--brand); font-size: 1.2rem; }
.info-item strong { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-item a, .info-item span { color: var(--ink); }
.info-item a:hover { color: var(--brand); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
    width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--cream); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(166,61,37,.12); background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { font-size: .9rem; margin-top: 10px; min-height: 1.2em; }
.form-msg.ok { color: #2e7d32; }
.form-msg.err { color: #c0392b; }
/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Bespoke / custom perfumes ---------- */
.bespoke-visual {
    background: linear-gradient(150deg, var(--gold) 0%, var(--brand) 60%, var(--brand-deep) 100%);
}
.bespoke-visual::after { display: none; }
.bespoke-mark { font-family: var(--font-display); font-size: 8rem; color: rgba(247,241,231,.35); line-height: 1; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--sand); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 14px; padding: 4px 26px; transition: box-shadow .3s, border-color .3s;
}
.faq[open] { box-shadow: var(--shadow-sm); border-color: rgba(166,61,37,.35); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-family: var(--font-body); font-size: 1.6rem; font-weight: 300; color: var(--brand);
    transition: transform .3s var(--ease);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 22px; font-size: 1rem; line-height: 1.7; }

/* ---------- SEO / rich text block ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.04rem; line-height: 1.8; }
.prose h2, .prose h3 { margin-bottom: 14px; }
.prose h3 { font-size: 1.5rem; margin-top: 8px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand); padding: 64px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-copy h3 { font-size: 1.9rem; }
.newsletter-copy p { color: var(--muted); margin-top: 6px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; }
.newsletter-form input { font-family: var(--font-body); padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); min-width: 180px; }
.newsletter-form input:focus { outline: none; border-color: var(--brand); }
.newsletter-form .form-msg { position: absolute; bottom: -26px; left: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247,241,231,.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; padding-bottom: 52px; }
.footer-logo { width: 60px; border-radius: 6px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 380px; line-height: 1.7; }
.social { display: flex; gap: 18px; margin-top: 22px; }
.social a { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.social a:hover { border-color: var(--gold-soft); }
.footer-col h4 { color: var(--cream); font-size: 1.05rem; letter-spacing: .04em; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; margin-bottom: 11px; color: rgba(247,241,231,.72); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-hours { color: var(--gold-soft) !important; }
.footer-bottom { border-top: 1px solid rgba(247,241,231,.12); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; letter-spacing: .06em; color: rgba(247,241,231,.5); }

/* ---------- Card actions / mini enquire ---------- */
.card-actions { display: inline-flex; align-items: center; gap: 14px; }
.mini-enquire {
    font-family: var(--font-body); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
    font-weight: 500; color: var(--brand); background: none; border: 0; cursor: pointer; padding: 0;
    border-bottom: 1px solid transparent; transition: border-color .3s;
}
.mini-enquire:hover { border-color: var(--brand); }

/* ---------- Enquiry modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
    background: rgba(43,27,20,.55); backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; }
.modal-overlay[hidden] { display: none; }
.modal {
    position: relative; width: 100%; max-width: 440px; background: var(--cream);
    border-radius: 10px; padding: 38px 34px 34px; box-shadow: var(--shadow-md);
    transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal .eyebrow { margin-bottom: 10px; }
.modal h3 { font-size: 1.9rem; line-height: 1.1; }
.modal-sub { color: var(--muted); font-size: .95rem; margin: 8px 0 22px; }
.modal-close {
    position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: transparent; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: .2s;
}
.modal-close:hover { background: var(--sand); color: var(--ink); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 200;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .layers-grid, .products-grid, .testi-grid, .value-grid { grid-template-columns: 1fr 1fr; }
    .split, .pd, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .split.reverse .split-visual { order: 0; }
    .pd-visual { position: static; aspect-ratio: 4/3; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .section { padding: 68px 0; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
        background: var(--cream); flex-direction: column; align-items: flex-start;
        padding: 100px 32px 40px; gap: 22px; transform: translateX(100%);
        transition: transform .4s var(--ease); box-shadow: var(--shadow-md); z-index: 90;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-toggle { display: flex; z-index: 95; }
    .nav-cta { width: 100%; }
    .hero-meta { gap: 26px; }
    .layers-grid, .products-grid, .testi-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; }
    .newsletter-form { width: 100%; }
    .newsletter-form input, .newsletter-form .btn { flex: 1; }
}
