/* ==========================================================
   Climasensor SpA — estilos
   Estilo sobrio: azul marino, blanco y un acento azul.
   ========================================================== */
:root {
  --navy: #0a1a33;
  --navy-2: #12264a;
  --blue: #1546c8;
  --blue-dark: #0f379f;
  --blue-tint: #eef2fa;
  --wa: #1f9d55;
  --ink: #0d1726;
  --ink-2: #3d4a5c;
  --muted: #6a7587;
  --line: #e2e6ec;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(13, 23, 38, .04), 0 8px 24px -12px rgba(13, 23, 38, .16);
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .85em 1.4em; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; line-height: 1.2; }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--line { border-color: #c9d0db; color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--line .i-wa, .i-wa { color: var(--wa); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-tint); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-2); padding-inline: .6em; }
.btn--ghost:hover { color: var(--ink); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Encabezado ---------- */
.topbar { background: var(--navy); color: #b8c2d4; font-size: .8rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar a { color: #e6ebf3; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 24px; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(13, 23, 38, .5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: var(--ink-2); font-weight: 500; font-size: .93rem; position: relative; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .25s; }
.menu a:not(.btn):hover { color: var(--ink); }
.menu a:not(.btn):hover::after { right: 0; }
.menu .menu__mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--wa); }
.icon-link:hover { border-color: var(--ink); }
.icon-link .ic { width: 20px; height: 20px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; display: block; }
.kicker--light { color: #8fb0ff; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 70% 30%; border-radius: var(--radius); }
.hero__card { position: absolute; left: -32px; bottom: 32px; background: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 280px; border: 1px solid var(--line); }
.hero__card .ic { width: 38px; height: 38px; padding: 9px; background: var(--blue-tint); color: var(--blue); border-radius: var(--radius); }
.hero__card strong { display: block; font-size: .95rem; }
.hero__card span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }
.facts { margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__grid > div { padding: 26px 24px 26px 0; }
.facts__grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.facts span { font-size: .87rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c3cddd; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head h2 { margin: 0; }
.head p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.section--dark .head p { color: #aab6ca; }

/* Soluciones */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sol img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.sol h3 { margin-bottom: .35em; }
.sol p { color: var(--ink-2); font-size: .95rem; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 88px; border-top: 1px solid var(--line); }
.srv { padding: 32px 28px 8px 0; }
.srv + .srv { padding-left: 28px; border-left: 1px solid var(--line); }
.srv .ic { width: 28px; height: 28px; color: var(--blue); margin-bottom: 18px; }
.srv h3 { font-size: 1.05rem; }
.srv p { font-size: .92rem; color: var(--ink-2); }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; }
.plan--featured { background: var(--navy); border-color: var(--navy); color: #c3cddd; position: relative; }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan__badge { position: absolute; top: -12px; left: 32px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.plan__cap { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.plan--featured .plan__cap { color: #8fa0bd; }
.plan h3 { font-size: 1.45rem; margin-bottom: 4px; }
.plan__from { font-size: .8rem; color: var(--muted); }
.plan--featured .plan__from { color: #8fa0bd; }
.plan__price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin-bottom: 4px; }
.plan__iva { font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.plan--featured .plan__iva { color: #8fa0bd; }
.plan ul { list-style: none; padding: 24px 0 0; margin: 0 0 32px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .93rem; flex: 1; }
.plan--featured ul { border-color: var(--line-dark); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { color: var(--blue); margin-top: 3px; }
.plan--featured li .ic { color: #8fb0ff; }
.plan__actions { display: grid; gap: 10px; }
.plan--featured .btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.plan--featured .btn--line:hover { border-color: #fff; }
.plans-note { margin-top: 28px; font-size: .88rem; color: var(--muted); max-width: 760px; }

/* Proceso */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: p; }
.process li { counter-increment: p; padding: 28px 28px 0 0; border-top: 1px solid var(--line-dark); position: relative; }
.process li::before { content: "0" counter(p); display: block; font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: #8fb0ff; margin-bottom: 14px; }
.process li::after { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: #8fb0ff; }
.process strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.process span { font-size: .92rem; }

/* Agenda */
.agenda { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.agenda__intro p { color: var(--ink-2); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist .ic { color: var(--blue); margin-top: 3px; }
.agenda__contact { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.agenda__contact a { font-weight: 600; }
.booking { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps li { font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--line); }
.steps li span { margin-right: 6px; }
.steps li.is-active, .steps li.is-done { color: var(--ink); border-color: var(--blue); }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { display: block; }
.step legend { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; padding: 0; letter-spacing: -.02em; }
.svc-pick { display: grid; gap: 8px; }
.svc-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; }
.svc-opt:hover { border-color: #b7c2d3; }
.svc-opt { position: relative; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; left: 0; top: 0; }
.svc-opt__radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #9aa6b8; flex: none; }
.svc-opt__txt strong { display: block; font-weight: 600; font-size: .95rem; }
.svc-opt__txt small { color: var(--muted); font-size: .85rem; }
.svc-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.svc-opt:has(input:checked) .svc-opt__radio { border: 5px solid var(--blue); }
.svc-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.plan-pick { margin-top: 14px; }
.step__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.step__nav--end { align-items: flex-end; }
.send { display: flex; gap: 10px; flex-wrap: wrap; }

.cal { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head strong { text-transform: capitalize; font-family: var(--font-head); }
.cal__nav { width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal__nav[disabled] { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: .72rem; font-weight: 600; color: var(--muted); padding: 4px 0; text-transform: uppercase; letter-spacing: .05em; }
.day { height: 42px; border-radius: 4px; border: 1px solid transparent; background: transparent; cursor: pointer; font-weight: 500; font-size: .92rem; }
.day:not([disabled]) { border-color: var(--line); }
.day:not([disabled]):hover { border-color: var(--blue); color: var(--blue); }
.day[disabled] { color: #c2c9d4; cursor: default; }
.day.is-today { font-weight: 800; }
.day.is-selected { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.slots { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.slots p { margin: 0; font-size: .9rem; }
.slots .slot-title { width: 100%; font-weight: 600; font-size: .88rem; margin-bottom: 2px; }
.slot { border: 1px solid var(--line); background: #fff; padding: .55em 1.1em; border-radius: 4px; font-weight: 600; cursor: pointer; font-size: .92rem; }
.slot:hover { border-color: var(--blue); }
.slot.is-selected { background: var(--blue); border-color: var(--blue); color: #fff; }
.summary { border-left: 3px solid var(--blue); background: var(--blue-tint); padding: 12px 16px; margin-bottom: 22px; font-size: .92rem; display: grid; gap: 2px; }

label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-weight: 500; font-size: .88rem; margin-bottom: 16px; color: var(--ink-2); }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; padding: .75em .9em; border: 1px solid #ccd3de; border-radius: 4px; background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 70, 200, .12); }
input.invalid, select.invalid, textarea.invalid { border-color: #c62828; }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
input, select, textarea { min-width: 0; }
.contact > *, .agenda > *, .about > *, .hero__grid > *, .faq-wrap > * { min-width: 0; }
.form-error { background: #fdecec; color: #a01818; border-radius: 4px; padding: 10px 14px; font-size: .9rem; font-weight: 500; }

.done { text-align: center; padding: 24px 0; }
.done.is-active { display: block; }
.done__ic { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; margin: 0 auto 20px; }
.done__ic .ic { width: 28px; height: 28px; }
.done p { color: var(--ink-2); }
.done__btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media img { border-radius: var(--radius); aspect-ratio: 5 / 4.6; object-fit: cover; width: 100%; }
.about p { color: var(--ink-2); }
.datasheet { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); font-size: .93rem; }
.datasheet dt, .datasheet dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.datasheet dt { color: var(--muted); padding-right: 32px; }
.datasheet dd { font-weight: 600; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 40px 22px 0; margin: 0; color: var(--ink-2); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.channels { margin-top: 36px; border-top: 1px solid var(--line-dark); }
.channel { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); color: #fff; }
a.channel:hover .channel__go { transform: translateX(4px); color: #fff; }
.channel > .ic { width: 22px; height: 22px; color: #8fb0ff; }
.channel > .ic.i-wa { color: #4ccf86; }
.channel span { display: grid; min-width: 0; flex: 1; }
.channel small { color: #8fa0bd; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.channel b { font-weight: 600; overflow-wrap: anywhere; }
.channel__go { color: #8fa0bd; transition: transform .2s; }
.contact__form { background: #fff; border-radius: var(--radius); padding: 36px; color: var(--ink); }
.contact__form h3 { color: var(--ink); }

/* Pie */
.footer { background: #07142a; color: #8fa0bd; padding: 64px 0 28px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer__logo { width: 210px; height: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-family: var(--font); font-weight: 600; }
.footer a { color: #c3cddd; display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer__legal { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.footer__legal a { display: inline; text-decoration: underline; color: #8fa0bd; }

/* WhatsApp flotante y barra móvil */
.fab-wa { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(13, 23, 38, .5); transition: transform .2s; }
.fab-wa:hover { transform: translateY(-2px); }
.fab-wa .ic { width: 28px; height: 28px; }
.mbar { display: none; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 4px; font-weight: 500; font-size: .92rem; z-index: 120; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .menu { gap: 20px; }
  .hero__card { left: 16px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .brand img { height: 36px; }
  .burger { display: flex; }
  .nav__cta { display: none; }
  .menu { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
  .menu.is-open { opacity: 1; visibility: visible; transition: opacity .2s; }
  .menu a:not(.btn) { font-size: 1.1rem; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .menu a:not(.btn)::after { display: none; }
  .menu .menu__mobile { display: flex; margin-top: 20px; }
  .menu .menu__mobile + .menu__mobile { margin-top: 10px; }
  .hero { padding-top: 48px; }
  .hero__grid, .agenda, .about, .contact, .faq-wrap, .head { grid-template-columns: 1fr; gap: 40px; }
  .head { gap: 16px; margin-bottom: 40px; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .facts { margin-top: 48px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .solutions, .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plans { gap: 32px; }
  .services { grid-template-columns: 1fr 1fr; }
  .srv:nth-child(3) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); font-size: 15.5px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__card { position: static; margin-top: -40px; margin-inline: 16px; max-width: none; position: relative; }
  .facts__grid > div { padding: 18px 12px 18px 0; }
  .facts__grid > div + div { padding-left: 12px; }
  .facts__grid > div:nth-child(3) { padding-left: 0; }
  .services { grid-template-columns: 1fr; margin-top: 56px; }
  .srv, .srv + .srv { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .booking { padding: 22px 18px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .step__nav .btn--primary { flex: 1; }
  .step__nav--end { flex-direction: column-reverse; align-items: stretch; }
  .send { flex-direction: column; }
  .send .btn { width: 100%; }
  .day { height: 40px; }
  .plan { padding: 30px 24px; }
  .contact__form { padding: 24px 20px; }
  .about { gap: 32px; }
  .datasheet dt { padding-right: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__legal { flex-direction: column; }
  .fab-wa { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 0 0 env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink); height: 60px; }
  .mbar a + a { border-left: 1px solid var(--line); }
  .mbar .ic { width: 20px; height: 20px; }
  .mbar .mbar__cta { background: var(--blue); color: #fff; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
