/* =================================================================
   NoraFit · Coaching & FitLine - Landing Page
   Stack: vanilla CSS, GSAP-driven motion.
   Ispirazione struttura: lahuella.club | Contenuti: FitLine Eleonora
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    --bg:        #f4f1ea;   /* crema editoriale */
    --surface:   #e9e5db;   /* superfici / card */
    --dark:      #16140f;   /* sezioni scure / video */
    --ink:       #16140f;   /* testo */
    --muted:     #6b6a64;   /* testo secondario */
    --accent:    #ff2d2d;   /* rosso energia (brand FitLine) */
    --hero-ink:  #f6f4ef;   /* testo chiaro su media scuri */
    --line:      rgba(22,20,15,0.12);

    --font-display: 'Syne', sans-serif;
    --font-body:    'Inter', sans-serif;

    --container: min(92vw, 1320px);
    --pad: 5vw;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.92rem + 0.4vw, 1.125rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--accent); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.02em;
}

/* kicker / eyebrow condiviso */
.hero__eyebrow, .showcase__kicker, .follow__kicker,
.services__kicker, .story__kicker, .cta__eyebrow, .services__label {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ---------- 3. Navigazione ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;       /* cluster centrato attorno al logo */
    gap: clamp(1.4rem, 3vw, 2.8rem);
    padding: 1.3rem var(--pad);
    background: transparent;
    transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
/* In cima: trasparente, testo bianco. Scrolled: sfondo bianco, testo nero. */
.nav__logo {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.nav__logo span { color: var(--accent); }
.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2rem);
    font-size: 0.9rem;
    font-weight: 500;
}
.nav__links a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.nav__links a:not(.nav__cta) {
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s var(--ease), color 0.4s var(--ease);
}
.nav__links a:not(.nav__cta):hover { opacity: 1; }
.nav__cta {
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 8px 22px rgba(255,45,45,0.32);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,45,45,0.42); }

.nav__socials { display: flex; align-items: center; gap: 1rem; }
.nav__socials a { display: inline-flex; color: #fff; opacity: 0.9; transition: opacity 0.3s var(--ease), color 0.4s var(--ease); }
.nav__socials a:hover { opacity: 1; }
.nav__socials svg { width: 18px; height: 18px; }
.nav.is-scrolled .nav__socials a { color: var(--ink); }

.nav__burger {
    display: none; background: none; border: 0; cursor: pointer;
    color: #fff; transition: color 0.4s var(--ease);
}

/* Stato scrolled: navbar bianca con testo nero */
.nav.is-scrolled {
    background: #fff;
    box-shadow: 0 6px 26px rgba(22,20,15,0.08);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}
.nav.is-scrolled .nav__logo,
.nav.is-scrolled .nav__links a:not(.nav__cta),
.nav.is-scrolled .nav__burger { color: var(--ink); }
.nav__logo span { color: var(--accent) !important; }   /* "Fit" sempre rosso */

/* sidebar mobile */
.sidebar-backdrop {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease);
}
.sidebar-backdrop.is-open { opacity: 1; visibility: visible; }
.sidebar {
    position: fixed; top: 0; right: 0; z-index: 120;
    width: min(82vw, 360px); height: 100%;
    background: var(--dark); color: var(--hero-ink);
    padding: 1.6rem var(--pad);
    transform: translateX(100%); transition: transform 0.5s var(--ease);
    display: flex; flex-direction: column;
}
.sidebar.is-open { transform: translateX(0); }
.sidebar__head { display: flex; justify-content: space-between; align-items: center; }
.sidebar__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.sidebar__logo span { color: var(--accent); }
.sidebar__close { background: none; border: 0; color: inherit; font-size: 2rem; cursor: pointer; line-height: 1; }
.sidebar__links { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 3rem; }
.sidebar__links a { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.sidebar__socials { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.sidebar__socials a { color: inherit; opacity: 0.85; transition: opacity 0.3s var(--ease); }
.sidebar__socials a:hover { opacity: 1; }
.sidebar__socials svg { width: 22px; height: 22px; }
.sidebar__cta {
    margin-top: auto;
    background: var(--accent); color: #fff;
    text-align: center; padding: 1rem; border-radius: 100px; font-weight: 600;
}

/* ---------- 4. HERO ---------- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem var(--pad) 4rem;
    overflow: hidden;
    color: var(--hero-ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.06); will-change: transform;
}
.hero__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 90% at 50% 50%, rgba(11,10,8,0.25) 0%, rgba(11,10,8,0.55) 70%, rgba(11,10,8,0.7) 100%),
        linear-gradient(to top, rgba(11,10,8,0.6) 0%, rgba(11,10,8,0.15) 50%, rgba(11,10,8,0.5) 100%);
}
.hero__content { max-width: 1000px; margin-inline: auto; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title {
    font-size: clamp(2.6rem, 8.5vw, 7rem);
    line-height: 0.95;
    color: var(--hero-ink);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; }
.hero__title .line__inner { display: block; will-change: transform; }
.hero__rotator { display: inline-block; white-space: nowrap; }
.hero__rotator .ch { display: inline-block; will-change: transform; }
.hero__sub {
    margin: 1.6rem auto 0;
    max-width: 46ch;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(246,244,239,0.88);
}

/* ---------- 5. CTA STICKY centrale ---------- */
.sticky-cta {
    position: fixed;
    left: 50%; bottom: clamp(1.2rem, 4vh, 2.2rem);
    transform: translate(-50%, 140%);
    z-index: 90;
    will-change: transform;
}
.sticky-cta.is-visible { /* lo stato lo guida GSAP, classe per fallback no-js */ }
.sticky-cta__inner {
    display: inline-flex; align-items: center; gap: 0.7rem;
    background: var(--accent); color: #fff;
    font-weight: 600; font-size: clamp(0.9rem, 1.1vw, 1.02rem);
    padding: 1rem 1.8rem;
    border-radius: 100px;
    box-shadow: 0 16px 40px rgba(255,45,45,0.32);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.sticky-cta:hover .sticky-cta__inner {
    transform: scale(1.04);
    box-shadow: 0 20px 52px rgba(255,45,45,0.42);
}
.sticky-cta__dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* no-js: la CTA resta sempre visibile */
.no-js .sticky-cta { transform: translate(-50%, 0); }

/* ---------- Pulsante WhatsApp fisso (in basso a sinistra) ---------- */
.wa-fab {
    position: fixed;
    left: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1.2rem, 4vh, 2.2rem);
    z-index: 95;
    width: 58px; height: 58px;
    display: grid; place-items: center;
    background: #25d366; color: #fff;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(37,211,102,0.45);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-fab svg { width: 56%; height: 56%; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 38px rgba(37,211,102,0.55); }
.wa-fab:active { transform: scale(0.96); }

@media (max-width: 720px) {
    .wa-fab { width: 52px; height: 52px; }
}

/* ---------- 6. SHOWCASE PRODOTTI (orizzontale pinnato) ---------- */
.showcase { background: var(--bg); }
.showcase__pin { height: 100dvh; overflow: hidden; }
.showcase__track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    padding: 0 var(--pad);
    gap: clamp(1.4rem, 3vw, 2.6rem);
    will-change: transform;
}
.showcase__cards { display: contents; }

.showcase__intro {
    flex: 0 0 auto;
    width: min(80vw, 520px);
    margin-right: clamp(2rem, 6vw, 6rem);
}
.showcase__intro p { padding-right: 1rem; }
.showcase__kicker { display: block; margin-bottom: 1.1rem; }
.showcase__heading {
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    margin-bottom: 1.3rem;
}
.showcase__intro p { color: var(--muted); max-width: 38ch; }
.showcase__cta {
    display: inline-flex; margin-top: 2rem;
    padding: 0.85rem 1.6rem; border-radius: 100px;
    background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 12px 30px rgba(255,45,45,0.3);
}
.showcase__cta:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(255,45,45,0.4); }

.product-card {
    flex: 0 0 auto;
    width: min(78vw, 380px);
    height: min(74vh, 560px);
    background: #fff;
    border-radius: 22px;
    padding: 1.6rem;
    display: flex; flex-direction: column;
    position: relative;
    box-shadow: 0 24px 60px rgba(22,20,15,0.08);
    overflow: hidden;
}
.product-card__num {
    position: absolute; top: calc(1.2rem + 10px); right: calc(1.4rem + 10px);
    font-family: var(--font-display); font-weight: 800;
    font-size: 1rem; color: var(--line);
}
.product-card__media {
    flex: 1 1 auto;
    display: grid; place-items: center;
    background: var(--surface);
    border-radius: 14px;
    margin-bottom: 1.2rem;
    overflow: hidden;
}
.product-card__media img {
    max-height: 72%; width: auto; object-fit: contain;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.45rem;
}
.product-card__name { font-size: 1.4rem; margin-bottom: 0.5rem; }
.product-card__desc {
    font-size: 0.92rem; color: var(--muted); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__price {
    margin-top: 0.9rem;
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}

/* ---------- 7. MARQUEE ---------- */
.marquee {
    background: var(--dark); color: var(--hero-ink);
    padding: 1.6rem 0; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    letter-spacing: -0.01em; white-space: nowrap;
    padding-right: 1.2rem;
}
.marquee .dot { color: var(--accent); margin: 0 0.4rem; }

/* ---------- 8. SEGUI NORA (video zoom su scroll) ---------- */
.follow { position: relative; height: 280vh; background: var(--dark); }
.follow__pin {
    position: sticky; top: 0;
    height: 100dvh; width: 100%;
    overflow: hidden;
    display: grid; place-items: center;
}
.follow__frame {
    position: relative;
    z-index: 2;                 /* sopra il testo: lo copre allargandosi */
    width: 42vw; aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    will-change: transform, width, border-radius;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.follow__video { width: 100%; height: 100%; object-fit: cover; }
.follow__veil {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11,10,8,0.55), rgba(11,10,8,0.05));
    opacity: 0;
}
.follow__caption {
    position: absolute; z-index: 1;   /* sotto il video: viene coperto */
    left: 50%; top: 11%;
    transform: translate(-50%, -50%);
    color: var(--hero-ink);
    pointer-events: auto;
    will-change: transform, opacity;
}
.follow__title {
    display: flex; flex-direction: column;
    line-height: 0.84;
    font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
    font-size: clamp(2.4rem, 9.2vw, 8rem);
}
.follow__word {
    display: inline-flex; align-items: center; gap: 0.22em;
    color: var(--hero-ink); text-shadow: 0 6px 40px rgba(0,0,0,0.45);
    will-change: transform;
}
.follow__word--top    { align-self: flex-start; }   /* Seguimi: piu a sinistra */
.follow__word--bottom { align-self: flex-end; }     /* sui social: piu a destra */
.follow__ig {
    width: 0.6em; height: 0.6em; flex: 0 0 auto;
    color: var(--accent);
    transition: transform 0.4s var(--ease);
}
.follow__caption:hover .follow__ig { transform: rotate(8deg) scale(1.08); }

/* ---------- 9. SERVIZI (immagine piccola + lista hover) ---------- */
.services { background: var(--bg); }
.services__head {
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(4rem, 12vh, 8rem) var(--pad) 0;
}
.services__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(2rem, 5vh, 3.5rem) var(--pad) clamp(4rem, 12vh, 8rem);
}
.services__media {
    position: relative;
    width: 100%;
    height: min(68vh, 600px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(22,20,15,0.14);
}
.services__photo {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transform: scale(1.05);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.services__photo.is-active { opacity: 1; transform: scale(1); }
.services__photo img { width: 100%; height: 100%; object-fit: cover; }

.services__title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.98;
    margin-bottom: 2rem;
}
.services__list { list-style: none; }
.services__item {
    padding: 1.3rem clamp(2.6rem, 6vw, 5rem) 1.3rem 1.2rem;
    margin-left: -1.2rem;
    margin-right: calc(-1 * clamp(2.6rem, 6vw, 5rem));
    border-top: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer; outline: none;
    transition: background-color 0.35s var(--ease);
}
.services__item:last-child { border-bottom: 1px solid var(--line); }
.services__num {
    font-family: var(--font-body);
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
    color: var(--muted); transition: color 0.35s var(--ease);
}
.services__name {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.02; color: var(--muted); margin-top: 0.2rem;
    transition: color 0.35s var(--ease), transform 0.4s var(--ease);
}
.services__desc {
    max-height: 0; opacity: 0; overflow: hidden;
    color: var(--muted); max-width: 46ch;
    transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-top 0.5s var(--ease), color 0.35s var(--ease);
}

/* Hover / attivo: sfondo rosso, testo bianco */
.services__item:hover,
.services__item:focus,
.services__item.is-active {
    background: var(--accent);
    border-color: transparent;
}
.services__item:hover + .services__item,
.services__item.is-active + .services__item { border-top-color: transparent; }
.services__item:hover .services__name,
.services__item:focus .services__name,
.services__item.is-active .services__name { color: #fff; }
.services__item:hover .services__num,
.services__item:focus .services__num,
.services__item.is-active .services__num { color: rgba(255,255,255,0.85); }
.services__item.is-active .services__desc {
    max-height: 240px; opacity: 1; margin-top: 0.9rem; color: rgba(255,255,255,0.92);
}

/* ---------- 10. STORIA (timeline editoriale) ---------- */
.story { background: var(--dark); color: var(--hero-ink); padding: clamp(5rem, 14vh, 10rem) var(--pad); }
.story > * { max-width: var(--container); margin-inline: auto; }
.story__kicker { display: block; margin-bottom: 1.2rem; }
.story__intro { margin-bottom: clamp(3rem, 7vh, 5rem); }
.story__title { font-size: clamp(2rem, 4.5vw, 3.6rem); margin-bottom: 1.4rem; max-width: 22ch; }
.story__lead { color: rgba(246,244,239,0.82); font-size: 1.1rem; max-width: 60ch; }

/* stats animati */
.story__stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    padding: clamp(2rem, 5vh, 3rem) 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: clamp(3rem, 8vh, 6rem);
}
.story__stat { display: flex; flex-direction: column; gap: 0.35rem; }
.story__stat-num {
    font-family: var(--font-display); font-weight: 800; line-height: 1;
    font-size: clamp(2.4rem, 5vw, 4rem); color: var(--hero-ink);
}
.story__stat-label { color: rgba(246,244,239,0.6); font-size: 0.9rem; }

/* timeline: foto sticky + tappe con linea rossa */
.story__timeline {
    display: grid; grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.story__media {
    position: sticky; top: 12vh;
    height: min(70vh, 560px); border-radius: 18px; overflow: hidden;
    box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
.story__photo {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transform: scale(1.05);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.story__photo.is-active { opacity: 1; transform: scale(1); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.story__track { position: relative; padding-left: 2.4rem; }
.story__line {
    position: absolute; left: 0; top: 0.5rem; bottom: 0.5rem; width: 2px;
    background: rgba(255,255,255,0.14); overflow: hidden;
}
.story__line-fill {
    position: absolute; inset: 0; background: var(--accent);
    transform: scaleY(0); transform-origin: top;
}
.story__step {
    position: relative; padding: clamp(2rem, 6vh, 4rem) 0;
    opacity: 0.4; transition: opacity 0.45s var(--ease);
}
.story__step.is-active { opacity: 1; }
.story__step::before {
    content: ""; position: absolute;
    left: calc(-2.4rem - 5px); top: clamp(2.3rem, 6vh, 4.3rem);
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--dark); border: 2px solid rgba(255,255,255,0.3);
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.story__step.is-active::before { background: var(--accent); border-color: var(--accent); }
.story__step-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
}
.story__step h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.8rem; color: var(--hero-ink); }
.story__step p { color: rgba(246,244,239,0.72); max-width: 44ch; }

/* pull-quote */
.story__quote {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2rem, 5.5vw, 4.4rem); line-height: 1.03; letter-spacing: -0.02em;
    text-align: center; max-width: 20ch;
    margin: clamp(4rem, 12vh, 8rem) auto; color: var(--hero-ink);
}

/* outro: credenziali + firma */
.story__outro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.story__creds-title { font-size: 1.1rem; margin-bottom: 1.4rem; color: var(--hero-ink); }
.story__creds { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.story__creds li {
    display: flex; gap: 0.8rem; align-items: baseline;
    padding-bottom: 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(246,244,239,0.82); font-size: 0.96rem;
}
.story__creds-tag {
    flex: 0 0 auto;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); border: 1px solid rgba(255,45,45,0.4);
    border-radius: 100px; padding: 0.2rem 0.6rem;
}
.story__method { color: rgba(246,244,239,0.78); margin-bottom: 1.6rem; max-width: 46ch; }
.story__sign {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--hero-ink);
}
.story__sign-role { color: rgba(246,244,239,0.6); font-size: 0.9rem; margin-top: 0.3rem; }

/* ---------- 11. CTA / CONTATTI ---------- */
.cta { background: var(--bg); padding: clamp(5rem, 16vh, 11rem) var(--pad); }
.cta--page { padding-top: clamp(8rem, 20vh, 13rem); min-height: 80vh; }
.cta__lead { color: var(--muted); max-width: 46ch; margin: 0 auto 2.4rem; }
.cta__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.cta__eyebrow { display: block; margin-bottom: 1.2rem; }
.cta__title { font-size: clamp(2.6rem, 7vw, 5.4rem); margin-bottom: 3rem; }
.cta__form { text-align: left; display: flex; flex-direction: column; gap: 1.1rem; }
.cta__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
    font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 0.95rem 1.1rem; resize: vertical;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9a988f; }
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,45,45,0.15);
}
/* display:none (non off-screen): Chrome autofill compila i campi off-screen
   ma salta quelli display:none — off-screen bloccava utenti reali col honeypot pieno */
.cta__trap { display: none; }
.cta__form-foot { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.6rem; }
.cta__submit {
    background: var(--accent); color: #fff;
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    border: 0; border-radius: 100px; padding: 1rem 2.2rem; cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 14px 34px rgba(255,45,45,0.28);
}
.cta__submit:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(255,45,45,0.36); }
.cta__submit:active { transform: translateY(0) scale(0.98); }
.cta__note { color: var(--muted); font-size: 0.86rem; }
.cta__note a { color: var(--accent); font-weight: 600; }
.cta__note a:hover { text-decoration: underline; }
.cta__status { font-size: 0.95rem; font-weight: 500; }
.cta__status.ok, .cta__status.err {
    margin-top: 1rem; padding: 0.85rem 1.2rem; border-radius: 12px;
    animation: statusIn 0.35s ease both;
}
.cta__status.ok  { color: #1f9d55; background: rgba(31, 157, 85, 0.1);  border: 1px solid rgba(31, 157, 85, 0.35); }
.cta__status.err { color: var(--accent); background: rgba(255, 45, 45, 0.08); border: 1px solid rgba(255, 45, 45, 0.3); }
.cta__status.ok::before { content: "✓  "; font-weight: 700; }
@keyframes statusIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 12. FOOTER ---------- */
.footer { background: var(--dark); color: var(--hero-ink); padding: clamp(3rem, 8vh, 5rem) var(--pad) 2rem; }
.footer__inner {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem;
    max-width: var(--container); margin-inline: auto;
    padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.footer__logo span { color: var(--accent); }
.footer__brand p { color: rgba(246,244,239,0.6); margin-top: 0.8rem; max-width: 34ch; }
.footer__socials { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.3rem; }
.footer__socials a { color: rgba(246,244,239,0.78); transition: color 0.3s var(--ease); }
.footer__socials a:hover { color: var(--accent); }
.footer__socials svg { width: 20px; height: 20px; }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a { color: rgba(246,244,239,0.78); transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--accent); }
.footer__meta p:first-child { font-family: var(--font-display); font-weight: 700; }
.footer__meta p:nth-child(2) { color: rgba(246,244,239,0.6); font-size: 0.86rem; }
.footer__meta p:last-child a { color: rgba(246,244,239,0.75); transition: color 0.3s var(--ease); }
.footer__meta p:last-child a:hover { color: var(--accent); }
.footer__base {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
    max-width: var(--container); margin: 1.6rem auto 0;
    color: rgba(246,244,239,0.5); font-size: 0.82rem;
}
.footer__base a { color: rgba(246,244,239,0.75); transition: color 0.3s var(--ease); }
.footer__base a:hover { color: var(--accent); }

/* ---------- 13. Animazione: stati iniziali (solo con JS) ---------- */
.no-js [data-fade], .no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- 14. Responsive ---------- */
@media (max-width: 980px) {
    .services__inner { grid-template-columns: 1fr; }
    .services__media { order: -1; height: 46vh; }
    .services__name { color: var(--ink); }
    .services__desc { max-height: 260px; opacity: 1; margin-top: 0.9rem; }
    .story__timeline { grid-template-columns: 1fr; }
    .story__media { position: relative; top: 0; height: 50vh; margin-bottom: 2.4rem; }
    .story__stats { grid-template-columns: repeat(2, 1fr); }
    .story__outro { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 720px) {
    .hero__img { object-position: 70% center; }
    .nav__links { display: none; }
    .nav__burger {
        display: flex; flex-direction: column; gap: 5px;
        position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
    }
    .nav__burger span { width: 26px; height: 2px; background: currentColor; display: block; }

    /* showcase -> carosello nativo orizzontale */
    .showcase__pin { height: auto; overflow: visible; }
    .showcase__track {
        flex-direction: column; width: 100%;
        align-items: stretch; padding: 4rem var(--pad);
        gap: 1.4rem; transform: none !important;
    }
    .showcase__cards {
        display: flex; gap: 1rem; overflow-x: auto;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        padding-bottom: 0.6rem;
    }
    .product-card { width: 80vw; height: auto; min-height: 440px; scroll-snap-align: start; }

    .follow { height: 220vh; }
    .follow__frame { width: 84vw; }

    .footer__inner { grid-template-columns: 1fr; }
    .cta__form-row { grid-template-columns: 1fr; }
    .story__stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .story__media { height: 42vh; }
}

/* ---------- 14b. Pagina catalogo (prodotti.php) ---------- */
.catalog {
    width: var(--container);
    margin-inline: auto;
    padding: clamp(8rem, 16vh, 12rem) 0 6rem;
}
.catalog__head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.catalog__eyebrow {
    font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.25rem;
}
.catalog__title { font-size: clamp(2.75rem, 8vw, 6rem); }
.catalog__sub { margin-top: 1.25rem; color: var(--muted); font-size: 1.15rem; max-width: 52ch; }

/* filtri */
.filters {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    position: sticky; top: 64px;
    padding: 1rem 0;
    background: linear-gradient(var(--bg) 70%, transparent);
    z-index: 10;
}
.filters__btn {
    border: 1px solid rgba(22,20,15,0.16);
    background: transparent; color: var(--ink);
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
    padding: 0.6rem 1.2rem; border-radius: 100px; cursor: pointer;
    transition: all 0.3s var(--ease);
}
.filters__btn:hover { border-color: var(--ink); }
.filters__btn.is-active {
    background: var(--accent); border-color: var(--accent); color: #fff;
}

/* griglia */
.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
}

/* card prodotto */
.pcard {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid rgba(22,20,15,0.06);
    border-radius: 22px; overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pcard:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(22,20,15,0.28); }
.pcard__media {
    position: relative; aspect-ratio: 1 / 1;
    background: radial-gradient(120% 100% at 50% 0%, #ffffff, #ece9e1);
    display: grid; place-items: center; padding: 1.5rem;
}
.pcard__media img {
    max-height: 100%; width: auto; object-fit: contain;
    transition: transform 0.5s var(--ease);
    filter: drop-shadow(0 18px 24px rgba(0,0,0,0.18));
}
.pcard:hover .pcard__media img { transform: scale(1.06) translateY(-4px); }
.pcard__cat {
    position: absolute; top: 0.9rem; left: 0.9rem;
    font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
    background: rgba(22,20,15,0.85); color: var(--hero-ink);
    padding: 0.35rem 0.7rem; border-radius: 100px;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.pcard__name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; margin-bottom: 0.6rem; }
.pcard__desc { color: var(--muted); font-size: 0.9rem; flex: 1; }
.pcard__price-note {
    margin-top: 0.7rem;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--muted);
}
.pcard__foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(22,20,15,0.08);
}
.pcard__price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.pcard__buy { font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.pcard__buy span { display: inline-block; transition: transform 0.3s var(--ease); }
.pcard__buy:hover span { transform: translateX(5px); }
.catalog__note { margin-top: 3rem; font-size: 0.8rem; color: var(--muted); }
.pcard.is-hidden { display: none; }

/* ---------- Card Farmacia: acquisto via WhatsApp ---------- */
.pcard--farmacia .pcard__media { background: #fff; padding: 0; display: block; }
.pcard--farmacia .pcard__media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: none;
}
.pcard--farmacia .pcard__name a { color: inherit; }
.pcard--farmacia .pcard__name a:hover { color: var(--accent); }
.pcard__foot--wa {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
}
.pcard__foot--wa .pcard__buy { align-self: flex-start; }
.pcard__wa-note {
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
}
.pcard__wa-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.75rem 1.2rem;
    border-radius: 100px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.pcard__wa-buy svg { width: 1.2em; height: 1.2em; }
.pcard__wa-buy:hover {
    background: #1fbd5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(37,211,102,0.6);
}
.pcard__wa-buy:active { transform: translateY(0); }

/* ---------- Pagina dettaglio prodotto Farmacia (prodotto.php) ---------- */
.pdetail {
    width: var(--container);
    margin-inline: auto;
    padding: clamp(8rem, 16vh, 12rem) 0 6rem;
}
.pdetail__back {
    display: inline-block;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600; font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.3s var(--ease);
}
.pdetail__back:hover { color: var(--ink); }
.pdetail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.pdetail__media {
    background: #fff;
    border: 1px solid rgba(22,20,15,0.06);
    border-radius: 22px;
    overflow: hidden;
    position: sticky; top: 7rem;
}
.pdetail__media img { display: block; width: 100%; height: auto; }
.pdetail__eyebrow {
    font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); font-weight: 600;
    margin-bottom: 0.9rem;
}
.pdetail__title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 1.1rem;
}
.pdetail__desc { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.pdetail__subtitle {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 2rem 0 0.9rem;
}
.pdetail__benefits {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 0.7rem;
}
.pdetail__benefits li {
    display: flex; align-items: flex-start; gap: 0.65rem;
    color: var(--muted); font-size: 0.98rem; line-height: 1.5;
}
.pdetail__benefit-ico { flex: 0 0 auto; font-size: 1.15rem; line-height: 1.5; }
.pdetail__wa-note {
    margin-top: 2rem;
    font-size: 0.85rem; color: var(--muted); font-style: italic;
}
.pdetail__wa-buy { margin-top: 0.9rem; width: auto; padding-inline: 2.2rem; }

@media (max-width: 820px) {
    .pdetail__grid { grid-template-columns: 1fr; }
    .pdetail__media { position: static; max-width: 480px; }
    .pdetail__wa-buy { width: 100%; }
}

@media (max-width: 720px) {
    .filters { position: static; background: none; padding: 0 0 0.5rem; }
}

/* ---------- 14b. FAQ ---------- */
.faq {
    background: var(--bg);
    padding: clamp(4rem, 12vh, 7rem) var(--pad);
    max-width: var(--container);
    margin: 0 auto;
}
.faq__head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.faq__kicker {
    display: block; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.25rem;
}
.faq__title { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.faq__list { max-width: 780px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.faq__question {
    cursor: pointer; font-family: var(--font-display); font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem); list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
    content: '+'; flex: 0 0 auto; font-size: 1.4rem; color: var(--accent);
    transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer { margin-top: 0.9rem; color: var(--muted); font-size: 1rem; max-width: 60ch; }

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__img { transform: none; }
    .sticky-cta__dot { animation: none; }
    [data-fade], [data-reveal], .hero__title .line__inner { opacity: 1 !important; transform: none !important; }
    .sticky-cta { transform: translate(-50%, 0); }
}
