/* ==========================================================================
   Integra Accesibilidad — hoja de estilos
   Tipografía: Montserrat (titulares, la misma familia del logotipo) y
   Atkinson Hyperlegible Next (texto, diseñada para baja visión). Ambas OFL.
   Paleta: azul y gris del logotipo, azul marino para las bandas oscuras.
   ========================================================================== */

@font-face { font-family: "Atkinson Next"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue: #0b4a96;
  --blue-700: #083a75;
  --navy: #0a2a52;
  --navy-900: #071e3b;
  --blue-100: #e6eef9;
  --blue-200: #c6d8f1;
  --sky: #f1f5fb;
  --grey: #5c5c5c;
  --ink: #16213a;
  --muted: #4d5a6e;
  --line: #d9e1ec;
  --paper: #ffffff;
  --green: #1b8a4c;
  --green-700: #156f3d;
  --amber: #f5b400;
  --focus: #f5b400;
  --shadow: 0 14px 36px rgba(10, 42, 82, 0.12);
  --shadow-sm: 0 4px 14px rgba(10, 42, 82, 0.08);
  --r-lg: 20px;
  --r-md: 12px;
  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 40px);
  --fs: 1.125rem;          /* 18 px; el botón "Aa" sube a 21 px */
  --slope: clamp(28px, 5vw, 72px);
  --ramp-h: 180px;
  --font-display: "Montserrat", "Atkinson Next", Arial, sans-serif;
  --font-text: "Atkinson Next", "Segoe UI", Roboto, Arial, sans-serif;
}
html[data-text="grande"] { --fs: 1.3125rem; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: 62ch; overflow-wrap: anywhere; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; color: var(--navy); overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3em; font-weight: 700; line-height: 1.25; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.35em; overflow-wrap: anywhere; }
strong { font-weight: 700; }
.lead { font-size: 1.18em; color: var(--muted); max-width: 58ch; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- iconos (sprite Lucide) ---------- */
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 0.7em 1.5em;
  border-radius: var(--r-md); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn .ic { font-size: 1.25em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-100); color: var(--navy); }
.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue-200); }
.btn-ghost:hover { background: var(--blue-100); color: var(--blue-700); }

/* ---------- cabecera ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95em; padding: 10px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--blue-100); color: var(--blue-700); }
.top .btn { min-height: 48px; padding: 0.5em 1.1em; font-size: 1em; }
.textsize {
  flex: none; min-width: 48px; min-height: 48px; padding: 0 10px;
  background: #fff; border: 2px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 700; color: var(--grey); cursor: pointer;
}
.textsize:hover { border-color: var(--blue); color: var(--blue); }
.textsize[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 80vh, 820px); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 42, 82, 0.95) 0%, rgba(10, 42, 82, 0.86) 32%, rgba(10, 42, 82, 0.42) 62%, rgba(10, 42, 82, 0.08) 100%),
  linear-gradient(0deg, rgba(10, 42, 82, 0.45) 0%, rgba(10, 42, 82, 0) 35%); }
.hero-content { padding: clamp(64px, 9vw, 110px) 0 calc(var(--slope) + clamp(56px, 7vw, 96px)); }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: 0.45em; }
.hero .lead { color: #dde7f6; max-width: 32ch; margin-bottom: 1.5em; font-size: 1.22em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.3em; }
.hero .note { color: #b7c8e3; font-size: 0.98em; max-width: 44ch; margin: 0; }
.ramp-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--slope); background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 1; }

/* ---------- franja de confianza ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; }
.trust li { display: flex; align-items: center; gap: 14px; margin: 0; font-weight: 500; line-height: 1.35; font-size: 0.98em; }
.trust .ic { font-size: 22px; color: var(--blue); }
.trust .badge { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-100); display: grid; place-items: center; }

/* ---------- secciones ---------- */
.section { padding: clamp(60px, 8vw, 112px) 0; scroll-margin-top: 84px; }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #d6e1f2; }
.section-head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head .lead { margin-bottom: 0; }

/* ---------- servicios: tres tarjetas con foto ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.35em; margin-bottom: 0.2em; }
.card p { color: var(--muted); margin-bottom: 0.6em; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.checks .ic { font-size: 20px; color: var(--blue); margin-top: 0.25em; }
.cards-foot { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cards-foot p { margin: 0; color: var(--muted); }

/* ---------- comparador antes / después ---------- */
.compare { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 2; max-width: 980px; background: var(--sky); user-select: none; touch-action: none; box-shadow: var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.compare-before img { width: auto; max-width: none; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare-handle { position: absolute; top: 0; bottom: 0; width: 4px; background: #fff; transform: translateX(-2px); z-index: 2; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 3px solid var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.compare-handle span::before { content: "\2039\0020\203A"; color: var(--blue); font-size: 26px; font-weight: 800; letter-spacing: 2px; line-height: 1; }
.compare-tag { position: absolute; top: 16px; z-index: 2; background: rgba(10, 42, 82, 0.86); color: #fff; font-weight: 700; padding: 7px 14px; border-radius: 999px; font-size: 0.9em; pointer-events: none; }
.compare-tag-l { left: 16px; } .compare-tag-r { right: 16px; }
.compare-range:focus-visible ~ .compare-handle { outline: 3px solid var(--focus); outline-offset: 2px; }
.compare-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.compare-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-notes li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.compare-notes .ic { font-size: 24px; color: var(--blue); margin-top: 0.15em; }
.compare-notes strong { display: block; }
.compare-notes span { color: var(--muted); }

/* ---------- proceso: tres pasos subiendo por una rampa ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: var(--ramp-h) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps-ramp { position: absolute; left: 0; top: 0; width: 100%; height: var(--ramp-h); overflow: visible; }
.steps-ramp line { stroke: var(--blue); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps-ramp .floor { stroke: var(--blue-200); stroke-width: 3; stroke-dasharray: 2 8; }
.steps li { position: relative; margin: 0; padding-top: 48px; }
.steps .num { position: absolute; left: 0; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4em; box-shadow: var(--shadow-sm); }
.steps li:nth-of-type(1) .num { top: calc(var(--ramp-h) * -0.025 - 28px); }
.steps li:nth-of-type(2) .num { top: calc(var(--ramp-h) * -0.368 - 28px); }
.steps li:nth-of-type(3) .num { top: calc(var(--ramp-h) * -0.711 - 28px); }
.steps h3 { margin-bottom: 0.3em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- proyecto y obra ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.why-media { margin: 0; }
.why-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.points li { display: flex; gap: 18px; align-items: flex-start; margin: 0; }
.points .badge { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); }
.points .ic { font-size: 26px; }
.points h3 { font-size: 1.15em; margin-bottom: 0.2em; }
.points p { margin: 0; color: var(--muted); }

/* ---------- ayudas ---------- */
.aid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.aid-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.aid-card h3 { color: var(--navy); }
.aid-card p { color: var(--muted); }
.aid-card .checks { margin: 0 0 22px; }
.aid-card .btn { width: 100%; }

/* ---------- preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-weight: 700; font-size: 1.08em; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { font-size: 22px; color: var(--blue); flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--blue-100); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > div { padding: 0 54px 22px 4px; color: var(--muted); }

/* ---------- contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-big { display: flex; align-items: center; gap: 16px; margin: 6px 0 22px; }
.contact-big .badge { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.contact-big .ic { font-size: 28px; }
.contact-big a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.contact-big a:hover { color: var(--blue); text-decoration: underline; }
.contact-big small { display: block; color: var(--muted); font-size: 0.95rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.contact-list .ic { font-size: 24px; color: var(--blue); margin-top: 3px; }
.contact-list a { font-weight: 700; }
.contact-list small { display: block; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.form h3 { margin-bottom: 0.2em; }
.form > p { color: var(--muted); margin-bottom: 1.2em; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 54px;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4a96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 22px; padding-right: 46px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid var(--focus); outline-offset: 2px; }
.field .hint { color: var(--muted); font-size: 0.9em; margin: 6px 0 0; }
.field .check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95em; font-weight: 400; }
.check input { width: 24px; height: 24px; min-height: 0; margin: 3px 0 0; flex: none; accent-color: var(--blue); }
.form .btn { width: 100%; }
.form-msg { margin: 14px 0 0; font-weight: 700; }
.form-msg.ok { color: var(--green-700); }
.form-msg.error { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pie ---------- */
.foot { background: var(--navy-900); color: #c9d4e4; padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.7fr); gap: 36px; }
.foot .foot-logo { width: 190px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 16px; }
.foot p { color: #a9b7cc; font-size: 0.95em; }
.foot h3 { color: #fff; font-size: 1em; margin-bottom: 0.7em; font-family: var(--font-text); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 0.5em; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid #243a5c; padding-top: 20px; font-size: 0.9em; color: #8ea0bb; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot .legal a { color: #c9d4e4; }

/* ---------- barra fija inferior (móvil): llamar o pedir visita ---------- */
.callbar { display: none; }

/* ---------- páginas interiores ---------- */
.page { padding: clamp(40px, 6vw, 80px) 0; }
.page .wrap { max-width: 72ch; }
.page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page h2 { font-size: 1.35em; margin-top: 1.8em; }
.page .placeholder { background: #fff4d6; border-left: 4px solid var(--amber); padding: 2px 8px; }

/* ==========================================================================
   Adaptación a pantallas
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --ramp-h: 150px; }
}

@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px var(--gutter) 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 1.1em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; background: #fff; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--ink); }
  .menu-btn .ic { font-size: 26px; }
  .top .btn-primary { display: none; }
}

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .cards .card:last-child:nth-child(odd) img { width: 42%; aspect-ratio: auto; }
  .why, .aid, .faq-grid, .contact, .compare-wrap { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .compare { max-width: none; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; z-index: 0; aspect-ratio: 16 / 10; }
  .hero-media img { object-position: 60% 50%; }
  .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 45%; background: linear-gradient(0deg, var(--navy) 0%, rgba(10, 42, 82, 0) 100%); }
  .hero-shade { display: none; }
  .hero-content { padding: 8px 0 calc(var(--slope) + 44px); }
  .hero h1 { max-width: none; }
  .hero .lead { max-width: none; }
}

@media (max-width: 760px) {
  :root { --slope: 28px; }
  .brand img { height: 42px; }
  .top .wrap { min-height: 70px; gap: 10px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .trust ul { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { display: block; padding: 0 0 0 30px; margin-left: 24px; border-left: 4px solid var(--blue-200); }
  .steps-ramp { display: none; }
  .steps li { padding: 0 0 28px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps .num { left: -62px; top: -6px !important; width: 52px; height: 52px; }
  .foot .wrap { grid-template-columns: 1fr; gap: 26px; }
  .callbar { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 54px; padding: 0.5em 0.7em; font-size: 0.95em; }
  .callbar .btn-ghost { background: #fff; }
  body { padding-bottom: 86px; }
  .faq details > div { padding-right: 4px; }
}

@media (max-width: 400px) {
  .brand img { height: 38px; }
  .btn { white-space: normal; }
}
