/* ==========================================================================
   B&B Agency — foglio di stile unico
   Palette: bordeaux e oro su avorio · Caratteri: Jost (titoli), Manrope (testi)
   ========================================================================== */

:root {
    --bordeaux: #4E1C26;
    --bordeaux-deep: #3A141C;
    --bordeaux-soft: #F3E8E5;
    --oro: #CDA861;
    --oro-chiaro: #E2C68F;
    --oro-scuro: #7A5D24;
    --avorio: #F8F4F1;
    --bianco: #FFFFFF;
    --ink: #2B1F21;
    --ink-2: #66575A;
    --line: #E8DEDA;
    --line-dark: rgba(248, 244, 241, .14);
    --ok: #2F6B4F;
    --err: #A6412C;

    --f-disp: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
    --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

    --wrap: 1200px;
    --r: 8px;
    --sec: clamp(64px, 9vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--avorio); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--oro-scuro); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-disp); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--oro); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow { font: 700 .76rem/1.3 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--oro-scuro); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.stars { display: block; fill: var(--oro); }
.amp { color: var(--oro); }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font: 700 .95rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-oro { background: var(--oro); color: var(--ink); }
.btn-oro:hover { background: var(--oro-chiaro); color: var(--ink); }
.btn-bordeaux { background: var(--bordeaux); color: var(--avorio); }
.btn-bordeaux:hover { background: var(--bordeaux-deep); color: var(--avorio); }
.btn-ghost { border-color: rgba(248, 244, 241, .4); color: var(--avorio); }
.btn-ghost:hover { border-color: var(--oro); color: var(--oro-chiaro); }
.btn-line { border-color: var(--bordeaux); color: var(--bordeaux); }
.btn-line:hover { background: var(--bordeaux); color: var(--avorio); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Logo (versione "Insegna") ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--avorio); line-height: 1; }
.brand:hover { color: var(--avorio); }
.brand .stars { height: 9px; width: auto; }
.brand-name { font: 500 1.5rem/1 var(--f-disp); letter-spacing: .2em; padding-left: .2em; }
.brand-rule { width: 34px; height: 1px; background: var(--oro); }
.brand-sub { font: 700 .56rem/1 var(--f-body); letter-spacing: .55em; padding-left: .55em; text-transform: uppercase; color: var(--oro-chiaro); }
.brand-lg .stars { height: 12px; }
.brand-lg .brand-name { font-size: 2.1rem; }
.brand-lg .brand-rule { width: 46px; }
.brand-lg .brand-sub { font-size: .66rem; }

/* ---------- Intestazione ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bordeaux); color: var(--avorio); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; }
.site-nav ul a { color: rgba(248, 244, 241, .85); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav ul a:hover { color: var(--oro-chiaro); }
.site-nav ul a[aria-current="page"] { color: var(--avorio); border-bottom-color: var(--oro); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--avorio); border-radius: 999px; padding: 8px 14px; font: 700 .85rem var(--f-body); align-items: center; gap: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

/* ---------- Sezioni ---------- */
.sec { padding: var(--sec) 0; }
.sec-white { background: var(--bianco); }
.sec-dark { background: var(--bordeaux); color: var(--avorio); }
.sec-dark .lead, .sec-dark .muted { color: rgba(248, 244, 241, .78); }
.sec-dark .eyebrow { color: var(--oro-chiaro); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* ---------- Hero home ---------- */
.hero { background: var(--bianco); color: var(--bordeaux); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-text .stars { height: 16px; width: auto; align-self: flex-start; }
.hero-text .eyebrow { color: var(--oro-scuro); }
.hero-text h1 em { font-style: normal; color: var(--oro-scuro); }
.hero-text .lead { color: var(--ink-2); }
/* Home: apertura più grande delle altre pagine, con collage di foto */
.home-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); border-bottom: 0; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.home-hero h1 { font-size: clamp(2.8rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }
.home-hero h1 em { display: block; }
.home-hero .lead { font-size: 1.18rem; max-width: 46ch; }
.home-hero .hero-text .stars { height: 18px; }
.hero-collage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: clamp(380px, 44vw, 560px); }
.hero-collage::before { content: ""; position: absolute; inset: 36px -24px -24px 48px; background: var(--bordeaux-soft); border-radius: 14px; z-index: -1; }
.hero-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--r); }
.hero-collage .c-main { grid-row: 1 / 3; object-position: center 62%; box-shadow: 0 24px 48px -28px rgba(58, 20, 28, .5); }
.hero-collage .c-side:nth-of-type(3) { object-position: center 70%; }
.hero-badge { position: absolute; left: -28px; bottom: 32px; background: var(--bianco); border-radius: var(--r); padding: 14px 20px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 18px 40px -18px rgba(58, 20, 28, .45); }
.hero-badge .stars { height: 11px; width: auto; margin-bottom: 4px; }
.hero-badge b { font: 500 1.25rem/1.1 var(--f-disp); color: var(--bordeaux); }
.hero-badge span { font-size: .85rem; color: var(--ink-2); }

.hero-strip { background: var(--bordeaux-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-strip li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 16px; font-size: .95rem; color: var(--ink-2); text-align: left; }
.hero-strip li + li { border-left: 1px solid var(--line); }
.hero-strip svg { width: 14px; height: 14px; fill: var(--oro); flex: none; }
.hero-strip b { color: var(--bordeaux); font-weight: 700; }

/* ---------- Intestazione pagine interne (più sobria della home) ---------- */
.page-hero { background: var(--bianco); color: var(--bordeaux); padding: clamp(40px, 5vw, 64px) 0 clamp(36px, 4.5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-hero .eyebrow { color: var(--oro-scuro); }
.page-hero .lead { color: var(--ink-2); }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4vw, 2.9rem); }

/* ---------- Servizi (pulizie, biancheria) ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.svc-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: var(--bianco); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(58, 20, 28, .45); color: var(--ink); }
.svc-card img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.svc-card > div { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.svc-card p { color: var(--ink-2); font-size: .97rem; }
.svc-more { font-weight: 700; font-size: .9rem; color: var(--bordeaux); margin-top: 4px; }
.svc-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.svc-row img { width: 100%; aspect-ratio: 4 / 5; max-height: 520px; object-fit: cover; border-radius: var(--r); box-shadow: 0 24px 48px -28px rgba(58, 20, 28, .45); }
.svc-row.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.svc-row.rev img { order: 2; }
.svc-text { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.svc-text ul { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.svc-text .btn { align-self: flex-start; }
.formula-note { margin-top: 20px; color: var(--ink-2); font-size: .97rem; }
.formula-note a { font-weight: 700; }

/* ---------- Formula unica (proprietari) ---------- */
.formula { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--bianco); border: 2px solid var(--bordeaux); border-radius: var(--r); overflow: hidden; }
.formula-head { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; background: var(--bordeaux); color: var(--avorio); }
.formula-head .plan-tag { background: var(--oro); color: var(--ink); }
.formula-head h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.formula-head .muted { color: rgba(248, 244, 241, .8); }
.formula-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 4px; }
.formula-price b { font: 500 1.3rem/1.2 var(--f-disp); color: var(--oro-chiaro); }
.formula-price span { font-size: .95rem; color: rgba(248, 244, 241, .8); }
.formula-list { padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr; gap: 14px; align-content: center; font-size: 1.02rem; }

/* ---------- Le nostre case ---------- */
.houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.house a { display: flex; flex-direction: column; height: 100%; background: var(--bianco); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.house a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(58, 20, 28, .45); color: var(--ink); }
.house img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.house-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.house-place { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oro-scuro); }
.house h3 { font-size: 1.3rem; }
.house-meta { font-size: .92rem; color: var(--ink-2); }
.house-add a { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--avorio); }
.house-add a:hover { color: var(--avorio); }
.house-add-inner { flex: 1; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 280px; }
.house-add .stars { height: 12px; width: auto; }
.house-add p { color: rgba(248, 244, 241, .78); font-size: .95rem; }
.house-add .btn { align-self: flex-start; margin-top: 6px; }
/* la scheda "La tua casa qui" riempie lo spazio rimasto nell'ultima riga */
.house-add:nth-child(3n+2) { grid-column: span 2; }
.house-add:nth-child(3n+1) { grid-column: 1 / -1; }
.house-add:nth-child(3n+2) h3, .house-add:nth-child(3n+1) h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.house-add:nth-child(3n+2) .house-add-inner, .house-add:nth-child(3n+1) .house-add-inner { padding: clamp(28px, 4vw, 48px); max-width: 560px; }

/* ---------- Contatto rapido "Affidati anche tu a noi" ---------- */
.affida { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.affida-text { display: flex; flex-direction: column; gap: 18px; }
.affida-text .stars { height: 14px; width: auto; }
.affida-text a { color: var(--oro-chiaro); }
.quick-form { background: var(--bianco); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.quick-form .btn { align-self: stretch; }
.opt { font-weight: 500; color: var(--ink-2); }

/* elenco con stellina */
.starlist li { position: relative; padding-left: 26px; }
.starlist li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px; background: var(--oro); clip-path: polygon(50% 4%, 61% 35%, 94% 36%, 68% 56%, 77% 87%, 50% 69%, 23% 87%, 32% 56%, 6% 36%, 39% 35%); }

/* ---------- Servizi ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--ink-2); font-size: .97rem; }
.service-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--bordeaux-soft); display: grid; place-items: center; margin-bottom: 6px; }
.service-icon svg { width: 18px; height: 18px; stroke: var(--bordeaux); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Passaggi (sequenza reale) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--oro); }
.step::before { counter-increment: step; content: counter(step); font: 500 2.4rem/1 var(--f-disp); color: var(--oro); }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; }
.sec-dark .step p, .sec-dark .step { color: rgba(248, 244, 241, .8); }
.sec-dark .step h3 { color: var(--avorio); }
.sec:not(.sec-dark) .step p { color: var(--ink-2); }

/* ---------- Formule ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { background: var(--bianco); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan.main { border: 2px solid var(--bordeaux); }
.plan-tag { align-self: flex-start; font: 700 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; background: var(--bordeaux); color: var(--oro-chiaro); padding: 6px 10px; border-radius: 3px; }
.plan .muted { font-size: .95rem; }
.plan ul { display: flex; flex-direction: column; gap: 8px; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 500 1.15rem/1.35 var(--f-disp); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--f-disp); color: var(--oro-scuro); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Fascia invito ---------- */
.cta-band { background: var(--bordeaux-deep); color: var(--avorio); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: rgba(248, 244, 241, .78); margin-top: 10px; }

/* ---------- Scheda appartamento ---------- */
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 12px; }
.facts div { padding: 14px 16px 14px 0; display: flex; flex-direction: column; gap: 2px; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { font: 500 1.35rem/1.1 var(--f-disp); color: var(--bordeaux); }
.facts span { font-size: .82rem; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(30, 10, 14, .92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(248, 244, 241, .12); color: var(--avorio); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.dist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dist span:last-child { font-weight: 700; color: var(--bordeaux); white-space: nowrap; }
.booking-box { background: var(--bianco); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-height: 620px; }
.codes { font-size: .85rem; color: var(--ink-2); }

/* ---------- Contatti e moduli ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: var(--bianco); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { font: 500 1rem var(--f-body); color: var(--ink); background: var(--avorio); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--oro); outline-offset: 0; border-color: var(--oro); }
.field textarea { min-height: 130px; resize: vertical; }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.switch legend { margin-bottom: 8px; }
.switch input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.switch label { display: block; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-weight: 700; color: var(--ink-2); background: var(--avorio); }
.switch input:checked + label { border-color: var(--bordeaux); background: var(--bordeaux); color: var(--avorio); }
.switch input:focus-visible + label { outline: 2px solid var(--oro); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--bordeaux); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 600; font-size: .95rem; padding: 12px 14px; border-radius: 6px; }
.form-msg.ok { background: #E3F0E8; color: var(--ok); }
.form-msg.err { background: #F6E2DC; color: var(--err); }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-card { border-top: 2px solid var(--oro); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.contact-card a { font-weight: 700; font-size: 1.05rem; }

/* ---------- Testi lunghi (privacy, cookie) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.5rem; margin-top: 16px; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Piè di pagina ---------- */
.site-footer { background: var(--bordeaux-deep); color: rgba(248, 244, 241, .78); padding: 64px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand p { max-width: 30ch; }
.footer-title { font: 700 .74rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--oro-chiaro); margin-bottom: 14px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: rgba(248, 244, 241, .85); text-decoration: none; }
.site-footer a:hover { color: var(--oro-chiaro); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

.cookie-bar { position: fixed; left: 20px; right: 90px; bottom: 20px; z-index: 70; max-width: 640px; background: var(--bianco); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(0, 0, 0, .16); padding: 16px 18px; display: flex; gap: 16px; align-items: center; font-size: .86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
    .service:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .facts div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bordeaux); border-bottom: 1px solid var(--line-dark); box-shadow: 0 16px 24px -16px rgba(58, 20, 28, .35); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
    .site-nav.open { display: flex; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
    .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--oro-chiaro); }
    .site-nav .btn { margin-top: 18px; }
    .hero-grid, .two-col, .contact-grid, .affida { grid-template-columns: 1fr; }
    .home-hero .hero-grid, .formula, .svc-row, .svc-cards { grid-template-columns: 1fr; }
    .svc-row.rev { grid-template-columns: 1fr; }
    .svc-row.rev img { order: 0; }
    .svc-row img { aspect-ratio: 4 / 3; }
    .hero-collage { height: clamp(300px, 70vw, 460px); }
    .hero-collage::before { inset: 28px -12px -16px 32px; }
    .hero-badge { left: 12px; bottom: 16px; }
    .plans { grid-template-columns: 1fr; }
    .steps.three { grid-template-columns: 1fr; gap: 28px; }
    .houses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .houses .house-add { grid-column: auto; }
    .houses .house-add:nth-child(2n+1) { grid-column: 1 / -1; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .services, .steps, .houses { grid-template-columns: 1fr; }
    .hero-strip ul { grid-template-columns: 1fr; }
    .svc-card { grid-template-columns: 120px minmax(0, 1fr); }
    .svc-card img { min-height: 160px; }
    .svc-card > div { padding: 18px; }
    .hero-strip li { justify-content: flex-start; padding: 14px 0; }
    .hero-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
    .hero-collage { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
    .houses .house-add, .houses .house-add:nth-child(2n+1) { grid-column: 1 / -1; }
    .service:nth-child(2n) { padding-left: 0; border-left: 0; }
    .service { padding-right: 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr 1fr; }
    .facts div, .facts div + div { padding-left: 0; border-left: 0; }
    .cookie-bar { right: 20px; flex-direction: column; align-items: flex-start; bottom: 88px; }
}
