/* ==========================================================================
   Studio Cammarano — Commercialista
   Template CSS — palette navy / grigio / oro
   ========================================================================== */

:root {
    --navy:        #13294b;
    --navy-700:    #1c3a63;
    --navy-900:    #0b1b33;
    --gold:        #b5894e;
    --gold-soft:   #c9a978;
    --ink:         #1f2a3a;
    --muted:       #6b7585;
    --muted-light: #9aa3b2;
    --line:        #e6e9ef;
    --bg:          #ffffff;
    --bg-alt:      #f5f7fb;
    --bg-soft:     #fafbfd;
    --radius:      10px;
    --radius-sm:   6px;
    --shadow:      0 10px 30px rgba(19, 41, 75, .08);
    --shadow-sm:   0 4px 14px rgba(19, 41, 75, .06);
    --container:   1440px;
    --serif:       'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    /* Colore primario del brand: usato anche dal widget di accessibilita */
    --c-primary:   var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--tight { padding: 60px 0; }

/* ---- utilities ---- */
.text-center { text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--muted); }
.section--navy .lead, .section--navy p { color: rgba(255,255,255,.78); }

.divider { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 18px 0; }
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: .85rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 14px 28px; border-radius: var(--radius-sm);
    border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
    white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: #a3793f; border-color: #a3793f; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 24px; flex-wrap: nowrap; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; gap: 24px; flex-wrap: nowrap; align-items: center; min-width: 0; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
/* Topbar compatta: gli orari spariscono sotto i 1150px, l'email sotto gli 820px */
@media (max-width: 1150px) { .topbar__hours { display: none !important; } }
@media (max-width: 820px)  { .topbar__email { display: none !important; } }
.topbar__info i { color: var(--gold-soft); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { font-size: .9rem; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 60px; width: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.main-nav a {
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--navy); padding: 6px 0; position: relative; white-space: nowrap;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 96px 0; }
.hero__content h1 { color: #fff; margin-bottom: 18px; }
.hero__content h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero__content p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
/* Home: hero a tutta larghezza con immagine di sfondo, testo a sinistra */
.hero--home { background-size: cover; background-position: right center; background-repeat: no-repeat; }
.hero--home::before { content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(11,27,51,.95) 0%, rgba(11,27,51,.86) 32%, rgba(11,27,51,.55) 62%, rgba(11,27,51,.18) 100%); }
.hero--home .container { position: relative; z-index: 2; }
.hero--home .hero__inner { display: flex; align-items: center; min-height: 720px; padding: 72px 0; }
.hero--home .hero__content { max-width: 560px; }
/* Lo Studio: stesso hero della home, banda un po' più bassa (foto team a destra) */
.hero--studio .hero__inner { min-height: 520px; }
/* Overlay che si dissolve prima della zona del team: la foto (tela estesa 2.5:1)
   ha le persone nella metà destra, la sfumatura copre solo la parte sfocata a sinistra */
.hero--studio::before { background: linear-gradient(90deg, rgba(11,27,51,.95) 0%, rgba(11,27,51,.86) 30%, rgba(11,27,51,.50) 45%, rgba(11,27,51,0) 62%); }
.hero--page { padding: 0; background-color: var(--navy); background-size: cover; background-position: center; position: relative; }
.hero--page::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,27,51,.92) 0%, rgba(19,41,75,.78) 100%); }
.hero--page .container { position: relative; z-index: 2; }
.hero--page .hero__inner { display: block; padding: 92px 0 80px; }
.hero--page h1 { font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; margin-bottom: 16px; }
.hero--page p { max-width: 640px; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.hero--page.hero--center { text-align: center; }
.hero--page.hero--center .breadcrumb { justify-content: center; }
.hero--page.hero--center p { margin-left: auto; margin-right: auto; }
.hero--page .hero__actions { margin-top: 26px; }
.breadcrumb { display: flex; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 20px; list-style: none; padding: 0; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li::after { content: '/'; margin-left: 10px; color: rgba(255,255,255,.35); }
.breadcrumb li:last-child::after { content: ''; }

/* ==========================================================================
   SERVICE / FEATURE CARDS
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); color: var(--gold); font-size: 1.4rem; margin-bottom: 20px;
}
.card:hover .card__icon { background: var(--navy); color: #fff; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.card__link { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.card__link:hover { color: var(--gold); }
.card__link:hover i { transform: translateX(4px); }
.card__link i { transition: transform .2s ease; }

/* horizontal service card (servizi page) */
.card--row { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 30px; }
.card--row .card__icon { margin-bottom: 0; }
.card--row h3 { margin-bottom: 8px; }

/* value cards (centered, borderless) */
.value { text-align: center; padding: 20px; }
.value__icon { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-alt); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   SPLIT (image + text)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list i { color: var(--gold); font-size: 1.1rem; margin-top: 4px; }
.feature-list h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.feature-list p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); color: #fff; font-weight: 700; line-height: 1; }
.stat__num .accent { color: var(--gold-soft); }
.stat__label { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: 8px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: flex; flex-direction: column; gap: 28px; }
.team-card { display: flex; align-items: center; gap: 30px; text-align: left; }
.team-card__photo { flex: 0 0 210px; width: 210px; height: 280px; border-radius: 14px; overflow: hidden; margin: 0; background: #fff; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { flex: 1 1 auto; min-width: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 32px 38px; }
.team-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-card .role { display: block; color: var(--gold); font-size: .9rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 10px; }
.team-card .team-desc { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 44px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta-strip h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.cta-strip p { color: rgba(255,255,255,.75); margin: 6px 0 0; }
.cta-strip__text { max-width: 640px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-control {
    width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: .95rem; color: var(--ink);
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,137,78,.12); background: #fff; }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form-check input { margin-top: 4px; }
.choice-group { display: flex; gap: 14px; flex-wrap: wrap; }
.choice {
    display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line);
    border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem; transition: all .2s ease; background: var(--bg-soft);
}
.choice:hover { border-color: var(--gold); }
.choice input { accent-color: var(--gold); }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .92rem; }
.alert--error { background: #fdeced; color: #b53241; border: 1px solid #f5c2c7; }

/* ==========================================================================
   CONTACT INFO CARDS
   ========================================================================== */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.info-card > div:not(.info-card__icon) { min-width: 0; width: 100%; overflow-wrap: anywhere; }
.info-card__icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; background: var(--bg-alt); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-card h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.info-card a { color: var(--muted); }
.info-card a:hover { color: var(--gold); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; height: 100%; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

.post-card { display: grid; grid-template-columns: 240px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; margin-bottom: 26px; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { overflow: hidden; background: var(--bg-alt); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.post-card__body { padding: 24px 26px 24px 0; }
.post-meta { display: flex; gap: 18px; font-size: .8rem; color: var(--muted-light); margin-bottom: 10px; flex-wrap: wrap; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-meta i { color: var(--gold); }
.post-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); background: var(--bg-alt); padding: 4px 12px; border-radius: 40px; }

/* sidebar */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 26px; }
.widget__title { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: .92rem; color: var(--ink); }
.cat-list a:hover { color: var(--gold); padding-left: 6px; }
.cat-list .count { background: var(--bg-alt); color: var(--muted); font-size: .78rem; padding: 2px 10px; border-radius: 40px; }
.widget--newsletter { background: var(--navy); color: #fff; text-align: center; }
.widget--newsletter .widget__title { color: #fff; border-color: rgba(255,255,255,.15); }
.widget--newsletter p { color: rgba(255,255,255,.75); font-size: .9rem; }
.widget--newsletter .form-control { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.widget--newsletter .form-control::placeholder { color: rgba(255,255,255,.55); }
.widget__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 16px; }

/* article body */
.article-body { font-size: 1.02rem; color: #374151; }
.article-body h2, .article-body h3 { margin-top: 1.6em; }
.article-body img { border-radius: var(--radius); margin: 1.5em 0; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-hero-img { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 32px; width: 100%; }

/* pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; color: var(--navy); }
.pagination a:hover { border-color: var(--navy); }
.pagination .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .is-disabled { color: var(--muted-light); pointer-events: none; }

/* ==========================================================================
   COMPARISON ROW (booking page)
   ========================================================================== */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.compare__item .compare__icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg-alt); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.compare__item h4 { font-family: var(--sans); font-size: 1rem; color: var(--navy); margin: 0 0 6px; }
.compare__item p { color: var(--muted); font-size: .9rem; margin: 0; }

/* method steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { text-align: center; position: relative; }
.step__num { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.step h4 { font-family: var(--sans); font-size: 1.02rem; color: var(--navy); margin: 0 0 6px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* perk list (booking right column) */
.perk { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.perk:last-child { border-bottom: 0; }
.perk__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-alt); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.perk h4 { font-family: var(--sans); font-size: .98rem; color: var(--navy); margin: 0 0 3px; }
.perk p { margin: 0; color: var(--muted); font-size: .88rem; }

/* hours list */
.hours-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.hours-card h4 { color: #fff; font-family: var(--sans); display: flex; align-items: center; gap: 10px; }
.hours-card h4 i { color: var(--gold-soft); }
.hours-list { list-style: none; margin: 16px 0 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: rgba(255,255,255,.85); }
.hours-list li:last-child { border-bottom: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-cta { background: var(--navy-900); padding-top: 72px; }
.footer-cta .cta-strip { background: linear-gradient(120deg, var(--navy-700), var(--navy)); margin-bottom: -44px; position: relative; z-index: 2; }
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 100px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 60px; margin-bottom: 18px; opacity: .95; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.6); max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); }
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-col h4 { font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: rgba(255,255,255,.65); }
.footer-contact i { color: var(--gold-soft); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom__links { display: flex; gap: 22px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Evita overflow orizzontale globale e media/iframe troppo larghi */
html, body { overflow-x: hidden; }
iframe, video, embed, object { max-width: 100%; }

/* ---- Tablet landscape / small desktop (≤ 1024px) ---- */
@media (max-width: 1024px) {
    .container { padding: 0 28px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
    .grid { gap: 22px; }
}

/* ---- Tablet (≤ 992px) ---- */
@media (max-width: 992px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0; }
    .hero__media { order: -1; }
    .hero--home .hero__inner { min-height: 580px; padding: 64px 0; }
    .hero--studio .hero__inner { min-height: 480px; }
    .split { grid-template-columns: 1fr; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .stat + .stat { border-left: 0; }
    .blog-layout { grid-template-columns: 1fr; }
    .compare, .steps { grid-template-columns: repeat(2, 1fr); }
    /* le pagine contatti/prenotazione usano grid-template-columns inline:
       forziamo il collasso a una colonna sotto a questa soglia */
    .grid--2[style] { grid-template-columns: 1fr !important; }
    .map-embed { min-height: 280px; }
}

/* ---- Mobile landscape / large phone (≤ 768px) ---- */
@media (max-width: 768px) {
    .topbar { display: none; }
    .nav-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; margin-right: -10px; padding: 0;
        font-size: 1.6rem; line-height: 1; flex: 0 0 auto;
    }
    .header-actions { display: none; }
    .site-header .container { min-height: 64px; gap: 14px; }
    .brand img { height: 42px; }
    .main-nav {
        position: fixed; inset: 64px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow); z-index: 40;
        max-height: calc(100vh - 64px); overflow-y: auto;
    }
    .main-nav.is-open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px; }
    .main-nav li { width: 100%; border-bottom: 1px solid var(--line); }
    .main-nav li:last-child { border-bottom: 0; }
    .main-nav a { display: block; padding: 14px 0; white-space: normal; }
    .section { padding: 60px 0; }
    .section--tight { padding: 44px 0; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .grid--2[style] { grid-template-columns: 1fr !important; }
    .card--row { grid-template-columns: auto 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .post-card { grid-template-columns: 1fr; }
    .post-card__media img { min-height: 200px; }
    .post-card__body { padding: 0 26px 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cta-strip { padding: 32px 28px; text-align: center; justify-content: center; }
    .cta-strip__text { max-width: 100%; }
    .compare, .steps, .stats { grid-template-columns: 1fr; }
    .hero--page .hero__inner { padding: 72px 0 60px; }
    .hero--home .hero__inner { min-height: 480px; padding: 56px 0; }
    .hero--home .hero__content { max-width: 100%; }
    .hero--home::before { background: linear-gradient(180deg, rgba(11,27,51,.80) 0%, rgba(11,27,51,.90) 100%); }
    .form-card { padding: 28px 22px; }
}

/* ---- Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom__links { gap: 16px; flex-wrap: wrap; }
    .card--row { grid-template-columns: 1fr; gap: 16px; }
    .card--row .card__icon { margin-bottom: 4px; }
    .choice-group { flex-direction: column; }
    .choice { width: 100%; }
    .cta-strip .btn { width: 100%; justify-content: center; }
    .team-card { flex-direction: column; text-align: center; gap: 18px; }
    .team-card__photo { flex-basis: 200px; width: 200px; height: 260px; }
    .team-card__body { width: 100%; padding: 24px 22px; }
    .team-card .role { margin-bottom: 6px; }
}

/* ---- Small mobile (≤ 480px) ---- */
@media (max-width: 480px) {
    body { font-size: 15px; }
    .container { padding: 0 18px; }
    .section { padding: 48px 0; }
    h3 { font-size: 1.15rem; }
    .lead { font-size: 1rem; }
    .card { padding: 28px 22px; }
    .form-card { padding: 24px 18px; }
    .info-card { padding: 22px; gap: 14px; }
    .widget { padding: 24px 20px; }
    .hours-card { padding: 24px 20px; }
    .hours-list li { font-size: .85rem; gap: 12px; }
    .cta-strip { padding: 28px 22px; }
    .cta-strip h3 { font-size: 1.35rem; }
    .btn { padding: 13px 22px; font-size: .8rem; }
    /* pagination scrollabile invece di andare a capo disordinata */
    .pagination { flex-wrap: wrap; }
    .breadcrumb { flex-wrap: wrap; }
    .post-meta { gap: 12px; }
}

/* ===================== WHATSAPP FLOATING BUTTON =====================
   Stessi asset/stile di www.gestionalenoleggio.com (bottone tondo verde
   con SVG bianco inline); z-index sotto il banner cookie (9999). */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    z-index: 900;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    background: #1ebe5d;
}
.whatsapp-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .5); outline-offset: 3px; }
.whatsapp-float svg { display: block; }
@media (max-width: 640px) {
    .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float:hover { transform: none; }
}
@media (max-width: 600px) {
    .wa-float { right: 16px; bottom: 16px; height: 56px; }
    .wa-float__icon { flex-basis: 56px; width: 56px; height: 56px; font-size: 30px; }
    /* su mobile mostriamo solo l'icona per non coprire i contenuti */
    .wa-float:hover .wa-float__label,
    .wa-float:focus-visible .wa-float__label { max-width: 0; opacity: 0; padding-right: 0; }
}
