/* ============================================
   DOTT.SSA SANDRA CASSARINO — PREMIUM v2
   ============================================ */

:root {
    --ink:        #0F1C17;
    --verde:      #1E3A2F;
    --verde-mid:  #3B5249;
    --verde-soft: #5E7B6D;
    --oro:        #C9A96E;
    --oro-pale:   #E8D5B0;
    --oro-glow:   rgba(201,169,110,0.15);
    --cream:      #FAF8F3;
    --warm:       #F0EBE1;
    --border:     #E2D9CC;
    --white:      #FFFFFF;
    --muted:      #6B6C6A;

    --serif:  'Playfair Display', Georgia, serif;
    --sans:   'DM Sans', system-ui, sans-serif;

    --r:  12px;
    --rl: 20px;
    --sh: 0 4px 32px rgba(0,0,0,0.08);
    --sh-lg: 0 16px 64px rgba(0,0,0,0.14);
    --t: 0.35s cubic-bezier(.4,0,.2,1);
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── TIPOGRAFIA ─────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.15; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; color: var(--verde); }
h3 { font-size: 1.3rem; font-weight: 500; color: var(--verde); }
h4 { font-size: 1.05rem; font-weight: 500; }
em { font-style: italic; color: var(--oro); }

.section-eyebrow {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--oro); margin-bottom: 12px; display: block;
}
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 16px auto 0; }
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 16px auto 0; }

/* ── BOTTONI ────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: 50px;
    background: var(--verde); color: var(--white);
    font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
    letter-spacing: 0.01em; cursor: pointer; border: none;
    box-shadow: 0 6px 24px rgba(30,58,47,0.3);
    transition: var(--t);
}
.btn-primary:hover { background: #162d24; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,58,47,0.4); }
.btn-primary.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px;
    border: 1.5px solid var(--verde); color: var(--verde);
    font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
    transition: var(--t);
}
.btn-outline:hover { background: var(--verde); color: var(--white); }

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background var(--t), box-shadow var(--t), border-color var(--t);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(250,248,243,0.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 32px rgba(0,0,0,0.07);
    border-color: var(--border);
}
.nav-inner {
    max-width: 1240px; margin: 0 auto; padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-line1 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--verde); line-height: 1; }
.logo-line2 { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oro); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    font-size: 0.85rem; font-weight: 500; color: var(--verde-mid);
    padding: 8px 14px; border-radius: 50px; transition: var(--t);
}
.nav-links a:hover { background: var(--warm); color: var(--verde); }
.nav-links .nav-btn {
    background: var(--verde); color: var(--white) !important;
    padding: 10px 22px; box-shadow: 0 4px 16px rgba(30,58,47,0.25);
}
.nav-links .nav-btn:hover { background: #162d24; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--verde); border-radius: 2px; transition: var(--t); }

/* ── HERO ────────────────────────────────────── */
.hero {
    display: grid; grid-template-columns: 55% 45%; min-height: 100vh;
    padding-top: 0;
}

/* lato sinistro — dark */
.hero-left {
    background: var(--verde);
    display: flex; align-items: center;
    padding: 120px 72px 80px 80px;
    position: relative; overflow: hidden;
}
.hero-left::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.12), transparent 70%);
    pointer-events: none;
}
.hero-left-inner { position: relative; z-index: 1; max-width: 520px; }

.hero-tag {
    display: inline-block;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--oro); border: 1px solid rgba(201,169,110,0.4);
    padding: 6px 16px; border-radius: 50px; margin-bottom: 28px;
}

.hero-h1 {
    font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    font-weight: 400; color: var(--white); line-height: 1.1; margin-bottom: 24px;
}
.hero-h1 em { color: var(--oro); font-style: italic; }

.hero-sub {
    font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.7;
    margin-bottom: 40px;
}
.hero-sub strong { color: rgba(255,255,255,0.92); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 32px; border-radius: 50px;
    background: var(--oro); color: var(--verde);
    font-family: var(--sans); font-size: 0.92rem; font-weight: 600;
    transition: var(--t);
    box-shadow: 0 8px 32px rgba(201,169,110,0.35);
}
.btn-hero-primary:hover { background: #d4b578; transform: translateY(-3px); box-shadow: 0 16px 48px rgba(201,169,110,0.5); }

.btn-hero-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 28px; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85);
    font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
    transition: var(--t);
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.7); color: var(--white); background: rgba(255,255,255,0.06); }

.hero-trust { display: flex; align-items: center; gap: 24px; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--white); line-height: 1; }
.trust-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* lato destro — foto */
.hero-right {
    position: relative; overflow: hidden;
}
.hero-photo {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    filter: brightness(0.88) saturate(0.9);
}
.hero-photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(30,58,47,0.25) 0%, transparent 40%),
                linear-gradient(to top, rgba(15,28,23,0.5) 0%, transparent 40%);
}

/* Card float */
.hero-card-float {
    position: absolute; bottom: 40px; left: -28px;
    background: var(--white); border-radius: var(--rl);
    padding: 18px 24px; box-shadow: var(--sh-lg);
    display: flex; align-items: center; gap: 14px;
    min-width: 280px;
}
.float-icon { font-size: 1.2rem; color: var(--oro); flex-shrink: 0; }
.float-text { flex: 1; }
.float-text strong { display: block; font-size: 0.88rem; color: var(--ink); font-weight: 600; }
.float-text span { font-size: 0.72rem; color: var(--muted); }
.float-btn {
    background: var(--verde); color: var(--white);
    padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
    white-space: nowrap; transition: var(--t);
}
.float-btn:hover { background: #162d24; }

/* ── MARQUEE ─────────────────────────────────── */
.marquee-wrap {
    background: var(--oro); overflow: hidden;
    padding: 12px 0;
}
.marquee-track {
    display: flex; gap: 0; width: max-content;
    animation: marqueeScroll 28s linear infinite;
    white-space: nowrap;
}
.marquee-track span {
    display: inline-block;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--verde); padding: 0 28px;
}
.marquee-dot { color: var(--verde) !important; opacity: 0.5; padding: 0 8px !important; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ── STATS ───────────────────────────────────── */
.stats-section {
    background: var(--ink); padding: 64px 32px;
}
.stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 0;
}
.stat-block {
    text-align: center; padding: 32px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stat-block:last-child { border-right: none; }
.stat-big {
    font-family: var(--serif); font-size: 3.5rem; font-weight: 700;
    color: var(--oro); line-height: 1; display: block;
}
.stat-unit {
    font-size: 0.8rem; color: rgba(255,255,255,0.45); font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; margin-top: 2px;
}
.stat-desc { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── CHI SONO ─────────────────────────────────── */
.chi-sono {
    padding: 100px 0;
    background: var(--white);
}
.chi-sono-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: 480px 1fr;
    gap: 80px; align-items: start;
}
.cs-img-wrap {
    position: relative; border-radius: var(--rl); overflow: hidden;
    box-shadow: var(--sh-lg);
    aspect-ratio: 3/4;
}
.cs-img-wrap.cs-img-desk {
    aspect-ratio: 4/3;
}
.cs-photo {
    width: 100%; height: 100%; object-fit: cover; object-position: center center;
}
.cs-img-desk .cs-photo {
    object-position: center 20%;
}
.cs-badge {
    position: absolute; top: 24px; right: -16px;
    background: var(--verde); color: var(--white);
    padding: 16px 20px; border-radius: var(--r);
    font-size: 0.75rem; line-height: 1.45; text-align: center;
    box-shadow: var(--sh);
}
.cs-badge-icon { display: block; font-size: 1rem; color: var(--oro); margin-bottom: 8px; }
.cs-quote-block {
    margin-top: 24px;
    padding: 24px 28px;
    background: var(--warm); border-left: 3px solid var(--oro);
    border-radius: 0 var(--r) var(--r) 0;
}
.cs-quote-block blockquote {
    font-family: var(--serif); font-size: 1.05rem; font-style: italic;
    color: var(--verde); line-height: 1.6; margin-bottom: 10px;
}
.cs-quote-block cite { font-size: 0.78rem; color: var(--muted); font-style: normal; }

.chi-sono-content .section-eyebrow { text-align: left; }
.chi-sono-content h2 { margin-bottom: 20px; }
.cs-lead {
    font-family: var(--serif); font-size: 1.2rem; color: var(--verde-mid);
    line-height: 1.6; margin-bottom: 20px;
}
.chi-sono-content p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.cs-tags {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px;
}
.cs-tags span {
    padding: 7px 14px; border: 1px solid var(--border); border-radius: 50px;
    font-size: 0.78rem; color: var(--verde-mid); font-weight: 500;
    transition: var(--t);
}
.cs-tags span:hover { background: var(--verde); color: var(--white); border-color: var(--verde); }

/* ── SERVIZI ─────────────────────────────────── */
.servizi {
    padding: 100px 0; background: var(--cream);
}
.servizi-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.sv-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--rl);
    padding: 36px; position: relative; overflow: hidden;
    transition: var(--t); cursor: default;
    opacity: 0; transform: translateY(24px);
}
.sv-card.revealed { opacity: 1; transform: translateY(0); }
.sv-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.sv-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--verde), #2e5041);
    opacity: 0; transition: var(--t); border-radius: var(--rl);
}
.sv-card:hover::after { opacity: 0.03; }
.sv-num {
    font-family: var(--serif); font-size: 4rem; font-weight: 700;
    color: var(--warm); line-height: 1; margin-bottom: 8px;
    transition: color var(--t);
}
.sv-card:hover .sv-num { color: var(--oro-pale); }
.sv-icon { color: var(--verde-soft); margin-bottom: 16px; }
.sv-card:hover .sv-icon { color: var(--verde); }
.sv-card h3 { margin-bottom: 12px; }
.sv-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.sv-meta {
    display: flex; gap: 12px; align-items: center;
    font-size: 0.72rem; color: var(--muted); font-weight: 500;
}
.sv-meta span::before { content: '· '; }
.sv-meta span:first-child::before { content: '⏱ '; }

/* Card CTA */
.sv-card-cta {
    background: linear-gradient(135deg, var(--verde) 0%, #162d24 100%);
    border-color: transparent;
}
.sv-card-cta::after { display: none; }
.sv-card-cta:hover { transform: translateY(-6px); }
.sv-cta-inner { display: flex; flex-direction: column; height: 100%; justify-content: center; }
.sv-card-cta h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 16px; }
.sv-card-cta p { color: rgba(255,255,255,0.7); }
.sv-card-cta .btn-primary {
    background: var(--oro); color: var(--verde); margin-top: 28px;
    box-shadow: 0 8px 24px rgba(201,169,110,0.4);
}
.sv-card-cta .btn-primary:hover { background: #d4b578; }

/* ── COME FUNZIONA ───────────────────────────── */
.come-funziona {
    padding: 100px 0;
    background: var(--white);
}
.steps-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
    margin-bottom: 56px;
}
.step {
    padding: 40px 36px; position: relative;
    opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.5s;
    border-right: 1px solid var(--border);
    display: grid; grid-template-rows: auto 1fr auto; gap: 16px;
}
.step:last-child { border-right: none; }
.step.revealed { opacity: 1; transform: translateY(0); }
.step-num {
    font-family: var(--serif); font-size: 3.5rem; font-weight: 700;
    color: var(--oro-pale); line-height: 1; margin-bottom: -8px;
}
.step-content h3 { color: var(--verde); margin-bottom: 12px; }
.step-content p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.step-arrow { color: var(--oro); position: absolute; top: 40px; right: -16px; background: var(--white); z-index: 1; padding: 2px; }

.cf-cta-row { text-align: center; }

/* ── TESTIMONIAL ─────────────────────────────── */
.testimonial-section {
    padding: 100px 0;
    background: var(--verde);
}
.testimonial-section .section-eyebrow { color: var(--oro); }
.testimonial-section h2 { color: var(--white); }
.testimonial-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 32px;
}
.t-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--rl); padding: 36px; backdrop-filter: blur(8px);
    transition: var(--t);
    opacity: 0; transform: translateY(24px);
}
.t-card.revealed { opacity: 1; transform: translateY(0); }
.t-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.t-stars { color: var(--oro); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.t-card > p { font-family: var(--serif); font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 24px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--oro); display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: var(--verde); flex-shrink: 0;
}
.t-author strong { display: block; font-size: 0.88rem; color: var(--white); }
.t-author span { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.t-disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-align: center; max-width: 600px; margin: 0 auto; }

/* ── FORMAZIONE ──────────────────────────────── */
.formazione {
    padding: 100px 0; background: var(--cream);
}
.formazione-grid {
    display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start;
}
.formazione-timeline { padding-left: 28px; position: relative; }
.formazione-timeline::before {
    content: ''; position: absolute; left: 5px; top: 8px; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, var(--oro), var(--verde-soft), transparent);
}
.ft-item {
    position: relative; margin-bottom: 44px;
    opacity: 0; transform: translateX(-20px); transition: 0.5s;
}
.ft-item.revealed { opacity: 1; transform: translateX(0); }
.ft-dot {
    position: absolute; left: -27px; top: 5px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--oro); border: 2px solid var(--cream);
    box-shadow: 0 0 0 3px var(--oro-pale);
}
.ft-tag {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--oro); display: block; margin-bottom: 6px;
}
.ft-body h4 { color: var(--verde); margin-bottom: 6px; }
.ft-body p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

/* Albo premium */
.albo-premium {
    background: linear-gradient(145deg, var(--verde) 0%, var(--ink) 100%);
    border-radius: var(--rl); padding: 36px; color: var(--white);
    position: sticky; top: 100px; margin-bottom: 20px;
}
.albo-top { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.albo-glyph { font-size: 2rem; color: var(--oro); }
.albo-kicker { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--oro-pale); display: block; }
.albo-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--oro); display: block; line-height: 1; }
.albo-ente { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.albo-sep { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }
.albo-list { display: flex; flex-direction: column; gap: 10px; }
.albo-list li { font-size: 0.83rem; color: rgba(255,255,255,0.8); display: flex; gap: 8px; }
.albo-list li span { color: var(--oro); }

.pub-premium {
    background: var(--warm); border-radius: var(--r); padding: 24px;
    border: 1px solid var(--border);
}
.pub-premium h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--oro); margin-bottom: 16px; font-family: var(--sans); font-weight: 600; }
.pub-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.pub-item:last-child { margin-bottom: 0; }
.pub-year { font-family: var(--serif); font-size: 0.9rem; font-weight: 700; color: var(--verde); flex-shrink: 0; padding-top: 2px; }
.pub-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ── FAQ ─────────────────────────────────────── */
.faq-section {
    padding: 100px 0; background: var(--white);
}
.faq-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start;
}
.faq-left h2 { font-size: 2.4rem; margin-bottom: 16px; }
.faq-left p { color: var(--muted); line-height: 1.65; margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 0; background: none; border: none; cursor: pointer;
    font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink);
    text-align: left; transition: color var(--t);
}
.faq-q:hover { color: var(--verde); }
.faq-q[aria-expanded="true"] { color: var(--verde); }
.faq-icon { flex-shrink: 0; color: var(--verde-soft); transition: transform var(--t); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--verde); }
.faq-a {
    padding: 0 0 20px; font-size: 0.875rem; color: var(--muted); line-height: 1.7;
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── PRENOTA ─────────────────────────────────── */
.prenota { background: var(--cream); }
.prenota-bg {
    background: linear-gradient(135deg, var(--ink) 0%, var(--verde) 100%);
    padding: 100px 0;
}
.prenota-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: start;
}
.prenota-left .section-eyebrow { color: var(--oro); }
.prenota-h2 { color: var(--white); font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 20px; }
.prenota-h2 em { color: var(--oro); }
.prenota-sub { color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 36px; }

.prenota-contacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.pc-item {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border-radius: var(--r);
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    transition: var(--t); cursor: default;
}
a.pc-item { cursor: pointer; }
a.pc-item:hover { background: rgba(255,255,255,0.12); }
.pc-icon { font-size: 1.1rem; flex-shrink: 0; }
.pc-item strong { display: block; font-size: 0.9rem; color: var(--white); font-weight: 500; }
.pc-item small { font-size: 0.72rem; color: rgba(255,255,255,0.45); }

.cal-block { margin-bottom: 20px; }
.cal-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.btn-cal {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px;
    background: var(--oro); color: var(--verde);
    font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
    border: none; cursor: pointer; transition: var(--t);
    box-shadow: 0 8px 24px rgba(201,169,110,0.35);
}
.btn-cal:hover { background: #d4b578; transform: translateY(-2px); }

.privacy-micro { font-size: 0.72rem; color: rgba(255,255,255,0.35); line-height: 1.5; }

.map-embed-wrap {
    border-radius: var(--r); overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* Form card */
.form-card {
    background: var(--white); border-radius: var(--rl); padding: 44px;
    box-shadow: var(--sh-lg);
}
.form-card h3 { font-size: 1.4rem; color: var(--verde); margin-bottom: 6px; }
.form-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.fg label { font-size: 0.78rem; font-weight: 600; color: var(--ink); letter-spacing: 0.03em; }
.fg input, .fg select, .fg textarea {
    padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--r);
    font-family: var(--sans); font-size: 0.88rem; color: var(--ink);
    background: var(--cream); transition: border-color var(--t); outline: none; width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
    border-color: var(--verde); background: var(--white);
}
.fg textarea { resize: vertical; min-height: 90px; }
.fg-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.fg-check input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--verde); }
.fg-check label { font-size: 0.75rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.btn-submit {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 32px; border-radius: 50px;
    background: var(--verde); color: var(--white);
    font-family: var(--sans); font-size: 0.92rem; font-weight: 600;
    border: none; cursor: pointer; transition: var(--t);
    box-shadow: 0 6px 24px rgba(30,58,47,0.3);
}
.btn-submit:hover { background: #162d24; transform: translateY(-2px); }
.form-ok {
    text-align: center; padding: 14px; border-radius: var(--r);
    background: #e8f5e9; color: #2e7d32; font-size: 0.875rem; font-weight: 500;
    border: 1px solid #a5d6a7; margin-top: 12px;
}

/* ── FOOTER ──────────────────────────────────── */
.footer { background: var(--ink); padding: 64px 0 32px; }
.footer-top {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px; margin-bottom: 48px;
}
.fb-name { font-family: var(--serif); font-size: 1.15rem; color: var(--white); margin-bottom: 4px; }
.fb-sub { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.fb-albo { font-size: 0.68rem; color: var(--oro-pale); letter-spacing: 0.04em; }
.footer-nav h5, .footer-contact h5 {
    font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--oro); margin-bottom: 16px;
}
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav li, .footer-contact li { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--oro); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
    text-align: center;
    max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--t); }
.footer-bottom a:hover { color: var(--oro); }

/* ── FLOATING CTA ────────────────────────────── */
.floating-cta {
    position: fixed; bottom: 28px; right: 28px; z-index: 500;
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: var(--t);
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fcta-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 24px; border-radius: 50px;
    background: var(--verde); color: var(--white);
    font-size: 0.88rem; font-weight: 600;
    box-shadow: 0 8px 32px rgba(15,28,23,0.35);
    transition: var(--t);
}
.fcta-btn:hover { background: var(--oro); color: var(--verde); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(201,169,110,0.4); }

/* ── REVEAL ──────────────────────────────────── */
[data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ── FIELD ERROR ─────────────────────────────── */
.field-error { border-color: #e53935 !important; background: #fff5f5 !important; }

/* ── HERO FREE BADGE ─────────────────────────── */
.hero-free-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.08); border: 1.5px solid rgba(201,169,110,0.6);
    border-radius: 50px; padding: 9px 20px; margin-bottom: 24px;
    font-size: 0.83rem; color: rgba(255,255,255,0.9);
    animation: pulse-badge 2.5s ease-in-out infinite;
}
.free-badge-pill {
    background: var(--oro); color: var(--verde);
    font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em;
    padding: 3px 10px; border-radius: 50px; flex-shrink: 0;
}
@keyframes pulse-badge {
    0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
    50% { box-shadow: 0 0 0 8px rgba(201,169,110,0.12); }
}

/* ── SERVIZI FREE CARD ───────────────────────── */
.sv-card-free {
    background: linear-gradient(135deg, #1a3a2c 0%, var(--ink) 100%);
    border: 1.5px solid var(--oro) !important;
    position: relative; overflow: hidden;
}
.sv-card-free::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.15), transparent 70%);
    pointer-events: none;
}
.sv-free-badge {
    display: inline-block;
    background: var(--oro); color: var(--verde);
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
    padding: 4px 12px; border-radius: 50px; margin-bottom: 16px;
}
.sv-free-icon { font-size: 2rem; margin-bottom: 12px; }
.sv-card-free h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.sv-card-free p { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.65; margin-bottom: 24px; }
.btn-free {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 50px;
    background: var(--oro); color: var(--verde);
    font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
    border: none; cursor: pointer; transition: var(--t);
    text-decoration: none; box-shadow: 0 6px 20px rgba(201,169,110,0.4);
}
.btn-free:hover { background: #d4b578; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,169,110,0.5); }

/* ── FREE BANNER ─────────────────────────────── */
.free-banner {
    background: var(--verde);
    border-top: 3px solid var(--oro);
    border-bottom: 3px solid var(--oro);
    padding: 28px 32px;
}
.free-banner-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.free-banner-left {
    display: flex; align-items: center; gap: 20px; flex: 1; min-width: 280px;
}
.free-banner-pill {
    background: var(--oro); color: var(--verde);
    font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em;
    padding: 6px 14px; border-radius: 50px; flex-shrink: 0;
}
.free-banner-text {
    display: flex; flex-direction: column; gap: 4px;
}
.free-banner-text strong {
    font-size: 1rem; color: var(--white); font-weight: 600; line-height: 1.3;
}
.free-banner-text span {
    font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.4;
}
.free-banner-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--oro); color: var(--verde);
    padding: 14px 28px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 700;
    white-space: nowrap; flex-shrink: 0; transition: var(--t);
    box-shadow: 0 6px 20px rgba(201,169,110,0.4);
    text-decoration: none;
}
.free-banner-btn:hover {
    background: #d4b578; transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(201,169,110,0.55);
}
@media (max-width: 768px) {
    .free-banner-inner { flex-direction: column; text-align: center; }
    .free-banner-left { flex-direction: column; align-items: center; }
    .free-banner-btn { width: 100%; justify-content: center; }
}

/* ── CALENDARIO SECTION ──────────────────────── */
.calendario-section {
    padding: 100px 0; background: var(--cream);
}
/* Nuova booking card calendario */
.cal-booking-card {
    max-width: 1000px; margin: 0 auto;
    background: var(--white); border-radius: var(--rl);
    box-shadow: var(--sh-lg); border: 1px solid var(--border);
    display: grid; grid-template-columns: 1fr 380px;
    overflow: hidden;
}
.cal-booking-left {
    padding: 48px 44px;
    display: flex; flex-direction: column; gap: 0;
}
.cal-booking-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cal-booking-left h3 { color: var(--verde); font-size: 1.6rem; margin-bottom: 14px; }
.cal-booking-left p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.cal-benefits {
    list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px;
}
.cal-benefits li { font-size: 0.85rem; color: var(--verde-mid); }
.btn-cal-main {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 50px;
    background: var(--verde); color: var(--white);
    font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
    transition: var(--t); box-shadow: 0 8px 28px rgba(30,58,47,0.3);
    text-decoration: none; align-self: flex-start; margin-bottom: 16px;
}
.btn-cal-main:hover { background: #162d24; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(30,58,47,0.4); }
.cal-free-note {
    font-size: 0.78rem; color: var(--muted);
    background: var(--warm); padding: 10px 16px; border-radius: 8px;
    border-left: 3px solid var(--oro); margin-bottom: 0 !important;
    line-height: 1.5;
}
.cal-free-note strong { color: var(--verde); }

/* Preview finta del calendario */
.cal-booking-right {
    background: linear-gradient(135deg, var(--verde) 0%, var(--ink) 100%);
    padding: 36px 28px; display: flex; align-items: center; justify-content: center;
}
.cal-preview-wrap {
    background: var(--white); border-radius: var(--r); overflow: hidden;
    width: 100%; box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.cal-preview-header {
    background: #f0f0f0; padding: 10px 14px;
    display: flex; align-items: center; gap: 6px;
}
.cal-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cal-dot.red { background: #FF5F57; }
.cal-dot.yellow { background: #FFBD2E; }
.cal-dot.green { background: #28CA41; }
.cal-preview-url { font-size: 0.68rem; color: #888; margin-left: 8px; }
.cal-preview-body { padding: 18px; }
.cal-preview-name { font-size: 0.7rem; color: var(--muted); margin-bottom: 4px; }
.cal-preview-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--verde); margin-bottom: 16px; }
.cal-preview-slots {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px;
}
.cal-slot {
    padding: 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 500;
    text-align: center; cursor: default;
}
.cal-slot.available { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.cal-slot.busy { background: #f5f5f5; color: #bbb; text-decoration: line-through; }
.cal-preview-btn {
    display: block; text-align: center;
    background: var(--verde); color: var(--white);
    padding: 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
    transition: var(--t);
}
.cal-preview-btn:hover { background: #162d24; }

@media (max-width: 768px) {
    .cal-booking-card { grid-template-columns: 1fr; }
    .cal-booking-right { display: none; }
    .cal-booking-left { padding: 32px 24px; }
    .btn-cal-main { align-self: stretch; justify-content: center; }
}

/* ── CHATBOT ─────────────────────────────────── */
.chatbot-wrap {
    position: fixed; bottom: 28px; left: 28px; z-index: 900;
}
.chatbot-toggle {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--verde); color: var(--white);
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(30,58,47,0.4);
    transition: var(--t); position: relative;
}
.chatbot-toggle:hover { background: #162d24; transform: scale(1.08); }
.chat-notify {
    position: absolute; top: -2px; right: -2px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--oro); border: 2px solid var(--white);
}
.chat-notify:empty { display: none; }

.chatbot-window {
    position: absolute; bottom: 72px; left: 0;
    width: 340px; max-height: 520px;
    background: var(--white); border-radius: var(--rl);
    box-shadow: 0 24px 80px rgba(0,0,0,0.18);
    display: flex; flex-direction: column;
    overflow: hidden; border: 1px solid var(--border);
    animation: chatSlideIn 0.3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

.chat-header {
    background: var(--verde); color: var(--white);
    padding: 16px 18px; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.chat-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--oro); display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 0.85rem; font-weight: 700; color: var(--verde);
    flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-info strong { display: block; font-size: 0.88rem; font-weight: 600; }
.chat-online { font-size: 0.68rem; color: rgba(255,255,255,0.65); }
.chat-close-btn {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.6); padding: 4px; transition: color var(--t);
}
.chat-close-btn:hover { color: var(--white); }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Messaggi */
.chat-msg { display: flex; flex-direction: column; max-width: 85%; animation: msgFade 0.25s ease; }
@keyframes msgFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble {
    padding: 10px 14px; border-radius: 16px; font-size: 0.83rem; line-height: 1.55;
}
.bot .chat-bubble {
    background: var(--cream); color: var(--ink); border-bottom-left-radius: 4px;
}
.user .chat-bubble {
    background: var(--verde); color: var(--white); border-bottom-right-radius: 4px;
}
.chat-bubble a { color: var(--oro); text-decoration: underline; cursor: pointer; }

/* Typing indicator */
.chat-typing .chat-bubble {
    background: var(--cream); padding: 12px 16px;
    display: flex; gap: 4px; align-items: center;
}
.chat-typing .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--verde-soft);
    animation: typingPulse 1.2s infinite;
}
.chat-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingPulse { 0%,60%,100% { opacity: 0.3; transform: scale(0.8); } 30% { opacity: 1; transform: scale(1.1); } }

/* Quick replies */
.chat-quick-replies {
    padding: 6px 12px 10px; display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0;
    border-top: 1px solid var(--border);
}
.chat-qr-btn {
    background: none; border: 1px solid var(--verde); color: var(--verde);
    padding: 5px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 500;
    cursor: pointer; transition: var(--t); white-space: nowrap;
}
.chat-qr-btn:hover { background: var(--verde); color: var(--white); }

/* Input */
.chat-input-area {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-top: 1px solid var(--border); flex-shrink: 0;
}
#chatInput {
    flex: 1; border: 1.5px solid var(--border); border-radius: 50px;
    padding: 9px 14px; font-family: var(--sans); font-size: 0.83rem; color: var(--ink);
    background: var(--cream); outline: none; transition: border-color var(--t);
}
#chatInput:focus { border-color: var(--verde); background: var(--white); }
#chatSend {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--verde); color: var(--white);
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: var(--t);
}
#chatSend:hover { background: #162d24; transform: scale(1.05); }

@media (max-width: 480px) {
    .chatbot-window { width: calc(100vw - 40px); left: 0; }
    .chatbot-wrap { left: 16px; bottom: 16px; }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 120px 48px 80px; min-height: 90vh; }
    .hero-right { height: 55vw; min-height: 340px; }
    .hero-card-float { left: 20px; }
    .chi-sono-inner { grid-template-columns: 1fr; max-width: 720px; }
    .cs-img-wrap { max-width: 400px; aspect-ratio: 3/4; }
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .stat-block:nth-child(2) { border-right: none; }
    .formazione-grid { grid-template-columns: 1fr; }
    .albo-premium { position: static; }
    .prenota-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .faq-inner { grid-template-columns: 1fr; }
    .faq-left { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
    .faq-left h2 { grid-column: 1/-1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 20px 32px; border-top: 1px solid var(--border); box-shadow: var(--sh); gap: 4px; }
    .nav-links.open { display: flex; }
    .burger { display: flex; }
    .hero-left { padding: 100px 28px 60px; min-height: auto; padding-bottom: 80px; }
    .hero-ctas { flex-direction: column; }
    .hero-trust { flex-direction: column; gap: 12px; }
    .trust-divider { width: 40px; height: 1px; }
    .servizi-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .step { border-right: none; border-bottom: 1px solid var(--border); }
    .step-arrow { display: none; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
    .fg-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 24px; }
    .floating-cta { bottom: 16px; right: 16px; }
    .faq-left { grid-template-columns: 1fr; }
    .hero-card-float { display: none; }
}
