/* ==========================================================================
   Llajtasoft — estilos del sitio
   Colores de marca: petróleo #0B5468 · naranja #F47A1F · celeste #EAF6FA · carbón #1F2A30
   ========================================================================== */

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #0b5468;
  --petrol-ink: #083f4e;
  --petrol-panel: #0e6078;
  --petrol-line: rgba(191, 227, 238, 0.28);
  --orange: #f47a1f;
  --orange-hover: #ff8a33;
  --orange-ink: #b4520c;
  --celeste: #eaf6fa;
  --celeste-2: #d4edf5;
  --circuit: #b7dbe7;
  --carbon: #1f2a30;
  --muted: #4a5a62;
  --on-petrol: #ffffff;
  --on-petrol-muted: #c4e6f0;
  --white: #ffffff;

  --font-display: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-card: 0 1px 2px rgba(11, 84, 104, 0.08), 0 12px 32px -8px rgba(11, 84, 104, 0.22);
  --shadow-lift: 0 2px 4px rgba(31, 42, 48, 0.08), 0 18px 40px -12px rgba(11, 84, 104, 0.35);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --header-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--carbon);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--petrol);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }

a { color: var(--petrol); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-ink); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--petrol);
  color: var(--white);
  border-radius: var(--radius-s);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--carbon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover {
  color: var(--btn-fg);
  text-decoration: none;
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(244, 122, 31, 0.8);
}
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--petrol);
  border-color: var(--petrol);
}
.btn--outline:hover { background: var(--petrol); color: var(--white); box-shadow: none; }

.btn--petrol { --btn-bg: var(--petrol); --btn-fg: var(--white); }
.btn--petrol:hover { background: var(--petrol-ink); color: var(--white); box-shadow: 0 10px 24px -10px rgba(8, 63, 78, 0.8); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.975rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(11, 84, 104, 0.1);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--carbon);
  font-weight: 500;
  font-size: 0.975rem;
  text-decoration: none;
}
.nav__links a:hover { background: var(--celeste); color: var(--petrol); }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid rgba(11, 84, 104, 0.25);
  border-radius: 999px;
  background: var(--white);
  color: var(--petrol);
  font: 700 0.95rem/1 var(--font-display);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid rgba(11, 84, 104, 0.12);
    box-shadow: 0 24px 32px -24px rgba(11, 84, 104, 0.35);
  }
  .js .site-header.is-open .nav { display: flex; }
  .js .nav__links { flex-direction: column; align-items: stretch; }
  .js .nav__links a { padding: 12px 8px; font-size: 1.0625rem; border-radius: var(--radius-s); }
  .js .nav .btn { margin-left: 0; }
  /* Sin JavaScript: enlaces visibles en una fila desplazable */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .nav { width: 100%; overflow-x: auto; }
  html:not(.js) .nav .btn { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 34px; }
}

/* ---------- Decoración: líneas tipo circuito ---------- */
.circuit {
  position: absolute;
  pointer-events: none;
  color: var(--circuit);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.circuit circle { fill: var(--celeste); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 28% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    var(--celeste);
  padding-top: clamp(40px, 7vw, 88px);
}
.hero .circuit--tr { top: 18px; right: -40px; width: clamp(220px, 34vw, 460px); }
.hero .circuit--bl { bottom: 34%; left: -60px; width: clamp(180px, 26vw, 340px); transform: scaleX(-1); }

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(2.35rem, 1.4rem + 4.1vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.hero h1 .mark {
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.hero h1 .mark svg {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.36em;
  color: var(--orange);
  overflow: visible;
}
.hero__lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.hero__note svg { width: 18px; height: 18px; color: var(--petrol); flex: none; }

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
}
/* En celular los trazos de circuito se cruzan con los títulos: se ocultan */
@media (max-width: 639px) {
  .circuit { display: none; }
}

/* ---------- Demo de chat (ilustrativa) ---------- */
.demo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}
.demo__card {
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(11, 84, 104, 0.1);
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--petrol);
  color: var(--white);
}
.demo__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--celeste);
  color: var(--petrol);
  flex: none;
}
.demo__avatar svg { width: 22px; height: 22px; }
.demo__who { display: grid; line-height: 1.25; }
.demo__who strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.demo__who span { font-size: 0.8125rem; color: var(--on-petrol-muted); }
.demo__tag {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--petrol-line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-petrol-muted);
  white-space: nowrap;
}

.chat {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 16px 20px;
  list-style: none;
  background:
    linear-gradient(var(--celeste-2) 1px, transparent 1px) 0 0 / 100% 28px,
    var(--celeste);
  background-blend-mode: soft-light;
}
.msg {
  position: relative;
  max-width: 86%;
  padding: 10px 14px 8px;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(31, 42, 48, 0.08);
}
.msg time {
  display: block;
  margin-top: 2px;
  font-size: 0.6875rem;
  color: var(--muted);
  text-align: right;
}
.msg--in {
  justify-self: start;
  background: var(--white);
  border-bottom-left-radius: 4px;
}
.msg--out {
  justify-self: end;
  background: #d5eef6;
  border-bottom-right-radius: 4px;
}
.msg__auto {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--petrol);
}
.msg__auto svg { width: 14px; height: 14px; }

.event {
  justify-self: center;
  display: grid;
  margin: 4px 0;
}
.event > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8438rem;
  font-weight: 600;
  line-height: 1.3;
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.event__pending {
  background: var(--white);
  color: var(--muted);
  border: 1px dashed rgba(11, 84, 104, 0.35);
  opacity: 0;
}
.event__done {
  background: var(--petrol);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(11, 84, 104, 0.9);
}
.event__done b { font-weight: 800; color: #ffd2ad; }
.event__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--carbon);
  flex: none;
}
.event__check svg { width: 14px; height: 14px; }
.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(11, 84, 104, 0.25);
  border-top-color: var(--petrol);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.demo figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-inline: 4px;
  font-size: 0.875rem;
  color: var(--muted);
}
.demo__replay {
  display: none;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(11, 84, 104, 0.3);
  border-radius: 999px;
  background: var(--white);
  color: var(--petrol);
  font: 600 0.8125rem/1 var(--font-body);
  cursor: pointer;
}
.demo__replay:hover { background: var(--petrol); color: var(--white); }
.demo__replay svg { width: 14px; height: 14px; }

/* Secuencia animada (solo con JS y sin "reducir movimiento").
   Si el script no llega a reproducirla, la animación de respaldo muestra todo. */
.motion .chat > li {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom left;
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out);
  animation: chat-fallback 0.5s 2.5s var(--ease-out) forwards;
}
.motion .chat > .msg--out { transform-origin: bottom right; }
.motion .chat.is-armed > li,
.motion .chat.is-playing > li { animation: none; }
.motion .chat.is-playing > li.is-shown { opacity: 1; transform: none; }
@keyframes chat-fallback { to { opacity: 1; transform: none; } }
.chat.is-playing .event:not(.is-done) .event__pending { opacity: 1; }
.chat.is-playing .event:not(.is-done) .event__done { opacity: 0; transform: scale(0.92); }
.chat.is-playing .event.is-done .event__check { animation: pop 0.6s var(--ease-out); }
@keyframes pop {
  0% { transform: scale(0.4); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.js .demo.can-replay .demo__replay { display: inline-flex; }

/* ---------- Horizonte: el cerro y el Cristo ---------- */
.horizon {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 5vw, 56px);
}
.horizon__hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
  color: var(--petrol);
}
.horizon__cerro {
  position: relative;
  width: min(64vw, 440px);
  margin-bottom: -1px;
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section__head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 {
  font-weight: 900;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
}
.section__head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
}

/* Soluciones (sobre petróleo) */
.solutions {
  position: relative;
  background: var(--petrol);
  color: var(--on-petrol);
  padding-top: clamp(40px, 6vw, 72px);
}
.solutions .section__head h2 { color: var(--white); }
.solutions .section__head p { color: var(--on-petrol-muted); }

.solutions__grid {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions__grid > li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1060px) {
  .solutions__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .solutions__grid > li:last-child { grid-column: auto; }
}

.solution {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-l);
  background: var(--petrol-panel);
  border: 1px solid var(--petrol-line);
  overflow: hidden;
}
.solution__scene {
  position: relative;
  min-height: 196px;
  padding: 22px 20px;
  background: var(--petrol-ink);
  border-bottom: 1px solid var(--petrol-line);
  display: grid;
  align-content: center;
}
.solution__body { padding: 24px 24px 28px; }
.solution__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(244, 122, 31, 0.14);
  color: var(--orange);
}
.solution__icon svg { width: 26px; height: 26px; }
.solution h3 {
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
}
.solution p {
  margin-top: 10px;
  color: var(--on-petrol-muted);
  font-size: 1rem;
}

/* Escena 1: bandeja de conversaciones */
.inbox { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.inbox li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.inbox__av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--celeste);
  color: var(--petrol);
  font: 800 0.75rem/1 var(--font-display);
}
.inbox__txt { min-width: 0; line-height: 1.25; }
.inbox__txt b { display: block; font-size: 0.8125rem; color: var(--white); }
.inbox__txt span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: var(--on-petrol-muted);
}
.pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill--new { background: var(--orange); color: var(--carbon); }
.pill--paid { background: var(--celeste); color: var(--petrol); }
.pill--auto { background: transparent; color: var(--on-petrol-muted); border: 1px solid var(--petrol-line); }

/* Escena 2: QR verificado */
.qrcheck {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.qrcheck__qr {
  position: relative;
  padding: 8px;
  border-radius: 12px;
  background: var(--white);
}
.qrcheck__qr svg { width: 100%; height: auto; color: var(--carbon); }
.qrcheck__badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--carbon);
  box-shadow: 0 0 0 3px var(--petrol-ink);
}
.qrcheck__badge svg { width: 16px; height: 16px; }
.qrcheck__rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qrcheck__rows li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--on-petrol-muted);
}
.qrcheck__rows li b { color: var(--white); font-weight: 700; }
.qrcheck__rows svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.qrcheck__rows .ok svg { color: var(--orange); }
.qrcheck__rows .no svg { color: #8fb9c6; }
.qrcheck__rows .no b { text-decoration: line-through; text-decoration-color: #8fb9c6; }

/* Escena 3: módulos a medida */
.modules { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.modules li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--petrol-line);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
}
.modules li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.modules li.more {
  border-style: dashed;
  background: transparent;
  color: var(--on-petrol-muted);
}
.modules li.more::before { background: transparent; border: 1.5px solid var(--on-petrol-muted); }

/* Cómo funciona */
.steps {
  position: relative;
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: repeating-linear-gradient(var(--circuit) 0 10px, transparent 10px 16px);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  align-content: start;
}
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--petrol);
  color: var(--petrol);
  font: 900 1.5rem/1 var(--font-display);
}
.step:last-child .step__num { background: var(--orange); border-color: var(--orange); color: var(--carbon); }
.step h3 { font-weight: 800; font-size: 1.375rem; padding-top: 12px; }
.step p { margin-top: 8px; color: var(--muted); max-width: 30rem; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .steps::before {
    left: 28px;
    right: calc((100% - 80px) / 3);
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--circuit) 0 10px, transparent 10px 16px);
  }
  .step { grid-template-columns: 1fr; gap: 0; }
  .step h3 { padding-top: 24px; }
}

/* Para quién es */
.audience {
  position: relative;
  overflow: hidden;
  background: var(--celeste);
}
.audience .circuit--tr { top: 24px; right: -30px; width: clamp(200px, 28vw, 380px); }
.audience__list {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .audience__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1060px) { .audience__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.audience__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius-m);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
@media (min-width: 1060px) {
  .audience__item { grid-template-columns: 1fr; padding: 24px; }
}
.audience__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--celeste);
  color: var(--petrol);
}
.audience__icon svg { width: 28px; height: 28px; }
.audience__item h3 { font-weight: 800; font-size: 1.25rem; }
.audience__item p { margin-top: 6px; font-size: 0.975rem; color: var(--muted); }

/* CTA final */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--carbon);
}
.cta .circuit { color: rgba(255, 255, 255, 0.45); }
.cta .circuit circle { fill: var(--orange); }
.cta .circuit--tr { top: 20px; right: -40px; width: clamp(220px, 30vw, 420px); }
.cta__inner {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) { .cta__inner { grid-template-columns: minmax(0, 1.3fr) auto; gap: 48px; } }
.cta h2 {
  color: var(--carbon);
  font-weight: 900;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.05;
}
.cta p { margin-top: 14px; font-size: 1.125rem; max-width: 32rem; }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--carbon);
  font-weight: 600;
}
.cta__mail:hover { color: var(--carbon); }
.cta__mail svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(11, 84, 104, 0.12);
  padding-block: clamp(48px, 7vw, 72px) 28px;
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 48px; }
}
.site-footer .brand .footer__logo { width: 184px; height: auto; }
.footer__owner { margin-top: 18px; max-width: 24rem; }
.footer__owner strong { color: var(--petrol); }
.footer__reg { margin-top: 8px; color: var(--muted); font-size: 0.875rem; }
.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--petrol);
}
.footer__contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-style: normal; }
.footer__contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.footer__contact svg { width: 20px; height: 20px; margin-top: 2px; color: var(--petrol); }
.footer__contact a { color: var(--carbon); }
.footer__contact a:hover { color: var(--petrol); }
.footer__legal { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--carbon);
}
.footer__legal a:hover { color: var(--petrol); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 84, 104, 0.12);
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Páginas legales ---------- */
.doc-hero {
  position: relative;
  overflow: hidden;
  background: var(--celeste);
  padding-block: clamp(40px, 7vw, 80px) clamp(32px, 5vw, 56px);
}
.doc-hero .circuit--tr { top: 12px; right: -40px; width: clamp(200px, 30vw, 400px); }
.doc-hero h1 {
  position: relative;
  font-weight: 900;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  max-width: 18ch;
}
.doc-hero p { position: relative; margin-top: 14px; color: var(--muted); max-width: 40rem; }
.doc-meta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--petrol);
  font-size: 0.875rem;
  font-weight: 600;
}
.doc-meta svg { width: 16px; height: 16px; }

.doc-layout {
  display: grid;
  gap: 40px;
  padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px);
}
@media (min-width: 1024px) {
  .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
  .doc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
.doc-toc {
  padding: 20px;
  border-radius: var(--radius-m);
  background: var(--celeste);
  font-size: 0.9375rem;
}
.doc-toc h2 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.doc-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.doc-toc a { color: var(--carbon); text-decoration: none; }
.doc-toc a:hover { color: var(--petrol); text-decoration: underline; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 2.2em;
  font-weight: 800;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-weight: 800; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--petrol); font-weight: 700; }
.prose strong { color: var(--carbon); }

.owner-box {
  padding: 20px 22px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(11, 84, 104, 0.18);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.owner-box dl { display: grid; gap: 10px; margin: 0; }
.owner-box div { display: grid; gap: 2px; }
@media (min-width: 640px) { .owner-box div { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; } }
.owner-box dt { font-weight: 700; color: var(--petrol); font-size: 0.9375rem; }
.owner-box dd { margin: 0; }

.howto { counter-reset: howto; list-style: none; padding: 0 !important; display: grid; gap: 16px; }
.howto > li {
  counter-increment: howto;
  position: relative;
  padding: 18px 20px 18px 72px;
  border-radius: var(--radius-m);
  background: var(--celeste);
}
.howto > li + li { margin-top: 0; }
.howto > li::before {
  content: counter(howto);
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--white);
  font: 900 1.125rem/1 var(--font-display);
}
.howto > li > strong:first-child { display: block; color: var(--petrol); font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.notfound h1 { font-weight: 900; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); }
.notfound p { margin: 16px auto 32px; max-width: 32rem; color: var(--muted); }
.notfound img { width: min(60vw, 280px); margin: 0 auto 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
