/* ============================================================================
   SamKitchen — main.css
   Design system with customizable CSS variables via Customizer
   ============================================================================ */

/* ── Reset & Box Model ─────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
    /* Colors */
    --cream:          #FAFAF5;
    --cream-alt:      #F3EFE5;
    --ink:            #1C1C1A;
    --ink-soft:       #4A4A45;
    --sage:           #5C7A5C;
    --sage-light:     #D6E5D6;
    --terra:          #C4845A;
    --terra-light:    #F5DDD0;
    --white:          #FFFFFF;
    --border:         rgba(28, 28, 26, 0.08);
    --border-strong:  rgba(28, 28, 26, 0.15);

    /* Typography */
    --font-display:   'Cormorant Garamond', Georgia, serif;
    --font-body:      'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --h1-scale:       1;
    --h2-scale:       1;

    /* Layout */
    --nav-h:          72px;
    --section-pad:    clamp(80px, 10vw, 140px);
    --container:      1200px;

    /* Components */
    --radius-card:    24px;
    --radius-btn:     100px;
    --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.06);
    --transition-std: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    /* Ink-on-dark alpha variants (used in .section-servizi) */
    --cream-on-dark-55: rgba(250, 250, 245, 0.55);
    --cream-on-dark-65: rgba(250, 250, 245, 0.65);
    --cream-on-dark-45: rgba(250, 250, 245, 0.45);
    --cream-on-dark-10: rgba(250, 250, 245, 0.1);

    /* Buttons (customizable) */
    --btn-primary-bg:    var(--ink);
    --btn-hover-bg:      var(--sage);
    --btn-text-transform: none;

    /* Animations */
    --reveal-duration: 0.65s;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
}

body {
    background:              var(--cream);
    color:                   var(--ink);
    font-family:             var(--font-body);
    font-weight:             300;
    line-height:             1.6;
    -webkit-font-smoothing:  antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x:              hidden;
}

img, video {
    max-width:   100%;
    height:      auto;
    display:     block;
}

a {
    color:           inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Screen-reader only utility */
.sr-only {
    position:   absolute;
    width:      1px;
    height:     1px;
    padding:    0;
    margin:     -1px;
    overflow:   hidden;
    clip:       rect(0, 0, 0, 0);
    white-space: nowrap;
    border:     0;
}

/* Focus-visible ring (accessibility) */
:focus-visible {
    outline:        2px solid var(--sage);
    outline-offset: 3px;
    border-radius:  4px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NAVIGATION
   Layout: logo | nav-center | cta  (3-column grid)
   ───────────────────────────────────────────────────────────────────────────── */
.site-nav {
    position:        fixed;
    top:             0;
    left:            0;
    right:           0;
    z-index:         100;
    height:          var(--nav-h);
    display:         grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:     center;
    padding:         0 clamp(24px, 5vw, 60px);
    background:      rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom:   1px solid var(--border);
}

/* Logo — column 1 */
.nav-logo {
    font-family:     var(--font-display);
    font-size:       22px;
    font-weight:     400;
    letter-spacing:  0.02em;
    color:           var(--ink);
    justify-self:    start;
    text-decoration: none;
}
.nav-logo span {
    color: var(--sage);
}

/* Center nav — column 2 */
.nav-center {
    display:         flex;
    justify-content: center;
}

.nav-menu {
    display:     flex;
    gap:         40px;
    list-style:  none;
    align-items: center;
}

.nav-menu a {
    font-size:       13px;
    font-weight:     500;
    letter-spacing:  0.04em;
    color:           var(--ink);
    text-decoration: none;
    text-transform:  uppercase;
    transition:      color var(--transition-std);
}
.nav-menu a:hover,
.nav-menu a.is-active,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
    color: var(--sage);
}

/* CTA Button — column 3 */
.nav-cta {
    justify-self:    end;
    padding:         9px 22px;
    background:      var(--btn-primary-bg);
    color:           var(--cream) !important;
    border-radius:   var(--radius-btn);
    font-size:       13px;
    font-weight:     500;
    letter-spacing:  0.04em;
    text-decoration: none;
    text-transform:  var(--btn-text-transform);
    transition:      background var(--transition-std), transform 0.15s ease;
    white-space:     nowrap;
}
.nav-cta:hover {
    background:  var(--btn-hover-bg);
    transform:   translateY(-1px);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
    display:    none;
    cursor:     pointer;
    flex-direction: column;
    gap:        5px;
    background: none;
    border:     none;
    padding:    8px 4px;
    grid-column: 3;
    justify-self: end;
}
.nav-hamburger span {
    display:    block;
    width:      22px;
    height:     1.5px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger open state */
.site-nav.is-open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-nav.is-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav.is-open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.hero-section {
    min-height:     100svh;
    display:        flex;
    flex-direction: column;
    justify-content: center;
    padding:        calc(var(--nav-h) + 60px) clamp(24px, 8vw, 120px) 80px;
    position:       relative;
    overflow:       hidden;
}

.hero-bg {
    position:       absolute;
    inset:          0;
    z-index:        0;
    background:     radial-gradient(ellipse 70% 60% at 80% 50%, var(--cream-alt) 0%, transparent 70%);
    pointer-events: none;
}

.hero-deco {
    position:       absolute;
    right:          -100px;
    top:            50%;
    transform:      translateY(-50%);
    width:          min(600px, 55vw);
    height:         min(600px, 55vw);
    border-radius:  50%;
    border:         1px solid var(--border-strong);
    pointer-events: none;
}
.hero-deco::after {
    content:        '';
    position:       absolute;
    inset:          40px;
    border-radius:  50%;
    border:         1px solid var(--border);
}

.hero-inner {
    position:  relative;
    z-index:   1;
    max-width: 620px;
}

/* Eyebrow */
.eyebrow {
    display:        inline-flex;
    align-items:    center;
    gap:            10px;
    font-size:      12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color:          var(--sage);
    font-weight:    500;
    margin-bottom:  28px;
}
.eyebrow::before {
    content:    '';
    display:    block;
    width:      32px;
    height:     1px;
    background: var(--sage);
    flex:       0 0 auto;
}

/* Hero H1 */
.hero-section h1 {
    font-family:   var(--font-display);
    font-size:     calc(clamp(48px, 7vw, 86px) * var(--h1-scale));
    font-weight:   300;
    line-height:   1.05;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}
.hero-section h1 em {
    font-style: italic;
    color:       var(--sage);
}

/* Hero subtitles */
.hero-sub {
    font-size:    clamp(16px, 2vw, 18px);
    line-height:  1.7;
    color:        var(--ink-soft);
    max-width:    480px;
    margin-bottom: 24px;
}
.hero-sub--italic {
    font-style:  italic;
    font-weight: 500;
    color:       var(--ink-soft);
    margin-bottom: 48px;
}

/* CTA group */
.btn-group {
    display:     flex;
    align-items: center;
    gap:         20px;
    flex-wrap:   wrap;
}

.btn-primary {
    display:         inline-block;
    padding:         15px 36px;
    background:      var(--btn-primary-bg);
    color:           var(--cream);
    font-family:     var(--font-body);
    font-size:       14px;
    font-weight:     500;
    letter-spacing:  0.04em;
    text-decoration: none;
    text-transform:  var(--btn-text-transform);
    border-radius:   var(--radius-btn);
    transition:      background var(--transition-std), transform 0.15s ease;
    border:          none;
    cursor:          pointer;
}
.btn-primary:hover {
    background: var(--btn-hover-bg);
    transform:  translateY(-2px);
}

.btn-ghost {
    display:         inline-flex;
    align-items:     center;
    gap:             8px;
    font-size:       14px;
    color:           var(--ink-soft);
    text-decoration: none;
    font-weight:     400;
    transition:      color var(--transition-std);
}
.btn-ghost svg { transition: transform var(--transition-std); }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* Scroll hint */
.scroll-hint {
    position:   absolute;
    bottom:     36px;
    left:       50%;
    transform:  translateX(-50%);
    display:    flex;
    flex-direction: column;
    align-items: center;
    gap:        8px;
    opacity:    0.4;
    font-size:  11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation:  bounce 2s infinite ease-in-out;
    color:      var(--ink);
}
.scroll-line {
    width:      1px;
    height:     48px;
    background: var(--ink);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SHARED SECTION UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */
section {
    padding: var(--section-pad) clamp(24px, 8vw, 120px);
}

.section-label {
    font-size:      11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color:          var(--terra);
    font-weight:    500;
    margin-bottom:  16px;
}

h2 {
    font-family:   var(--font-display);
    font-size:     calc(clamp(38px, 5vw, 60px) * var(--h2-scale));
    font-weight:   300;
    line-height:   1.1;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}
h2 em { font-style: italic; }

.lead {
    font-size:   clamp(16px, 1.8vw, 18px);
    line-height: 1.75;
    color:       var(--ink-soft);
    max-width:   560px;
}

.divider {
    width:      48px;
    height:     1px;
    background: var(--terra);
    margin:     28px 0;
}

.alt-bg { background: var(--cream-alt); }

/* ─────────────────────────────────────────────────────────────────────────────
   CHI SONO — #chi-sono
   ───────────────────────────────────────────────────────────────────────────── */
.chi-sono-grid {
    display:      grid;
    grid-template-columns: 1fr 1fr;
    gap:          clamp(40px, 6vw, 100px);
    align-items:  center;
    margin-top:   60px;
}

/* Portrait */
.portrait-wrap { position: relative; }

.portrait-frame {
    aspect-ratio:  4 / 5;
    background:    var(--cream-alt);
    border-radius: 240px 240px 200px 200px;
    border:        1px solid var(--border-strong);
    overflow:      hidden;
    position:      relative;
}
.portrait-frame img {
    width:      100%;
    height:     100%;
    object-fit: cover;
}

.portrait-placeholder {
    position:        absolute;
    inset:           0;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    gap:             12px;
    color:           var(--ink-soft);
    opacity:         0.35;
    font-size:       13px;
}

.portrait-badge {
    position:      absolute;
    bottom:        -20px;
    right:         -20px;
    background:    var(--white);
    border:        1px solid var(--border-strong);
    border-radius: 20px;
    padding:       16px 24px;
    box-shadow:    var(--shadow-card);
}
.badge-num {
    font-family: var(--font-display);
    font-size:   36px;
    font-weight: 300;
    color:       var(--sage);
    display:     block;
}
.badge-lbl {
    font-size:      12px;
    color:          var(--ink-soft);
    letter-spacing: 0.04em;
}

/* About text column */
.about-content { }

.values-list {
    list-style:     none;
    margin-top:     32px;
    display:        flex;
    flex-direction: column;
    gap:            14px;
}
.values-list li {
    display:     flex;
    align-items: flex-start;
    gap:         14px;
    font-size:   15px;
    line-height: 1.6;
    color:       var(--ink-soft);
}
.values-list li::before {
    content:       '';
    flex:          0 0 auto;
    width:         6px;
    height:        6px;
    background:    var(--sage);
    border-radius: 50%;
    margin-top:    7px;
}

.about-quote {
    margin-top:  24px;
    font-style:  italic;
    font-weight: 500;
    color:       var(--sage);
    font-size:   clamp(15px, 1.6vw, 17px);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   METODO — #metodo
   ───────────────────────────────────────────────────────────────────────────── */
.section-metodo .metodo-intro { max-width: 680px; }

.steps-grid {
    display:     grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:         2px;
    margin-top:  64px;
    border:      1px solid var(--border);
    border-radius: var(--radius-card);
    overflow:    hidden;
}

.step {
    background: var(--white);
    padding:    clamp(32px, 4vw, 48px);
    transition: background var(--transition-std);
}
.step:hover { background: var(--cream-alt); }

.step-num {
    font-family: var(--font-display);
    font-size:   72px;
    font-weight: 300;
    color:       var(--border);
    line-height: 1;
    margin-bottom: 24px;
    transition:  color var(--transition-std);
}
.step:hover .step-num { color: var(--sage-light); }

.step h3 {
    font-family: var(--font-display);
    font-size:   22px;
    font-weight: 400;
    margin-bottom: 12px;
}

.step p {
    font-size:   14px;
    line-height: 1.7;
    color:       var(--ink-soft);
}

.step-tag {
    display:        inline-block;
    margin-top:     20px;
    padding:        4px 12px;
    border-radius:  var(--radius-btn);
    background:     var(--sage-light);
    font-size:      11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color:          var(--sage);
    font-weight:    500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SERVIZI NAV — Griglia 2×2 di accesso ai pilastri
   ───────────────────────────────────────────────────────────────────────────── */
.section-servizi-nav {
    background:     var(--cream-alt);
    padding-top:    clamp(48px, 7vw, 96px);
    padding-bottom: clamp(64px, 9vw, 120px);
    padding-left:   var(--section-x);
    padding-right:  var(--section-x);
}

.servizi-nav__grid {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   28px;
    max-width:             1100px;
    margin:                0 auto;
}

.servizi-nav__card {
    display:        flex;
    flex-direction: column;
    background:     var(--white);
    border-radius:  var(--radius-card);
    padding:        clamp(28px, 4vw, 40px);
    text-decoration: none;
    color:          var(--ink);
    border:         1px solid transparent;
    transition:     border-color var(--transition-std),
                    box-shadow   var(--transition-std),
                    transform    var(--transition-std);
}
.servizi-nav__card:hover {
    border-color: var(--sage-light);
    box-shadow:   0 8px 32px rgba(28, 28, 26, 0.08);
    transform:    translateY(-3px);
}

.servizi-nav__label {
    font-size:      11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color:          var(--sage);
    font-weight:    500;
    margin-bottom:  12px;
}

.servizi-nav__title {
    font-family:   var(--font-display);
    font-size:     clamp(18px, 2vw, 22px);
    font-weight:   400;
    line-height:   1.2;
    margin:        0 0 12px;
    color:         var(--ink);
}

.servizi-nav__desc {
    font-size:   14px;
    line-height: 1.65;
    color:       var(--ink-soft);
    margin:      0;
    flex-grow:   1;
}

.servizi-nav__footer {
    display:     flex;
    align-items: center;
    justify-content: space-between;
    margin-top:  20px;
    gap:         12px;
}

.servizi-nav__price {
    font-family:    var(--font-display);
    font-size:      clamp(22px, 2.2vw, 28px);
    font-weight:    400;
    color:          var(--terra);
    letter-spacing: 0.01em;
    white-space:    nowrap;
    line-height:    1;
}

.servizi-nav__arrow {
    display:    inline-block;
    font-size:  18px;
    color:      var(--terra);
    transition: transform var(--transition-std);
    flex-shrink: 0;
}
.servizi-nav__card:hover .servizi-nav__arrow {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .servizi-nav__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SERVIZI — FOOD ORGANIZING — #servizi
   ───────────────────────────────────────────────────────────────────────────── */
.section-servizi {
    background: var(--ink);
    color:      var(--cream);
}

.section-servizi h2           { color: var(--cream); }
.section-servizi h2 em        { color: var(--terra); }
.section-servizi .section-label { color: rgba(250, 250, 245, 0.5); } /* no variable — unique value */
.section-servizi .divider     { background: var(--terra); }

.servizi-quote {
    color:      var(--cream-on-dark-65);
    max-width:  700px;
    font-style: italic;
}

/* Service boxes */
.servizi-box {
    margin-top: 32px;
    background: rgba(250, 250, 245, 0.06);
    border:     1px solid var(--cream-on-dark-10);
    border-radius: var(--radius-card);
    padding:    clamp(28px, 4vw, 44px);
}
.servizi-box--main { margin-top: 24px; }

.servizi-box__label {
    font-size:      11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color:          var(--cream-on-dark-45);
    font-weight:    500;
    margin-bottom:  16px;
}

.servizi-box__title {
    font-family:   var(--font-display);
    font-size:     clamp(20px, 2.5vw, 26px);
    font-weight:   400;
    color:         var(--cream);
    margin-bottom: 16px;
}

.servizi-box__body,
.servizi-box__intro {
    font-size:   15px;
    line-height: 1.75;
    color:       var(--cream-on-dark-55);
}
.servizi-box__intro { font-style: italic; margin-bottom: 24px; }

/* Service sections */
.servizi-sections { display: flex; flex-direction: column; }

/* Paragrafi liberi — campo textarea pX_sections (wpautop) */
.servizi-sections p {
    font-size:   15px;
    line-height: 1.75;
    color:       var(--cream-on-dark-55);
    padding:     20px 0;
    border-top:  1px solid var(--cream-on-dark-10);
    margin:      0;
}
.servizi-sections p:first-child {
    border-top:  none;
    padding-top: 0;
}

/* Separazione visiva tra pilastri */
.section-servizi + .section-servizi {
    border-top: 1px solid rgba(250, 250, 245, 0.08);
}

/* ─────────────────────────────────────────────────────────────────────────────
   DOWNLOAD — LEAD MAGNET — #download
   ───────────────────────────────────────────────────────────────────────────── */
.download-box {
    display:     flex;
    gap:         clamp(24px, 4vw, 64px);
    align-items: center;
    flex-wrap:   wrap;
    background:  var(--white);
    border:      1px solid var(--border);
    border-radius: var(--radius-card);
    padding:     clamp(36px, 5vw, 60px);
    margin-top:  56px;
}

.download-left {
    flex:      1;
    min-width: 280px;
}
.download-left h3 {
    font-family:   var(--font-display);
    font-size:     clamp(24px, 3vw, 38px);
    font-weight:   300;
    margin-bottom: 16px;
    line-height:   1.15;
}
.download-left p {
    font-size:   15px;
    line-height: 1.7;
    color:       var(--ink-soft);
}

.download-form {
    flex:      0 1 360px;
    min-width: 260px;
}

/* Freebies tags */
.freebies {
    display:   flex;
    flex-wrap: wrap;
    gap:       8px;
    margin-top: 24px;
    list-style: none;
}
.freebie-tag {
    padding:        6px 14px;
    border-radius:  var(--radius-btn);
    background:     var(--terra-light);
    font-size:      12px;
    color:          var(--terra);
    font-weight:    500;
    letter-spacing: 0.03em;
}

/* Input group (fallback & CF7 reset) */
.input-group,
.download-placeholder-form .input-group {
    display:        flex;
    flex-direction: column;
    gap:            12px;
}

.input-group input,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
    width:        100%;
    padding:      14px 18px;
    background:   var(--cream);
    border:       1px solid var(--border-strong);
    border-radius: 12px;
    font-family:  var(--font-body);
    font-size:    14px;
    color:        var(--ink);
    outline:      none;
    transition:   border-color var(--transition-std);
    appearance:   none;
}
.input-group input:focus,
.wpcf7-form input:focus { border-color: var(--sage); }
.input-group input::placeholder,
.wpcf7-form input::placeholder { color: rgba(28, 28, 26, 0.3); }

.download-notice {
    margin-top:  12px;
    font-size:   12px;
    color:       var(--terra);
    opacity:     0.8;
}
.download-privacy {
    margin-top: 14px;
    font-size:  12px;
    color:      var(--ink-soft);
    line-height: 1.6;
    opacity:    0.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TESTIMONIALS — #testimoniali
   ───────────────────────────────────────────────────────────────────────────── */
.testimonials-grid {
    display:     grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap:         24px;
    margin-top:  48px;
}

.testimonial-card {
    background:    var(--white);
    border:        1px solid var(--border);
    border-radius: var(--radius-card);
    padding:       clamp(24px, 3vw, 36px);
    display:       flex;
    flex-direction: column;
    gap:           16px;
}

.testimonial-stars {
    display: flex;
    gap:     2px;
}

.testimonial-text {
    font-size:   15px;
    line-height: 1.75;
    color:       var(--ink-soft);
    font-style:  italic;
}

.testimonial-author {
    margin-top: auto;
    display:    flex;
    flex-direction: column;
    gap:        2px;
}

.testimonial-name {
    font-weight:  500;
    font-style:   normal;
    font-size:    14px;
    color:        var(--ink);
}

.testimonial-role {
    font-size: 12px;
    color:     var(--ink-soft);
}

/* ─────────────────────────────────────────────────────────────────────────────
   COUNTERS BAR
   ───────────────────────────────────────────────────────────────────────────── */
.counters-bar {
    background:  var(--sage);
    padding:     clamp(40px, 5vw, 60px) clamp(24px, 8vw, 120px);
}

.counters-grid {
    display:     grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap:         32px;
    text-align:  center;
}

.counter-item {
    display:        flex;
    flex-direction: column;
    gap:            4px;
}

.counter-number {
    font-family: var(--font-display);
    font-size:   clamp(36px, 5vw, 52px);
    font-weight: 300;
    color:       var(--white);
    line-height: 1.1;
}

.counter-label {
    font-size:      13px;
    color:          rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FAQ — #faq
   ───────────────────────────────────────────────────────────────────────────── */
.faq-list {
    max-width:  740px;
    margin-top: 32px;
}

.faq-item {
    border-bottom: 1px solid var(--border-strong);
}

.faq-question {
    display:     flex;
    align-items: center;
    justify-content: space-between;
    gap:         16px;
    padding:     20px 0;
    cursor:      pointer;
    font-family: var(--font-display);
    font-size:   clamp(18px, 2vw, 22px);
    font-weight: 400;
    color:       var(--ink);
    list-style:  none;
    transition:  color var(--transition-std);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--sage); }

.faq-icon {
    flex:       0 0 auto;
    transition: transform 0.3s ease;
    color:      var(--sage);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding-bottom: 20px;
}
.faq-answer p {
    font-size:   15px;
    line-height: 1.75;
    color:       var(--ink-soft);
    max-width:   640px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   GALLERY — #galleria
   ───────────────────────────────────────────────────────────────────────────── */
.gallery-grid {
    display:     grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap:         16px;
    margin-top:  48px;
}

.gallery-item {
    border-radius: 16px;
    overflow:      hidden;
    position:      relative;
}

.gallery-img {
    width:       100%;
    aspect-ratio: 1;
    object-fit:  cover;
    transition:  transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

.gallery-caption {
    position:   absolute;
    bottom:     0;
    left:       0;
    right:      0;
    padding:    12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color:      var(--white);
    font-size:  13px;
    opacity:    0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ─────────────────────────────────────────────────────────────────────────────
   FREE BLOCK — #blocco-libero
   ───────────────────────────────────────────────────────────────────────────── */
.freeblock-content {
    max-width:   800px;
}
.freeblock-content p   { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 16px; }
.freeblock-content img { border-radius: 16px; margin: 24px 0; }
.freeblock-content a   { color: var(--sage); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────────────────────
   PROMO BANNER
   ───────────────────────────────────────────────────────────────────────────── */
.promo-banner {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             16px;
    padding:         10px 24px;
    color:           var(--white);
    font-size:       13px;
    font-weight:     500;
    letter-spacing:  0.03em;
    text-align:      center;
    position:        relative;
    z-index:         101;
}
.promo-banner__link {
    color:           var(--white) !important;
    text-decoration: none;
}
.promo-banner__link:hover { text-decoration: underline; }
.promo-banner__close {
    position:   absolute;
    right:      16px;
    background: none;
    border:     none;
    color:      rgba(255,255,255,0.7);
    font-size:  20px;
    cursor:     pointer;
    padding:    4px;
    line-height: 1;
}
.promo-banner__close:hover { color: var(--white); }

/* Shift nav down when banner is visible */
.has-banner .site-nav { top: 40px; }
.has-banner .hero-section { padding-top: calc(var(--nav-h) + 100px); }

/* ─────────────────────────────────────────────────────────────────────────────
   WHATSAPP FAB
   ───────────────────────────────────────────────────────────────────────────── */
.fab-whatsapp {
    position:      fixed;
    bottom:        24px;
    right:         24px;
    z-index:       90;
    width:         56px;
    height:        56px;
    border-radius: 50%;
    background:    #25D366;
    color:         var(--white);
    display:       flex;
    align-items:   center;
    justify-content: center;
    box-shadow:    0 4px 16px rgba(37, 211, 102, 0.4);
    transition:    transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.fab-whatsapp:hover {
    transform:  scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ─────────────────────────────────────────────────────────────────────────────
   BACK TO TOP
   ───────────────────────────────────────────────────────────────────────────── */
.btn-back-to-top {
    position:      fixed;
    bottom:        24px;
    left:          24px;
    z-index:       90;
    width:         44px;
    height:        44px;
    border-radius: 50%;
    background:    var(--ink);
    color:         var(--cream);
    border:        none;
    display:       flex;
    align-items:   center;
    justify-content: center;
    cursor:        pointer;
    opacity:       0;
    visibility:    hidden;
    transition:    opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    box-shadow:    0 2px 8px rgba(0,0,0,0.15);
}
.btn-back-to-top.is-visible {
    opacity:    1;
    visibility: visible;
}
.btn-back-to-top:hover { transform: translateY(-2px); }

/* ─────────────────────────────────────────────────────────────────────────────
   CTA STICKY MOBILE
   ───────────────────────────────────────────────────────────────────────────── */
.cta-sticky-mobile {
    display:    none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   COOKIE BANNER (GDPR)
   ───────────────────────────────────────────────────────────────────────────── */
.cookie-banner {
    position:   fixed;
    bottom:     0;
    left:       0;
    right:      0;
    z-index:    200;
    background: var(--ink);
    padding:    16px 24px;
    transform:  translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
    max-width:       var(--container);
    margin:          0 auto;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             16px;
}

@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items:    stretch;
        text-align:     center;
    }
    .cookie-banner__accept {
        width: 100%;
    }
}

.cookie-banner__text {
    font-size:   13px;
    color:       rgba(250, 250, 245, 0.7);
    line-height: 1.6;
    flex:        1;
    min-width:   200px;
}

.cookie-banner__link {
    color:           var(--terra) !important;
    text-decoration: underline;
}

.cookie-banner__accept {
    padding:        10px 28px;
    background:     var(--sage);
    color:          var(--white);
    border:         none;
    border-radius:  var(--radius-btn);
    font-family:    var(--font-body);
    font-size:      13px;
    font-weight:    500;
    cursor:         pointer;
    white-space:    nowrap;
    transition:     background var(--transition-std);
}
.cookie-banner__accept:hover { background: var(--terra); }

/* ─────────────────────────────────────────────────────────────────────────────
   CALENDLY BUTTON (in contatti)
   ───────────────────────────────────────────────────────────────────────────── */
.contatti-calendly {
    display:    inline-block;
    margin-top: 32px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTATTI — #contatti
   ───────────────────────────────────────────────────────────────────────────── */
.section-contatti .contatti-header { max-width: 680px; }

.contatti-grid {
    display:     grid;
    grid-template-columns: 1fr 1.2fr;
    gap:         clamp(40px, 6vw, 100px);
    align-items: start;
    margin-top:  60px;
}

.contatti-info h3 {
    font-family:   var(--font-display);
    font-size:     clamp(22px, 2.5vw, 28px);
    font-weight:   300;
    margin-bottom: 20px;
}
.contatti-info .lead { margin-top: 16px; }

/* Contact links */
.contact-links {
    display:        flex;
    flex-direction: column;
    gap:            20px;
    margin-top:     40px;
    list-style:     none;
}

.contact-link {
    display:         flex;
    align-items:     center;
    gap:             16px;
    text-decoration: none;
    color:           var(--ink);
    font-size:       15px;
    transition:      color var(--transition-std);
}
.contact-link:hover { color: var(--sage); }

.contact-link__icon {
    width:         44px;
    height:        44px;
    border-radius: 12px;
    background:    var(--cream-alt);
    display:       flex;
    align-items:   center;
    justify-content: center;
    border:        1px solid var(--border);
    font-size:     18px;
    flex:          0 0 auto;
    transition:    background var(--transition-std);
}
.contact-link:hover .contact-link__icon { background: var(--sage-light); }

/* Booking form */
.booking-form {
    background:    var(--white);
    border:        1px solid var(--border);
    border-radius: var(--radius-card);
    padding:       clamp(28px, 4vw, 44px);
}
.booking-form h3 {
    font-family:   var(--font-display);
    font-size:     clamp(22px, 2.5vw, 26px);
    font-weight:   400;
    margin-bottom: 28px;
}

.booking-placeholder {
    background:    var(--cream-alt);
    border:        1px dashed var(--border-strong);
    border-radius: 12px;
    padding:       24px;
    font-size:     14px;
    color:         var(--ink-soft);
    line-height:   1.6;
}

/* CF7 integration overrides */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:     12px;
}
.wpcf7-form .form-field {
    display:        flex;
    flex-direction: column;
    gap:            6px;
    margin-bottom:  16px;
}
.wpcf7-form .form-field label {
    font-size:      12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--ink-soft);
    font-weight:    500;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width:        100%;
    padding:      13px 16px;
    background:   var(--cream);
    border:       1px solid var(--border-strong);
    border-radius: 12px;
    font-family:  var(--font-body);
    font-size:    14px;
    color:        var(--ink);
    outline:      none;
    transition:   border-color var(--transition-std);
    appearance:   none;
}
.wpcf7-form textarea { resize: vertical; min-height: 100px; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--sage); }

/* Submit buttons */
.btn-submit,
.wpcf7-form input[type="submit"] {
    width:          100%;
    padding:        15px;
    margin-top:     8px;
    background:     var(--btn-primary-bg);
    color:          var(--cream);
    border:         none;
    border-radius:  12px;
    font-family:    var(--font-body);
    font-size:      14px;
    font-weight:    500;
    letter-spacing: 0.06em;
    text-transform: var(--btn-text-transform, uppercase);
    cursor:         pointer;
    transition:     background var(--transition-std), transform 0.15s ease;
}
.btn-submit:hover,
.wpcf7-form input[type="submit"]:hover {
    background: var(--btn-hover-bg);
    transform:  translateY(-1px);
}
.btn-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    padding:    48px clamp(24px, 8vw, 120px);
}

.footer-inner {
    display:     flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap:   wrap;
    gap:         24px;
}

/* Footer centered layout variant */
.footer-inner--center {
    flex-direction: column;
    align-items:    center;
    text-align:     center;
}
.footer-inner--center .footer-legal { align-items: center; }

.footer-logo {
    font-family:    var(--font-display);
    font-size:      24px;
    font-weight:    300;
    color:          var(--cream);
    text-decoration: none;
}
.footer-logo span { color: var(--sage); }

.footer-nav-list {
    display:   flex;
    gap:       32px;
    flex-wrap: wrap;
    list-style: none;
}
.footer-nav-list a {
    font-size:      13px;
    color:          rgba(250, 250, 245, 0.35);
    text-decoration: none;
    transition:     color var(--transition-std);
    letter-spacing: 0.04em;
}
.footer-nav-list a:hover { color: var(--cream); }

.footer-legal {
    display:     flex;
    flex-direction: column;
    align-items: flex-end;
    gap:         8px;
}
.footer-copy { font-size: 13px; color: rgba(250, 250, 245, 0.2); }

.footer-legal-links {
    display: flex;
    gap:     16px;
}
.footer-legal-links a {
    font-size:      12px;
    color:          rgba(250, 250, 245, 0.25);
    text-decoration: none;
    transition:     color var(--transition-std);
    letter-spacing: 0.04em;
}
.footer-legal-links a:hover { color: rgba(250, 250, 245, 0.6); }

/* ─────────────────────────────────────────────────────────────────────────────
   PAGE (Privacy, Cookie, etc.)
   ───────────────────────────────────────────────────────────────────────────── */
.page-content {
    padding-top:    calc(var(--nav-h) + 60px);
    padding-bottom: var(--section-pad);
    min-height:     70vh;
}

.container {
    max-width: var(--container);
    margin:    0 auto;
    padding:   0 clamp(24px, 5vw, 60px);
}

.page-header { margin-bottom: 40px; }
.page-title {
    font-family: var(--font-display);
    font-size:   clamp(32px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.1;
}

.page-body { max-width: 760px; }
.page-body p,
.page-body li { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 16px; }
.page-body h2 { font-size: clamp(24px, 3vw, 36px); margin-top: 48px; margin-bottom: 16px; }
.page-body h3 { font-family: var(--font-display); font-size: 22px; margin-top: 32px; margin-bottom: 12px; }
.page-body a  { color: var(--sage); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────────────────────
   REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* Default: fade-up */
.reveal {
    opacity:    0;
    transform:  translateY(24px);
    transition: opacity var(--reveal-duration) cubic-bezier(0.16, 1, 0.3, 1),
                transform var(--reveal-duration) cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
    opacity:   1;
    transform: translateY(0);
}

/* Fade-in only (no movement) */
.reveal--fade-in {
    transform: none;
}
.reveal--fade-in.is-visible {
    transform: none;
}

/* Slide from left */
.reveal--slide-left {
    transform: translateX(-24px);
}
.reveal--slide-left.is-visible {
    transform: translateX(0);
}

/* Animations disabled */
.no-animations .reveal {
    opacity:    1;
    transform:  none;
    transition: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity:    1;
        transform:  none;
        transition: none;
    }
    html { scroll-behavior: auto; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Tablet (≤1024px)
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-menu { gap: 24px; }
    .chi-sono-grid { gap: 40px; }
    .contatti-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Mobile (≤768px)
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Nav: 2-column (logo | hamburger), CTA hidden */
    .site-nav {
        grid-template-columns: 1fr auto;
    }

    .nav-center { display: none; }
    .nav-cta    { display: none; }

    .nav-hamburger {
        display:     flex;
        grid-column: 2;
    }

    /*
     * Mobile menu: expand .site-nav to full screen when open.
     * We can't use position:fixed on .nav-center because
     * backdrop-filter on .site-nav creates a containing block
     * that breaks fixed positioning on children.
     */
    .site-nav.is-open {
        height:              100vh;
        grid-template-rows:  var(--nav-h) 1fr;
        align-content:       start;
        backdrop-filter:     none;
        -webkit-backdrop-filter: none;
        background:          var(--cream);
    }

    .nav-center.is-open {
        display:         flex;
        grid-column:     1 / -1;
        grid-row:        2;
        flex-direction:  column;
        justify-content: flex-start;
        align-items:     flex-start;
        padding:         40px 32px;
        overflow-y:      auto;
        background:      var(--cream);
    }

    .nav-center.is-open .nav-menu {
        flex-direction:  column;
        gap:             0;
        width:           100%;
        align-items:     flex-start;
    }

    .nav-center.is-open .nav-menu li {
        width:          100%;
        border-bottom:  1px solid var(--border);
    }

    .nav-center.is-open .nav-menu li a {
        display:     block;
        padding:     16px 0;
        font-size:   16px;
        color:       var(--ink);
    }

    /* Mobile CTA button inside menu */
    .nav-center.is-open::after {
        content:       attr(data-cta-label);
        display:       block;
        width:         100%;
        margin-top:    32px;
        padding:       14px 28px;
        background:    var(--btn-primary-bg);
        color:         var(--cream);
        border-radius: var(--radius-btn);
        font-size:     14px;
        font-weight:   500;
        letter-spacing: 0.04em;
        text-align:    center;
        text-transform: var(--btn-text-transform);
        cursor:        pointer;
        flex-shrink:   0;
    }

    /* Sections */
    .chi-sono-grid   { grid-template-columns: 1fr; }
    .portrait-badge  { right: 0; bottom: -10px; }
    .contatti-grid   { grid-template-columns: 1fr; }
    .wpcf7-form .form-row { grid-template-columns: 1fr; }
    .download-form   { flex: 1 1 100%; }
    .footer-inner    { flex-direction: column; align-items: flex-start; }
    .footer-legal    { align-items: flex-start; }

    /* CTA sticky mobile */
    .cta-sticky-mobile {
        display:    block;
        position:   fixed;
        bottom:     0;
        left:       0;
        right:      0;
        z-index:    95;
        padding:    12px 16px;
        background: rgba(250, 250, 245, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--border);
        opacity:    0;
        visibility: hidden;
        transform:  translateY(100%);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    .cta-sticky-mobile.is-visible {
        opacity:    1;
        visibility: visible;
        transform:  translateY(0);
    }
    .cta-sticky-mobile__btn {
        display:        block;
        width:          100%;
        padding:        14px;
        background:     var(--btn-primary-bg);
        color:          var(--cream) !important;
        border-radius:  var(--radius-btn);
        font-family:    var(--font-body);
        font-size:      14px;
        font-weight:    500;
        letter-spacing: 0.04em;
        text-align:     center;
        text-decoration: none;
        text-transform: var(--btn-text-transform);
    }

    /* Adjust FABs above sticky CTA */
    .fab-whatsapp       { bottom: 80px; }
    .btn-back-to-top    { bottom: 80px; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Small mobile (≤480px)
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .btn-group  { flex-direction: column; align-items: flex-start; }
    .btn-primary { width: 100%; text-align: center; }
}
