/* cancelli-automatici.com — foglio di stile condiviso */
:root {
  --blue: #1D4E9E;
  --blue-dark: #143A78;
  --blue-soft: #EEF4FC;
  --green: #2E9E5B;
  --green-dark: #23804A;
  --green-soft: #E3F4EA;
  --text: #666666;          /* grigio 60% */
  --text-strong: #4D4D4D;
  --line: #E4E9F0;
  --bg: #FFFFFF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 58, 120, .06), 0 8px 28px rgba(20, 58, 120, .08);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--blue-dark);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--blue-dark); color: #DCE6F5; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .tb-links { display: flex; gap: 22px; margin-left: auto; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-name { font: 800 1.18rem/1 "Manrope", sans-serif; color: var(--blue-dark); letter-spacing: -.02em; white-space: nowrap; }
.nav > .btn { white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--green); }
.nav { display: flex; align-items: center; gap: 14px; }
.nav > ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a.nav-link, .nav .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; white-space: nowrap;
  color: var(--text-strong); font-weight: 600; font-size: .94rem; text-decoration: none;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a.nav-link:hover, .nav .sub-toggle:hover { background: var(--blue-soft); color: var(--blue); }
.nav a[aria-current="page"], .nav .is-active > .sub-toggle { color: var(--blue); background: var(--blue-soft); }
.sub-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-strong); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); }
.sub img { width: 30px; height: 30px; }
.nav-toggle { display: none; background: var(--blue-soft); border: 0; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--blue); margin: 0 auto; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; border: 2px solid transparent;
  font: 700 .98rem/1.2 "Inter", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn img { width: 22px; height: 22px; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(46,158,91,.28); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29,78,158,.25); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: #C9D8EF; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sezioni ---------- */
section { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, var(--blue-soft), #fff); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .78rem/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-soft); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background: radial-gradient(900px 400px at 85% 10%, var(--green-soft), transparent 60%), radial-gradient(800px 500px at 0% 0%, var(--blue-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.15rem; max-width: 600px; margin-bottom: 28px; }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-strong); font-size: .95rem; line-height: 1.35; }
.trust img { width: 38px; height: 38px; flex: none; }

.page-hero { padding: 40px 0 72px; background: radial-gradient(700px 380px at 90% 20%, var(--green-soft), transparent 60%), linear-gradient(180deg, var(--blue-soft), #fff 85%); }
.breadcrumb { font-size: .88rem; margin-bottom: 30px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #A8B3C4; }
.breadcrumb a { color: var(--text); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.hero-visual {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  padding: 44px; display: grid; place-items: center; aspect-ratio: 5 / 4;
}
.hero-visual img { width: 64%; }
.hero-visual .badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: .88rem; font-weight: 600; color: var(--text-strong); line-height: 1.25;
}
.hero-visual .badge img { width: 32px; height: 32px; }
.hero-visual .badge b { display: block; color: var(--blue-dark); font-size: 1.05rem; }
.badge.b1 { top: 22px; left: -18px; } .badge.b2 { bottom: 26px; right: -18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid #D5E1F2; color: var(--blue); font-weight: 600; font-size: .88rem; padding: 6px 12px; border-radius: 999px; }

/* ---------- Card ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-5 > * { grid-column: span 2; }
.grid-5 > :nth-child(4) { grid-column: 2 / span 2; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 64px; height: 64px; padding: 8px; border-radius: 16px; background: var(--blue-soft); margin-bottom: 20px; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
a.card:hover { border-color: #BCD0EE; box-shadow: var(--shadow); transform: translateY(-3px); }
a.card .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--green-dark); display: inline-flex; align-items: center; gap: 8px; }
a.card .more::after { content: "→"; transition: transform .2s; }
a.card:hover .more::after { transform: translateX(4px); }
.product-card .card-icon { width: 86px; height: 86px; background: linear-gradient(135deg, var(--blue-soft), var(--green-soft)); }

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature img { width: 52px; height: 52px; flex: none; }
.feature h3 { margin-bottom: .35em; font-size: 1.08rem; }
.feature p { margin: 0; font-size: .97rem; }

/* ---------- Split / testo ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E9E5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.spec { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 110px; }
.spec-head { background: var(--blue); color: #fff; padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.spec-head h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.spec-head img { width: 40px; height: 40px; background: #fff; border-radius: 10px; padding: 4px; }
.spec table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 13px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--text); font-weight: 500; width: 46%; }
.spec td { color: var(--text-strong); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec-foot { padding: 18px 24px 24px; }
.spec-foot .btn { width: 100%; }

/* ---------- Kit contents ---------- */
.kit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.kit-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 600; color: var(--text-strong); line-height: 1.35; }
.kit-list img { width: 44px; height: 44px; flex: none; }
.kit-list small { display: block; font-weight: 400; color: var(--text); font-size: .87rem; margin-top: 2px; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; top: 22px; right: 22px;
  font: 800 1.6rem/1 "Manrope", sans-serif; color: #D9E5F5;
}
.steps img { width: 50px; height: 50px; margin-bottom: 16px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .95rem; margin: 0; }

/* ---------- Banner solare / callout ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--green-soft), var(--blue-soft)); border-radius: 24px; padding: 40px 44px;
}
.callout img { width: 96px; height: 96px; background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
.callout h2 { font-size: 1.6rem; margin-bottom: .4em; }
.callout p { margin: 0; }

.cta-band { background: var(--blue); color: #DCE6F5; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(46,158,91,.25); right: -160px; top: -220px; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Comparazione ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--blue-soft); color: var(--blue-dark); font-family: "Manrope", sans-serif; }
.compare tbody th { color: var(--text-strong); }
.compare tr:last-child > * { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.faq-aside { position: sticky; top: 110px; background: var(--blue-soft); border-radius: 20px; padding: 28px; }
.faq-aside img { width: 64px; height: 64px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 16px; }
.faq-aside h2 { font-size: 1.3rem; }
.faq-aside .btn { width: 100%; margin-top: 10px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { scroll-margin-top: 130px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #BCD0EE; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; font: 700 1.05rem/1.4 "Manrope", sans-serif; color: var(--blue-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .num { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); font-size: .9rem; }
.faq-item summary::after { content: "+"; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #D5E1F2; color: var(--blue); font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); border-color: var(--green); color: var(--green); }
.faq-item .answer { padding: 0 24px 22px 76px; }
.faq-item .answer p { margin: 0; }
.faq-item .answer .src { display: block; margin-top: 10px; font-size: .88rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0F2D5E; color: #AFC0DB; font-size: .94rem; padding: 72px 0 0; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #DCE6F5; text-decoration: none; }
.site-footer a:hover { color: #7BE0A6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand { margin-bottom: 16px; }
.contact-line { display: flex; align-items: center; gap: 10px; }
.contact-line img { width: 28px; height: 28px; background: #fff; border-radius: 8px; padding: 3px; }
address { font-style: normal; line-height: 1.6; }
.legal dt { color: #fff; font-weight: 600; margin-top: 10px; }
.legal dt:first-child { margin-top: 0; }
.legal dd { margin: 0; }
.footer-cookie { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .86rem; line-height: 1.5; }
.footer-cookie img { width: 28px; height: 28px; flex: none; background: #fff; border-radius: 8px; padding: 3px; }
.footer-cookie p { margin: 0; }
.footer-cookie .links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.footer-cookie a { text-decoration: underline; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Galleria kit ---------- */
.gallery { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); margin: 0; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 16px; transition: box-shadow .2s, transform .2s; }
.gallery figure:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gallery .frame { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #fff; }
.gallery .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery .frame.cover img { object-fit: cover; }
.gallery figcaption { margin-top: 12px; padding: 0 4px; font-size: .92rem; line-height: 1.45; }
.gallery figcaption b { display: block; color: var(--blue-dark); font-family: "Manrope", sans-serif; font-size: 1rem; margin-bottom: 2px; }
.gallery-head { margin: 56px 0 24px; text-align: center; }
.gallery-head h3 { font-size: 1.4rem; margin-bottom: .3em; }
.gallery-head p { margin: 0; }
.cassetta-photo { width: 110px; height: 110px; flex: none; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* ---------- Foto ---------- */
.hero-collage { position: relative; margin: 0 0 40px 40px; }
.hero-collage .main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-collage .inset {
  position: absolute; left: -40px; bottom: -40px; width: 52%; aspect-ratio: 16 / 9; object-fit: cover;
  border: 6px solid #fff; border-radius: 20px; box-shadow: 0 12px 34px rgba(20,58,120,.22);
}
.hero-collage .badge {
  position: absolute; top: 22px; right: 22px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; color: var(--text-strong); line-height: 1.25;
}
.hero-collage .badge img { width: 32px; height: 32px; }
.hero-collage .badge b { display: block; color: var(--blue-dark); font-size: 1.02rem; }
.hero-photo { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 20px; }
.hero-photo img { width: 100%; max-height: 480px; object-fit: contain; border-radius: 16px; }
.hero-photo figcaption { font-size: .88rem; text-align: center; margin-top: 10px; }
.lead-more { font-size: 1.02rem; max-width: 600px; }
.card-media { aspect-ratio: 4 / 3; margin: -12px -12px 22px; border-radius: 12px; overflow: hidden; background: #fff; position: relative; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.photo-card { padding: 16px 16px 26px; }
.photo-card .card-media { margin: 0 0 18px; }
.photo-card h3, .photo-card p { padding: 0 10px; }
.photo-wide { margin: 0; }
.photo-wide img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.photo-wide figcaption { font-size: .88rem; margin-top: 10px; text-align: center; }
.card-highlight {
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-dark) 100%); border-color: transparent; color: #DCE6F5;
  position: relative; overflow: hidden;
}
.card-highlight::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(46,158,91,.28); right: -90px; bottom: -110px; }
.card-highlight h3 { color: #fff; }
.card-highlight .card-icon { background: #fff; }
.card-highlight .checklist li { margin-bottom: 8px; font-size: .95rem; }
.card-highlight .checklist li::before { background-color: rgba(255,255,255,.92); }
a.card.card-highlight { color: #DCE6F5; }
a.card.card-highlight .more { color: #7BE0A6; position: relative; z-index: 1; }
.remote-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.remote-split figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.faq-item .answer .inline-photo { float: right; width: 120px; margin: 0 0 10px 18px; border-radius: 12px; border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 16px 24px 24px; display: none; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-link, .nav .sub-toggle { width: 100%; justify-content: space-between; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .hero-grid, .split, .faq-layout, .remote-split { grid-template-columns: 1fr; }
  .spec, .faq-aside { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .kit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 > *, .grid-5 > :nth-child(4) { grid-column: auto; }
  .gallery { --cols: 2 !important; }
  .badge.b1 { left: 12px; } .badge.b2 { right: 12px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .topbar .hide-sm { display: none; }
  .grid-3, .grid-2, .grid-5, .kit-list, .steps, .footer-grid, .trust { grid-template-columns: 1fr; }
  .gallery { --cols: 1 !important; }
  .cassetta-photo { width: 84px; height: 84px; }
  .callout { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; }
  .hero-visual { padding: 28px; }
  .hero-visual .badge { position: static; margin-top: 12px; }
  .hero-visual { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; }
  .hero-visual > img { align-self: center; }
  .faq-item .answer { padding: 0 20px 20px; }
  .faq-item summary { padding: 18px 20px; }
  .brand-name { font-size: 1.02rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-collage { margin: 0 0 28px 16px; }
  .hero-collage .inset { left: -16px; bottom: -28px; width: 58%; border-width: 4px; }
  .hero-collage .badge { top: 12px; right: 12px; padding: 8px 10px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
