/* Brentella Impianti: sito di esempio. Linguaggio grafico: lo schema dell'impianto (mandata rossa, ritorno blu, rame). */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }

:root {
  --notte: #0B2545;      /* blu notte: testi e sezioni scure */
  --mandata: #C8102E;    /* rosso mandata: azioni */
  --mandata-scuro: #9E0C24;
  --ritorno: #1F6FB2;    /* blu ritorno: collegamenti e linee */
  --rame: #A8612B;       /* rame: raccordi e dettagli */
  --cemento: #EEF1F4;
  --bianco: #FFFFFF;
  --testo2: #3E5068;
  --grigio: #5B6B7F;
  --linea: #D3DBE4;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --base: "Barlow", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 36px);
  /* cornice di Mestiere in vista */
  --mv-ink: #13262B;
  --mv-bubble: #F2C230;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bianco); color: var(--notte); font-family: var(--base); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ritorno); }
:focus-visible { outline: 3px solid var(--ritorno); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 700; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section[id], main[id] { scroll-margin-top: 80px; }

/* Pulsanti: angoli quasi vivi, come i cartelli di cantiere */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 4px; border: 2px solid transparent; font: inherit; font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-red { background: var(--mandata); color: #FFFFFF; }
.btn-red:hover { background: var(--mandata-scuro); color: #FFFFFF; }
.btn-line { background: var(--bianco); color: var(--notte); border-color: var(--notte); }
.btn-line:hover { background: var(--notte); color: #FFFFFF; }
.btn-dark { background: var(--notte); color: #FFFFFF; }
.btn-dark:hover { background: #163A66; color: #FFFFFF; }

/* Cornice dell'esempio */
.frame { position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 8px var(--gutter); background: var(--mv-ink); color: #E6EEEB; font-family: system-ui, sans-serif; font-size: 14px; }
.frame-text strong { color: #FFFFFF; }
.frame-actions { display: flex; gap: 8px; }
.frame-btn { font: 600 13.5px/1 system-ui, sans-serif; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--mv-bubble); background: var(--mv-bubble); color: var(--mv-ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.frame-btn.ghost { background: transparent; color: #E6EEEB; border-color: rgba(230, 238, 235, 0.4); }
.frame-btn[aria-pressed="true"] { background: #FFFFFF; border-color: #FFFFFF; }

/* Intestazione */
.top { position: sticky; top: 0; z-index: 50; background: var(--bianco); border-bottom: 1px solid var(--linea); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--notte); }
.logo-name { font-family: var(--cond); font-weight: 700; font-size: 25px; letter-spacing: 0.01em; line-height: 1; }
.logo-name span { font-weight: 600; color: var(--grigio); }
.menu { display: flex; gap: 24px; margin-left: auto; font-weight: 500; }
.menu a { color: var(--notte); text-decoration: none; }
.menu a:hover { color: var(--mandata); }
.top-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: 21px; color: var(--notte); text-decoration: none; }
.top-phone svg { color: var(--mandata); }
.top-cta { min-height: 44px; font-size: 18px; }

/* Apertura */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--linea); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-place { font-weight: 600; color: var(--rame); font-size: 16px; }
.hero h1 { margin-top: 14px; font-size: clamp(44px, 5vw, 68px); letter-spacing: -0.005em; }
.hero-lead { margin-top: 20px; font-size: clamp(18px, 1.5vw, 20px); color: var(--testo2); max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--linea); display: grid; gap: 8px; font-weight: 500; }
.hero-facts li { display: flex; gap: 10px; align-items: baseline; }
.hero-facts li::before { content: ""; flex: none; width: 16px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 0L8 5L0 10Z' fill='%23C8102E'/%3E%3Cpath d='M16 0L8 5L16 10Z' fill='%231F6FB2'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Lo schema dell'impianto */
.plant { margin: 0; }
.plant-draw { position: relative; border: 1px solid var(--linea); background: #FFFFFF; }
.plant-svg { width: 100%; height: auto; }
.pipe { stroke-linecap: round; stroke-linejoin: round; }
.spot { position: absolute; transform: translate(-14px, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--notte); }
.spot.left { flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -50%); }
.spot-dot { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--mandata); border: 3px solid #FFFFFF; box-shadow: 0 0 0 2px var(--mandata), 0 6px 14px -4px rgba(11, 37, 69, 0.5); }
.spot-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #FFFFFF; }
.spot-label { background: var(--notte); color: #FFFFFF; font-family: var(--cond); font-weight: 600; font-size: 17px; line-height: 1; padding: 6px 9px; border-radius: 3px; white-space: nowrap; }
.spot:hover .spot-label, .spot[aria-pressed="true"] .spot-label { background: var(--mandata); }
.spot[aria-pressed="true"] .spot-dot { background: var(--notte); box-shadow: 0 0 0 2px var(--notte); }
.plant-info { min-height: 112px; margin-top: 14px; padding: 16px 18px; background: var(--cemento); border-left: 4px solid var(--mandata); }
.plant-hint { color: var(--grigio); }
.plant-info h3 { font-size: 26px; }
.plant-info p { margin-top: 6px; color: var(--testo2); }
.plant-info .btn { margin-top: 12px; min-height: 44px; font-size: 18px; }

/* Il disegno dei tubi all'apertura: l'unico movimento della pagina */
@media (prefers-reduced-motion: no-preference) {
  .js .plant-svg .pipe { stroke-dasharray: 700; stroke-dashoffset: 700; animation: fill-pipe 1.3s cubic-bezier(.4, 0, .2, 1) forwards; }
  .js .plant-svg .pipe.flow { animation-delay: .2s; }
  .js .plant-svg .pipe.ret { animation-delay: .7s; }
  .js .plant-svg .pipe.thin { animation-delay: 1.1s; }
  .js .plant-svg .pipe.copper { animation-delay: 1.3s; }
  .js .spot { animation: spot-in .4s ease-out both; animation-delay: 1.8s; }
}
@keyframes fill-pipe { to { stroke-dashoffset: 0; } }
@keyframes spot-in { from { opacity: 0; } to { opacity: 1; } }

/* Sezioni */
.head { max-width: 640px; }
.head h2 { font-size: clamp(36px, 4.4vw, 56px); }
.head p { margin-top: 12px; color: var(--testo2); font-size: 18px; }
.services, .works, .reviews, .request, .faq { padding: clamp(56px, 7vw, 96px) 0; }
.steps-sec, .zones, .jobs { padding: clamp(56px, 7vw, 96px) 0; background: var(--cemento); }

.service-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--notte); }
.service-list li { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--linea); }
.service-list li:not(:nth-child(3n)) { border-right: 1px solid var(--linea); }
.service-list li:not(:nth-child(3n+1)) { padding-left: 24px; }
.service-list svg { width: 44px; height: 44px; fill: none; stroke: var(--notte); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-list svg .r, .work-draw svg .r { stroke: var(--mandata); }
.service-list svg .b, .work-draw svg .b { stroke: var(--ritorno); }
.service-list h3 { margin-top: 14px; font-size: 27px; }
.service-list p { margin-top: 6px; color: var(--testo2); }
.tag { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--rame); }

/* Percorso come una tubazione con le valvole */
.pipe-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: passo; position: relative; }
.pipe-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 4px; background: var(--mandata); }
.pipe-steps li { position: relative; padding-top: 52px; counter-increment: passo; }
.pipe-steps li::before { content: counter(passo); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--notte); color: #FFFFFF; font-family: var(--cond); font-weight: 700; font-size: 20px; border-radius: 50%; box-shadow: 0 0 0 5px var(--cemento); }
.pipe-steps h3 { font-size: 23px; }
.pipe-steps p { margin-top: 6px; color: var(--testo2); font-size: 16px; }

/* Lavori */
.work-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work { border: 1px solid var(--linea); border-top: 4px solid var(--notte); background: var(--bianco); }
.work-draw { background: var(--notte); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 16px 16px; padding: 18px; }
.work-draw svg { width: 100%; height: auto; fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.work-draw svg .r { stroke: #FF5A6E; }
.work-draw svg .b { stroke: #6FB3EE; }
.work-body { padding: 18px 20px 22px; }
.work-place { font-weight: 600; color: var(--rame); }
.work h3 { margin-top: 4px; font-size: 26px; }
.work dl { margin: 14px 0 0; display: grid; gap: 6px; font-size: 15.5px; }
.work dl div { display: flex; gap: 8px; }
.work dt { color: var(--grigio); min-width: 64px; }
.work dd { margin: 0; font-weight: 500; }

/* Zone */
.zones-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.zone-check { background: var(--bianco); border: 1px solid var(--linea); padding: 24px; }
.zone-check label { font-weight: 600; }
.zone-row { display: flex; gap: 10px; margin-top: 8px; }
.zone-row input { flex: 1; min-width: 0; }
.zone-result { min-height: 26px; margin-top: 12px; font-weight: 600; }
.zone-result.ok, .zone-inline.ok { color: #1D6B3A; }
.zone-result.no, .zone-inline.no { color: var(--mandata); }
.zone-list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; color: var(--testo2); }

.zone-map { width: 100%; height: auto; margin-top: 28px; }
.zone-map .ring { fill: none; stroke: #B9C5D2; stroke-dasharray: 4 6; }
.zone-map .town circle { fill: var(--notte); }
.zone-map .town text { font: 500 12px var(--base); fill: var(--testo2); }
.zone-map .town.on circle { fill: var(--mandata); r: 7px; }
.zone-map .town.on text { fill: var(--mandata); font-weight: 600; }
.zone-map .base circle { fill: var(--rame); }
.zone-map .base text { font: 600 12.5px var(--base); fill: var(--rame); }

/* Recensioni di esempio */
.demo-label { font-size: 15.5px !important; }
.review-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-grid blockquote { margin: 0; background: var(--cemento); padding: 22px; border-left: 4px solid var(--ritorno); }
.review-grid p { font-size: 17px; }
.review-grid footer { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--grigio); }

/* Promemoria */
.reminder { background: var(--notte); color: #FFFFFF; padding: clamp(48px, 6vw, 80px) 0; }
.reminder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.reminder h2 { font-size: clamp(34px, 4vw, 50px); }
.reminder p { margin-top: 12px; color: #C3D0DF; font-size: 18px; max-width: 30em; }
.reminder-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 12px; align-items: end; }
.reminder-form .btn { grid-column: 1 / -1; }
.reminder .field label { color: #C3D0DF; }

/* Campi */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 15.5px; }
.opt { font-weight: 400; color: var(--grigio); }
input[type="text"], input[type="tel"], select, textarea { font: inherit; font-size: 16px; min-height: 50px; padding: 0 14px; width: 100%; border: 1.5px solid #B9C5D2; border-radius: 4px; background: #FFFFFF; color: var(--notte); }
textarea { padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ritorno); box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.2); }

/* Richiesta a passi */
.request-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.request-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 500; }
.request-facts li { padding-left: 22px; position: relative; }
.request-facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 4px; background: var(--mandata); }
.wizard { border: 2px solid var(--notte); padding: clamp(20px, 3vw, 32px); background: #FFFFFF; }
.wizard-progress { height: 6px; background: var(--cemento); }
.wizard-progress span { display: block; height: 100%; width: 25%; background: var(--mandata); transition: width .35s ease; }
.wizard-count { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--grigio); }
.step { border: 0; margin: 12px 0 0; padding: 0; min-width: 0; }
.step legend { padding: 0; font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1.1; }
.sub-legend { margin-top: 18px; font-weight: 600; }
.step .field { margin-top: 16px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.chips.small { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: flex; align-items: center; min-height: 54px; padding: 8px 14px; border: 1.5px solid #B9C5D2; border-radius: 4px; font-weight: 600; line-height: 1.25; transition: border-color .15s, background-color .15s, color .15s; }
.chips label:hover span { border-color: var(--notte); }
.chips input:checked + span { background: var(--notte); border-color: var(--notte); color: #FFFFFF; }
.chips input:focus-visible + span { outline: 3px solid var(--ritorno); outline-offset: 2px; }
.step-error { min-height: 22px; margin-top: 10px; color: var(--mandata); font-weight: 600; font-size: 15px; }
.zone-inline { min-height: 22px; margin-top: 8px; font-weight: 600; font-size: 15px; }
.drop { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #9FB0C3; border-radius: 4px; cursor: pointer; color: var(--testo2); }
.drop svg { flex: none; color: var(--ritorno); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { border-color: var(--ritorno); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--linea); }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wizard-nav .btn-red { margin-left: auto; min-width: 160px; }
.sent h3 { font-size: 32px; }
.sent-demo { margin-top: 12px; color: var(--testo2); }
.sent .btn { margin-top: 18px; }
.push { margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #F6F8FA; border: 1px solid var(--linea); border-radius: 14px; box-shadow: 0 16px 30px -22px rgba(11, 37, 69, 0.6); max-width: 440px; }
.push-icon { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--notte); display: flex; align-items: center; justify-content: center; }
.push-title { font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.push-title span { font-weight: 400; color: var(--grigio); font-size: 14px; }
.push-text { color: var(--testo2); font-size: 15.5px; }

/* Lavora con noi */
.jobs-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--notte); }
.job-list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid #C9D3DE; }
.job-list h3 { font-size: 26px; }
.job-list p { margin-top: 4px; color: var(--testo2); }
.job-list .btn { flex: none; }

/* Domande */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq-list details { border-bottom: 1px solid var(--linea); }
.faq-list details:first-child { border-top: 2px solid var(--notte); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--cond); font-weight: 600; font-size: 24px; line-height: 1.15; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 3px solid var(--mandata); border-bottom: 3px solid var(--mandata); transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 20px; color: var(--testo2); max-width: 40em; }

/* Piede */
.foot { background: var(--notte); color: #C3D0DF; padding: 44px 0; font-size: 15.5px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; }
.foot-name { font-family: var(--cond); font-weight: 700; font-size: 24px; color: #FFFFFF; }
.foot p + p { margin-top: 6px; }
.foot strong { color: #FFFFFF; font-weight: 600; }
.foot a { color: #FFFFFF; }
.foot-demo { color: var(--mv-bubble); }

/* Barra in basso sul telefono */
.callbar { display: none; }

/* Note di Mestiere in vista */
.note-pin { position: absolute; z-index: 40; top: -12px; left: -12px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--mv-ink); background: var(--mv-bubble); color: var(--mv-ink); font: 700 14px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5); }
.note-pin[aria-current="true"] { background: #FFFFFF; }
.notes-on [data-note] { position: relative; outline: 2px dashed rgba(242, 194, 48, 0.9); outline-offset: 6px; }
.notes-on .top-phone[data-note] { outline-offset: 3px; }
.note-panel { position: fixed; z-index: 70; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); background: var(--mv-ink); color: #E6EEEB; padding: 18px 20px; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); font-family: system-ui, sans-serif; }
.note-title { font-weight: 700; color: var(--mv-bubble); font-size: 14px; }
.note-text { margin-top: 6px; font-size: 16px; line-height: 1.5; }
.note-actions { display: flex; gap: 8px; margin-top: 14px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 20px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); background: var(--mv-ink); color: #FFFFFF; padding: 12px 16px; border-radius: 12px; font: 500 15px/1.4 system-ui, sans-serif; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.6); }
.toast strong { color: var(--mv-bubble); }

/* Adattamento */
@media (max-width: 1080px) {
  .menu { display: none; }
  .top-phone { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .zones-grid, .request-grid, .jobs-grid, .faq-grid, .reminder-grid { grid-template-columns: minmax(0, 1fr); }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list li, .service-list li:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-right: 0; }
  .service-list li:nth-child(odd) { border-right: 1px solid var(--linea); }
  .service-list li:nth-child(even) { padding-left: 20px; }
  .pipe-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pipe-steps::before { left: 17px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .pipe-steps li { padding: 4px 0 0 58px; }
  .work-grid, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .work { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 74px; }
  .frame-long { display: none; }
  .frame { font-size: 13px; padding: 7px 12px; }
  .frame-btn { padding: 8px 10px; font-size: 12.5px; }
  .top-inner { min-height: 62px; gap: 12px; }
  .logo-name { font-size: 22px; }
  .top-phone, .top-cta { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .spot-label { font-size: 15px; padding: 5px 7px; }
  .spot.left { flex-direction: column-reverse; gap: 4px; transform: translate(-50%, calc(-100% + 14px)); }
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .service-list li, .service-list li:nth-child(even), .service-list li:nth-child(odd) { padding: 22px 0; border-right: 0; }
  .work { display: block; }
  .chips, .chips.small { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .reminder-form { grid-template-columns: minmax(0, 1fr); }
  .job-list li { flex-direction: column; align-items: flex-start; }
  .callbar { display: flex; gap: 10px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid var(--linea); }
  .callbar .btn { flex: 1 1 0; min-height: 50px; }
  .note-panel, .toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
