:root {
  --bg: #f3f6f7;
  --surface: #ffffff;
  --fg: #19232c;
  --muted: #4a5863;
  --line: #d3dce1;
  --hero: #19232c;
  --hero-fg: #eef4f7;
  --hero-muted: #aebcc6;
  --green: #08783a;
  --blue: #0a7fa8;
  --green-bright: #3fc26b;
  --blue-bright: #3cc0ee;
  --btn-bg: #08783a;
  --btn-fg: #ffffff;
  --font-display: "Michroma", "Segoe UI", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10181f; --surface: #172029; --fg: #e8eef2; --muted: #a3b2bd; --line: #2a3742;
    --hero: #19232c; --green: #3fc26b; --blue: #3cc0ee;
    --btn-bg: #3fc26b; --btn-fg: #0b1116; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10181f; --surface: #172029; --fg: #e8eef2; --muted: #a3b2bd; --line: #2a3742;
  --hero: #19232c; --green: #3fc26b; --blue: #3cc0ee;
  --btn-bg: #3fc26b; --btn-fg: #0b1116; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: #19232c; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h2 { font-size: clamp(1.35rem, 3.2vw, 2rem); }
h3 { font-size: .95rem; letter-spacing: .02em; }
p { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 1rem; transition: transform .15s ease, background-color .15s ease; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: rgba(238,244,247,.45); color: var(--hero-fg); }
.btn-ghost:hover { background: rgba(238,244,247,.1); }
.hero .btn-primary { background: #3fc26b; color: #0b1116; }

/* Header */
.top { background: var(--hero); color: var(--hero-fg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: .95rem; letter-spacing: .12em; display: block; line-height: 1.1; }
.brand small { display: block; font-size: .7rem; letter-spacing: .32em; color: var(--hero-muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--hero-muted); font-size: .98rem; }
.nav a:hover { color: #fff; }
.nav .btn { min-height: 40px; padding: .3rem 1.1rem; color: #0b1116; }
.nav .btn:hover { color: #0b1116; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--hero); color: var(--hero-fg); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(1.7rem, 4.6vw, 3.1rem); line-height: 1.14; }
.hero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--hero-muted); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.hero figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 16px 14px; font-size: .9rem; color: #fff; background: linear-gradient(transparent, rgba(11,17,22,.85)); border-radius: 0 0 4px 4px; }
.hero figure::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--blue-bright); border-radius: 4px; opacity: .55; z-index: -1; }
.ecg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 54px; display: block; pointer-events: none; }
.ecg path { fill: none; stroke: url(#g); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ecg path { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero figure { max-width: 440px; } .hero figure::before { inset: 10px -8px -10px 8px; } }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.intro { max-width: 40em; color: var(--muted); margin-top: 14px; }

/* Servicios */
.services .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.services .side { position: sticky; top: 96px; }
.services .side img { margin-top: 28px; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 26px 0 26px 22px; border-top: 1px solid var(--line); border-left: 4px solid var(--green); margin-left: 0; }
.svc li:nth-child(even) { border-left-color: var(--blue); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { font-size: 1rem; }
.svc p { margin-top: 8px; color: var(--muted); max-width: 36em; }
@media (max-width: 880px) { .services .wrap { grid-template-columns: 1fr; } .services .side { position: static; } .services .side img { aspect-ratio: 16/10; } }

/* Equipos */
.equipos { background: var(--surface); border-block: 1px solid var(--line); }
.areas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 38px; }
.area { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); overflow: hidden; }
.area .pic { aspect-ratio: 4/3; width: 100%; object-fit: cover; background: var(--line); }
.area .txt { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.area h3 { font-size: .9rem; }
.area ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 1rem; }
.area li { padding-left: 16px; position: relative; }
.area li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 2px; background: var(--green); }
.area p { color: var(--muted); font-size: 1rem; }
.area.plain { border-left: 4px solid var(--green); }
.area.plain:nth-child(even) { border-left-color: var(--blue); }
.stack { grid-column: span 4; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.stack .area { flex: 1 0 auto; grid-column: auto; }
.area.half { grid-column: span 3; }
.area ul.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.more p { font-weight: 500; font-size: 1.1rem; color: var(--fg); }
.more .btn { background: var(--btn-bg); color: var(--btn-fg); }
@media (max-width: 880px) { .areas { grid-template-columns: 1fr 1fr; } .area, .area.half { grid-column: auto; } .stack { grid-column: span 2; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } .stack { grid-column: auto; } .area ul.cols { grid-template-columns: 1fr; } }

/* Proceso */
.steps { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 0 0; counter-increment: s; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.steps h3 { font-size: .95rem; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.steps .n { font-family: var(--font-display); font-size: .78rem; color: var(--blue); display: block; margin-bottom: 8px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.work img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
@media (max-width: 560px) { .work { grid-template-columns: 1fr 1fr; } .work img:last-child { grid-column: span 2; aspect-ratio: 16/9; } }

/* Hoja de vida / QR */
.qr { background: var(--hero); color: var(--hero-fg); }
.qr .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.qr p { color: var(--hero-muted); margin-top: 14px; max-width: 38em; }
.qr .tag { display: inline-block; margin-top: 22px; padding: 6px 14px; border: 1.5px solid var(--blue-bright); border-radius: 999px; font-size: .92rem; color: var(--blue-bright); }
.qr svg.code { width: 132px; height: 132px; }
@media (max-width: 640px) { .qr .wrap { grid-template-columns: 1fr; } }

/* Contacto */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.contact .photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.channels { list-style: none; margin: 28px 0 0; padding: 0; }
.channels li { border-top: 1px solid var(--line); }
.channels li:last-child { border-bottom: 1px solid var(--line); }
.channels a { display: flex; flex-direction: column; padding: 16px 0; text-decoration: none; min-height: 48px; }
.channels a:hover b { color: var(--green); }
.channels small { color: var(--muted); font-size: .9rem; }
.channels b { font-weight: 600; font-size: 1.15rem; overflow-wrap: anywhere; }
.who { margin-top: 22px; color: var(--muted); }
.who strong { color: var(--fg); font-weight: 600; }
@media (max-width: 760px) { .contact .wrap { grid-template-columns: 1fr; } }

footer { background: var(--hero); color: var(--hero-muted); padding-block: 30px calc(30px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; }
.flogo { width: 180px; height: auto; margin-right: auto; }


/* ===== Ampliación: embudo, páginas internas, formulario ===== */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.micro { margin-top: 14px; font-size: .95rem; color: var(--hero-muted); }
.on-light .micro { color: var(--muted); }
.btn-urgent { background: transparent; border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-urgent:hover { background: rgba(60,192,238,.12); }
.btn-line { border-color: var(--green); color: var(--green); background: transparent; }
.btn-line:hover { background: rgba(8,120,58,.08); }
.btn-lg { min-height: 54px; padding-inline: 1.7rem; font-size: 1.05rem; }

/* Barra superior: teléfono */
.nav .tel { color: var(--hero-fg); font-weight: 600; white-space: nowrap; }
@media (max-width: 1000px) { .nav .tel { display: none; } }

/* Cabecera de páginas internas */
.phead { background: var(--hero); color: var(--hero-fg); position: relative; overflow: hidden; }
.phead .wrap { padding-block: clamp(30px, 5vw, 60px) clamp(56px, 7vw, 88px); }
.phead h1 { font-size: clamp(1.45rem, 3.7vw, 2.4rem); line-height: 1.16; max-width: 24em; }
.phead .lead { margin-top: 18px; color: var(--hero-muted); max-width: 38em; font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.crumbs { font-size: .93rem; color: var(--hero-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a { color: var(--hero-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* Franja de confianza */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust { list-style: none; margin-block: 0; padding-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 22px 22px 22px 0; }
.trust li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.trust b { display: block; font-weight: 600; font-size: 1.02rem; }
.trust span { display: block; color: var(--muted); font-size: .98rem; margin-top: 3px; }
@media (max-width: 880px) { .trust { grid-template-columns: 1fr 1fr; } .trust li { padding: 18px 16px 18px 0; } .trust li + li { padding-left: 0; border-left: 0; } .trust li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } .trust li, .trust li:nth-child(even) { padding: 16px 0; border-left: 0; } .trust li + li { border-top: 1px solid var(--line); } }

/* Puertas de entrada */
.doors { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.doors li { border-top: 1px solid var(--line); }
.doors li:last-child { border-bottom: 1px solid var(--line); }
.doors a { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 0 22px 20px; text-decoration: none; border-left: 4px solid var(--green); transition: background-color .15s; }
.doors li:nth-child(2) a { border-left-color: var(--blue); }
.doors a:hover { background: rgba(10,127,168,.06); }
.doors b { font-family: var(--font-display); font-weight: 400; font-size: 1rem; display: block; line-height: 1.3; }
.doors span.d { display: block; color: var(--muted); margin-top: 5px; }
.doors .go { font-weight: 600; color: var(--green); white-space: nowrap; padding-right: 8px; }
@media (max-width: 560px) { .doors a { grid-template-columns: 1fr; } }

/* Contenido de texto */
.prose { max-width: 46em; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; color: var(--muted); }
.prose p strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--green); }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .65em; width: 12px; height: 2px; background: var(--green); }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 8px 32px; }
@media (max-width: 640px) { .ticks.two { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.split aside img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split aside { position: static; } }
.callout { border-left: 4px solid var(--blue); background: var(--surface); padding: 18px 20px; border-radius: 0 4px 4px 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout p { margin-top: 0 !important; }
.callout .btn { margin-top: 14px; }

/* Preguntas frecuentes */
.faqs { margin-top: 26px; border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.08rem; position: relative; min-height: 48px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--green); }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding: 0 0 20px; color: var(--muted); max-width: 46em; }

/* Zonas */
.zones { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.zones li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; background: var(--surface); font-weight: 500; }

/* Relacionados */
.related { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.related a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; background: var(--surface); font-weight: 600; }
.related a:hover { border-color: var(--green); }
.related small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }

.area .more-link { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--green); text-decoration: none; }
.area .more-link:hover { text-decoration: underline; }

/* CTA final */
.final { background: var(--hero); color: var(--hero-fg); }
.final .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.final h2 { max-width: 20em; }
.final p.lead { color: var(--hero-muted); margin-top: 14px; max-width: 34em; }
.final .channels li { border-color: rgba(255,255,255,.15); }
.final .channels small { color: var(--hero-muted); }
.final .channels a:hover b { color: var(--green-bright); }
@media (max-width: 760px) { .final .wrap { grid-template-columns: 1fr; } }

/* Formulario */
.form { display: grid; gap: 18px; max-width: 40em; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(60,192,238,.35); outline-offset: 0; }
.form .invalid { border-color: #c0392b; }
.form .err { color: #c0392b; font-weight: 500; display: none; }
:root[data-theme="dark"] .form .err, :root[data-theme="dark"] .form .invalid { color: #ff8a7a; border-color: #ff8a7a; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; background: var(--surface); cursor: pointer; min-height: 44px; }
.radios input { width: auto; min-height: 0; accent-color: var(--green); }
.radios label:has(input:checked) { border-color: var(--green); background: rgba(8,120,58,.08); }
.form .note { color: var(--muted); font-size: .95rem; }
.form .note a { color: var(--green); }
.form .submit { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

/* Barra fija de contacto en móvil */
.bar { display: none; }
@media (max-width: 760px) {
  .bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--hero); border-top: 1px solid rgba(255,255,255,.12); }
  .bar .btn { flex: 1; min-height: 46px; padding-inline: .8rem; }
  .bar .btn-primary { background: #3fc26b; color: #0b1116; }
  .bar .btn-ghost { flex: 0 0 auto; }
  body { padding-bottom: 72px; }
}
.prose-wide { max-width: 52em; }

.form .lt small { font-weight: 400; color: var(--muted); }
.form input:not([type=radio]), .form select { height: 50px; }
.form label { align-content: start; }

/* ===== Portada: sello + línea de latido ===== */
.hi { min-height: 620px; display: flex; align-items: center; }
.hi .hbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hi::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(25,35,44,.96), rgba(25,35,44,.8) 55%, rgba(25,35,44,.35)); }
.hi .wrap { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hi h1 { font-size: clamp(1.7rem, 4.3vw, 3.1rem); line-height: 1.15; overflow-wrap: break-word; }
.hi .seal { aspect-ratio: 1; position: relative; justify-self: center; width: min(400px, 76vw); border-radius: 50%; box-shadow: 0 0 0 14px rgba(25,35,44,.55); }
.hi .seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hi .seal img { position: absolute; left: 25%; top: 25%; width: 50%; height: 50%; border-radius: 50%; object-fit: cover; }
.hecg { position: absolute; z-index: 1; pointer-events: none; }
.hecg path { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.hecg-d { left: 50%; right: 0; top: 50%; transform: translateY(-50%); width: 50%; height: 160px; }
.hecg-m { display: none; }
@media (max-width: 880px) {
  .hi { min-height: 0; --seal: min(230px, 60vw); }
  .hi .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; padding-top: 40px; padding-bottom: 44px; }
  .hi .seal { order: -1; width: var(--seal); margin-bottom: 26px; box-shadow: 0 0 0 8px rgba(25,35,44,.6); }
  .hi h1 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .hi .lead { margin-inline: auto; font-size: 1.05rem; }
  .hi .cta { flex-direction: column; width: 100%; max-width: 420px; margin-inline: auto; }
  .hi .cta .btn { width: 100%; }
  .hi::before { background: linear-gradient(180deg, rgba(25,35,44,.9), rgba(25,35,44,.82)); }
  .hecg-d { display: none; }
  .hecg-m { display: block; left: 0; right: 0; width: 100%; height: 90px; top: calc(40px + var(--seal) / 2); transform: translateY(-50%); }
}
