/* ==========================================================================
   Pure Nest — landing page styles
   Brand teal #008080, sampled from the Pure Nest logo.
   No build step: plain CSS so the server needs no Node toolchain.
   ========================================================================== */

:root {
    --teal-900: #033f3f;
    --teal-800: #045353;
    --teal-700: #026a6a;
    --teal:     #008080;
    --teal-400: #35a3a3;
    --teal-200: #a9d9d9;
    --teal-50:  #eef7f7;

    --cream:    #fdfaf4;
    --sand:     #f4ede1;
    --gold:     #d9a441;

    --ink:      #12211f;
    --body:     #4a5f5d;
    --muted:    #7c8f8d;
    --line:     rgba(0, 128, 128, .14);
    --white:    #fff;

    --shadow-sm: 0 2px 8px rgba(3, 63, 63, .06);
    --shadow:    0 10px 30px rgba(3, 63, 63, .10);
    --shadow-lg: 0 24px 60px rgba(3, 63, 63, .16);

    --radius:    18px;
    --radius-lg: 28px;

    --shell: 1200px;
    --header-h: 84px;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --ease: cubic-bezier(.22, .9, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.02em;
}

:focus-visible {
    outline: 3px solid var(--teal-400);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--teal); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

/* ---------- shared bits ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--teal-700); margin-bottom: 1rem;
}
.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
    box-shadow: 0 0 0 4px rgba(0, 128, 128, .16);
}

.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); }

.section-head { max-width: 660px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); margin-top: 1rem; }

.lead { font-size: 1.125rem; color: var(--body); }

/* ---------- buttons ---------- */
.btn {
    --btn-bg: var(--teal);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.6rem;
    background: var(--btn-bg); color: var(--btn-fg);
    border-radius: 999px;
    font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    box-shadow: 0 8px 20px rgba(0, 128, 128, .22);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .2s;
    will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 128, 128, .3); }
.btn:active { transform: translateY(-1px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }

.btn-primary:hover { background: var(--teal-700); }

.btn-ghost {
    --btn-bg: transparent; --btn-fg: #fff;
    border: 1.5px solid rgba(255, 255, 255, .5);
    box-shadow: none; backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: none; }

.btn-white { --btn-bg: #fff; --btn-fg: var(--teal-800); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.btn-white:hover { background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .24); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    background: rgba(253, 250, 244, .72);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.is-stuck {
    background: rgba(253, 250, 244, .94);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex; align-items: center; gap: 1.5rem;
    height: var(--header-h);
}
.brand { flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-link {
    position: relative; padding: .5rem .85rem; border-radius: 999px;
    font-weight: 600; font-size: .94rem; color: var(--ink);
    transition: color .2s, background .2s;
}
.nav-link::after {
    content: ''; position: absolute; left: 50%; bottom: .22rem; translate: -50% 0;
    width: 0; height: 2px; border-radius: 2px; background: var(--teal);
    transition: width .28s var(--ease);
}
.nav-link:hover { color: var(--teal-700); }
.nav-link:hover::after, .nav-link.is-active::after { width: 42%; }
.nav-link.is-active { color: var(--teal-700); }

.header-cta { margin-left: .5rem; }
.nav-cta-mobile { display: none; }

.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: rgba(0, 128, 128, .08);
}
.nav-toggle span {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; isolation: isolate;
    min-height: min(100svh, 900px);
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 4rem) 0 5rem;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: -8% 0 0; z-index: -2; }
.hero-bg img { width: 100%; height: 118%; object-fit: cover; object-position: center 42%; }

.hero-veil {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(253, 250, 244, .96) 0%, rgba(253, 250, 244, .82) 34%, rgba(253, 250, 244, .28) 62%, rgba(253, 250, 244, 0) 82%),
        linear-gradient(to top, rgba(253, 250, 244, .9), rgba(253, 250, 244, 0) 42%);
}

.hero-inner { max-width: 660px; }

.hero-title { font-size: clamp(2.75rem, 7.4vw, 5.25rem); font-weight: 700; }
.hero-title .line { display: block; }
.hero-title .accent {
    color: var(--teal);
    font-style: italic;
    font-variation-settings: 'SOFT' 60;
}

.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--body); margin-top: 1.4rem; max-width: 33ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.hero-actions .btn-ghost { --btn-fg: var(--teal-800); border-color: rgba(0, 128, 128, .35); }
.hero-actions .btn-ghost:hover { background: rgba(0, 128, 128, .08); }

.hero-trust {
    display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem);
    margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
    max-width: 520px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong {
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700; color: var(--teal-800); line-height: 1;
}
.trust-item span { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.trust-divider { width: 1px; height: 34px; background: var(--line); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
    width: 26px; height: 42px; border: 2px solid rgba(0, 128, 128, .4); border-radius: 999px;
    display: grid; place-items: start center; padding-top: 7px;
}
.scroll-cue span {
    width: 4px; height: 8px; border-radius: 2px; background: var(--teal);
    animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(11px); opacity: .2; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
    background: var(--teal); color: #fff; overflow: hidden;
    padding: .9rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex; align-items: center; gap: 1.5rem; width: max-content;
    animation: slide 32s linear infinite;
}
.marquee span { font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marquee i { opacity: .55; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.about-media { position: relative; }
.about-img {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.4;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.about-media:hover .about-img img { transform: scale(1.05); }

.about-badge {
    position: absolute; right: -12px; bottom: -18px;
    background: var(--white); border-radius: 20px; padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line);
}
.about-badge strong {
    display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--teal); line-height: 1;
}
.about-badge span { font-size: .78rem; color: var(--muted); font-weight: 600; }

.about-copy .lead { margin-top: 1.25rem; }
.about-copy > p:not(.eyebrow):not(.lead) { margin-top: 1rem; }

.check-list { margin: 1.75rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; color: var(--ink); }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: .35em;
    width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008080' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .8rem no-repeat;
}

/* ==========================================================================
   Products
   ========================================================================== */
.products { background: linear-gradient(180deg, var(--cream), var(--sand)); }

/* Slightly wider than the default shell so five cards sit comfortably in one row. */
.products .shell { width: min(100% - 2.5rem, 1330px); }

/* Flex (not grid) so an odd final row centres instead of orphaning left.
   Works for any number of products coming out of the database. */
.product-grid {
    display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center;
}

.product-card {
    flex: 1 1 calc(20% - 1rem);
    min-width: 208px; max-width: 330px;
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .3s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 128, 128, .3);
}

.product-badge {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    background: var(--gold); color: #3a2a06;
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .35rem .7rem; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(217, 164, 65, .4);
}

.product-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--teal-50); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.07); }

.product-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.2rem; }
.product-body > p { font-size: .92rem; color: var(--muted); margin-top: .45rem; flex: 1; }

.product-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: .6rem; flex-wrap: wrap;
    margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px dashed var(--line);
}
.price strong {
    display: block; font-family: var(--font-display); font-size: 1.15rem;
    color: var(--teal-800); white-space: nowrap;
}
.price small { display: block; font-size: .72rem; color: var(--muted); margin-top: .15rem; white-space: nowrap; }

.order-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--teal-50); color: var(--teal-800);
    padding: .6rem 1rem; border-radius: 999px;
    font-size: .85rem; font-weight: 700;
    transition: background .25s, color .25s, transform .25s var(--ease);
}
.order-btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.order-btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.feature-list { display: grid; gap: 1.35rem; margin-top: 2rem; }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal);
    transition: background .3s, color .3s, transform .3s var(--ease);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature:hover .feature-icon { background: var(--teal); color: #fff; transform: rotate(-6deg) scale(1.06); }
.feature h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.feature p { font-size: .93rem; color: var(--muted); }

.why-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 6.5rem) 0; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -2; background: var(--teal-800); }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, rgba(4, 83, 83, .92), rgba(0, 128, 128, .78));
}
.cta-inner { max-width: 720px; margin-inline: auto; color: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.cta-inner p { margin: 1.1rem 0 2rem; color: rgba(255, 255, 255, .9); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.slider { position: relative; }
.slider-viewport { overflow: hidden; padding: .5rem; margin: -.5rem; }
.slider-track { display: flex; gap: 1.5rem; transition: transform .55s var(--ease); }

.review-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.9rem; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: box-shadow .3s, transform .3s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.stars { display: flex; gap: .18rem; margin-bottom: 1rem; }
.stars svg { width: 17px; height: 17px; fill: var(--gold); }

.review-card blockquote { font-size: 1.02rem; color: var(--ink); flex: 1; line-height: 1.65; }
.review-card blockquote::before { content: '\201C'; font-family: var(--font-display); font-size: 2.4rem; color: var(--teal-200); line-height: 0; vertical-align: -.35em; margin-right: .15em; }

.review-card footer { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--teal), var(--teal-400));
    color: #fff; font-weight: 700; font-size: .92rem;
}
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who strong { color: var(--ink); font-size: .95rem; }
.who small { color: var(--muted); font-size: .82rem; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2.25rem; }
.slider-btn {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--white); border: 1px solid var(--line); color: var(--teal-800);
    box-shadow: var(--shadow-sm);
    transition: background .25s, color .25s, transform .25s var(--ease), opacity .25s;
}
.slider-btn svg { width: 20px; height: 20px; fill: currentColor; }
.slider-btn:hover:not(:disabled) { background: var(--teal); color: #fff; transform: scale(1.08); }
.slider-btn:disabled { opacity: .35; cursor: not-allowed; }

.slider-dots { display: flex; gap: .45rem; }
.slider-dots button {
    width: 8px; height: 8px; border-radius: 999px; background: var(--teal-200);
    transition: width .3s var(--ease), background .3s;
}
.slider-dots button.is-active { width: 26px; background: var(--teal); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--teal-900); color: rgba(255, 255, 255, .75); padding-top: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.footer-art {
    position: absolute; right: 0; bottom: 0; width: min(26%, 330px);
    opacity: .09; pointer-events: none;
    -webkit-mask-image: linear-gradient(255deg, #000 30%, transparent 78%);
            mask-image: linear-gradient(255deg, #000 30%, transparent 78%);
}
.footer-art img { width: 100%; }

.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem;
    padding-bottom: 3rem; position: relative; z-index: 1;
}
.footer-logo { height: 62px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }

.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff;
    transition: background .25s, transform .25s var(--ease);
}
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { background: var(--teal); transform: translateY(-3px); }

.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .94rem; transition: color .2s, padding-left .2s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 4px; }

.contact-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .94rem; }
.contact-list svg { width: 17px; height: 17px; fill: var(--teal-400); flex-shrink: 0; margin-top: .35em; }
.footer-cta { margin-top: 1.5rem; }

.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .87rem; position: relative; z-index: 1;
}
.env-badge {
    background: rgba(217, 164, 65, .18); color: #f0c477;
    padding: .3rem .8rem; border-radius: 999px; font-weight: 600; font-size: .78rem;
}

/* ==========================================================================
   Floating actions
   ========================================================================== */
.wa-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
    display: inline-flex; align-items: center; gap: .5rem;
    background: #25d366; color: #fff;
    padding: .8rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(37, 211, 102, .55); }

.to-top {
    position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 89;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--white); color: var(--teal-800);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .25s, color .25s;
}
.to-top svg { width: 20px; height: 20px; fill: currentColor; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal); color: #fff; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    .scroll-cue span { animation: none; }
    .btn:hover, .product-card:hover, .wa-float:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    /* 3-up so five products land as a balanced 3 + 2 instead of 4 + 1 */
    .product-card { flex-basis: calc(33.333% - 1rem); min-width: 235px; }
}

@media (max-width: 1024px) {
    .review-card { flex-basis: calc((100% - 1.5rem) / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
}

@media (max-width: 880px) {
    :root { --header-h: 74px; }

    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .nav-cta-mobile { display: inline-flex; margin-top: .75rem; }

    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: .25rem;
        background: rgba(253, 250, 244, .98);
        backdrop-filter: blur(16px);
        padding: 1.25rem 1.5rem 2rem;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0; visibility: hidden;
        transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav-link { padding: .8rem .5rem; font-size: 1.05rem; }
    .nav-link::after { display: none; }

    .about-grid, .why-grid { grid-template-columns: 1fr; }
    .why-media { order: -1; max-height: 340px; }
    .about-badge { right: 12px; }

    .hero { min-height: auto; padding-top: calc(var(--header-h) + 3rem); }
    .hero-veil {
        background: linear-gradient(to top, rgba(253, 250, 244, .97) 22%, rgba(253, 250, 244, .8) 55%, rgba(253, 250, 244, .55));
    }
    .hero-sub { max-width: none; }
    .scroll-cue { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .shell { width: min(100% - 2rem, var(--shell)); }
    .review-card { flex-basis: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-trust { flex-wrap: wrap; gap: 1.25rem 1.5rem; }
    .wa-float span { display: none; }
    .wa-float { padding: .9rem; }
    .footer-art { width: 60%; opacity: .1; }
}
