/* MLMA Group · mlmagroupllc.com
   Colores del logo: azul #148CCC (solo para dibujos: con texto blanco no se lee bien)
   y gris. Para botones y enlaces se usa un azul más oscuro (#0B6FA8) que sí se lee. */

/* ---------------------------------------------------------------- letra */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- base */
:root {
  --brand: #148ccc;
  --brand-soft: #e7f3fa;
  --link: #0b6fa8;
  --link-hover: #095c8c;
  --navy: #0a1622;
  --navy-2: #0e2135;
  --navy-3: #13304b;
  --ink: #0f1b2a;
  --muted: #4a5868;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --surface: #f5f8fb;
  --seal-bg: #f7f7f7; /* el mismo gris del fondo de los sellos */
  --ok: #15803d;
  --ok-soft: #e8f5ec;
  --wa: #1a7f4b;
  --on-dark: #c9d4e0;
  --on-dark-2: #9fb0c2;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 42, .06);
  --shadow: 0 1px 2px rgba(15, 27, 42, .05), 0 10px 30px rgba(15, 27, 42, .08);
  --shadow-lg: 0 2px 4px rgba(4, 12, 22, .12), 0 24px 60px rgba(4, 12, 22, .35);
  --wrap: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2.15rem, 1.4rem + 3.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.45rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: #cfe8f6; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.15em; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 620; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55em .95em; font-size: .95rem; }
.btn-lg { padding: .9em 1.35em; font-size: 1.04rem; }
.btn-primary { background: var(--link); color: #fff; }
.btn-primary:hover { background: var(--link-hover); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8f1f8; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--link); color: var(--link); }

/* ---------------------------------------------------------------- encabezado */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); }
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 560; font-size: .97rem; text-decoration: none; letter-spacing: -.005em;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--surface); color: var(--link); }
.nav-links a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }
.nav-extra { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.lang a {
  padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 650; letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-cerrar { display: none; }

/* El menú se recoge antes en pantallas medianas: en español los enlaces son más largos. */
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .brand img { height: 54px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(15, 27, 42, .12);
    padding: 8px 24px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .nav-open .nav { display: flex; }
  .js .nav-open .ico-abrir { display: none; }
  .js .nav-open .ico-cerrar { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 14px 4px; font-size: 1.06rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: 14px; border-radius: 0; }
  .nav-extra { justify-content: space-between; padding-top: 18px; }
  .nav-extra .btn { flex: 1; margin-left: 16px; padding: .8em 1em; font-size: 1rem; }
  .no-js .header-row { flex-wrap: wrap; padding-bottom: 12px; }
  .no-js .nav { width: 100%; flex-wrap: wrap; }
  .no-js .nav-links { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav-links a { border: 0; padding: 6px 8px; }
}

/* ---------------------------------------------------------------- piezas comunes */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--link);
}
.eyebrow-dark {
  color: #9ad4f3; background: rgba(20, 140, 204, .14); border: 1px solid rgba(20, 140, 204, .32);
  padding: 6px 12px; border-radius: 999px; letter-spacing: .08em;
}
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
.tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--link);
}
.tile .ico { width: 24px; height: 24px; }
.tile-sm { width: 38px; height: 38px; border-radius: 10px; }
.tile-sm .ico { width: 20px; height: 20px; }
.tile-dark { background: rgba(20, 140, 204, .16); color: #8fd0f5; }
.tile-wa { background: #e6f4ec; color: var(--wa); }
.more { margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 620; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-ext { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.link-ext .ico { width: 1em; height: 1em; }

.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.section-alt .card { box-shadow: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split .section-head { margin-bottom: 0; }

.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.ticks .ico { color: var(--ok); width: 1.2em; height: 1.2em; margin-top: .2em; }

.scope-note {
  margin-top: 28px; max-width: 880px; font-size: .9rem; color: var(--muted);
  padding-left: 14px; border-left: 3px solid var(--line-2);
}

.grade {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; font-weight: 750; font-size: .92rem;
}
.grade-a { background: #dcf3e4; color: #166534; }
.grade-b { background: #dcecfa; color: #0b5a8a; }
.grade-c { background: #fdf0d5; color: #8a5300; }
.grade-d { background: #eceff3; color: #4a5868; }

/* arcos de adorno (las medias lunas del logo) */
.arcs { position: absolute; pointer-events: none; }
.arc-blue { fill: var(--brand); opacity: .2; }
.arc-gray { fill: #a4b1be; opacity: .12; }

/* ---------------------------------------------------------------- portada */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 520px at 85% 10%, rgba(20, 140, 204, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(20, 140, 204, .1), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 84px 0 140px;
}
.arcs-hero { width: 760px; right: -170px; top: -120px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; max-width: 13.5em; }
.hero .lead { margin-top: 22px; font-size: 1.2rem; line-height: 1.55; color: var(--on-dark); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .93rem; color: var(--on-dark-2); max-width: 36em;
}
.hero-trust > .ico { color: #8fd0f5; width: 26px; height: 26px; margin-top: 2px; }
.hero-trust .trust-marks { color: #fff; font-weight: 600; letter-spacing: -.005em; margin-bottom: 2px; }
.hero-trust a { color: #8fd0f5; font-weight: 600; }
.hero-trust a:hover { color: #c4e7fa; }

.lot-card {
  margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 24px 24px 20px; box-shadow: var(--shadow-lg); position: relative;
}
.lot-head { display: flex; align-items: center; gap: 12px; }
.lot-head > div { flex: 1; min-width: 0; }
.lot-title { font-weight: 700; letter-spacing: -.01em; }
.lot-sub { font-size: .88rem; color: var(--muted); }
.chip {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px;
}
.lot-bar { width: 100%; height: 8px; margin-top: 18px; border-radius: 99px; overflow: hidden; }
.lot-bar .g-a, .dot.g-a { fill: #22a35a; background: #22a35a; }
.lot-bar .g-b, .dot.g-b { fill: var(--brand); background: var(--brand); }
.lot-bar .g-c, .dot.g-c { fill: #e8a325; background: #e8a325; }
.lot-legend { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lot-legend .dot { width: 8px; height: 8px; border-radius: 50%; margin-left: 8px; }
.lot-legend .dot:first-child { margin-left: 0; }
.lot-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .9rem; }
.lot-table th {
  text-align: left; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line);
}
.lot-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lot-table tr:last-child td { border-bottom: 0; }
.lot-table .c { text-align: center; width: 1%; padding-left: 10px; padding-right: 10px; }
.lot-table .dev { font-weight: 600; }
.lot-table .gb { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.lot-table .grade { width: 24px; height: 24px; font-size: .8rem; border-radius: 6px; }
.ok {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok);
}
.ok .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.lot-foot { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--muted); }

.facts-wrap { position: relative; z-index: 2; margin-top: -72px; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.facts li { display: flex; gap: 14px; align-items: center; padding: 26px 24px; background: #fff; }
.facts strong { display: block; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.facts span:not(.tile) { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.facts-wrap + .section { padding-top: 88px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-n { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: #d7e2ec; font-variant-numeric: tabular-nums; }
.step h3 { margin: 18px 0 6px; }
.step p { font-size: .98rem; color: var(--muted); }
.section:not(.section-alt) .step { background: var(--surface); border-color: transparent; }

.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.how li { position: relative; }
.how-n {
  display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; background: var(--link); color: #fff; font-weight: 750;
  box-shadow: 0 0 0 6px #fff;
}
.how li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -16px; height: 2px;
  background: linear-gradient(90deg, var(--line-2), var(--line));
}
.how h3 { margin: 18px 0 6px; }
.how p { color: var(--muted); font-size: .98rem; }

/* ---------------------------------------------------------------- sellos */
.certs { display: grid; grid-template-columns: minmax(300px, .85fr) 2fr; gap: 20px; align-items: stretch; }
.cert { background: var(--seal-bg); border: 1px solid #e6e6e6; border-radius: var(--radius-lg); padding: 28px; }
.cert-r2 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.seal-r2 { display: block; border-radius: 4px; }
.seal-r2 img { width: 168px; } /* SERI: nunca menos de 160 px */
.cert-r2.is-big .seal-r2 img { width: 200px; }
.cert-title { font-size: 1.2rem; }
.cert-meta { color: var(--muted); font-size: .9rem; }
.cert-body .link-ext { margin-top: 10px; font-size: .95rem; }
.cert-iso { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.iso-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.iso { display: flex; flex-direction: column; align-items: center; text-align: center; }
.seal-iso { width: 196px; }
.iso-text { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; font-size: .92rem; line-height: 1.35; }
.iso-text strong { font-size: 1rem; }
.iso-text span:not(.cert-meta) { color: var(--ink); }
.iso-text .cert-meta { font-size: .84rem; }
.anab {
  display: flex; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid #e3e3e3;
}
.seal-anab { width: 112px; } /* ANAB: siempre más chico que el sello de Amtivo */
.anab p { font-size: .88rem; color: var(--muted); }

.split-seal { grid-template-columns: 1.25fr .75fr; align-items: center; }
.scope { margin: 28px 0 0; }
.scope dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.scope dt:first-child { margin-top: 0; }
.scope dd { margin: 6px 0 0; }
.scope-inline { margin: -16px 0 28px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.scope-inline dt, .scope-inline dd { margin: 0; }
.copies { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.copies .ico { color: var(--link); }

.callout {
  display: flex; gap: 22px; align-items: flex-start;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff;
  border-radius: var(--radius-lg); padding: 40px;
}
.callout h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.callout p { margin-top: 10px; color: var(--on-dark); max-width: 52em; }

/* ---------------------------------------------------------------- páginas internas */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(20, 140, 204, .2), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 76px 0 72px;
}
.page-hero .arcs { width: 560px; right: -150px; top: -150px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero .lead { margin-top: 18px; font-size: 1.16rem; line-height: 1.6; color: var(--on-dark); max-width: 44em; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-quick .btn { font-size: .97rem; }

.checks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.checks li {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.checks strong { display: block; font-weight: 700; }
.checks span:not(.check-ico) { display: block; color: var(--muted); font-size: .97rem; margin-top: 2px; }
.check-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%; background: var(--ok-soft); color: var(--ok);
}
.check-ico .ico { width: 17px; height: 17px; stroke-width: 2.4; }

.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fafcfe; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { width: 1%; }
.table td.muted { font-style: italic; }
.table td:last-child { white-space: nowrap; }

.inline-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inline-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

.prose p + p { margin-top: 1.1em; }
.prose { font-size: 1.1rem; }
.prose-narrow { max-width: 760px; font-size: 1.05rem; }
.facts-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.facts-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.facts-card dl { margin: 0; }
.facts-card dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-card dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts-card dd { margin: 4px 0 0; font-weight: 560; }

/* ---------------------------------------------------------------- contacto */
.contact-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-card h2, .aside-card h2 { font-size: 1.3rem; margin-bottom: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 620; font-size: .95rem; }
.opt { font-weight: 450; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5868' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8593a3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(11, 111, 168, .18); }
.was-validated .field input:invalid { border-color: #b91c1c; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.consent { font-size: .9rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 560; background: var(--surface); border: 1px solid var(--line); }
.form-status.is-ok { background: var(--ok-soft); border-color: #b7e0c4; color: #14532d; }
.form-status.is-error { background: #fdecec; border-color: #f5c2c2; color: #8a1c1c; }
.form button[disabled] { opacity: .7; cursor: progress; }

.contact-aside { display: grid; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.aside-soft { background: var(--surface); }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 620; font-size: 1.04rem; word-break: break-word; }
.contact-list div > span:not(.label) { display: block; }

/* ---------------------------------------------------------------- banda final */
.cta-band {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
}
.arcs-cta { width: 560px; right: -180px; top: -160px; }
.arcs-cta .arc-gray { opacity: .08; }
.cta-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); max-width: 22em; }
.cta-band p { margin-top: 10px; color: var(--on-dark); font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 404 */
.notfound { text-align: center; padding: 120px 0; }
.nf-code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #d7e2ec; }
.notfound h1 { margin-top: 12px; font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); }
.lead-dark { margin-top: 12px; color: var(--muted); font-size: 1.12rem; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 20px; }

/* ---------------------------------------------------------------- pie */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 72px 0 96px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 48px; }
.footer-brand img { width: 168px; }
.footer-brand p { margin-top: 18px; max-width: 30em; color: var(--on-dark-2); }
.footer-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .ico { color: #8fd0f5; width: 18px; height: 18px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: var(--on-dark-2); }
.footer-legal p + p { margin-top: 6px; }
.footer-legal a { color: var(--on-dark); }

/* botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: var(--wa); color: #fff; border-radius: 999px; font-weight: 650; text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 60, 35, .35);
}
.wa-float:hover { background: #156a3e; color: #fff; }
.wa-float .ico { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- pantallas medianas */
@media (max-width: 1080px) {
  .checks { grid-template-columns: repeat(3, 1fr); }
  .checks li { flex-direction: row; }
  .certs { grid-template-columns: 1fr; }
  .cert-r2 { flex-direction: row; text-align: left; justify-content: center; gap: 32px; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .hero { padding: 56px 0 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .lot-card { max-width: 560px; }
  .arcs-hero { width: 560px; right: -220px; top: -60px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .steps, .checks, .inline-list { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .how li:nth-child(2)::after { display: none; }
  .split, .split-seal, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- teléfonos */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .section-lead { font-size: 1.04rem; }
  .hero { padding: 44px 0 110px; }
  .hero .lead { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .arcs-hero { width: 420px; right: -230px; top: -40px; }
  .lot-card { padding: 18px 16px 16px; border-radius: 16px; }
  .lot-table { font-size: .84rem; }
  .lot-table th, .lot-table td { padding-left: 4px; padding-right: 4px; }
  .lot-table .c { padding-left: 4px; padding-right: 4px; }
  .lot-table .gb { display: none; }
  .lot-table th.c { font-size: .62rem; letter-spacing: .02em; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; }
  .facts .tile { width: 40px; height: 40px; }
  .cards-3, .steps, .checks, .inline-list, .how { grid-template-columns: 1fr; }
  .how { row-gap: 26px; }
  .how li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .how-n { grid-row: span 2; }
  .how h3 { margin: 9px 0 4px; }
  .how li:not(:last-child)::after { display: block; top: 52px; bottom: -22px; left: 21px; right: auto; width: 2px; height: auto; background: var(--line); }
  .card, .step { padding: 22px; }
  .cert { padding: 22px 18px; }
  .cert-r2 { flex-direction: column; text-align: center; gap: 16px; }
  .iso-grid { grid-template-columns: 1fr; gap: 6px; }
  .iso { flex-direction: row; text-align: left; gap: 6px; }
  .seal-iso { width: 150px; margin: -8px -6px -8px -14px; }
  .anab { align-items: flex-start; }
  .seal-anab { width: 84px; }
  .callout { flex-direction: column; padding: 28px 22px; }
  .page-hero { padding: 48px 0 44px; }
  .eyebrow-dark { font-size: .72rem; border-radius: 12px; letter-spacing: .06em; }
  .page-hero .lead { font-size: 1.05rem; }
  .hero-quick .btn { flex: 1 1 100%; }
  .form-card { padding: 24px 18px; }
  .form { grid-template-columns: 1fr; }
  .aside-card { padding: 24px 20px; }
  .table th, .table td { padding: 14px 12px; font-size: .95rem; }
  .cta-band { padding: 56px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .wa-float, .cta-band, .arcs { display: none !important; }
  .hero, .page-hero, .callout { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000; }
}
