/* =========================================================
   Palm Sugar Sweet Craft — company profile styles
   Palette & feel taken from the company profile deck:
   cream-green ground, deep maroon + terracotta, rounded
   white cards, bold rounded display type.
   ========================================================= */

:root {
    --cream:        #f4f7e7;
    --cream-2:      #eef3dc;
    --card:         #ffffff;
    --maroon:       #7b2e12;
    --maroon-dark:  #5c2410;
    --terracotta:   #a8451e;
    --rust:         #b4491c;
    --gold:         #f2a93b;
    --leaf:         #4c7a3f;
    --ink:          #38342c;
    --muted:        #6d675a;
    --line:         #e4e2d0;
    --shadow:       0 18px 40px -18px rgba(60, 30, 12, .35);
    --radius:       18px;
    --radius-lg:    26px;
    --maxw:         1120px;
    --font-head:    "Poppins", "Segoe UI", system-ui, sans-serif;
    --font-body:    "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--maroon);
    line-height: 1.12;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

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

.center { text-align: center; margin-top: 2.5rem; }
.narrow { max-width: 760px; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--maroon);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 10px 0;
    z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

.btn-primary { background: var(--maroon); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--maroon-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

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

.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--cream); color: var(--maroon-dark); }

.link-arrow {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--terracotta);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    /* No backdrop-filter/transform here: it would become the containing block
       for the position:fixed mobile nav drawer and clip it to header height. */
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}
.site-header .container { max-width: 1240px; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 14px;
    padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-mark img {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--maroon);
}
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.primary-nav { display: flex; align-items: center; gap: 1.1rem; }
.primary-nav ul {
    display: flex;
    gap: 1.05rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    padding: .3rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.nav-cta { white-space: nowrap; }
.primary-nav a:hover { color: var(--maroon); text-decoration: none; }
.primary-nav a.is-active { color: var(--maroon); border-bottom-color: var(--terracotta); }

/* ---------- Language dropdown ---------- */
.lang-switch { position: relative; font-family: var(--font-head); }

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font: inherit;
    font-weight: 700;
    font-size: .82rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .35rem .7rem;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lang-current:hover { border-color: var(--terracotta); }
.lang-switch.is-open .lang-current {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(168, 69, 30, .15);
}
.lang-current .chev { transition: transform .15s ease; }
.lang-switch.is-open .lang-current .chev { transform: rotate(180deg); }

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
    flex: none;
    display: block;
}
.lang-flag svg { display: block; width: 100%; height: 100%; }

.lang-menu {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    min-width: 210px;
    margin: 0;
    padding: .4rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 120;
}
.lang-switch.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-menu a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .6rem;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
}
.lang-menu a:hover { background: var(--cream-2); text-decoration: none; }
.lang-menu a.is-active { color: var(--maroon); background: rgba(168, 69, 30, .08); }
.lang-menu a.is-active::after {
    content: "✓";
    margin-left: auto;
    color: var(--terracotta);
    font-weight: 800;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--maroon);
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    background:
        linear-gradient(120deg, rgba(18, 22, 14, .62) 0%, rgba(18, 22, 14, .34) 55%, rgba(18, 22, 14, .5) 100%),
        var(--hero-img, none) center / cover no-repeat,
        linear-gradient(135deg, #2f3a22 0%, #3c4a2b 100%);
    color: #fff;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.hero-inner { max-width: 760px; }
.hero-kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .16);
    padding: .4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.hero-title { color: #fff; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.6rem; }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    margin: 0;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero-stats div { min-width: 120px; }
.hero-stats dt { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; }
.hero-stats dd { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .85); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        linear-gradient(135deg, rgba(94, 36, 16, .92) 0%, rgba(168, 69, 30, .88) 100%),
        url("../../images/web/hero-grove.jpg") center / cover no-repeat,
        linear-gradient(135deg, var(--maroon) 0%, var(--terracotta) 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { color: #fff; }
.page-hero .hero-kicker { margin-bottom: 1.1rem; }
.page-hero .lead { font-size: 1.1rem; color: rgba(255, 255, 255, .92); max-width: 720px; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-cream { background: var(--cream-2); }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: .6rem;
}

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

/* ---------- Split layout ---------- */
.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.split-text h2 { margin-bottom: .8rem; }
.split-text p { color: var(--muted); }
.split-panel {
    background: linear-gradient(160deg, var(--maroon), var(--rust));
    border-radius: var(--radius-lg);
    min-height: 300px;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}
.origin-panel { background: linear-gradient(160deg, var(--leaf), #2f5a2a); }
.panel-badge {
    align-self: flex-end;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, .18);
    border-radius: 12px;
    padding: .3rem .7rem;
}
.split-panel p { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin: 0; }

.split-aside { align-self: stretch; }

/* ---------- Media (photos) ---------- */
.split-media {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--cream-2);
}
.split-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 460px;
    object-fit: cover;
}
.origin-media { border: 3px solid var(--leaf); }

.aside-media {
    margin-bottom: 1.2rem;
}
.aside-media img { min-height: 220px; max-height: 300px; }

.map-figure {
    margin: 0 0 2.6rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
}
.map-figure img { display: block; width: 100%; height: auto; }
.map-figure--solo { margin-bottom: 0; }

.card-media {
    margin: -1.7rem -1.7rem 1.3rem;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
}
.card-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
/* Product shots are portrait packshots — show the whole product, don't crop. */
.product-card .card-media {
    padding: 1.1rem;
    background: linear-gradient(165deg, #ffffff 0%, var(--cream-2) 100%);
}
.product-card .card-media img {
    height: 260px;
    object-fit: contain;
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    gap: 1.5rem;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: 0 12px 30px -22px rgba(60, 30, 12, .4);
    overflow: hidden;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

.feature-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    background: linear-gradient(150deg, var(--maroon) 0%, var(--rust) 100%);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(123, 46, 18, .7);
}
.feature-ico svg { width: 27px; height: 27px; display: block; }
.feature-card:hover .feature-ico { transform: translateY(-2px); }
.feature-ico { transition: transform .2s ease; }

.product-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(168, 69, 30, .1);
    padding: .3rem .7rem;
    border-radius: 999px;
    margin-bottom: .9rem;
}
.product-card.tall { display: flex; flex-direction: column; }
.uses { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.uses-label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.uses ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.uses li { margin-bottom: .25rem; }

.location-card { border-left: 4px solid var(--gold); }
.location-card .pin { color: var(--terracotta); font-size: .8rem; }

/* ---------- Check list ---------- */
.check-list {
    list-style: none;
    margin: 0;
    padding: 1.8rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: .9rem;
}
.check-list li {
    position: relative;
    padding-left: 1.9rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .85);
}

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(700px 260px at 15% 120%, rgba(242, 169, 59, .3), transparent 60%),
        linear-gradient(135deg, var(--terracotta), var(--maroon));
    color: #fff;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2.6rem, 6vw, 4rem) 24px;
    flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: .4rem; }
.cta-inner p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 560px; }
.cta-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.cta-phone { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}
.contact-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.contact-info li { display: flex; flex-direction: column; }
.ci-label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .2rem;
}
.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 4vw, 2.6rem);
    box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field label {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .4rem;
}
.field input,
.field textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    font-size: .96rem;
    background: #fdfdf8;
    color: var(--ink);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(168, 69, 30, .15);
}
.form-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

.alert {
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
    font-size: .95rem;
}
.alert-success { background: #e7f2e1; border: 1px solid #b7d8a8; color: #2f5a2a; }
.alert-error { background: #fbe7e2; border: 1px solid #eab6a8; color: #8a2f19; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: rgba(255, 255, 255, .82); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
    padding: clamp(2.8rem, 6vw, 4rem) 24px;
}
.footer-brand-row { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer-brand-row img { display: block; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.footer-logo { color: #fff; font-size: 1.3rem; display: inline-block; }
.footer-brand p { color: rgba(255, 255, 255, .72); max-width: 420px; margin: 0; }
.site-footer h4 {
    color: #fff;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
}
.footer-bottom .container {
    text-align: center;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .card-grid.cols-3,
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split-panel { min-height: 220px; order: -1; }
    .split-media { order: -1; }
    .split-media img { min-height: 240px; max-height: 320px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 84vw);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
        background: var(--cream);
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform .25s ease;
        box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .3);
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav ul { flex-direction: column; gap: 1.1rem; }
    .nav-cta { width: 100%; }

    /* Open the language menu towards the inside of the drawer, not off-screen. */
    .lang-menu { left: 0; right: auto; }
}

@media (max-width: 560px) {
    .card-grid.cols-3,
    .card-grid.cols-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- WhatsApp widget ---------- */
.wa-widget {
    position: fixed;
    right: clamp(16px, 4vw, 28px);
    bottom: clamp(16px, 4vw, 28px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.wa-fab {
    position: relative;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
    transition: transform .15s ease, background .15s ease;
}
.wa-fab:hover { background: #20ba5a; transform: translateY(-2px); }
.wa-fab svg { width: 34px; height: 34px; }
.wa-fab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: .7; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wa-fab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e5342b;
    color: #fff;
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}
.wa-widget.is-open .wa-fab-badge { display: none; }

.wa-popup {
    width: 320px;
    max-width: calc(100vw - 2 * clamp(16px, 4vw, 28px));
    padding: 20px;
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .35);
    animation: wa-in .18s ease-out;
}
.wa-popup[hidden] { display: none; }
@keyframes wa-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}
.wa-close:hover { color: var(--ink); }

.wa-head { display: flex; align-items: center; gap: 12px; padding-right: 20px; }
.wa-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    flex: none;
}
.wa-avatar svg { width: 28px; height: 28px; }
.wa-name { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.wa-status { margin: 2px 0 0; font-size: .82rem; color: #1faa53; display: flex; align-items: center; gap: 6px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }

.wa-msg {
    margin: 16px 0;
    padding: 12px 14px;
    background: var(--cream-2);
    border-radius: 4px 14px 14px 14px;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--ink);
}

.wa-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    background: #25d366;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .98rem;
    border-radius: 12px;
}
.wa-start:hover { background: #20ba5a; color: #fff; text-decoration: none; }
.wa-start-ico { display: inline-flex; }
.wa-start-ico svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
    .wa-fab::after,
    .wa-popup { animation: none; }
}

/* =========================================================
   Animations — scroll reveal, hero entrance, micro-interactions
   ========================================================= */

/* Always-on micro-interactions (still killed by the global reduced-motion rule) */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-stuck { box-shadow: 0 12px 30px -18px rgba(60, 30, 12, .35); }

.card { transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(60, 30, 12, .5); }

.product-card .card-media img { transition: transform .4s ease; }
.product-card:hover .card-media img { transform: scale(1.05); }

.link-arrow { display: inline-block; transition: transform .18s ease; }
.link-arrow:hover { transform: translateX(5px); }

.map-figure img,
.split-media img { transition: transform 6s ease; }
.map-figure:hover img,
.split-media:hover img { transform: scale(1.03); }

/* Scroll-reveal + load-in — only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
    .anim-ready [data-animate] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
                    transform .7s cubic-bezier(.22, .61, .36, 1);
    }
    .anim-ready [data-animate="left"]  { transform: translateX(-28px); }
    .anim-ready [data-animate="right"] { transform: translateX(28px); }
    .anim-ready [data-animate="zoom"]  { transform: scale(.93); }
    .anim-ready [data-animate].is-visible { opacity: 1; transform: none; }

    .anim-ready [data-animate-children] > * {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .anim-ready [data-animate-children].is-visible > * {
        opacity: 1;
        transform: none;
    }

    /* Once revealed, hand transitions back to the components (e.g. card hover). */
    .anim-ready [data-animate].anim-done,
    .anim-ready [data-animate-children].anim-done > * {
        transition: transform .22s ease, box-shadow .22s ease;
    }

    .anim-ready .hero-inner > * {
        opacity: 0;
        animation: anim-rise .8s cubic-bezier(.22, .61, .36, 1) forwards;
    }
    .anim-ready .hero-inner > *:nth-child(1) { animation-delay: .05s; }
    .anim-ready .hero-inner > *:nth-child(2) { animation-delay: .16s; }
    .anim-ready .hero-inner > *:nth-child(3) { animation-delay: .27s; }
    .anim-ready .hero-inner > *:nth-child(4) { animation-delay: .38s; }
    .anim-ready .hero-inner > *:nth-child(5) { animation-delay: .49s; }

    @keyframes anim-rise {
        from { opacity: 0; transform: translateY(26px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .wa-dot { animation: wa-blink 2s ease-in-out infinite; }
    @keyframes wa-blink {
        0%, 100% { opacity: 1; }
        50%      { opacity: .35; }
    }
}
