/* ==========================================================================
   BRUSCO ASSICURAZIONI — SOLO HOMEPAGE
   Sezioni che esistono solo in home. Il resto è in site.css.
   ========================================================================== */

/* ─── Fascia credenziali ───────────────────────────────────────────────── */
.trust { background: var(--ink); color: #dbe4fb; border-top: 1px solid rgba(255, 255, 255, .08); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { padding: 1.35rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; border-left: 1px solid rgba(255, 255, 255, .08); }
.trust li:first-child { border-left: 0; }
.trust b { color: #fff; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.trust span { font-size: .88rem; color: #aebbe0; }
@media (max-width: 860px) {
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}


/* ─── Come funziona ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; list-style: none; }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -1.1rem; left: 1.5rem;
  width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--violet)); box-shadow: 0 10px 20px -10px rgba(52, 70, 196, .9);
}
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ─── Chi siamo ────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.2rem; }
.about p { font-size: 1.06rem; line-height: 1.75; color: var(--muted); }
.about p + p { margin-top: 1rem; }
.about p strong { color: var(--head); font-weight: 600; }
.creds { display: grid; gap: .9rem; }
.cred { padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); }
.cred b { display: block; color: var(--head); font-size: 1.02rem; margin-bottom: .15rem; }
.cred span { display: block; font-size: .92rem; color: var(--muted); }
.cred a { font-size: .88rem; font-weight: 500; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ─── Zona servita ─────────────────────────────────────────────────────── */
.zone { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.zone-map { border-radius: var(--radius); background: radial-gradient(ellipse at 50% 40%, #fff, #eef0ff 75%); border: 1px solid var(--line); padding: 1rem; }
.zone-map svg { width: 100%; height: auto; }
.zone-map .ln { stroke: #c3cbe8; stroke-width: 1.2; stroke-dasharray: 3 5; }
.zone-map .nd { fill: #fff; stroke: var(--brand-600); stroke-width: 2; transition: r .2s; }
.zone-map .lbl { font: 500 16px var(--font); fill: #47536f; }
.zone-map .core { fill: var(--brand); }
.zone-map .halo { fill: rgba(52, 70, 196, .16); transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
.zone-map .core-lbl { font: 700 19px var(--font); fill: var(--head); }
@keyframes halo { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.zone-cap { font-size: .78rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.towns { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; }
.towns li {
  padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; color: var(--head);
}
.towns li.home { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.zone-text { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.05rem; }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .zone-map .lbl { display: none; } }


/* ─── Contatti ─────────────────────────────────────────────────────────── */
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #dbe4fb; }
.contact::before {
  content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -25vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(52, 70, 196, .6), transparent);
}
.contact .sec-head h2 { color: #fff; }
.contact .sec-head p { color: #b9c7ea; }
.contact .eyebrow { color: #7dd3fc; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.panel { border-radius: var(--radius); padding: 1.7rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.facts { display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }
.fact { display: block; }
.fact-ico { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #7dd3fc; }
.fact dt { display: flex; align-items: center; gap: .9rem; margin-bottom: .4rem; font-size: .82rem; color: #9fb0d9; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.fact dd { color: #fff; font-size: 1.05rem; font-style: normal; padding-left: 3.5rem; }
.fact dd a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; margin-top: .3rem; }
.hours td { padding: .38rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #dbe4fb; }
.hours td:last-child { text-align: right; color: #fff; }
.hours tr.today td { color: #fff; font-weight: 600; }
.hours tr.today td:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: .5rem; vertical-align: middle; }
.hours tr.off td:last-child { color: #9fb0d9; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.review { margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; color: #dbe4fb; }
.review a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }
.map-placeholder {
  min-height: 420px; padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(52, 70, 196, .35), transparent 55%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px;
}
.map-placeholder p { color: #b9c7ea; font-size: .92rem; max-width: 40ch; }
.map-placeholder a { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map-placeholder { min-height: 300px; } }

