/* =====================================================================
   REPARO ASSISTENZA — общий файл оформления для ВСЕХ страниц сайта.
   Меняете цвет/шрифт здесь — меняется везде.
   ===================================================================== */
/* ================= ЦВЕТА И ШРИФТЫ ================= */
:root {
  --blu:       #0b3d5c;   /* основной тёмно-синий */
  --blu-2:     #12577f;
  --arancio:   #f28c28;   /* акцент: кнопки, важное */
  --arancio-2: #d9721a;
  --verde:     #1fa855;   /* WhatsApp */
  --testo:     #13212b;
  --grigio:    #5b6b77;
  --chiaro:    #f2f6f9;
  --bordo:     #dde5eb;
  --bianco:    #ffffff;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--testo); background: var(--bianco); line-height: 1.6; font-size: 17px;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; scroll-margin-top: 70px; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h2 { font-size: 2rem; margin-bottom: 10px; }
.sub { color: var(--grigio); margin-bottom: 36px; max-width: 640px; }
.centro { text-align: center; }
.centro .sub { margin-left: auto; margin-right: auto; }
.sfondo { background: var(--chiaro); }

/* ================= КНОПКИ ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
}
.btn-ar { background: var(--arancio); color: #1a0f00; }
.btn-ar:hover { background: var(--arancio-2); }
.btn-wa { background: var(--verde); color: #fff; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-bianco { background: #fff; color: var(--blu); }
.btn-linea { background: transparent; color: var(--blu); border: 2px solid var(--bordo); }
.btn:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--arancio); outline-offset: 2px;
}

/* ================= ШАПКА ================= */
header {
  position: sticky; top: 0; z-index: 20; background: var(--blu); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
.logo small { display: block; font-weight: 700; font-size: .72rem; color: var(--arancio); letter-spacing: .08em; text-transform: uppercase; }
.logo-icona {
  width: 42px; height: 42px; border-radius: 10px; background: #fff; overflow: hidden;
  display: grid; place-items: center; flex: none;
}
.logo-icona img { width: 100%; height: 100%; display: block; }
nav { display: flex; align-items: center; gap: 10px; }
/* кнопки меню: рамка, при наведении — белая заливка */
nav a:not(.tel-header) {
  text-decoration: none; font-weight: 600; border: 2px solid rgba(255,255,255,.55);
  border-radius: 999px; padding: 7px 16px; transition: background .15s, color .15s;
}
nav a:not(.tel-header):hover, nav a:not(.tel-header):focus-visible { background: #fff; color: var(--blu); border-color: #fff; }
.tel-header { text-decoration: none; background: var(--arancio); color: #1a0f00; padding: 9px 14px; border-radius: 10px; font-weight: 800; opacity: 1 !important; white-space: nowrap; }

/* ================= ГЛАВНЫЙ БЛОК ================= */
.hero {
  background: linear-gradient(160deg, var(--blu) 0%, var(--blu-2) 100%);
  color: #fff; padding: 64px 0 72px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.badge-top {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 12px; border-radius: 999px; font-size: .88rem; margin-bottom: 18px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--arancio); display: block; }
.hero p.lead { font-size: 1.15rem; opacity: .92; margin-bottom: 26px; max-width: 560px; }
.hero .azioni { display: flex; gap: 12px; flex-wrap: wrap; }
.punti { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-weight: 600; font-size: .95rem; }
.punti span::before { content: "✓ "; color: var(--arancio); font-weight: 900; }

.card-prezzo {
  background: #fff; color: var(--testo); border-radius: 18px; padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.card-prezzo h3 { font-size: 1.15rem; margin-bottom: 14px; }
.riga-prezzo { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--bordo); gap: 12px; }
.riga-prezzo:last-of-type { border-bottom: 0; }
.riga-prezzo b { font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gratis { color: var(--verde); }
.nota { font-size: .85rem; color: var(--grigio); margin-top: 12px; }

/* ================= ФОТО В ГЛАВНОМ БЛОКЕ ================= */
.hero-media { position: relative; padding-bottom: 20px; }
.hero-foto {
  display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover;
  object-position: 50% 18%;            /* чтобы логотип на форме был в кадре */
  border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-media .card-prezzo {
  position: absolute; left: -40px; bottom: -10px; width: min(330px, 90%);
}

/* ================= МАСТЕРА ЗА РАБОТОЙ ================= */
.lavoro-grid {
  display: grid; gap: 18px; align-items: stretch;
  grid-template-columns: 1.05fr .95fr .6fr;
  grid-template-areas: "testo a b";
}
.lavoro-testo { grid-area: testo; align-self: center; padding-right: 10px; }
.foto-a { grid-area: a; } .foto-b { grid-area: b; }
.lavoro figure { margin: 0; border-radius: var(--r); overflow: hidden; min-height: 320px; }
.lavoro figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-b img { object-position: 60% 50%; }
.vantaggi { list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.vantaggi li { padding-left: 28px; position: relative; color: var(--grigio); }
.vantaggi li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 900; }
.vantaggi b { color: var(--testo); }

/* ================= ТЕХНИКА ================= */
.griglia { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.app {
  background: #fff; border: 1px solid var(--bordo); border-radius: var(--r); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.app svg { width: 54px; height: 54px; }
.app h3 { font-size: 1.2rem; }
.app ul { list-style: none; color: var(--grigio); font-size: .95rem; flex: 1; }
.app li::before { content: "• "; color: var(--arancio); }
.app h3 a { text-decoration: none; }
.app h3 a:hover { color: var(--blu-2); text-decoration: underline; }
.app ul { font-size: .9rem; }
.app .btn { padding: 10px 14px; font-size: .95rem; align-self: stretch; }
.app .link-pagina { font-size: .9rem; font-weight: 600; color: var(--blu-2); text-align: center; }

/* ================= ЦЕНЫ ================= */
.prezzi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.box-prezzo { border-radius: var(--r); padding: 26px; border: 2px solid var(--bordo); background: #fff; }
.box-prezzo.si { border-color: var(--verde); }
.box-prezzo h3 { margin-bottom: 6px; }
.box-prezzo .grande { font-size: 2.4rem; font-weight: 800; margin: 6px 0; font-variant-numeric: tabular-nums; }
.box-prezzo p { color: var(--grigio); }
.box-prezzo .piccolo { font-size: 1rem; font-weight: 600; color: var(--grigio); }
.condizioni { margin-top: 14px; background: transparent; border: 0; padding: 4px 2px; }
.condizioni summary { font-weight: 600; color: var(--blu-2); font-size: .95rem; }
.condizioni p { font-size: .92rem; }

/* ================= ШАГИ ================= */
.passi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: passo; }
.passo { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--bordo); }
.passo::before {
  counter-increment: passo; content: counter(passo);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blu); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.passo h3 { font-size: 1.05rem; margin-bottom: 4px; }
.passo p { color: var(--grigio); font-size: .95rem; }

/* ================= ЗАПИСЬ ================= */
.prenota-box {
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 30px;
  box-shadow: 0 10px 40px rgba(11,61,92,.12); border: 1px solid var(--bordo);
}
.campi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo.pieno { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .95rem; }
input, select, textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--bordo);
  background: #fff; color: var(--testo); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--blu-2); outline: none; }
.fasce { display: flex; gap: 10px; flex-wrap: wrap; }
.fasce label {
  font-weight: 600; border: 2px solid var(--bordo); border-radius: 10px; padding: 10px 14px; cursor: pointer;
  display: flex; gap: 8px; align-items: center;
}
.fasce input { width: auto; }
.fasce label:has(input:checked) { border-color: var(--arancio); background: #fff6ec; }
.privacy-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--grigio); }
.privacy-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.errore { color: #b42318; font-weight: 700; min-height: 1.4em; margin-top: 12px; }
.invia { width: 100%; margin-top: 8px; font-size: 1.1rem; padding: 16px; }

/* ================= МАРКИ ================= */
.marche { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.marche span {
  background: #fff; border: 1px solid var(--bordo); border-radius: 999px; padding: 8px 16px;
  font-weight: 700; font-size: .92rem; letter-spacing: .03em; color: var(--blu);
}
.disclaimer { font-size: .85rem; color: var(--grigio); margin-top: 22px; text-align: center; }

/* ================= ЗОНА ================= */
.zona { display: flex; flex-wrap: wrap; gap: 8px; }
.zona span { background: var(--chiaro); border-radius: 8px; padding: 6px 12px; font-size: .95rem; }

/* ================= ВОПРОСЫ ================= */
details { border: 1px solid var(--bordo); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: 10px; color: var(--grigio); }
.faq { max-width: 820px; margin: 0 auto; }

/* ================= КОНТАКТЫ ================= */
.contatti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contatto { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--bordo); }
.contatto h3 { font-size: 1rem; color: var(--grigio); font-weight: 600; margin-bottom: 4px; }
.contatto a, .contatto p.val { font-size: 1.2rem; font-weight: 800; text-decoration: none; word-break: break-word; }

/* ================= ПОДВАЛ ================= */
footer { background: var(--blu); color: #cfe0ea; padding: 34px 0 90px; font-size: .9rem; }
footer .wrap { display: grid; gap: 10px; }
footer a { color: #fff; }

/* плавающие кнопки на телефоне */
.barra-mobile { display: none; }

/* ================= ПОЛОСА ПРЕИМУЩЕСТВ (под главным блоком) ================= */
.fiducia { background: #fff; border-bottom: 1px solid var(--bordo); }
.fiducia .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 24px; padding-bottom: 24px; }
.fiducia .voce { display: flex; gap: 12px; align-items: center; font-weight: 800; line-height: 1.25; }
.fiducia svg { width: 42px; height: 42px; flex: none; }
.fiducia small { display: block; font-weight: 500; color: var(--grigio); font-size: .85rem; margin-top: 2px; }

/* ================= КНОПКИ «ПОЗВОНИ / НАПИШИ» ПОСЛЕ БЛОКОВ ================= */
.cta-riga {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--chiaro); border-radius: var(--r); padding: 18px 22px;
}
.sfondo .cta-riga { background: #fff; border: 1px solid var(--bordo); }
.cta-riga p { font-weight: 700; font-size: 1.05rem; }
.cta-riga p small { display: block; font-weight: 500; color: var(--grigio); font-size: .9rem; }
.cta-riga .bottoni { display: flex; gap: 10px; flex-wrap: wrap; }

/* ================= ГАРАНТИЯ И ОПЛАТА ================= */
.info-riga { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.info { background: #fff; border: 1px solid var(--bordo); border-radius: var(--r); padding: 18px 20px; }
.info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info p { color: var(--grigio); font-size: .95rem; }

/* ================= КРУГЛАЯ КНОПКА WHATSAPP (компьютер) ================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float:hover { filter: brightness(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ================= СТРАНИЦЫ УСЛУГ ================= */
.briciole { font-size: .88rem; opacity: .85; margin-bottom: 14px; }
.briciole a { color: #fff; }
.hero-pagina { padding: 48px 0 56px; }
.hero-pagina .wrap { grid-template-columns: 1.2fr .8fr; }
.hero-pagina h1 { font-size: 2.3rem; }
.hero-pagina .foto-pagina { width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: block; }
.guasti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guasto { background: #fff; border: 1px solid var(--bordo); border-radius: var(--r); padding: 20px; }
.guasto h3 { font-size: 1.05rem; margin-bottom: 6px; }
.guasto p { color: var(--grigio); font-size: .95rem; }
.controlli { max-width: 820px; display: grid; gap: 10px; list-style: none; counter-reset: c; }
.controlli li { background: #fff; border: 1px solid var(--bordo); border-radius: 12px; padding: 14px 16px 14px 54px; position: relative; color: var(--grigio); }
.controlli li::before { counter-increment: c; content: counter(c); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--arancio); color: #1a0f00; font-weight: 800; display: grid; place-items: center; }
.controlli b { color: var(--testo); }
.avviso { margin-top: 14px; font-size: .92rem; color: var(--grigio); max-width: 820px; }
.altri { display: flex; flex-wrap: wrap; gap: 10px; }
.altri a { background: #fff; border: 1px solid var(--bordo); border-radius: 999px; padding: 8px 16px; font-weight: 700; text-decoration: none; color: var(--blu); }
.altri a:hover { border-color: var(--blu-2); }
.footer-servizi { display: flex; flex-wrap: wrap; gap: 4px 14px; }

/* ================= ТЕЛЕФОН ================= */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-media .card-prezzo { left: 16px; right: 16px; width: auto; bottom: 0; }
  .hero-foto { aspect-ratio: 4 / 4.4; }
  .hero-media { padding-bottom: 150px; }
  .lavoro-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "testo testo" "a b"; }
  .griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiducia .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-pagina .wrap { grid-template-columns: 1fr; }
  .hero-pagina .foto-pagina { max-width: 520px; }
  .guasti { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contatti { grid-template-columns: 1fr; }
  nav a:not(.tel-header) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .prezzi, .passi, .campi, .info-riga, .guasti { grid-template-columns: 1fr; }
  .griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .app { padding: 14px; gap: 8px; }
  .app svg { width: 42px; height: 42px; }
  .app h3 { font-size: 1.02rem; }
  .app ul { font-size: .84rem; }
  .app .btn { padding: 9px 8px; font-size: .9rem; }
  .fiducia .wrap { gap: 14px 12px; padding-top: 18px; padding-bottom: 18px; }
  .fiducia .voce { font-size: .92rem; gap: 8px; }
  .fiducia svg { width: 32px; height: 32px; }
  .fiducia small { font-size: .78rem; }
  .cta-riga { padding: 16px; }
  .cta-riga .bottoni { width: 100%; }
  .cta-riga .bottoni .btn { flex: 1; padding: 12px 8px; }
  .hero-pagina h1 { font-size: 1.8rem; }
  .hero-pagina .foto-pagina { aspect-ratio: 16 / 10; }
  .wa-float { display: none; }
  .lavoro-grid { grid-template-columns: 1.4fr 1fr; }
  .lavoro figure { min-height: 220px; }
  .prenota-box { padding: 20px 16px; }
  .logo small { font-size: .6rem; white-space: nowrap; letter-spacing: .04em; }
  .barra-mobile {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .barra-mobile .btn { flex-direction: column; gap: 0; padding: 7px 4px; font-size: .85rem; line-height: 1.2; }
  .barra-mobile .btn span { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ================= БАННЕР COOKIE ================= */
.cookie-banner {
  position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--testo); border: 1px solid var(--bordo); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25); padding: 18px 20px; font-size: .95rem;
}
.cookie-banner p { padding-right: 24px; }
.cookie-banner a { color: var(--blu-2); }
.cookie-bottoni { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cookie-bottoni .btn { width: 100%; padding: 12px; background: var(--blu); color: #fff; }   /* stessi colori: scelta libera */
.cookie-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--grigio); }
footer button[data-cookie-pref], footer a[data-cookie-pref] { color: #fff; }
@media (max-width: 600px) { .cookie-banner { left: 10px; right: 10px; bottom: 82px; padding: 16px; font-size: .9rem; } }

/* список коммун под полем */
.ac-box { position: relative; }
.ac-lista {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20;
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 2px solid var(--blu-2); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(11,61,92,.18); max-height: 260px; overflow-y: auto;
}
.ac-lista li { padding: 12px 12px; border-radius: 8px; cursor: pointer; font-size: 1.05rem; }
.ac-lista li + li { border-top: 1px solid var(--bordo); }
.ac-lista li:hover { background: #fff6ec; }
.ac-lista li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ac-lista li small { color: #6b7c88; font-size: .9rem; white-space: nowrap; }

/* телефон: сетка — пункты слева, «Fuori garanzia» и карточка справа, карточка заходит на фото */
.solo-mobile { display: none; }
@media (max-width: 600px) {
  .solo-pc { display: none; }
  .hero:not(.hero-pagina) .wrap {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; row-gap: 0;
    grid-template-areas: "badge badge" "titolo titolo" "lead lead" "azioni azioni" "punti tag" "punti card" "foto foto";
  }
  .hero:not(.hero-pagina) .wrap > div:first-child, .hero:not(.hero-pagina) .hero-media { display: contents; }
  .hero:not(.hero-pagina) .badge-top { grid-area: badge; justify-self: start; }
  .hero:not(.hero-pagina) h1 { grid-area: titolo; }
  .hero:not(.hero-pagina) p.lead { grid-area: lead; }
  .hero:not(.hero-pagina) .azioni { grid-area: azioni; }
  .hero:not(.hero-pagina) .punti {
    grid-area: punti; align-self: start; flex-direction: column; gap: 12px;
    font-size: .9rem; margin-top: 20px; max-width: none;
  }
  .hero-media .tag-garanzia {
    display: block; grid-area: tag; margin-top: 20px;
    font-weight: 700; font-size: .9rem; line-height: 1.35; color: #fff;
  }
  .hero-media .tag-garanzia::before { content: "✓ "; color: var(--arancio); font-weight: 900; }
  .hero-media .card-prezzo {
    grid-area: card; position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto;
    margin: 12px 0 -64px; z-index: 2; align-self: start;
    padding: 10px 11px 9px; border-radius: 14px; border: 2px solid var(--arancio);
  }
  .hero-media .card-prezzo h3 { font-size: .85rem; margin-bottom: 2px; line-height: 1.2; }
  .hero-media .riga-prezzo { padding: 3px 0; font-size: .74rem; gap: 4px; white-space: nowrap; }
  .hero-media .riga-prezzo b { font-size: .95rem; }
  .hero-media .nota { font-size: .64rem; margin-top: 3px; line-height: 1.25; }
  .hero-foto { grid-area: foto; margin-top: 0; }
}
@media (max-width: 380px) {
  .hero-media .riga-prezzo { font-size: .68rem; }
  .hero-media .riga-prezzo b { font-size: .88rem; }
  .hero:not(.hero-pagina) .punti, .hero-media .tag-garanzia { font-size: .84rem; }
  .tel-header { font-size: .88rem; padding: 8px 10px; }
}

/* три кнопки в главном блоке на телефоне — в один ряд, как нижняя панель */
@media (max-width: 600px) {
  .hero:not(.hero-pagina) .azioni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero:not(.hero-pagina) .azioni .btn { padding: 13px 2px; font-size: .86rem; gap: 4px; justify-content: center; text-align: center; white-space: nowrap; }
}
@media (max-width: 380px) { .hero:not(.hero-pagina) .azioni .btn { font-size: .78rem; } }

/* ================= КАРТОЧКА ЦЕНЫ НА СТРАНИЦАХ ТЕХНИКИ ================= */
.hm-pagina { padding-bottom: 20px; }
.hm-pagina .foto-pagina { margin: 0; }
@media (max-width: 900px) {
  .hm-pagina { max-width: 520px; padding-bottom: 150px; }
}
@media (max-width: 600px) {
  .hm-pagina { padding-bottom: 0; }
  .hm-pagina .card-prezzo {
    position: relative; left: auto; right: auto; bottom: auto; width: auto;
    margin: -46px 14px 0; padding: 14px 16px; border: 2px solid var(--arancio); z-index: 2;
  }
  .hm-pagina .card-prezzo h3 { font-size: 1rem; margin-bottom: 6px; }
  .hm-pagina .riga-prezzo { padding: 6px 0; font-size: .95rem; white-space: normal; }
  .hm-pagina .riga-prezzo b { font-size: 1.15rem; }
  .hm-pagina .nota { font-size: .8rem; margin-top: 6px; }
}

/* ================= «BERGAMO», ЗНАЧОК «DISPONIBILI ORA», ШАГИ, ПЕРЕЗВОН, ФОТО ================= */
.bg-verde { color: #3ddc84; }
.live { display: inline-flex; align-items: center; gap: 8px; background: rgba(31,168,85,.2); border: 1.5px solid #3ddc84; color: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .9rem; margin: 4px 0 12px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); flex: none; }
.live.chiuso { background: rgba(242,140,40,.18); border-color: var(--arancio); }
.live.chiuso i { background: var(--arancio); box-shadow: 0 0 0 4px rgba(242,140,40,.25); }
.passi3 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-weight: 700; font-size: .88rem; }
.passi3 span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 11px; color: #fff; }
.extra { padding: 30px 0; background: var(--chiaro); }
.extra .wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.xcard { background: #fff; border: 1px solid var(--bordo); border-radius: 16px; padding: 18px; }
.xcard b { font-size: 1.02rem; }
form.cb { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 10px; }
form.cb input { border: 1.5px solid var(--bordo); border-radius: 12px; padding: 12px; font: inherit; min-width: 0; }
form.cb button { cursor: pointer; border: 0; }
.cb-err { color: #c62828; font-size: .88rem; margin: 6px 0 0; min-height: 0; }
.cb-nota { color: var(--grigio); font-size: .8rem; margin: 6px 0 0; }
.xfoto { border: 2px dashed var(--verde); background: #f0fbf4; }
.xfoto p { color: var(--grigio); margin: 6px 0 12px; }
@media (max-width: 900px) { .extra .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  form.cb { grid-template-columns: 1fr; }
  .passi3 { gap: 6px; font-size: .8rem; }
  .passi3 span { padding: 4px 9px; }
  .live { font-size: .82rem; }
}

/* ================= КАРТОЧКА ЦЕНЫ: МЕНЬШЕ, ЛЕВЕЕ И НИЖЕ (компьютер) ================= */
@media (min-width: 901px) {
  .hero-media { padding-bottom: 48px; }
  .hero-media .card-prezzo { width: 250px; padding: 16px 18px; left: -70px; bottom: 0; border: 2px solid var(--arancio); }
  .hero-media .card-prezzo h3 { font-size: .98rem; margin-bottom: 6px; }
  .hero-media .riga-prezzo { padding: 6px 0; font-size: .9rem; }
  .hero-media .riga-prezzo b { font-size: 1.1rem; }
  .hero-media .nota { font-size: .74rem; margin-top: 6px; }
}
@media (min-width: 901px) {
  .hm-pagina { padding-bottom: 80px; }
  .hm-pagina .card-prezzo { bottom: 0; left: -80px; }
}

.h1-citta { display: block; }
.hero:not(.hero-pagina) .live { display: flex; width: fit-content; }
@media (max-width: 600px) { .hero:not(.hero-pagina) .live { grid-area: badge; justify-self: start; } }

/* ================= ФОН С МАРКАМИ В ГЛАВНОМ БЛОКЕ (плавает при прокрутке) ================= */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .sfondo-marche {
  position: absolute; left: 0; right: 0; top: -30%; height: 170%; z-index: 0; pointer-events: none;
  background: url("img/marche-sfondo.jpg") 0 0 / 420px auto repeat;
  mix-blend-mode: multiply; opacity: .35; will-change: transform;
}
.hero .sfondo-marche::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,61,92,.55), rgba(11,61,92,.15)); }
@media (max-width: 600px) { .hero .sfondo-marche { background-size: 300px auto; opacity: .3; } }
/* фон с марками — заметнее */
.hero .sfondo-marche { opacity: .55; }
.hero .sfondo-marche::after { background: linear-gradient(90deg, rgba(11,61,92,.45), rgba(11,61,92,.05)); }
@media (max-width: 600px) { .hero .sfondo-marche { opacity: .5; } .hero .sfondo-marche::after { background: rgba(11,61,92,.3); } }
.hero h1, .hero p.lead, .hero .punti { text-shadow: 0 2px 10px rgba(6,30,46,.75); }
.hero .sfondo-marche { opacity: .8; mix-blend-mode: luminosity; }
.hero .sfondo-marche::after { background: rgba(11,61,92,.55); }
@media (max-width: 600px) { .hero .sfondo-marche { opacity: .8; } .hero .sfondo-marche::after { background: rgba(11,61,92,.55); } }
.hero .sfondo-marche { opacity: .45; mix-blend-mode: luminosity; }
.hero .sfondo-marche::after { background: rgba(11,61,92,.5); }
@media (max-width: 600px) { .hero .sfondo-marche { opacity: .42; } .hero .sfondo-marche::after { background: rgba(11,61,92,.5); } }
/* сильная чёрная тень для текста в главном блоке */
.hero h1, .hero p.lead, .hero .punti, .hero .briciole, .hero .passi3 span, .hero .tag-garanzia {
  text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 4px 18px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.9);
}
.hero h1 .bg-verde { text-shadow: 0 2px 4px rgba(0,0,0,.95), 0 4px 18px rgba(0,0,0,.8); }
.hero h1, .hero h1 .bg-verde, .hero p.lead, .hero .punti, .hero .punti span, .hero .briciole, .hero .passi3 span, .hero .tag-garanzia, .hero .live span {
  text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000, 0 3px 6px rgba(0,0,0,.95), 0 6px 24px rgba(0,0,0,.85) !important;
}

.hero h1 .h1-arancio { color: var(--arancio); }
/* фон с марками — вариант 2: под текстом темнее, справа заметнее */
.hero .sfondo-marche::after { background: linear-gradient(90deg, rgba(11,61,92,.86) 0%, rgba(11,61,92,.78) 55%, rgba(11,61,92,.45) 100%) !important; }
@media (max-width: 600px) { .hero .sfondo-marche::after { background: linear-gradient(180deg, rgba(11,61,92,.85), rgba(11,61,92,.6)) !important; } }

/* ================= «COSA RIPARIAMO»: КАРТОЧКИ С ФОТО ================= */
#elettrodomestici .griglia { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app.app-foto { padding: 0; gap: 0; overflow: hidden; text-align: center; position: relative; transition: transform .15s, box-shadow .15s; }
.app.app-foto:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,61,92,.14); }
.app-foto .foto-app { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.app-foto h3 { margin: 14px 10px 0; font-size: 1.1rem; }
.app-foto h3 a { color: var(--blu); text-decoration: none; }
.app-foto h3 a::after { content: ""; position: absolute; inset: 0; }
.app-foto h3::after { content: ""; display: block; width: 44px; height: 3px; background: var(--arancio); margin: 9px auto 0; border-radius: 2px; }
.app-foto ul, .app-foto .btn-linea { display: none; }
.app-foto .link-pagina { display: block; margin: 8px 0 16px; font-size: .9rem; }
@media (max-width: 900px) { #elettrodomestici .griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .app-foto h3 { font-size: 1rem; margin-top: 10px; } .app-foto .link-pagina { margin-bottom: 12px; font-size: .82rem; } }
/* «Cosa ripariamo» — вариант A: фото сверху, список, Prenota */
.app.app-foto-a { overflow: hidden; }
.app-foto-a .foto-app { display: block; width: calc(100% + 44px); max-width: none; height: auto; margin: -22px -22px 6px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 600px) { .app-foto-a .foto-app { width: calc(100% + 28px); margin: -14px -14px 4px; } }

/* =====================================================================
   ТЗ №1 — новый первый экран главной (светлый, Mobile First)
   ===================================================================== */
.header-chiaro { background: #fff; color: var(--blu); box-shadow: 0 1px 0 var(--bordo), 0 4px 14px rgba(11,61,92,.06); }
.header-chiaro .wrap { height: 64px; }
.logo-img { display: block; line-height: 0; }
.logo-img img { height: 46px; width: auto; display: block; }
.header-chiaro nav a:not(.tel-header) { border-color: var(--bordo); color: var(--blu); }
.header-chiaro nav a:not(.tel-header):hover, .header-chiaro nav a:not(.tel-header):focus-visible { background: var(--blu); color: #fff; border-color: var(--blu); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 11px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; border-radius: 10px; }
.menu-btn span { display: block; height: 3.5px; border-radius: 3px; background: var(--blu); }
.menu-btn:focus-visible { outline: 3px solid var(--arancio); }

.hero-home { background: #fff; color: var(--blu); padding: 36px 0 30px; }
.hero-home .wrap { display: block; }
.hh-testo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 18px; align-items: start;
  grid-template-areas: "h1 foto" "citta foto" "prezzo foto" "cta foto" "plus foto" "prev foto" "sotto foto"; }
.hh-testo h1 { grid-area: h1; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; color: var(--blu); margin: 0; letter-spacing: -.01em; }
.hh-testo h1::after { content: ""; display: block; width: 70%; height: 4px; margin-top: 14px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: var(--arancio); opacity: .9; }
.hh-riga { display: contents; }
.hh-citta { grid-area: citta; display: flex; align-items: center; gap: 12px; background: var(--blu); color: #fff; border-radius: 16px; padding: 14px 18px 14px 14px; width: fit-content; max-width: 100%; }
.hh-pin { width: 38px; height: 38px; flex: none; }
.hh-citta p { margin: 0; }
.hh-citta b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.02; font-weight: 900; letter-spacing: .01em; }
.hh-citta b small { font-size: .62em; font-weight: 700; }
.hh-citta span { display: inline-block; margin-top: 8px; background: #ffd23f; color: var(--blu); font-weight: 800; border-radius: 8px; padding: 3px 10px; font-size: .95rem; }
.hh-foto { grid-area: foto; display: block; align-self: stretch; }
.hh-foto img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; object-position: 50% 22%; border-radius: 20px; display: block; aspect-ratio: 9 / 13; }
.hh-prezzo { grid-area: prezzo; display: flex; align-items: center; gap: 16px; border: 2.5px solid var(--verde); border-radius: 18px; padding: 10px 18px; background: #fff; }
.hh-zero { font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; font-weight: 900; color: var(--verde); white-space: nowrap; padding-right: 16px; border-right: 2px solid #d7eedf; }
.hh-prezzo p { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--blu); font-weight: 700; }
.hh-prezzo strong { display: inline-block; background: var(--verde); color: #fff; border-radius: 999px; padding: 1px 12px; margin: 2px 0; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; }
.hh-prezzo a { font-size: .82rem; font-weight: 600; color: var(--grigio); }
.hh-cta { grid-area: cta; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hh-cta a { display: flex; align-items: center; gap: 10px; min-height: 60px; border-radius: 16px; padding: 8px 14px; text-decoration: none; }
.hh-cta svg { width: 30px; height: 30px; flex: none; }
.hh-cta span { display: flex; flex-direction: column; font-weight: 800; font-size: .88rem; line-height: 1.15; letter-spacing: .02em; }
.hh-cta b { font-size: 1.28rem; font-weight: 900; letter-spacing: 0; white-space: nowrap; }
.hh-chiama { background: var(--blu); color: #fff; }
.hh-wa { background: #fff; color: var(--blu); border: 2px solid var(--verde); }
.hh-wa svg, .hh-wa b { color: var(--verde); }
.hh-cta a:focus-visible { outline: 3px solid var(--arancio); outline-offset: 2px; }
.hh-plus { grid-area: plus; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.hh-plus li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 800; font-size: .92rem; line-height: 1.2; padding: 0 6px; }
.hh-plus li + li { border-left: 1.5px solid var(--bordo); }
.hh-plus small { font-weight: 600; font-size: .75rem; color: var(--grigio); }
.hh-plus svg { width: 34px; height: 34px; color: var(--blu); }
.hh-prev { grid-area: prev; margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .98rem; border-top: 3px solid var(--arancio); border-radius: 50% 50% 0 0 / 14px 14px 0 0; padding-top: 12px; }
.hh-prev svg { width: 26px; height: 26px; flex: none; color: var(--blu); }
.hh-sotto { grid-area: sotto; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hh-sotto a { font-weight: 700; color: var(--blu); }
.hero-home .live { color: var(--blu); background: #eaf8ef; border-color: var(--verde); margin: 0; text-shadow: none !important; font-size: .85rem; }
.hero-home .live span { text-shadow: none !important; }
.hero-home .live.chiuso { background: #fff3e6; }

@media (max-width: 900px) {
  .header-chiaro .tel-header { display: none; }
  .menu-btn { display: flex; }
  .header-chiaro nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px 14px; box-shadow: 0 10px 20px rgba(11,61,92,.12); }
  .header-chiaro nav.aperto { display: flex; }
  .header-chiaro nav a:not(.tel-header), .header-chiaro nav.aperto a { display: block !important; border: 0; border-bottom: 1px solid var(--bordo); border-radius: 0; padding: 14px 4px; font-size: 1.05rem; }
  .header-chiaro nav.aperto .tel-header { display: block; margin-top: 10px; text-align: center; border-bottom: 0; border-radius: 12px; }
  .hh-testo { grid-template-columns: 1fr; row-gap: 14px; grid-template-areas: "h1" "riga" "prezzo" "cta" "plus" "prev" "sotto"; }
  .hh-riga { grid-area: riga; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; align-items: center; }
  .hh-citta, .hh-foto { grid-area: auto; }
  .hh-citta { width: auto; }
  .hh-foto img { aspect-ratio: 3 / 4; max-height: 300px; }
}
@media (max-width: 600px) {
  .header-chiaro .wrap { height: 62px; }
  .header-chiaro nav { top: 62px; }
  .logo-img img { height: 42px; }
  .hero-home { padding: 16px 0 22px; }
  .hh-testo h1 { font-size: clamp(1.75rem, 8.4vw, 2.2rem); }
  .hh-testo h1::after { margin-top: 10px; }
  .hh-citta { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 14px; }
  .hh-pin { width: 28px; height: 28px; }
  .hh-citta b { font-size: clamp(1.35rem, 6.6vw, 1.75rem); }
  .hh-citta span { font-size: .82rem; padding: 2px 8px; }
  .hh-foto img { max-height: 230px; border-radius: 14px; }
  .hh-prezzo { padding: 8px 14px; gap: 12px; }
  .hh-zero { font-size: clamp(2.5rem, 13vw, 3.2rem); padding-right: 12px; }
  .hh-prezzo p { font-size: .98rem; }
  .hh-prezzo strong { font-size: 1.02rem; }
  .hh-cta { gap: 8px; }
  .hh-cta a { padding: 8px 10px; gap: 8px; min-height: 58px; border-radius: 14px; }
  .hh-cta svg { width: 26px; height: 26px; }
  .hh-cta span { font-size: .78rem; }
  .hh-cta b { font-size: clamp(1rem, 4.6vw, 1.2rem); }
  .hh-plus li { font-size: .82rem; }
  .hh-plus svg { width: 30px; height: 30px; }
  .hh-prev { font-size: .9rem; }
}
@media (max-width: 350px) {
  .hh-cta { grid-template-columns: 1fr; }
}

/* ===== ТЗ №2 — композиция мастер + города (только главная) ===== */
.hero-home .hh-testo { grid-template-areas: "h1 scena" "prezzo scena" "cta scena" "plus scena" "prev scena" "sotto scena"; }
.hero-home .hh-testo h1 { font-size: clamp(1.65rem, 3.2vw, 2.7rem); }
.hero-home .hh-testo h1::after { width: 64%; height: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--arancio), rgba(242,140,40,.15)); border-radius: 3px; }
.hh-scena { grid-area: scena; position: relative; display: grid; align-self: stretch; min-height: 520px; }
.hh-scena .hh-foto { grid-area: 1 / 1; justify-self: end; width: 100%; height: 100%; margin: 0; }
.hh-scena .hh-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 0; border-radius: 0; aspect-ratio: auto; max-height: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.hh-scena .hh-citta { grid-area: 1 / 1; align-self: end; justify-self: start; position: relative; z-index: 2; margin-bottom: 26px; box-shadow: 0 6px 16px rgba(11,61,92,.18); }
.hh-citta b { white-space: nowrap; }
.hh-prezzo p { font-weight: 800; }
.hh-wa-su { font-style: normal; }
/* нижняя панель главной: компактная, появляется после прокрутки */
.barra-auto { transition: transform .25s ease; }
.barra-auto.nascosta { transform: translateY(110%); pointer-events: none; }

@media (max-width: 900px) {
  .hero-home .hh-testo { grid-template-areas: "h1" "scena" "prezzo" "cta" "plus" "prev" "sotto"; }
  .hh-scena { min-height: 0; height: clamp(250px, 72vw, 330px); margin: 0 -16px; }
  .hh-scena .hh-foto { width: 64%; }
  .hh-scena .hh-citta { margin: 0 0 18px 16px; }
}
@media (max-width: 600px) {
  .hero-home { padding-top: 12px; }
  .hero-home .hh-testo { row-gap: 12px; }
  .hero-home .hh-testo h1 { font-size: clamp(1.62rem, 7.6vw, 1.9rem); line-height: 1.08; }
  .hh-citta { flex-direction: row; align-items: center; padding: 10px 12px; gap: 8px; }
  .hh-pin { width: 26px; height: 26px; }
  .hh-citta b { font-size: clamp(1.25rem, 6.2vw, 1.6rem); }
  .hh-citta span { margin-top: 6px; font-size: .76rem; }
  .hh-prezzo { padding: 8px 12px; }
  .hh-prezzo p { font-size: .92rem; line-height: 1.25; }
  .hh-prezzo strong { font-size: .95rem; }
  .barra-auto { padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)); grid-template-columns: 1fr 1fr; }
  .barra-auto .btn { flex-direction: row; gap: 6px; padding: 10px 6px; font-size: .95rem; min-height: 44px; }
  .barra-auto .btn-bianco { display: none; }
}
@media (max-width: 370px) {
  .hh-wa-su { display: none; }
  .hh-cta b { font-size: 1rem; }
  .hh-scena .hh-foto { width: 60%; }
}
@media (max-width: 350px) { .hh-cta { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .hero-home .hh-testo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 350px) { .hh-cta a { padding: 8px; gap: 6px; } .hh-cta svg { width: 22px; height: 22px; } .hh-cta b { font-size: .95rem; } .hero-home .hh-testo h1 { font-size: 1.5rem; } }
@media (max-width: 900px) {
  .hh-scena { width: calc(100% + 32px); margin-top: -46px; }
  .hero-home .hh-testo h1 { position: relative; z-index: 3; }
  .hero-home .hh-testo h1::after { width: 46%; }
}
@media (max-width: 900px) { .hh-scena { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; } .hh-scena .hh-citta { margin-left: 20px; margin-bottom: 30px; } }
/* блок городов — как в макете */
.hero-home .hh-citta {
  position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #164f78 0%, #0b3d5c 55%, #082f48 100%);
  border: 3px solid #fff; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(11,61,92,.15), 0 10px 22px rgba(11,61,92,.28);
  padding: 14px 18px 30px 14px; margin-bottom: 40px;
}
.hero-home .hh-pin { width: 46px; height: 60px; flex: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.hero-home .hh-citta p { margin: 0; position: static; }
.hero-home .hh-citta b { font-size: clamp(1.6rem, 7.6vw, 2.3rem); line-height: .98; font-weight: 900; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 2px rgba(0,0,0,.25); }
.hero-home .hh-citta b small { font-size: .62em; font-weight: 800; margin-left: 2px; }
.hero-home .hh-citta span {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); margin: 0; white-space: nowrap;
  background: linear-gradient(180deg, #ffe46b 0%, #ffd23f 55%, #f5bd12 100%); color: #0b3d5c;
  border: 2px solid #fff; border-radius: 999px; padding: 5px 18px; font-weight: 900; font-size: clamp(.85rem, 3.9vw, 1.05rem);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
@media (max-width: 600px) {
  .hero-home .hh-citta { padding: 10px 14px 26px 10px; gap: 8px; border-radius: 18px; }
  .hero-home .hh-pin { width: 36px; height: 47px; }
  .hh-scena .hh-citta { margin-bottom: 34px; }
}
@media (max-width: 360px) { .hero-home .hh-citta b { font-size: 1.45rem; } .hero-home .hh-citta span { padding: 4px 12px; } }
/* шапка главной: синяя, логотип в белом окошке, белый гамбургер */
.header-chiaro { background: var(--blu); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.header-chiaro .logo-img { background: #fff; border-radius: 12px; padding: 4px 10px; }
.header-chiaro .logo-img img { height: 40px; }
.header-chiaro .menu-btn span { background: #fff; }
.header-chiaro nav a:not(.tel-header) { border-color: rgba(255,255,255,.55); color: #fff; }
.header-chiaro nav a:not(.tel-header):hover, .header-chiaro nav a:not(.tel-header):focus-visible { background: #fff; color: var(--blu); border-color: #fff; }
@media (max-width: 900px) {
  .header-chiaro nav { background: var(--blu); }
  .header-chiaro nav a:not(.tel-header), .header-chiaro nav.aperto a { color: #fff; border-bottom-color: rgba(255,255,255,.18) !important; }
}
@media (max-width: 600px) { .header-chiaro .logo-img img { height: 38px; } .header-chiaro .logo-img { padding: 3px 8px; } }
/* значки-печати и более компактный блок городов */
.hh-plus .hh-sigillo { width: 64px; height: 67px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.18)); }
.hh-plus li span { display: flex; flex-direction: column; }
.hh-plus li { gap: 6px; }
@media (max-width: 600px) { .hh-plus .hh-sigillo { width: 56px; height: 59px; } }
@media (max-width: 900px) {
  .hh-scena .hh-foto { width: 70%; }
  .hh-scena .hh-foto img { object-position: 46% 0; }
  .hh-scena .hh-citta { margin: 0 0 22px 12px; max-width: 54%; }
  .hero-home .hh-citta { padding: 8px 10px 20px 8px; gap: 6px; border-width: 2px; border-radius: 16px; }
  .hero-home .hh-pin { width: 26px; height: 34px; }
  .hero-home .hh-citta b { font-size: clamp(1.1rem, 5.2vw, 1.4rem); }
  .hero-home .hh-citta span { font-size: clamp(.72rem, 3.2vw, .85rem); padding: 3px 11px; bottom: -14px; }
}
@media (max-width: 900px) {
  .hh-scena { margin-bottom: 18px; overflow: visible; }
  .hh-scena .hh-citta { margin: 0 0 26px 20px; }
  .hh-scena .hh-foto { width: 72%; }
}
.hh-prev .hh-prev-ico { width: 52px; height: 52px; flex: none; color: inherit; }
/* 0€ — двухцветный, с аркой */
.hh-prezzo .hh-zero { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 0 16px 10px 2px; }
.hh-zero-n {
  font-size: clamp(3rem, 15vw, 4.2rem); line-height: .9; font-weight: 900; letter-spacing: -.06em;
  background: linear-gradient(180deg, #4cbf3f 0%, #2f9e2c 48%, #1e7a1f 52%, #186a1a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(16,90,18,.35);
  filter: drop-shadow(0 2px 1px rgba(16,80,20,.25));
  padding-right: .06em;
}
.hh-prezzo .hh-zero::after {
  content: ""; position: absolute; left: 4%; right: 14%; bottom: 0; height: 9px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #5cc94e, #1e7a1f);
}
@media (min-width: 901px) { .hh-zero-n { font-size: 3.6rem; } }
.hh-prezzo .hh-zero::after {
  left: 0; right: 10%; bottom: -2px; height: 12px; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2366cf55'/%3E%3Cstop offset='1' stop-color='%231e7a1f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 11 Q50 -3 100 11 Q50 3 0 11Z' fill='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hh-zero-n { background: linear-gradient(180deg, #56c548 0%, #36a632 45%, #23862a 55%, #17681c 100%); -webkit-background-clip: text; background-clip: text; }
/* GRATUITA — как 0€, в два цвета */
.hh-prezzo strong {
  background: linear-gradient(180deg, #56c548 0%, #36a632 45%, #23862a 55%, #17681c 100%);
  color: #fff; border: 1px solid rgba(16,90,18,.45);
  text-shadow: 0 1px 1px rgba(0,0,0,.25) !important;
  box-shadow: 0 2px 3px rgba(16,80,20,.25);
}
/* кнопка WhatsApp — фирменный зелёный */
.hh-cta .hh-wa { background: #25d366; border-color: #25d366; color: #fff; }
.hh-cta .hh-wa svg, .hh-cta .hh-wa b { color: #fff; }
.hh-cta .hh-wa .hh-wa-su { color: #0b1f14; }
/* заголовок всегда в 3 строки и поверх фото */
.hero-home .hh-testo h1 { position: relative; z-index: 3; }
@media (max-width: 900px) { .hero-home .hh-testo h1 { max-width: 68%; } }
@media (max-width: 900px) {
  .hh-scena .hh-foto { overflow: hidden; height: 100%; min-height: 0; }
  .hh-scena .hh-foto img { height: 100%; }
  .hh-scena { height: clamp(250px, 72vw, 420px); }
}
/* главная: одна карточка «перезвон + фото» */
.extra-uno { padding: 20px 0; }
.extra-uno .wrap { display: block; max-width: 760px; }
.xuno { display: grid; gap: 8px; padding: 16px; }
.xuno .cb-titolo { font-size: 1.05rem; }
.xuno form.cb { margin-top: 2px; grid-template-columns: 1fr 1fr auto; }
.xuno .cb-err:empty { display: none; }
.xuno .cb-nota { margin: 0; font-size: .78rem; }
.xuno-foto { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 12px; border: 1.5px dashed var(--verde); border-radius: 12px; background: #f0fbf4; text-decoration: none; color: var(--testo); }
.xuno-foto > span:first-child { font-size: 1.4rem; }
.xuno-foto b { display: block; font-size: .95rem; color: #128c3e; }
.xuno-foto small { display: block; font-size: .78rem; color: var(--grigio); line-height: 1.3; }
.xuno-foto i { margin-left: auto; font-style: normal; font-size: 1.6rem; color: #128c3e; line-height: 1; }
@media (max-width: 600px) {
  .xuno form.cb { grid-template-columns: 1fr 1fr; }
  .xuno form.cb button { grid-column: 1 / -1; }
  .xuno form.cb input { padding: 11px 10px; }
}
/* ===== простая форма «Prenota» (главная) ===== */
.prenota-facile { display: grid; gap: 18px; max-width: 620px; margin: 0 auto; }
.pf-passo { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-passo legend, .pf-lab { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--blu); padding: 0; margin-bottom: 8px; }
.pf-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--arancio); color: #fff; font-size: 1.05rem; flex: none; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; padding: 8px 4px; border: 2px solid var(--bordo); border-radius: 14px; background: #fff; font: inherit; font-weight: 700; font-size: .9rem; line-height: 1.15; color: var(--blu); cursor: pointer; text-align: center; }
.tile-i { font-size: 1.7rem; line-height: 1; }
.tile[aria-pressed="true"] { border-color: var(--verde); background: #eaf8ef; box-shadow: 0 0 0 2px var(--verde) inset; }
.tile:focus-visible, .pf-in:focus, .pf-invia:focus-visible { outline: 3px solid var(--arancio); outline-offset: 2px; }
.pf-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.15rem; padding: 14px 14px; border: 2px solid var(--bordo); border-radius: 14px; background: #fff; color: var(--testo); }
textarea.pf-in { font-size: 1.05rem; resize: vertical; }
.pf-altro { border: 2px dashed var(--bordo); border-radius: 14px; padding: 12px 14px; background: #fff; }
.pf-altro summary { cursor: pointer; font-weight: 700; color: var(--blu); font-size: 1.02rem; }
.pf-altro summary small { color: var(--grigio); font-weight: 600; }
.pf-altro-in { display: grid; gap: 6px; margin-top: 12px; }
.pf-lab2 { font-weight: 700; color: var(--blu); margin-top: 6px; }
.pf-foto { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px dashed var(--verde); border-radius: 14px; background: #f0fbf4; cursor: pointer; font-weight: 800; font-size: 1.05rem; color: #128c3e; }
.pf-foto input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pf-foto-i { font-size: 1.6rem; }
.pf-foto small { color: var(--grigio); font-weight: 600; }
.pf-foto img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; margin-left: auto; }
.pf-invia { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; border: 0; border-radius: 16px; background: #25d366; color: #fff; font: inherit; font-weight: 900; font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 12px rgba(37,211,102,.35); }
.pf-invia svg { width: 30px; height: 30px; }
.pf-nota { text-align: center; margin: 0; color: var(--testo); font-size: .98rem; line-height: 1.5; }
.pf-privacy { text-align: center; margin: 0; color: var(--grigio); font-size: .8rem; }
@media (max-width: 360px) { .tile { font-size: .8rem; min-height: 78px; } .tile-i { font-size: 1.5rem; } }
.pf-nota a { white-space: nowrap; }

/* tiles con foto */
.tile { justify-content: flex-start; padding: 6px 6px 8px; gap: 6px; overflow: hidden; position: relative; }
.tile-foto { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; border-radius: 9px; background: #f2f4f8; }
.tile[data-v="Altro"] { justify-content: center; }
.tile[data-v="Altro"] .tile-i { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 9px; background: #f2f4f8; font-size: 2.2rem; }
.tile[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--verde); color: #fff; font-size: .9rem; line-height: 24px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile > span:last-child { hyphens: manual; max-width: 100%; }
@media (max-width: 360px) { .tile { font-size: .76rem; padding: 5px 4px 7px; } }
/* ===== страницы услуг: тот же главный блок, что на главной ===== */
.hero-serv .briciole { margin: 0 0 10px; font-size: .82rem; color: var(--grigio); }
.hero-serv .briciole a { color: var(--blu); font-weight: 700; }
.hero-serv .hh-testo { grid-template-areas: "h1 scena" "prezzo scena" "cta scena" "plus scena" "prev scena" "sotto scena" "lead lead"; }
.hero-serv .hh-testo h1 { text-transform: none; }
.hero-serv .hh-testo h1 .h1-arancio { color: var(--arancio); text-shadow: none; }
.hero-serv .h1-sub { display: block; margin-top: 6px; font-size: .5em; font-weight: 800; line-height: 1.25; color: var(--blu); }
.hero-serv .hh-app { grid-area: 1 / 1; align-self: start; justify-self: start; position: relative; z-index: 2; width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(11,61,92,.25); margin: 30px 0 0 10px; }
.hero-serv .hh-lead { grid-area: lead; margin: 4px 0 0; font-size: 1rem; line-height: 1.5; color: var(--testo); }
@media (max-width: 900px) {
  .hero-serv .hh-testo { grid-template-areas: "h1" "scena" "prezzo" "cta" "plus" "prev" "sotto" "lead"; }
  .hero-serv .hh-app { width: 84px; height: 84px; border-width: 3px; margin: 0 0 0 0; justify-self: start; align-self: center; left: 8px; top: -6px; }
  .hero-serv .hh-scena { margin-top: -30px; }
}
@media (max-width: 600px) { .hero-serv .hh-lead { font-size: .94rem; } .hero-serv .briciole { margin-bottom: 6px; } }
/* ================= ГЛАВНЫЙ БЛОК ПО МАКЕТУ: кухня на фоне + мастер ================= */
.header-chiaro { border-bottom: 3px solid #3d8fd1; }
.hero-home { position: relative; overflow: hidden; isolation: isolate; padding: 0; background: #fff; }
.hero-home > .wrap { position: relative; z-index: 1; }
.hero-home::before, .hero-home::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-home::before {
  background: linear-gradient(180deg, rgba(200,194,194,0) 560px, rgb(200,194,194) 640px), var(--cl) no-repeat left calc(max(40vw, 50vw - 200px) - var(--da, 10px)) top 0 / auto 640px, rgb(200,194,194); }
.hero-home::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 240' preserveAspectRatio='none'%3E%3Cpath d='M0 240C260 228 520 170 800 40V240Z' fill='%230b3d5c'/%3E%3Cpath d='M0 226C260 214 520 156 800 26' fill='none' stroke='%23f28c28' stroke-width='12'/%3E%3C/svg%3E") right bottom / 62% 230px no-repeat,
    radial-gradient(ellipse 52% 62% at 0% 100%, #fff 55%, rgba(255,255,255,.85) 72%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg, rgba(11,61,92,.97) 0%, rgba(11,61,92,.9) max(24%, calc(50% - 300px)), rgba(11,61,92,.55) max(36%, calc(50% - 140px)), rgba(11,61,92,0) max(48%, calc(50% + 10px))); }
.hero-home .hh-testo { position: relative; z-index: 1; min-height: 0; padding: 30px 0 0; grid-template-columns: minmax(0, 580px) minmax(0, 1fr); column-gap: 30px; row-gap: 16px;
  grid-template-areas: "h1 foto" "citta foto" "prezzo foto" "cta foto" "plus foto" "prev foto" "sotto foto"; align-content: start; }
.hero-home .hh-scena { display: contents; }
.hero-home .hh-scena .hh-foto { grid-area: foto; grid-row: 1 / -1; align-self: end; justify-self: center; width: min(108%, 700px); height: auto; overflow: visible; margin: 0; }
.hero-home .hh-scena .hh-foto img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; border-radius: 0; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 12px 26px rgba(0,0,0,.28)); }
.hero-home .hh-scena .hh-citta { grid-area: citta; justify-self: start; align-self: start; margin: 4px 0 22px; max-width: none; }
.hero-home .hh-testo h1, .hero-serv .h1-sub, .hero-serv .briciole, .hero-serv .briciole a { color: #fff; }
.hero-home .hh-testo h1 { max-width: none; font-size: clamp(2.4rem, 3.6vw, 3.3rem); line-height: 1.06; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-home .hh-testo h1::after { width: 74%; height: 5px; margin-top: 14px; border-radius: 0 0 60% 60% / 0 0 100% 100%; background: linear-gradient(90deg, #f28c28 0%, #f28c28 55%, rgba(242,140,40,0) 100%); }
.hero-serv .hh-testo h1 .h1-arancio { color: #ffa040; }
.hero-home .hh-citta { padding: 16px 26px 34px 18px; gap: 16px; border-width: 3px; }
.hero-home .hh-pin { width: 54px; height: 70px; }
.hero-home .hh-citta b { font-size: clamp(2rem, 3vw, 2.8rem); }
.hero-home .hh-citta b small { font-size: .6em; }
.hero-home .hh-citta span { font-size: 1.3rem; padding: 5px 30px; bottom: -22px; }
.hero-home .hh-prezzo { background: #fff; box-shadow: 0 8px 22px rgba(11,61,92,.16); padding: 12px 22px; border-width: 3px; }
.hero-home .hh-zero-n { font-size: 4.4rem; }
.hero-home .hh-prezzo p { font-size: 1.3rem; }
.hero-home .hh-prezzo strong { font-size: 1.35rem; }
.hero-home .hh-prezzo a { font-size: 1rem; color: var(--blu); }
.hero-home .hh-cta a { min-height: 80px; border-radius: 14px; padding: 10px 18px; box-shadow: 0 6px 14px rgba(0,0,0,.14); }
.hero-home .hh-cta svg { width: 38px; height: 38px; }
.hero-home .hh-cta span { font-size: 1.05rem; }
.hero-home .hh-cta b { font-size: 1.7rem; }
.hero-home .hh-cta .hh-wa { background: #1fbf3a; border-color: #1fbf3a; }
.hero-home .hh-plus .hh-sigillo { width: 86px; height: 90px; }
.hero-home .hh-plus li { font-size: 1.08rem; }
.hero-home .hh-plus small { font-size: .95rem; }
.hero-home .hh-prev { font-size: 1.18rem; }
.hero-home .hh-sotto { padding-bottom: 30px; font-size: 1.05rem; }
.hero-home .hh-sotto a { font-size: 1.15rem; }
.hero-serv .briciole { position: relative; z-index: 1; padding-top: 14px; margin: 0; }
.hero-serv .hh-testo { padding-top: 6px; }
.hero-serv .h1-sub { font-size: .46em; }
.hero-serv .hh-app { grid-area: foto; align-self: start; justify-self: end; margin: 30px 10px 0 0; width: 130px; height: 130px; left: auto; top: auto; z-index: 2; }
.intro-serv { background: #fff; padding: 22px 0 6px; }
.intro-serv .lead { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--testo); max-width: 900px; }
@media (min-width: 901px) { .hero-home > .wrap { max-width: 1280px; } }
@media (min-width: 1600px) { .hero-home::before { background: linear-gradient(180deg, rgba(200,194,194,0) 680px, rgb(200,194,194) 760px), var(--cl) no-repeat left calc(max(40vw, 50vw - 200px) - var(--da2, 10px)) top 0 / auto 760px, rgb(200,194,194); } }
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-home .hh-testo { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); }
  .hero-home .hh-cta b { font-size: 1.35rem; } .hero-home .hh-prezzo p { font-size: 1.1rem; }
}
@media (max-width: 900px) {
  .header-chiaro { border-bottom-width: 2px; }
  .hero-home::before { bottom: auto; height: 440px; background: var(--cs) no-repeat left var(--mx, 0px) top var(--my, 0px) / auto 420px, #fff; }
  .hero-home::after { bottom: auto; height: 460px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) calc(var(--mf, 420px) - 90px), #fff var(--mf, 420px)),
      linear-gradient(90deg, rgba(11,61,92,.75) 0%, rgba(11,61,92,.35) 45%, rgba(11,61,92,0) 70%),
      linear-gradient(180deg, rgba(11,61,92,.85) 0, rgba(11,61,92,.45) 40%, rgba(11,61,92,.1) 75%, rgba(11,61,92,0) 100%); }
  .hero-home .hh-testo { padding-top: 16px; row-gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "prezzo" "cta" "plus" "prev" "sotto"; }
  .hero-home .hh-testo h1 { grid-area: top; align-self: start; max-width: 58%; font-size: clamp(1.35rem, 6.3vw, 1.8rem); line-height: 1.12; z-index: 3; }
  .hero-home .hh-testo h1::after { width: 92%; height: 4px; margin-top: 10px; }
  .hero-home .hh-scena { display: grid; grid-area: top; height: clamp(300px, 84vw, 390px); margin: -16px -20px 0; width: calc(100% + 40px); }
  .hero-serv .hh-scena { height: clamp(330px, 92vw, 420px); }
  .hero-home .hh-scena .hh-foto { grid-area: 1 / 1 / 2 / 2; justify-self: end; align-self: stretch; width: 57%; height: 100%; display: block; overflow: hidden; }
  .hero-home .hh-scena .hh-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; filter: none; }
  .hero-home .hh-scena .hh-citta { grid-area: 1 / 1 / 2 / 2; align-self: end; justify-self: start; margin: 0 0 24px 20px; max-width: 50%; padding: 8px 12px 22px 8px; gap: 6px; }
  .hero-home .hh-pin { width: 28px; height: 36px; }
  .hero-home .hh-citta b { font-size: clamp(1.1rem, 5.3vw, 1.45rem); }
  .hero-home .hh-citta span { font-size: clamp(.74rem, 3.3vw, .9rem); padding: 3px 12px; bottom: -14px; }
  .hero-home .hh-prezzo { padding: 8px 14px; border-width: 2.5px; }
  .hero-home .hh-zero-n { font-size: clamp(3rem, 15vw, 4rem); }
  .hero-home .hh-prezzo p { font-size: clamp(.92rem, 4.2vw, 1.1rem); }
  .hero-home .hh-prezzo strong { font-size: clamp(.95rem, 4.3vw, 1.15rem); }
  .hero-home .hh-cta { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hero-home .hh-cta a { min-height: 60px; padding: 8px 10px; }
  .hero-home .hh-cta svg { width: 28px; height: 28px; }
  .hero-home .hh-cta span { font-size: .8rem; }
  .hero-home .hh-cta b { font-size: clamp(.95rem, 4.4vw, 1.25rem); }
  .hero-home .hh-plus .hh-sigillo { width: 60px; height: 63px; }
  .hero-home .hh-plus li { font-size: .9rem; }
  .hero-home .hh-plus small { font-size: .78rem; }
  .hero-home .hh-prev { font-size: .98rem; }
  .hero-home .hh-sotto { font-size: .9rem; padding-bottom: 22px; }
  .hero-home .hh-sotto a { font-size: 1.05rem; }
  .hero-serv .hh-testo h1 { max-width: 60%; }
  .hero-serv .hh-app { grid-area: 1 / 1 / 2 / 2; justify-self: start; align-self: end; margin: 0 0 120px 20px; width: 70px; height: 70px; }
  .intro-serv { padding-top: 14px; }
  .intro-serv .lead { font-size: .96rem; }
}
@media (max-width: 370px) { .hero-home .hh-cta b { font-size: .98rem; } .hero-home .hh-cta a { gap: 6px; padding: 8px; } .hero-home .hh-cta svg { width: 22px; height: 22px; } }
@media (max-width: 360px) {
  .hero-home .hh-zero-n { font-size: 2.7rem; } .hero-home .hh-prezzo { gap: 10px; padding: 8px 10px; }
  .hero-home .hh-prezzo .hh-zero { padding-right: 10px; }
  .hero-home .hh-prezzo p { font-size: .84rem; } .hero-home .hh-prezzo strong { font-size: .86rem; padding: 1px 8px; }
  .hero-home .hh-cta span { font-size: .68rem; } .hero-home .hh-cta b { font-size: .84rem; } .hero-home .hh-cta svg { width: 18px; height: 18px; } .hero-home .hh-cta a { padding: 8px 7px; gap: 5px; }
}

/* ===== ШАГ 1: новое фото мастера; телефон — вариант 1; компьютер (главная) — фон из макета + волна снизу ===== */
@media (max-width: 900px) {
  .hero-home::after { height: 440px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) calc(var(--mf, 420px) - 90px), #fff var(--mf, 420px)),
      linear-gradient(160deg, rgba(11,61,92,.92) 0%, rgba(11,61,92,.7) 22%, rgba(11,61,92,.2) 42%, rgba(11,61,92,0) 58%); }
  .hero-home .hh-scena { height: 380px; }
  .hero-serv .hh-scena { height: 400px; }
  .hero-home .hh-scena .hh-foto { width: 52%; margin-right: 6px; overflow: visible; align-self: end; height: auto; }
  .hero-home .hh-scena .hh-foto img { height: auto; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
}
@media (min-width: 901px) {
  .hero-home::before { background: var(--pc, url(/img/cucina/sfondo-pc-1672.webp)) no-repeat var(--px, center) top / var(--ps, 100%) auto, linear-gradient(180deg, #fff 0, #eef0f4 100%); }
  .hero-home::after { top: auto; height: min(calc(100vw * 269 / 1199), 250px); background: url(/img/onda-fondo.webp) no-repeat center bottom / 100% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
  .hero-home .hh-scena .hh-foto { width: min(100%, 560px); justify-self: center; }
  .hero-home .hh-scena .hh-foto img { filter: drop-shadow(0 10px 22px rgba(0,0,0,.28)); }
  .hero-home .hh-sotto { padding-bottom: 74px; }
  .hero-home .hh-plus li span, .hero-home .hh-prev { text-shadow: 0 0 6px #fff, 0 0 12px rgba(255,255,255,.9); }
}

/* ===== ТЕЛЕФОН по макету: новый фон (посудомойка слева), мастер до пояса ===== */
@media (max-width: 900px) {
  .hero-home::before { height: 480px; background: var(--pm, url(/img/cucina/mob-casa-820.webp)) no-repeat center top -40px / 100% auto, #fff; }
  .hero-home::after { height: 480px; background:
    linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 290px, rgba(255,255,255,.9) 350px, #fff 390px),
    linear-gradient(165deg, rgba(11,61,92,.55) 0%, rgba(11,61,92,.25) 30%, rgba(11,61,92,0) 50%); }
  .hero-home .hh-testo { padding-top: 16px; }
  .hero-home .hh-testo h1 { max-width: 56%; font-size: clamp(1.35rem, 6.4vw, 1.75rem); text-shadow: 0 2px 6px rgba(0,0,0,.35); }
  .hero-home .hh-scena { height: 290px; margin-top: -16px; }
  .hero-serv .hh-scena { height: 310px; }
  .hero-home .hh-scena .hh-foto { width: 52%; height: 270px; margin-right: 0; align-self: end; overflow: hidden; }
  .hero-serv .hh-scena .hh-foto { height: 290px; }
  .hero-home .hh-scena .hh-foto img { width: 100%; height: auto; object-fit: initial; filter: none; }
  .hero-home .hh-scena .hh-citta { margin: 0 0 10px 20px; max-width: 48%; }
  .hero-serv .hh-app { margin: 0 0 104px 20px; width: 64px; height: 64px; }
}
/* главная, телефон: мастер меньше и ниже */
@media (max-width: 900px) {
  .hero-casa .hh-scena .hh-foto { width: 44%; height: 228px; margin-right: 8px; }
}
@media (max-width: 900px) {
  .hero-home .hh-scena .hh-foto { width: 46%; height: 250px; margin-right: var(--mr, 34px); margin-bottom: -26px; position: relative; z-index: 0; }
  .hero-home .hh-scena .hh-citta { z-index: 2; }
  .hero-home .hh-prezzo { position: relative; z-index: 2; }
  .hero-home .hh-scena .hh-foto { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
}
@media (max-width: 900px) { .hero-serv .hh-scena .hh-foto { height: 250px; } .hero-serv .hh-scena { height: 300px; } }
/* ===== компьютер с невысоким экраном (ноутбук): весь главный блок виден сразу ===== */
@media (min-width: 901px) and (max-height: 1000px) {
  .hero-home .hh-testo { padding-top: clamp(10px, 2vh, 26px); row-gap: clamp(8px, 1.5vh, 16px); grid-template-columns: minmax(0, 290px) minmax(0, 290px) minmax(0, 1fr);
    grid-template-areas: "h1 h1 foto" "citta citta foto" "prezzo prezzo foto" "cta cta foto" "plus plus foto" "prev sotto foto"; }
  .hero-home .hh-testo h1 { font-size: clamp(1.8rem, 4.8vh, 2.9rem); }
  .hero-home .hh-testo h1::after { margin-top: 8px; }
  .hero-home .hh-scena .hh-citta { margin: 0 0 18px; padding: 10px 22px 24px 14px; gap: 12px; }
  .hero-home .hh-pin { width: 40px; height: 52px; }
  .hero-home .hh-citta b { font-size: clamp(1.6rem, 4.2vh, 2.2rem); }
  .hero-home .hh-citta span { font-size: 1.05rem; bottom: -17px; padding: 3px 24px; }
  .hero-home .hh-prezzo { padding: 6px 18px; }
  .hero-home .hh-zero-n { font-size: clamp(3rem, 6vh, 4rem); }
  .hero-home .hh-prezzo p { font-size: 1.12rem; }
  .hero-home .hh-prezzo strong { font-size: 1.15rem; }
  .hero-home .hh-cta a { min-height: clamp(56px, 8vh, 74px); padding: 6px 16px; }
  .hero-home .hh-cta b { font-size: 1.45rem; }
  .hero-home .hh-cta span { font-size: .92rem; }
  .hero-home .hh-plus li { flex-direction: row; text-align: left; justify-content: center; gap: 6px; font-size: .92rem; }
  .hero-home .hh-plus .hh-sigillo { width: clamp(46px, 7vh, 66px); height: clamp(48px, 7.4vh, 70px); flex: none; }
  .hero-home .hh-plus small { font-size: .78rem; }
  .hero-home .hh-prev { font-size: .95rem; line-height: 1.25; padding-top: 10px; align-self: start; }
  .hero-home .hh-prev .hh-prev-ico { width: 40px; height: 40px; }
  .hero-home .hh-sotto { padding: 10px 0 0 6px; border-top: 3px solid var(--arancio); border-radius: 50% 50% 0 0 / 14px 14px 0 0; align-self: start; gap: 6px 10px; font-size: .9rem; margin-bottom: 52px; }
  .hero-home .hh-sotto a { font-size: 1rem; }
  .hero-home .hh-sotto .live { font-size: .78rem; }
  .hero-home .hh-scena .hh-foto { width: min(100%, 560px, calc((100vh - 70px) * .66)); }
  .hero-serv .briciole { padding-top: 8px; }
  .hero-serv .hh-testo { padding-top: 4px; }
  .hero-serv .h1-sub { margin-top: 2px; }
}
@media (min-width: 901px) and (max-height: 1000px) { .hero-home .hh-testo { grid-template-rows: repeat(5, auto) 1fr; } }
