/* Self-hosted fonts (latin subsets): Inter variable + Poppins 500/600/700 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/inter-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Centro Servizi 2.0 — "Digital Professional" redesign (2026 brief).
   Navy + teal, Poppins headings / Inter body, soft rounded cards. */
:root {
  --navy: #102c45;
  --navy-2: #0b2033;
  --teal: #138f91;        /* accents, icons, eyebrows on light */
  --teal-ink: #0b7476;    /* buttons + links: 5.2:1 with white (AA) */
  --teal-hover: #095f61;
  --teal-soft: #e3f3f2;
  --bg: #f4f8fa;
  --text: #19344b;
  --muted: #566a7d;
  --line: #dde6ed;
  --white: #fff;
  --head: Poppins, "Segoe UI", sans-serif;
  --body: Inter, "Segoe UI", Helvetica, sans-serif;
  --r-lg: 18px;
  --r: 12px;
  --shadow: 0 1px 2px rgba(16, 44, 69, .05), 0 8px 24px rgba(16, 44, 69, .06);
  --shadow-hover: 0 2px 4px rgba(16, 44, 69, .06), 0 16px 36px rgba(16, 44, 69, .12);
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--teal-hover); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); width: 100%; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 12px 16px; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .dot { stroke-width: 2.4; }

/* ---------- Type helpers ---------- */
.eyebrow { font: 600 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px; }
.h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.h3 { font-size: 20px; font-weight: 600; }
.sub { color: var(--muted); font-size: 17px; margin-top: 8px; max-width: 640px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text); max-width: 600px; }
.big { font-size: 19px; line-height: 1.55; color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--teal-ink); }
.link .arr { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link:hover .arr { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font: 600 15px/1.2 var(--body); cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn .ico { width: 18px; height: 18px; }
.btn-teal { background: var(--teal-ink); color: #fff; }
.btn-teal:hover { background: var(--teal-hover); color: #fff; box-shadow: 0 6px 18px rgba(11, 116, 118, .28); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns.center { justify-content: center; }

/* ---------- Tiles (icon squares) ---------- */
.tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--teal-ink); color: #fff; flex: none; }
.tile .ico { width: 24px; height: 24px; }
.tile.navy { background: var(--navy); }
.tile.soft { background: var(--teal-soft); color: var(--teal-ink); }
.tile.lg { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px; }
.tile.lg .ico { width: 30px; height: 30px; }
.tile.sm { width: 32px; height: 32px; border-radius: 9px; }
.tile.sm .ico { width: 18px; height: 18px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: #d6e2ec; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #9fdedd; }
.topbar .ico { width: 16px; height: 16px; }
.topbar .fb { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--navy); }
.brand:hover { color: var(--navy); }
.logo-mark { width: 37px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 19px/1.1 var(--head); color: var(--navy); letter-spacing: -.01em; }
.brand-name b { color: var(--teal); font-weight: 700; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: stretch; gap: 20px; align-self: stretch; }
.hdr.wrap, .topbar-in.wrap { max-width: 1340px; }
.nav > a { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--text); position: relative; }
.nav > a:hover { color: var(--teal-ink); }
.nav > a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--teal); border-radius: 2px; }
.nav .chev { width: 16px; height: 16px; transition: transform .2s ease; }
.site-header.is-open .nav .chev { transform: rotate(180deg); }
.hdr-cta { min-height: 44px; padding: 10px 20px; font-size: 14px; white-space: nowrap; }
.brand-sub { white-space: nowrap; }

.drop {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16, 44, 69, .1);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
}
.site-header.is-open .drop { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s; }
.drop-in { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 18px; }
.drop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drop-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r); color: var(--text); }
.drop-item:hover { background: var(--bg); color: var(--text); }
.drop-item .tile { width: 40px; height: 40px; border-radius: 10px; }
.drop-item .tile .ico { width: 20px; height: 20px; }
.drop-item b { display: block; font: 600 15px/1.3 var(--head); color: var(--navy); }
.drop-item small { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; }

.menu-btn { display: none; }
.mnav[hidden] { display: none; }
@media (max-width: 1199px) {
  .nav, .hdr-cta, .drop { display: none; }
  .hdr { min-height: 66px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-right: -10px; padding: 0 11px; background: none; border: 0; cursor: pointer; color: var(--navy); }
  .menu-btn span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mnav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 66px); height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-top: 1px solid var(--line); animation: mnav-in 220ms var(--ease); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .topbar .tagline { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-links { gap: 16px; }
  .topbar .fb { display: none; }
  .brand-sub { font-size: 9px; }
  .brand-name { font-size: 17px; }
  .logo-mark { width: 31px; height: 30px; }
}
@media (max-width: 420px) { .topbar a.mail-l { display: none; } }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mnav-in { padding-top: 8px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
.mnav-links { list-style: none; margin: 0; padding: 0; }
.mnav-links > li { border-bottom: 1px solid var(--line); }
.mnav-links > li > a, .mnav-svc > summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font: 600 19px/1.2 var(--head); color: var(--navy); cursor: pointer; list-style: none; }
.mnav-svc > summary::-webkit-details-marker { display: none; }
.mnav-links a[aria-current="page"], .mnav-svc > summary[aria-current="page"] { color: var(--teal-ink); }
.mnav-cats { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mnav-cats a { display: flex; align-items: center; gap: 12px; min-height: 46px; font-weight: 500; color: var(--text); }
.mnav-cta { display: flex; flex-direction: column; gap: 10px; }
.pm { position: relative; width: 14px; height: 14px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--teal-ink); border-radius: 2px; transition: transform .2s ease; }
.pm::after { transform: rotate(90deg); }
[open] > summary .pm::after, [aria-expanded="true"] .pm::after { transform: rotate(0deg); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec.pt0 { padding-top: 0; }
.sec.tint { background: var(--bg); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 36px; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(244, 248, 250, .85) 18%, rgba(244, 248, 250, 0) 48%); z-index: 1; }
.float-card { position: absolute; z-index: 2; right: clamp(20px, 4vw, 56px); bottom: 150px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-hover); padding: 18px 22px 20px; display: flex; flex-direction: column; font: 600 17px/1.3 var(--head); color: var(--navy); }
.float-card b { color: var(--teal-ink); font-weight: 600; }
.float-card::after { content: ""; width: 44px; height: 3px; border-radius: 3px; background: var(--teal); margin-top: 12px; }
.hero-in { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 104px); padding-bottom: 36px; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.trust { list-style: none; margin: 56px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(16, 44, 69, .1); display: flex; flex-wrap: wrap; gap: 14px 36px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.trust .ico { width: 22px; height: 22px; color: var(--navy); }
@media (max-width: 900px) {
  .hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; order: 2; }
  .hero { display: flex; flex-direction: column; }
  .hero-in { order: 1; padding-bottom: 28px; }
  .hero-photo::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(244, 248, 250, 0) 22%); }
  .float-card { bottom: 20px; right: 20px; font-size: 15px; padding: 14px 18px 16px; }
  .trust { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust li { flex-direction: column; text-align: center; font-size: 13px; gap: 6px; }
}

/* ---------- Category cards ---------- */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.ccard { position: relative; display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s var(--ease), border-color .25s ease; min-height: 210px; }
.ccard:hover { color: var(--text); box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #c9d8e3; }
.ccard-body { flex: 1 1 58%; display: flex; flex-direction: column; gap: 8px; padding: 24px; min-width: 0; }
.ccard-body .tile { margin-bottom: 8px; }
.ccard-t { font: 600 18px/1.25 var(--head); color: var(--navy); }
.ccard-d { font-size: 14.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.ccard .link { margin-top: 6px; }
.ccard-photo { flex: 0 0 38%; position: relative; }
.ccard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ccard:hover .ccard-photo img { transform: scale(1.04); }
.ccard-go { display: none; }
.ccards.compact .ccard { min-height: 0; }
@media (max-width: 760px) {
  .ccards { gap: 12px; }
  .ccard { min-height: 0; align-items: center; }
  .ccard-photo { display: none; }
  .ccard-body { padding: 16px; display: grid; grid-template-columns: 48px 1fr; gap: 2px 14px; align-items: center; }
  .ccard-body .tile { grid-row: span 2; margin: 0; }
  .ccard-t { font-size: 16px; }
  .ccard-d { font-size: 13.5px; }
  .ccard .link { display: none; }
  .ccard-go { display: flex; padding-right: 14px; color: var(--muted); }
  .ccard-go .ico { transform: rotate(-90deg); }
}

/* ---------- Needs (featured services) ---------- */
.needs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; margin-top: 28px; }
.need { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--navy); font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; }
.need:hover { border-color: var(--teal); color: var(--navy); box-shadow: var(--shadow); }
.need .tile { width: 40px; height: 40px; border-radius: 10px; }
.need .tile .ico { width: 20px; height: 20px; }
.need span:not(.tile) { flex: 1; line-height: 1.35; }
.need .arr { color: var(--teal-ink); transition: transform .2s var(--ease); }
.need:hover .arr { transform: translateX(3px); }

/* ---------- Why + sedi ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.whys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.whys.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.why .tile { width: 44px; height: 44px; margin-bottom: 14px; }
.why h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.why p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.sedi-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; padding: 24px; }
.sedi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sedi-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 44, 69, 0) 30%, rgba(16, 44, 69, .55) 100%); z-index: 1; }
.sedi-box { position: relative; z-index: 2; background: #fff; border-radius: 16px; padding: 22px; box-shadow: var(--shadow-hover); width: 100%; max-width: 360px; }
.sedi-box h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.sedi-box h3 .ico { color: var(--teal); }
.sedi-box ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sedi-box li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.sedi-box li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--navy); }
.sedi-box li b { display: block; color: var(--navy); font-weight: 600; font-size: 15px; }
.sedi-box .btn { width: 100%; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } .sedi-card { min-height: 380px; } }
@media (max-width: 560px) { .whys { grid-template-columns: 1fr 1fr; gap: 10px; } .why { padding: 16px; } .why p { font-size: 13.5px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.tint .step { box-shadow: var(--shadow); }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 15px/1 var(--head); margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.review { margin: 0; background: var(--bg); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--teal); }
.review .q { font: 700 64px/.6 var(--head); color: var(--teal); height: 24px; }
.review blockquote { margin: 0; font: 500 clamp(19px, 1.8vw, 24px)/1.4 var(--head); color: var(--navy); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.review .g { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--navy); }

/* ---------- Contact band + form ---------- */
.cband { position: relative; background: var(--navy); color: #d6e2ec; overflow: hidden; scroll-margin-top: 80px; }
.cband-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.cband-photo { position: relative; margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.cband-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cband .eyebrow { color: #7fd3d1; }
.cband h2 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; margin-bottom: 14px; }
.cband-copy > p { font-size: 16.5px; }
.cband-links { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.cband-links a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; align-self: flex-start; }
.cband-links .tile { background: rgba(255, 255, 255, .1); color: #7fd3d1; }
.cband-links a:hover { color: #9fdedd; }
.cband-links .ico { color: #7fd3d1; }

@media (max-width: 860px) { .cband-in { grid-template-columns: 1fr; gap: 28px; } .cband-photo { display: none; } }
.form-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.form-card h3 { font-size: 21px; margin-bottom: 4px; }
.form-intro { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form[hidden] { display: none; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); min-width: 0; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid #cfdbe4; border-radius: 10px; padding: 12px 14px; font-size: 16px; font-weight: 400; background: #fff; color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23102c45' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19, 143, 145, .18); }
.field.invalid input, .field.invalid textarea { border-color: #c62828; }
.err { font-size: 13px; font-weight: 500; color: #c62828; }
.choice { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.choice legend { padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); width: 100%; }
.choice label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #cfdbe4; border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: 14px; color: var(--text); cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--navy); }
.choice input { accent-color: var(--teal-ink); margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); flex-wrap: wrap; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal-ink); flex: none; }
.check span { flex: 1 1 200px; }
.check a { text-decoration: underline; }
.check .err { flex-basis: 100%; }
.check.invalid input { outline: 2px solid #c62828; outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; }
.sent[hidden] { display: none; }
.sent-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); align-items: center; justify-content: center; }
.sent-ic .ico { width: 26px; height: 26px; stroke-width: 2.2; }
.sent-t { font: 600 22px/1.2 var(--head); color: var(--navy); }
.sent .btn { margin-top: 8px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Page hero ---------- */
.phero { background: var(--bg); padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); }
.phero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 14px; }
.phero .lead { color: var(--muted); }
.phero.has-photo { margin-bottom: 0; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.phero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-hover); }
.phero-photo img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-ink); }
.crumbs [aria-current] { color: var(--navy); font-weight: 500; }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; } .phero-photo { aspect-ratio: 16 / 10; } }

/* ---------- Tabs (anchor nav) ---------- */
.tabs { position: sticky; top: 77px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.tabs-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text); border: 1px solid var(--line); }
.tabs a:hover { border-color: var(--teal); color: var(--teal-ink); }
@media (max-width: 1199px) { .tabs { top: 67px; } }

/* ---------- Service cards (category page) ---------- */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 28px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s var(--ease); }
.scard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.scard .tile { margin-bottom: 4px; }
.scard h3 { font-size: 17px; font-weight: 600; }
.scard h3 a { color: var(--navy); }
.scard h3 a:hover { color: var(--teal-ink); }
.scard p { font-size: 14.5px; color: var(--muted); flex: 1; }
.scard-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.scard .ask { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.scard .ask:hover { color: var(--teal-ink); }
.scard.help { background: var(--navy); border-color: var(--navy); color: #d6e2ec; }
.scard.help h3 { color: #fff; }
.scard.help p { color: #c3d3e0; }
.scard.help .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq-item h3 { font: inherit; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; font: 600 16px/1.4 var(--head); color: var(--navy); }
.faq-item button:hover { color: var(--teal-ink); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { color: var(--muted); font-size: 15px; }

/* ---------- Service detail ---------- */
.facts-wrap { background: var(--bg); padding-bottom: 32px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.facts > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; }
.facts .ico { grid-row: span 2; color: var(--teal); margin-top: 2px; }
.facts dt { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; color: var(--navy); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.intro { display: flex; flex-direction: column; gap: 14px; }
.intro p { font-size: 18px; line-height: 1.65; color: var(--navy); }
.dblock { scroll-margin-top: 150px; display: flex; flex-direction: column; gap: 14px; }
.dblock h2 { font-size: 22px; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--teal-soft); }
.dblock > p { color: var(--text); }
.items { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.items > div { background: var(--bg); border-radius: var(--r); padding: 18px; }
.items dt { font: 600 16px/1.3 var(--head); color: var(--navy); margin-bottom: 6px; }
.items dd { margin: 0; font-size: 14.5px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px 24px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; padding: 6px 0; }
.ticks .ico { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; stroke-width: 2.2; }
.kv { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kv > div { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 4px 24px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv > div:nth-child(odd) { background: var(--bg); }
.kv dt { font-weight: 600; color: var(--navy); }
.kv dd { margin: 0; color: var(--text); font-size: 15px; }
@media (max-width: 560px) { .kv > div { grid-template-columns: 1fr; } }
.hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.hl-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--r); padding: 18px; color: var(--text); }
.hl-card b { font-family: var(--head); color: var(--navy); }
.hl-card span { font-size: 14.5px; color: var(--muted); }
.hl-card:hover { border-color: var(--teal); color: var(--text); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.docs li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.docs .ico { color: var(--teal-ink); margin-top: 1px; }
.note { font-size: 13.5px; color: var(--muted); }
.detail-aside { position: sticky; top: 110px; }
.aside-card { background: var(--navy); color: #c3d3e0; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.aside-card h2 { color: #fff; font-size: 20px; line-height: 1.3; }
.aside-card p { font-size: 14.5px; }
.aside-card .btn { width: 100%; }
.aside-card ul { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.aside-card li a { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); color: #fff; font-size: 14.5px; }
.aside-card li a span { flex: 1; color: #c3d3e0; }
.aside-card li a:hover b { color: #9fdedd; }
.aside-card .ico { color: #7fd3d1; width: 18px; height: 18px; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } .detail-aside { position: static; } }
.rcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 28px; }
.rcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: box-shadow .25s ease, transform .25s var(--ease); }
.rcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); color: var(--text); }
.rcard-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.rcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.rcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.rcard-body small { font-size: 12.5px; font-weight: 600; color: var(--teal-ink); text-transform: uppercase; letter-spacing: .06em; }
.rcard-body b { font: 600 18px/1.3 var(--head); color: var(--navy); margin-bottom: 6px; }

/* ---------- Servizi finder ---------- */
.finder { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid #cfdbe4; border-radius: 999px; padding: 0 20px; max-width: 640px; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19, 143, 145, .18); }
.search .ico { color: var(--muted); }
.search input { flex: 1; border: 0; outline: none; padding: 14px 0; font-size: 16px; background: transparent; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid #cfdbe4; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text); min-height: 40px; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.results li[hidden] { display: none; }
.result { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; color: var(--text); height: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.result:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--text); }
.r-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r-txt b { font: 600 16px/1.3 var(--head); color: var(--navy); }
.r-txt span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.r-txt small { font-size: 12px; font-weight: 600; color: var(--teal-ink); margin-top: 4px; }
.result .arr { color: var(--teal-ink); }
.empty { color: var(--muted); }

/* ---------- Per le imprese ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; margin-top: 28px; }
.path { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.path .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font: 600 15px/1 var(--head); margin-bottom: 14px; }
.path h3 { font-size: 18px; margin-bottom: 4px; }
.path > p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.path ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.path li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--navy); }
.path li a:hover { color: var(--teal-ink); }
.path li .arr { width: 16px; height: 16px; color: var(--teal-ink); }

/* ---------- Novità ---------- */
.soon { text-align: center; background: var(--bg); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px) 24px; max-width: 760px; margin: 0 auto; }
.soon .tile { margin: 0 auto 18px; }
.soon h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.soon p { color: var(--muted); max-width: 520px; margin: 0 auto; }

/* ---------- Sedi ---------- */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.office-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.office-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--teal-ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.office-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.office-body h2, .office-body h3 { font-size: 21px; }
.addr { display: flex; gap: 8px; color: var(--text); }
.addr .ico { color: var(--teal); margin-top: 2px; }
.office-lines { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.office-lines li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.office-lines .ico { color: var(--muted); width: 18px; height: 18px; }
.office-lines a { font-weight: 600; overflow-wrap: anywhere; }
.office-lines small { color: var(--muted); }
.office-body .btn { align-self: flex-start; }
.map { position: relative; aspect-ratio: 16 / 9; background: #e6edf2; margin-top: auto; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 40px; align-items: start; scroll-margin-top: 100px; }
.contact-grid .form-card { box-shadow: var(--shadow-hover); border: 1px solid var(--line); }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.mini-office { display: flex; gap: 16px; background: var(--bg); border-radius: var(--r-lg); padding: 14px; }
.mini-photo { width: 112px; height: 96px; flex: none; border-radius: 12px; overflow: hidden; }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-office > div:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.mini-office b { font-family: var(--head); color: var(--navy); font-size: 16px; }
.mini-office span { color: var(--muted); }
.mini-office a:not(.link) { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mini-office a .ico { width: 16px; height: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .form-card { order: -1; } }
@media (max-width: 420px) { .mini-photo { width: 80px; height: 80px; } }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.channel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 20px; color: var(--text); box-shadow: var(--shadow); }
.channel:hover { color: var(--text); box-shadow: var(--shadow-hover); }
.channel .tile { margin-bottom: 6px; }
.channel b { font: 600 17px/1.3 var(--head); color: var(--navy); }
.channel span:last-child { color: var(--teal-ink); font-weight: 600; overflow-wrap: anywhere; }
.legal-lines { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.legal-lines b { color: var(--navy); font-weight: 600; }

/* ---------- Chi siamo ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.about-grid .btns { margin-top: 8px; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-hover); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 48px; align-items: start; }
.legal aside { position: sticky; top: 110px; }
.legal aside nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.legal aside a { padding: 8px 16px; font-size: 14px; color: var(--muted); }
.legal aside a:hover { color: var(--teal-ink); }
.legal article { display: flex; flex-direction: column; gap: 28px; }
.legal section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 110px; }
.legal h2 { font-size: 20px; font-weight: 600; }
.legal ul { margin: 0; padding-left: 20px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal aside { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #b9c8d6; font-size: 14.5px; }
.ftr { padding-top: 64px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 40px; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 36px; }
.ftr a { color: #fff; }
.ftr a:hover { color: #9fdedd; }
.ftr-co { display: flex; flex-direction: column; gap: 18px; }
.ftr-co p { line-height: 1.7; }
.ftr-brand { display: flex; align-items: center; gap: 12px; }
.ftr-mark { background: #fff; border-radius: 12px; padding: 9px; display: inline-flex; }
.brand-text.on-dark .brand-name { color: #fff; }
.brand-text.on-dark .brand-name b { color: #5fcac7; }
.brand-text.on-dark .brand-sub { color: #8fa4b7; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-h { font: 600 14px/1.3 var(--head); color: #fff; margin-bottom: 6px; }
.ftr-office { display: flex; flex-direction: column; margin-bottom: 8px; }
.ftr-office b { color: #fff; font-weight: 600; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.ftr-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr-bottom a { color: #b9c8d6; }
@media (max-width: 900px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-co { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp button, every page ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(11, 32, 51, .28); transition: transform .25s var(--ease), box-shadow .25s ease, opacity .25s ease; }
.wa-fab:hover { color: #fff; transform: scale(1.07); box-shadow: 0 10px 28px rgba(11, 32, 51, .34); }
.wa-fab:focus-visible { outline-color: var(--navy); }
html.menu-open .wa-fab { display: none; }
@media (max-width: 760px) { .wa-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; } }
@media print { .wa-fab { display: none; } }

/* ---------- Motion ---------- */
@keyframes cs-shimmer { 0% { background-position: -480px 0; } 100% { background-position: 480px 0; } }
.shimmer { background-color: #e8eef3; background-image: linear-gradient(90deg, #e8eef3 0, #f5f8fa 160px, #e8eef3 320px); background-size: 960px 100%; animation: cs-shimmer 1.4s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 760px) { .brand { min-width: 0; } }
/* Photo frames: the frame sets the size, the image never does (portrait photos stay contained). */
.phero-photo, .about-photo, .rcard-photo, .mini-photo { position: relative; overflow: hidden; }
.hero-photo { overflow: hidden; }
.phero-photo img, .about-photo img, .rcard-photo img, .hero-photo img, .mini-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Grids that follow a bare heading need their own breathing room. */
.h2 + .ccards, .sub + .ccards, .ccards.compact { margin-top: 28px; }

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  .topbar a { min-height: 40px; }
  .sec { padding-block: 52px; }
  .sec-head { margin-bottom: 24px; }
  .phero { padding-bottom: 32px; margin-bottom: 36px; }
  .phero.has-photo { margin-bottom: 0; }
  .phero h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .tile.lg { width: 52px; height: 52px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .float-card { display: none; }
  /* facts: one compact card instead of three tall boxes */
  .facts { gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .facts > div { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .facts > div:last-child { border-bottom: 0; }
  /* footer: brand full width, Pagine + Sedi side by side, Servizi full width */
  .ftr { padding-top: 48px; gap: 32px; }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ftr-co { grid-column: 1 / -1; }
  .ftr-top > :nth-child(3) { grid-column: 1 / -1; order: 3; }
  .ftr-col { gap: 2px; }
  .ftr-col a { padding: 7px 0; }
  .ftr-office a { padding: 4px 0; }
  .ftr-bottom { flex-direction: column; }
  .ftr-bottom nav a { padding: 6px 0; }
}
@media (max-width: 560px) {
  .btns .btn { flex: 1 1 100%; }
  .whys, .whys.four { grid-template-columns: 1fr; gap: 10px; }
  .why { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px; align-items: start; }
  .why .tile { grid-row: span 2; margin: 0; }
  .why h3 { margin: 0; align-self: end; }
  .choice label { flex: 1 1 0; justify-content: center; padding: 10px 6px; min-height: 44px; }
  .scard-links .ask, .scard-links .link { min-height: 40px; display: inline-flex; align-items: center; }
  .form-card { padding: 20px 16px; }
  .cband h2 { font-size: 26px; }
  .steps { gap: 12px; }
  .step { padding: 18px; display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; }
  .step .num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 0; align-self: center; }
  .mini-office a:not(.link) { min-height: 36px; }
  .office-lines a { display: inline-flex; min-height: 36px; align-items: center; }
}
@media (max-width: 900px) {
  .sedi-card { min-height: 0; padding: 0; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .sedi-card::before { display: none; }
  .sedi-bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; object-position: center 35%; }
  .sedi-box { max-width: none; box-shadow: none; border-radius: 0; }
}
/* Click-to-load map: no Google requests or cookies until the visitor asks for it. */
.map-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; color: var(--navy);
  background: repeating-linear-gradient(45deg, #e9f0f4 0 14px, #e3ebf0 14px 28px); }
.map-load:hover { color: var(--navy); }
.map-load .tile { margin-bottom: 4px; transition: transform .2s var(--ease); }
.map-load:hover .tile { transform: translateY(-2px); }
.map-load b { font: 600 15px/1.3 var(--head); }
.map-load small { font-size: 12.5px; color: var(--muted); max-width: 260px; }
.topbar a { min-height: 40px; }
.topbar .fb { padding-inline: 12px 4px; }
/* The help card is a full-width banner under the service cards (no orphan tile on uneven rows). */
.scards .help { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t b" "p b"; align-items: center; gap: 4px 32px; padding: 26px 30px; }
.scards .help h3 { grid-area: t; font-size: 20px; }
.scards .help p { grid-area: p; flex: none; }
.scards .help .btn { grid-area: b; align-self: center; }
@media (max-width: 640px) { .scards .help { grid-template-columns: 1fr; grid-template-areas: "t" "p" "b"; gap: 8px; padding: 22px; } .scards .help .btn { margin-top: 8px; width: 100%; } }

/* ---------- Home: Chi siamo teaser ---------- */
.teaser { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.teaser-photos { position: relative; padding: 0 9% 12% 0; }
.teaser-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.teaser-inset { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-hover); }
.teaser-main img, .teaser-inset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-badge { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 10px 16px 10px 12px; box-shadow: var(--shadow-hover); font-size: 14px; color: var(--muted); }
.teaser-badge .ico { color: var(--teal); }
.teaser-badge b { color: var(--navy); font-family: var(--head); }
.teaser-copy { display: flex; flex-direction: column; gap: 16px; }
.teaser-copy .h2 { margin-bottom: 2px; }
.teaser-copy .ticks { grid-template-columns: 1fr; gap: 4px; }
.teaser-copy .btns { margin-top: 8px; }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; } .teaser-photos { order: 2; } }

/* ---------- Home: how it works with photo ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.how-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps.stack { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.steps.stack .step { display: grid; grid-template-columns: 40px 1fr; gap: 2px 16px; padding: 20px 22px; box-shadow: var(--shadow); }
.steps.stack .num { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
.steps.stack h3 { margin: 0; align-self: end; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .how-photo { aspect-ratio: 16 / 10; } }

/* ---------- Home: photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 260px)); gap: 16px; }
.mosaic-item { position: relative; border-radius: var(--r-lg); overflow: hidden; color: var(--navy); box-shadow: var(--shadow); }
.mosaic-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-item .cap { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px rgba(16, 44, 69, .18); }
.mosaic-item .cap .arr { width: 16px; height: 16px; color: var(--teal-ink); transition: transform .2s var(--ease); }
.mosaic-item:hover { color: var(--navy); }
.mosaic-item:hover .cap .arr { transform: translateX(3px); }
.mosaic .m1 { grid-row: span 2; }
.mosaic .m4 { grid-column: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .mosaic .m1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .mosaic .m2, .mosaic .m3 { aspect-ratio: 1 / 1; }
  .mosaic .m4 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .mosaic-item .cap { left: 10px; bottom: 10px; font-size: 13px; padding: 7px 11px; }
  .teaser-badge { left: 12px; top: 12px; }
}

/* ---------- Contact-channel choice: segmented pills with a custom radio ----------
   (.field input rules must not reach these radios — iOS rendered them as stretched circles) */
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice legend { grid-column: 1 / -1; }
.choice label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 10px; border: 1.5px solid #cfdbe4; border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.choice label:hover { border-color: var(--teal); }
.field.choice input[type="radio"] {
  -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; min-width: 0; margin: 0; padding: 0;
  border: 2px solid #9fb2c1; border-radius: 50%; background: #fff; box-shadow: none; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field.choice input[type="radio"]:checked { border-color: var(--teal-ink); box-shadow: inset 0 0 0 3px #fff; background: var(--teal-ink); }
.field.choice input[type="radio"]:focus { box-shadow: none; }
.field.choice input[type="radio"]:checked:focus { box-shadow: inset 0 0 0 3px #fff; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice label:has(input:checked) { border-color: var(--teal-ink); background: var(--teal-soft); color: var(--navy); font-weight: 600; }
@media (max-width: 380px) { .choice { gap: 6px; } .choice label { font-size: 13.5px; padding: 8px 6px; gap: 6px; } .field.choice input[type="radio"] { width: 16px; height: 16px; } }
.choice label:has(input:checked) { font-weight: 500; }
@media (max-width: 420px) { .choice label { font-size: 14px; padding: 8px 6px; gap: 7px; } }
@media (max-width: 420px) {
  .choice label { position: relative; padding: 8px 4px; }
  .field.choice input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .choice label:has(input:checked) { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
}

/* ---------- Responsive audit fixes ---------- */
/* Long slash-joined words ("Colf/badanti/babysitter") must wrap instead of widening the page. */
h1, h2, h3, .ccard-t, .r-txt b, .rcard-body b, .aside-card h2, .crumbs { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .phero-grid, .teaser, .how, .trust-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .cband-in { grid-template-columns: minmax(0, 1fr); } }
.facts dd a { display: inline-block; padding: 3px 0; }
.check input { width: 22px; height: 22px; margin-top: -1px; }
.brand-sub { font-size: 11px; }
@media (max-width: 760px) { .brand-sub { font-size: 10px; } }
/* Tablet: hero photo a little shorter, footer in two columns so addresses don't break */
@media (min-width: 761px) and (max-width: 900px) { .hero-photo { aspect-ratio: 16 / 9; } }
@media (max-width: 1100px) {
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .ftr-co { grid-column: 1 / -1; }
}
@media (min-width: 761px) and (max-width: 1100px) { .ftr-top { grid-template-columns: repeat(3, 1fr); } }
/* One container width for header and content so the logo and page content line up. */
.wrap, .hdr.wrap, .topbar-in.wrap { max-width: 1320px; }
/* Trust row sits on a frosted panel on desktop so it stays readable where it meets the photo. */
@media (min-width: 901px) {
  .trust { display: inline-flex; max-width: 100%; margin-top: 44px; padding: 14px 22px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(16, 44, 69, .08); gap: 12px 28px; }
}
@media (min-width: 901px) and (max-width: 1240px) { .trust { display: grid; grid-template-columns: repeat(2, auto); max-width: 620px; } }
@media (max-width: 400px) { .topbar a.mail-l { display: none; } }
@media (min-width: 561px) and (max-width: 1000px) { .steps:not(.three):not(.stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Mobile menu: pinned from the header's real bottom edge to the bottom of the screen. */
@media (max-width: 1199px) {
  /* the header has backdrop-filter, which makes it the containing block for fixed children, so stay absolute */
  .mnav { position: absolute; top: 100%; bottom: auto; height: calc(100vh - var(--mnav-top, 66px)); height: calc(100dvh - var(--mnav-top, 66px)); }
}

/* ---------- Tiara: form error line (server-side checks) ---------- */
.tiara-form-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #a3191e; font-size: 14px; font-weight: 500; }
.tiara-hp { display: none !important; }

/* ---------- Novità e guide: list ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s var(--ease); }
.post:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-photo { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; }
.post-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post-meta { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-ink); }
.post h2 { font-size: 19px; line-height: 1.3; }
.post h2 a { color: var(--navy); }
.post h2 a:hover { color: var(--teal-ink); }
.post-body > p:not(.post-meta) { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- Article page + rich text ---------- */
.article-head { max-width: 860px; }
.article-head .post-meta { margin-bottom: 10px; }
.article-body { max-width: 860px; padding-bottom: clamp(56px, 7vw, 96px); }
.article-photo { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-hover); }
.article-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 23px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 6px 0 6px 18px; border-left: 4px solid var(--teal); color: var(--navy); }
.legal-text { max-width: 780px; }
.legal-text > p:first-child { font-size: 19px; color: var(--navy); }
.article-back { margin-top: 40px; }
.ico.back { transform: rotate(180deg); }

/* ---------- Cookie consent banner (built by site.js; no inline styles) ---------- */
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 22px 22px 18px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 2px 6px rgba(16, 45, 64, .08), 0 22px 48px rgba(16, 45, 64, .22); animation: cc-in .35s var(--ease); }
.cc[hidden] { display: none; }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }
.cc-t { font: 600 18px/1.3 var(--head); color: var(--navy); padding-right: 32px; }
.cc-t:focus { outline: none; }
.cc-d { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cc-d a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cc-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.cc-x:hover { background: var(--teal-soft); color: var(--navy); }
.cc-prefs { display: grid; gap: 10px; margin-top: 16px; }
.cc-prefs[hidden] { display: none; }
.cc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); cursor: pointer; }
.cc-opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal-ink); }
.cc-opt input:disabled { cursor: not-allowed; }
.cc-opt b { display: block; font-size: 14.5px; color: var(--navy); }
.cc-opt small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.cc-btns .btn { flex: 1 1 120px; min-height: 46px; padding-inline: 16px; }
.cc-link { order: 3; flex-basis: 100%; padding: 6px 0; border: 0; background: none; color: var(--teal-ink); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cc-link:hover { color: var(--teal-hover); }
.ftr-bottom .cc-reopen { padding: 0; border: 0; background: none; color: #b5ccc9; font: inherit; cursor: pointer; }
.ftr-bottom .cc-reopen:hover { color: #fff; }
html.cc-open .wa-fab { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .cc { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 18px 16px 14px; }
  .ftr-bottom nav .cc-reopen { padding: 6px 0; text-align: left; }
}
