/* sitio.css · NOVA DIGITAL · se carga DESPUÉS de styles.css (la hoja original, sin tocar).
   Aquí solo va lo que la copia añade: la fuente Inter servida desde la propia web, los campos nuevos del
   formulario, el aviso de cookies y los ajustes de contraste (el verde de marca #009d89 NO cambia como
   color de marca: solo cambia el tono del TEXTO que lo usa sobre fondos claros). */

/* ---- Fuente Inter (local, sin Google Fonts) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fuentes/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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fuentes/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;
}

/* ---- Contraste (WCAG AA 4,5:1) ---- */
:root {
  --brand-texto: #007565;      /* verde más oscuro, solo para TEXTO sobre fondos claros */
  --brand-texto-oscuro: #1fb8a3; /* verde más claro, solo para TEXTO sobre fondo oscuro (bloque «ink») */
  --brand-boton: #00836e;      /* fondo de botones con texto blanco */
  --rojo-texto: #b80009;       /* la ✕ del bloque «problema» */
}
/* Ajuste de contraste apagado.
   Para encenderlo, añadir class="contraste" a la etiqueta <html>. */
html.contraste .text-brand { color: var(--brand-texto); }
html.contraste .hover\:text-brand:hover { color: var(--brand-texto); }
html.contraste .bg-ink .text-brand { color: var(--brand-texto-oscuro); }
html.contraste .bg-ink .bg-white .text-brand { color: var(--brand-texto); }
html.contraste .text-destructive { color: var(--rojo-texto); }
html.contraste a.bg-brand,
html.contraste button.bg-brand,
html.contraste span.bg-brand.text-brand-foreground { background-color: var(--brand-boton); }
html.contraste #wa-flotante > span.hidden { color: #053b1b; }

/* ---- Formulario ---- */
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.campo-autorizacion { display: flex; align-items: flex-start; gap: .625rem; font-size: 11px; line-height: 1.35; color: var(--muted-foreground); }
.campo-autorizacion input { flex: none; width: 1rem; height: 1rem; margin-top: .1rem; accent-color: #009d89; }
.campo-autorizacion a { text-decoration: underline; }
.campo-autorizacion a:hover { color: var(--foreground); }
.aviso-form { font-size: 12px; line-height: 1.4; text-align: center; color: var(--rojo-texto); }
button.bg-brand { cursor: pointer; border: 0; }
button.bg-brand:disabled { opacity: .7; cursor: progress; }

/* ---- Aviso de cookies (solo aparece si hay medición configurada) ---- */
.aviso-cookies { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 38rem; margin: 0 auto;
  background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1rem 1.25rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); font-size: 13px; line-height: 1.45; }
.aviso-cookies p { margin: 0 0 .75rem; }
.aviso-cookies a { text-decoration: underline; }
.aviso-cookies__botones { display: flex; gap: .75rem; }
.aviso-cookies__botones button { flex: 1; height: 2.5rem; border-radius: 9999px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.aviso-cookies__botones button:hover { border-color: var(--brand-boton); }

/* ---- Páginas legales ---- */
.legal { max-width: 46rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; color: var(--foreground); line-height: 1.65; font-size: 15px; }
.legal h1 { font-size: 2rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5rem; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 2.25rem 0 .5rem; }
.legal p, .legal li { color: var(--foreground); }
.legal p { margin: .75rem 0; }
.legal ul, .legal ol { margin: .75rem 0; padding-left: 1.4rem; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin: .3rem 0; }
.legal a { color: var(--brand-texto); text-decoration: underline; }
.legal .legal__fecha { color: var(--muted-foreground); font-size: 13px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--border); padding: .5rem .65rem; text-align: left; vertical-align: top; }
.legal th { background: var(--muted); font-weight: 600; }
.legal__volver { display: inline-block; margin-bottom: 1.5rem; font-size: 14px; }
.legal button.enlace { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-texto); text-decoration: underline; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .animate-ping { animation: none; }
}
a.bg-primary { background-color: var(--brand-boton); }

/* ---- Lo añadido para el SEO (sitio-mejorado) ---- */
.tarjeta-ancha { grid-column: 1 / -1; }
.enlace-tarjeta { display: inline-block; margin-top: .75rem; font-size: .875rem; font-weight: 500; color: var(--brand-texto); }
.enlace-tarjeta:hover { text-decoration: underline; }
.pie-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; }
.articulo-ancho { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }
.articulo-cabecera { padding: 3rem 0 2.5rem; }
.migas { margin: 0 0 1.5rem; font-size: 13px; color: var(--muted-foreground); }
.migas a { text-decoration: underline; }
.articulo-titulo { margin: .75rem 0 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.articulo-fecha { margin: .75rem 0 0; font-size: 13px; color: var(--muted-foreground); }
.articulo-entrada { margin: 1.25rem 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--muted-foreground); }
.articulo { font-size: 16px; line-height: 1.7; color: var(--foreground); }
.articulo h2 { margin: 2.75rem 0 .75rem; font-size: 1.5rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.articulo h3 { margin: 1.75rem 0 .5rem; font-size: 1.125rem; line-height: 1.35; font-weight: 600; }
.articulo p { margin: .75rem 0; }
.articulo ul, .articulo ol { margin: .75rem 0; padding-left: 1.4rem; }
.articulo ul { list-style: disc; }
.articulo ol { list-style: decimal; }
.articulo li { margin: .4rem 0; }
.articulo a { color: var(--brand-texto); text-decoration: underline; }

/* ---- Menú único ---- */
html { scroll-padding-top: 5rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }
nav .menu-barra { position: static; gap: 1.5rem; }
.menu-hamburguesa { display: none; width: 2.75rem; height: 2.75rem; margin-right: -.5rem; place-items: center; border: 0; border-radius: .625rem; background: none; color: var(--foreground); cursor: pointer; }
.menu-hamburguesa .menu-ico-cerrar { display: none; }
.menu-hamburguesa[aria-expanded="true"] .menu-ico-abrir { display: none; }
.menu-hamburguesa[aria-expanded="true"] .menu-ico-cerrar { display: block; }
.menu-lista { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 1.5rem; }
.menu-enlaces { display: flex; flex: 1; align-items: center; justify-content: center; gap: 1.75rem; }
.menu-enlace { display: inline-flex; align-items: center; gap: .25rem; padding: 0; border: 0; background: none; font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.25rem; color: var(--muted-foreground); cursor: pointer; transition: color .15s; white-space: nowrap; }
.menu-enlace:hover { color: var(--brand); }
.menu-grupo { display: none; }
.menu-sub { position: relative; }
.menu-flecha { width: 1rem; height: 1rem; transition: transform .15s; }
.menu-sub.abierto .menu-flecha { transform: rotate(180deg); }
.menu-panel { display: none; position: absolute; top: 100%; left: -1rem; min-width: 14rem; margin-top: .75rem; padding: .5rem; border-radius: 1rem; background: var(--card); box-shadow: 0 16px 40px rgba(15, 23, 42, .14); outline: 1px solid var(--border); }
.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }
.menu-panel a { display: block; padding: .625rem .75rem; border-radius: .625rem; font-size: .875rem; font-weight: 500; color: var(--foreground); }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--brand-muted); color: var(--brand-texto); }
.menu-sub.abierto .menu-panel { display: block; }
@media (hover: hover) and (min-width: 1024px) { .menu-sub:hover .menu-panel { display: block; } .menu-sub:hover .menu-flecha { transform: rotate(180deg); } }
.menu-cta { flex: none; white-space: nowrap; }
nav a:focus-visible, nav button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 1023.98px) {
  .menu-hamburguesa { display: grid; }
  .menu-lista { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; max-height: calc(100vh - 4rem); overflow-y: auto; padding: 1rem 1.5rem 1.5rem; background: var(--background); border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(15, 23, 42, .1); }
  .menu-lista.abierto { display: flex; }
  .menu-enlaces { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
  .menu-enlace { display: flex; padding: .8rem 0; font-size: 1rem; color: var(--foreground); border-bottom: 1px solid var(--border); }
  .menu-sub > button { display: none; }
  .menu-grupo { display: block; padding: .8rem 0 .25rem; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-foreground); }
  .menu-panel { display: block; position: static; min-width: 0; margin: 0 0 .25rem; padding: 0; background: none; box-shadow: none; outline: 0; }
  .menu-panel::before { display: none; }
  .menu-panel a { padding: .7rem 0; border-radius: 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .menu-cta { justify-content: center; height: 3rem; font-size: 1rem; }
}

/* ---- WhatsApp en celular: barra propia abajo; la página deja su espacio y nada queda tapado ---- */
@media (max-width: 639.98px) {
  body { padding-bottom: calc(3.25rem + env(safe-area-inset-bottom)); }
  #wa-flotante { left: 0; right: 0; bottom: 0; justify-content: center; height: calc(3.25rem + env(safe-area-inset-bottom)); padding: 0 1rem env(safe-area-inset-bottom); border-radius: 0; color: #053b1b; box-shadow: none; --tw-ring-shadow: 0 0 #0000; }
  #wa-flotante > span.hidden { display: inline; color: #053b1b; font-size: 1rem; }
  #wa-flotante .animate-ping { display: none; }
  #wa-flotante svg { fill: #053b1b; }
  #wa-flotante::after { content: "por WhatsApp"; display: none; }
  .aviso-cookies { bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .menu-lista { max-height: calc(100vh - 7.25rem - env(safe-area-inset-bottom)); }
}

/* ---- Componentes de las páginas de servicio ---- */
.pagina-404 { min-height: 60vh; }
.enlace-tarjeta svg { display: inline; }
.s-h1 { font-size: clamp(2.125rem, 4.1vw, 3.25rem); line-height: 1.1; }
.s-hero { position: relative; overflow: hidden; }
.s-hero::before { content: ""; position: absolute; width: 44rem; height: 44rem; right: -14rem; top: -18rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 157, 137, .22), rgba(0, 157, 137, 0)); }
.s-hero::after { content: ""; position: absolute; width: 26rem; height: 26rem; left: -13rem; bottom: -13rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 157, 137, .1), rgba(0, 157, 137, 0)); }
.s-hero .rounded-2xl.bg-card { box-shadow: 0 24px 60px rgba(15, 23, 42, .1); }
.s-hero .migas { margin-bottom: 1.25rem; }
@media (min-width: 1024px) {
  .s-hero::before { right: 0; top: 0; bottom: 0; width: max(516px, calc(50vw - 124px)); height: auto; border-radius: 0 0 0 7rem; background: linear-gradient(155deg, #00ad97 0%, #009d89 45%, #007565 100%); }
  .s-hero::after { left: auto; right: -9rem; top: -9rem; bottom: auto; width: 30rem; height: 30rem; background: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 5rem rgba(255, 255, 255, .05), 0 0 0 10rem rgba(255, 255, 255, .04); }
  .s-hero .rounded-2xl.bg-card { box-shadow: 0 30px 70px rgba(0, 60, 52, .35); }
}
#diagnostico { scroll-margin-top: 5.5rem; }
.s-fondo-suave { background: var(--brand-muted); }
.s-fondo-marca { background: linear-gradient(160deg, var(--brand-muted) 0%, var(--background) 62%); }
.s-pegado { align-self: start; }
@media (min-width: 1024px) { .s-pegado { position: sticky; top: 6rem; } }
.s-ejemplo { display: inline-block; padding: .15rem .55rem; border-radius: 999px; background: #fff3d6; color: #6b4a00; font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }

.s-banda { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.s-cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.s-cifras strong { display: block; font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; color: var(--brand); }
.s-cifras p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .s-cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); } .s-cifras > div + div { padding-left: 1.5rem; border-left: 1px solid var(--border); } }

.s-grafico { padding: 1.5rem; border-radius: 1.25rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.s-grafico figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-bottom: 1.25rem; font-size: .875rem; }
.s-grafico figcaption span { font-size: .75rem; color: var(--muted-foreground); }
.s-grafico ol { display: grid; gap: .75rem; }
.s-grafico li { display: grid; grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr) 3rem; align-items: center; gap: .75rem; font-size: .8125rem; }
.s-bar-via { display: block; height: .625rem; }
.s-bar-via i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--brand); }
.s-bar-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 479.98px) { .s-grafico li { grid-template-columns: minmax(0, 1fr) 3rem; } .s-bar-et { grid-column: 1 / -1; margin-bottom: -.5rem; } }

.s-buscar { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .s-buscar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .s-buscar { grid-template-columns: .8fr 1fr 1fr 1fr; } }
.s-buscar-foto { position: relative; min-height: 20rem; overflow: hidden; border-radius: 1.25rem; }
.s-buscar-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-buscar-foto .s-ejemplo { position: absolute; top: .75rem; left: .75rem; }
.s-burbuja { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; display: flex; align-items: center; gap: .5rem; padding: .625rem .875rem; border-radius: 999px; background: #fff; font-size: .8125rem; font-weight: 500; color: var(--foreground); box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.s-burbuja .ico { width: 1rem; height: 1rem; color: var(--brand); }
.s-mock { display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1rem; border-radius: 1.25rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 16px 36px rgba(15, 23, 42, .07); font-size: .8125rem; }
.s-mock-cab { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.s-mock-busca { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: 999px; background: var(--secondary); color: var(--muted-foreground); }
.s-mock-busca .ico { width: .9rem; height: .9rem; }
.s-res { padding: .75rem; border-radius: .75rem; }
.s-res i { display: block; height: .4rem; margin-top: .4rem; border-radius: 999px; background: var(--secondary); }
.s-res b { display: block; font-size: .9375rem; font-weight: 600; color: var(--brand-texto); }
.s-res small { display: block; font-size: .6875rem; color: var(--muted-foreground); }
.s-res p { margin-top: .15rem; color: var(--muted-foreground); }
.s-res-suya { background: var(--brand-muted); box-shadow: inset 0 0 0 1px rgba(0, 157, 137, .3); }
.s-mapa { display: block; width: 100%; height: auto; border-radius: .75rem; }
.s-acciones { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .5rem; }
.s-acciones span { padding: .15rem .55rem; border-radius: 999px; background: #fff; font-size: .6875rem; font-weight: 500; color: var(--brand-texto); }
.s-chat { padding: .75rem; border-radius: .875rem; background: var(--secondary); line-height: 1.45; }
.s-chat b { font-weight: 600; color: var(--brand-texto); }
.s-chat small { display: flex; align-items: center; gap: .25rem; margin-top: .5rem; font-size: .6875rem; color: var(--muted-foreground); }
.s-chat small .ico { width: .75rem; height: .75rem; }
.s-chat-barra { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: .5rem .5rem .5rem .875rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); color: var(--muted-foreground); }
.s-chat-barra .ico { width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%; background: var(--ink); color: var(--ink-foreground); }
.s-mock .s-mapa + .s-res { margin-top: auto; }
.s-chat-yo { align-self: flex-end; max-width: 88%; background: var(--ink); color: var(--ink-foreground); }

.s-tarjeta { padding: 1.5rem; border-radius: 1rem; background: var(--background); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .15s, box-shadow .15s; }
.s-tarjeta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 157, 137, .35), 0 14px 30px rgba(15, 23, 42, .07); }
.s-icono { display: inline-grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .75rem; background: var(--brand-muted); color: var(--brand-texto); }
.s-icono-oscuro { background: rgba(255, 255, 255, .08); color: #1fb8a3; }
.s-checks { display: grid; gap: .5rem; margin-top: 1rem; }
@media (min-width: 480px) { .s-checks-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; } .s-checks-dos li:last-child { grid-column: 1 / -1; } }
.s-check { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--foreground); }

.s-pasos { position: relative; display: grid; gap: 2rem; margin-top: 3rem; }
.s-pasos li { position: relative; padding-top: 1.5rem; border-top: 2px solid rgba(0, 157, 137, .3); }
.s-pasos li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--background); }
.s-num { display: block; font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: rgba(0, 157, 137, .28); }
.s-pasos h3 { margin-top: .75rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.s-pasos p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .s-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .s-pasos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; } .s-pasos { gap: 0; } .s-pasos li { padding-right: 2rem; } }

.s-plazos { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .s-plazos { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 4rem; } }
.s-gantt { padding: 1.5rem; border-radius: 1.25rem; background: var(--card); box-shadow: 0 16px 36px rgba(15, 23, 42, .06); }
.s-gantt-eje { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: .75rem; font-size: 11px; color: var(--muted-foreground); }
.s-gantt-eje span { padding-left: .25rem; border-left: 1px solid var(--border); }
.s-gantt-fila { padding: .75rem 0; }
.s-gantt-fila + .s-gantt-fila { border-top: 1px solid var(--border); }
.s-gantt-fila p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .125rem .75rem; font-size: .875rem; }
.s-gantt-fila strong { font-weight: 600; }
.s-gantt-fila span { color: var(--muted-foreground); font-size: .8125rem; }
.s-gantt-via { position: relative; height: .75rem; margin-top: .5rem; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--secondary) 0 calc(16.6667% - 1px), var(--border) calc(16.6667% - 1px) 16.6667%); }
.s-gantt-nota { margin-top: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted-foreground); }
.s-gantt-via i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--brand); }

.s-medidas { display: grid; gap: 1.25rem; margin-top: 2rem; }
.s-medidas li { display: flex; gap: 1rem; }
.s-medidas h3 { font-weight: 600; }
.s-medidas p { margin-top: .125rem; font-size: .875rem; color: oklch(70.5% .015 286.067); }
.s-panel { padding: 1.25rem; border-radius: 1.25rem; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.s-panel-cab { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .875rem; font-weight: 600; }
.s-tejas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.s-teja { padding: .875rem; border-radius: .875rem; background: rgba(255, 255, 255, .06); }
.s-teja p { font-size: .75rem; color: oklch(87.1% .006 286.286); }
.s-teja svg { display: block; width: 100%; height: 3.25rem; margin-top: .5rem; }
.s-canales { margin-top: 1rem; padding: .875rem; border-radius: .875rem; background: rgba(255, 255, 255, .06); font-size: .75rem; color: oklch(87.1% .006 286.286); }
.s-canales-barra { display: flex; gap: 2px; height: .75rem; margin-top: .625rem; }
.s-canales-barra i { display: block; }
.s-canales-barra i:nth-child(1) { background: #1fb8a3; border-radius: 4px 0 0 4px; }
.s-canales-barra i:nth-child(2) { background: #8fdccf; }
.s-canales-barra i:nth-child(3) { background: #e6f7f4; border-radius: 0 4px 4px 0; }
.s-canales ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .625rem; }
.s-canales li { display: flex; align-items: center; gap: .375rem; }
.s-canales li i { width: .625rem; height: .625rem; border-radius: 2px; background: #1fb8a3; }
.s-canales li:nth-child(2) i { background: #8fdccf; }
.s-canales li:nth-child(3) i { background: #e6f7f4; }
.s-panel-nota { margin-top: .875rem; font-size: .75rem; color: oklch(70.5% .015 286.067); }

.s-comparar { display: grid; gap: 1rem; margin-top: 3rem; align-items: stretch; }
@media (min-width: 768px) { .s-comparar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; } }
.s-comp { height: 100%; padding: 2rem; border-radius: 1.5rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.s-comp h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.s-comp p { margin-top: .5rem; color: var(--muted-foreground); }
.s-comp .s-comp-nota { margin-top: 1rem; font-size: .8125rem; font-weight: 600; color: var(--foreground); }
.s-comp-marca { background: var(--brand-muted); box-shadow: inset 0 0 0 1px rgba(0, 157, 137, .3); }
.s-comp-marca .s-icono { background: #fff; }
.s-comp-mas { justify-self: center; display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--ink); color: var(--ink-foreground); font-size: 1.5rem; }
.s-comp-pie { display: grid; gap: 1rem; margin-top: 1.5rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .s-comp-pie { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.s-comp-pie a { color: var(--brand-texto); text-decoration: underline; }

.s-fundador { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .s-fundador { grid-template-columns: 19rem 1fr; gap: 4rem; } }
.s-fundador-foto { max-width: 19rem; overflow: hidden; border-radius: 1.5rem; box-shadow: 0 0 0 1px var(--border); }
.s-fundador-foto img { display: block; width: 100%; height: auto; }
.s-fundador-datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.s-fundador-datos div { padding: .75rem; border-radius: .75rem; background: var(--background); box-shadow: 0 0 0 1px var(--border); text-align: center; }
.s-fundador-datos p { font-size: 10px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-foreground); }
.s-fundador-datos strong { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 600; }

.s-cierre { position: relative; }
.s-cierre::before { content: ""; position: absolute; right: -9rem; top: 50%; width: 34rem; height: 34rem; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 157, 137, .42), rgba(0, 157, 137, 0)); }
.s-cierre::after { content: ""; position: absolute; right: 4rem; top: 50%; width: 15rem; height: 15rem; transform: translateY(-50%); border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 3.5rem rgba(255, 255, 255, .03), 0 0 0 7rem rgba(255, 255, 255, .025); }
.s-cierre-in { position: relative; z-index: 1; }
@media (max-width: 767.98px) { .s-cierre::after { display: none; } }
@media (max-width: 639.98px) { .s-cierre-in { padding-left: 1.25rem; padding-right: 1.25rem; } .s-cierre-in a { justify-content: center; height: auto; min-height: 3rem; padding-right: 1rem; font-size: .9375rem; text-align: center; } }
/* En las secciones de dos columnas, el texto de la izquierda baja con el scroll */
@media (min-width: 1024px) { .lg\:grid-cols-\[1fr_2fr\] > div:first-child { position: sticky; top: 6rem; align-self: start; } }

/* Anuncios */
@media (min-width: 1100px) { .s-pasos.s-pasos-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.a-hacemos { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .a-hacemos { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }
.a-foto { margin-top: 2rem; aspect-ratio: 4 / 3; min-height: 0; }
@media (min-width: 1024px) { .a-foto { aspect-ratio: 3 / 4; max-height: 28rem; } }
.a-filas { display: grid; gap: 1rem; align-content: start; }
.a-fila { display: flex; gap: 1.25rem; padding: 1.5rem; border-radius: 1rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.a-fila .s-icono { flex: none; }
.a-fila h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.a-fila p { margin-top: .375rem; font-size: .9375rem; color: var(--muted-foreground); }
.a-flujo { display: grid; justify-items: center; gap: 1rem; margin-top: 3rem; }
.a-flujo .a-flecha { color: var(--brand-texto); transform: rotate(90deg); }
@media (min-width: 900px) { .a-flujo { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; } .a-flujo .a-flecha { transform: none; } }
.a-paso { width: 100%; max-width: 19rem; }
.a-paso > p { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .875rem; font-size: .9375rem; font-weight: 600; }
.a-paso > p strong { display: inline-grid; width: 1.5rem; height: 1.5rem; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; }
.a-tel { display: flex; flex-direction: column; height: 24rem; padding: .625rem; border-radius: 1.75rem; background: var(--ink); box-shadow: 0 24px 50px rgba(15, 23, 42, .18); }
.a-tel-cab { display: flex; justify-content: center; padding: .15rem 0 .5rem; }
.a-post, .a-web, .a-chat { display: flex; flex: 1; flex-direction: column; overflow: hidden; border-radius: 1.25rem; background: var(--card); font-size: .8125rem; }
.a-post-cab { display: flex; align-items: center; gap: .5rem; padding: .75rem; }
.a-post-cab b, .a-chat-cab b { display: block; font-size: .8125rem; font-weight: 600; }
.a-post-cab small { font-size: .6875rem; color: var(--muted-foreground); }
.a-ava { display: inline-grid; width: 2rem; height: 2rem; flex: none; place-items: center; border-radius: 50%; background: var(--brand-muted); color: var(--brand-texto); }
.a-ava .ico { width: 1.125rem; height: 1.125rem; }
.a-post-img { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem; background: linear-gradient(155deg, #00ad97, #007565); color: #fff; text-align: center; }
.a-post-img strong { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.a-post-ico { width: 3rem; height: 3rem; }
.a-post-pie { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem; font-weight: 500; }
.a-post-pie i { padding: .25rem .625rem; border-radius: .375rem; background: var(--secondary); font-size: .6875rem; font-style: normal; font-weight: 600; white-space: nowrap; }
.a-web { padding: 1rem; }
.a-web small { font-size: .6875rem; color: var(--muted-foreground); }
.a-web b { margin-top: .75rem; font-size: 1.375rem; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.a-web ul { display: grid; gap: .5rem; margin-top: 1rem; }
.a-web li { display: flex; align-items: center; gap: .5rem; }
.a-web li span { color: var(--brand-texto); font-weight: 700; }
.a-web-boton { margin-top: auto; padding: .625rem; border-radius: .625rem; background: #25d366; color: #053b1b; font-style: normal; font-weight: 600; text-align: center; }
.a-chat { gap: .5rem; padding-bottom: .75rem; background: #eef3f1; }
.a-chat-cab { display: flex; align-items: center; gap: .5rem; padding: .625rem .75rem; background: var(--card); }
.a-msg { max-width: 85%; margin-left: .625rem; padding: .5rem .625rem; border-radius: .625rem; background: var(--card); line-height: 1.35; }
.a-msg-yo { align-self: flex-end; margin-left: 0; margin-right: .625rem; background: #d3f5de; }
.a-garantias { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .a-garantias { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .a-garantias { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.a-garantias > div { padding: 1.5rem; border-top: 3px solid var(--brand); border-radius: .25rem 0 0 0; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.a-garantias h3 { margin-top: 1rem; font-size: 1.0625rem; font-weight: 600; }
.a-garantias p { margin-top: .375rem; font-size: .875rem; color: var(--muted-foreground); }
.a-promesa { margin-top: 2rem; font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }

/* Guías */
@media (min-width: 1024px) { .s-hero-pad { padding-top: 4rem; padding-bottom: 4rem; } }
.g-hero { position: relative; overflow: hidden; }
.g-hero::before { content: ""; position: absolute; width: 40rem; height: 40rem; right: -12rem; top: -20rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 157, 137, .2), rgba(0, 157, 137, 0)); }
.g-hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .g-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; } }
.g-h1 { margin-top: .75rem; font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.12; }
.g-foto { position: relative; margin: 0; overflow: hidden; border-radius: 1.25rem; }
.g-foto img { display: block; width: 100%; height: auto; }
.g-foto .s-ejemplo { position: absolute; top: .75rem; left: .75rem; }
.g-foto-portada { box-shadow: 0 24px 60px rgba(15, 23, 42, .16); }
.g-cuerpo { display: grid; gap: 2rem; }
@media (min-width: 1100px) { .g-cuerpo { grid-template-columns: 13rem minmax(0, 1fr) 16rem; gap: 3rem; align-items: start; } }
.g-izq, .g-der { min-width: 0; }
@media (min-width: 1100px) { .g-izq, .g-der { position: sticky; top: 6rem; } }
@media (max-width: 1099.98px) { .g-der { display: none; } .g-lectura { max-width: 46rem; margin: 0 auto; width: 100%; } }
.g-indice { padding: 1.25rem; border-radius: 1rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); font-size: .875rem; }
.g-indice > p { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-texto); }
.g-indice ol { display: grid; gap: .625rem; margin-top: .75rem; }
.g-indice a { color: var(--muted-foreground); line-height: 1.3; }
.g-indice a:hover, .g-indice a.activo { color: var(--brand-texto); font-weight: 500; }
.g-lectura { min-width: 0; }
.g-lectura h2 { scroll-margin-top: 5.5rem; }
.g-lectura > h2:first-child { margin-top: 0; }
.articulo .s-checks { margin: 1rem 0; padding: 0; list-style: none; }
.articulo .s-check { margin: 0; font-size: 1rem; }
.articulo .g-foto { margin: 2rem 0; }
.articulo .s-faq p { margin: 0; }
.articulo .s-faq h3 { margin: 0; }
.articulo .g-pasos { margin: 1.25rem 0; padding: 0; list-style: none; counter-reset: paso; }
.g-pasos li { position: relative; margin: 0 0 .875rem; padding-left: 2.75rem; counter-increment: paso; }
.g-pasos li::before { content: counter(paso); position: absolute; left: 0; top: -.125rem; display: grid; width: 1.875rem; height: 1.875rem; place-items: center; border-radius: 50%; background: var(--brand-muted); color: var(--brand-texto); font-size: .875rem; font-weight: 600; }
.g-idea { margin: .875rem 0; padding: 1.25rem 1.5rem; border-radius: 1rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.articulo .g-idea h3 { display: flex; align-items: baseline; gap: .625rem; margin: 0; font-size: 1.0625rem; }
.g-idea-n { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; color: var(--brand); }
.articulo .g-idea p { margin: .375rem 0 0; color: var(--muted-foreground); font-size: .9375rem; }
.g-cta { padding: 1.5rem; border-radius: 1.25rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 18px 40px rgba(15, 23, 42, .08); }
.g-cta-t { margin-top: .75rem; font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--foreground); }
.g-cta-p { margin-top: .375rem; font-size: .875rem; color: var(--muted-foreground); }
.articulo .g-cta a, .g-cta a { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: .625rem; padding: .5rem .25rem; border-radius: 999px; font-size: .875rem; font-weight: 600; text-align: center; text-decoration: none; }
.articulo .g-cta-1, .g-cta-1 { margin-top: 1rem; background: var(--brand); color: var(--brand-foreground); }
.articulo .g-cta-2, .g-cta-2 { color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border); }
.articulo .g-cta-t, .articulo .g-cta-p { margin-left: 0; margin-right: 0; }
.g-cta-movil { display: none; margin: 1.5rem 0; }
@media (max-width: 1099.98px) { .g-cta-movil { display: block; } }
.g-tarjetas { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .g-tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-tarjeta.g-tarjeta-grande { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; } }
.g-tarjeta { display: block; overflow: hidden; border-radius: 1.5rem; background: var(--card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .15s, box-shadow .15s; }
.g-tarjeta:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0, 157, 137, .35), 0 20px 44px rgba(15, 23, 42, .1); }
.g-tarjeta .g-foto { border-radius: 0; }
.g-tarjeta-txt { padding: 1.75rem; }
.g-tarjeta h2 { font-size: 1.375rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.g-tarjeta-grande h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.15; }
.g-tarjeta p { margin-top: .625rem; color: var(--muted-foreground); }
.g-tarjeta-txt > span { display: inline-block; margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--brand-texto); }
@media (min-width: 768px) { .g-tarjeta-grande .g-tarjeta-txt { padding: 3rem; } }
.g-servicios { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .g-servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-servicio { display: block; }
@media (prefers-reduced-motion: reduce) { .g-tarjeta { transition: none; } .g-tarjeta:hover { transform: none; } }

/* Home con el estilo de la página de SEO */
.h-banda .text-2xl { font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.h-banda .text-\[11px\] { font-size: .8125rem; }
.h-banda > div > div { padding-top: 2rem; padding-bottom: 2rem; }
#en-breve .text-2xl { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.h-oscuro .text-muted-foreground { color: oklch(70.5% .015 286.067); }
.h-oscuro .rounded-2xl { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); }
.h-oscuro .text-destructive { color: #ff9a9a; }
.h-oscuro .bg-destructive\/10 { background: rgba(255, 120, 120, .14); }
#problema .rounded-2xl, #en-breve .rounded-2xl, #solucion .rounded-3xl, #servicios .rounded-2xl, #compromisos .rounded-3xl { transition: transform .15s, box-shadow .15s; }
@media (hover: hover) {
  #problema .rounded-2xl:hover, #en-breve .rounded-2xl:hover, #solucion .rounded-3xl:hover, #servicios .rounded-2xl:hover, #compromisos .rounded-3xl:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 23, 42, .1); }
}
.h-oscuro .text-foreground { color: #fff; }
.h-oscuro .rounded-2xl:hover { transform: translateY(-3px); }
#servicios .s-icono { display: grid; margin-bottom: .875rem; }
#solucion .rounded-3xl > span:first-child { font-size: clamp(2.75rem, 4.5vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: rgba(0, 157, 137, .28); }
#proceso .grid { row-gap: 2rem; }
#proceso .grid > div { position: relative; padding: 1.5rem 1.5rem 0 0; border: 0; border-top: 2px solid rgba(0, 157, 137, .3); border-radius: 0; background: none; }
#proceso .grid > div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--background); }
#proceso .grid .text-3xl { display: block; font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: rgba(0, 157, 137, .28); }
@media (min-width: 640px) { #proceso .grid { column-gap: 0; } }
#garantias .rounded-2xl { border-color: transparent; background: var(--card); box-shadow: 0 10px 26px rgba(0, 90, 78, .07); }
#garantias .rounded-2xl:hover { transform: translateY(-3px); }
#garantias .rounded-2xl { transition: transform .15s; }
@media (min-width: 640px) { #contacto .s-cierre .flex-col { flex-wrap: wrap; } #contacto .s-cierre .flex-col a { white-space: nowrap; } }
#contacto .s-cierre::after { display: none; }
#contacto .s-cierre > div { position: relative; z-index: 1; }
.pie-credito { margin-top: 1.25rem; text-align: center; }
.pie-credito a { color: var(--brand-texto); text-decoration: underline; }
.rev { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.rev.vis { opacity: 1; transform: none; }
.rev .s-bar-via i { transform: scaleX(0); transform-origin: left; transition: transform 1s ease .15s; }
.rev.vis .s-bar-via i { transform: none; }
@media print { .rev { opacity: 1; transform: none; } }

.s-faqs { border-top: 1px solid var(--border); }
.s-faq { border-bottom: 1px solid var(--border); }
.s-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.s-faq h3 { font-size: 1rem; font-weight: 500; color: var(--foreground); }
.s-faq-mas { display: grid; flex: none; width: 1.75rem; height: 1.75rem; place-items: center; border-radius: 50%; background: var(--card); color: var(--brand); box-shadow: 0 0 0 1px var(--border); transition: transform .15s; }
.s-faq[open] .s-faq-mas { transform: rotate(45deg); }
.s-faq p { max-width: 48rem; padding-bottom: 1.25rem; font-size: .875rem; color: var(--muted-foreground); }
@media (prefers-reduced-motion: reduce) { .s-tarjeta, .s-faq-mas, .menu-flecha { transition: none; } .s-tarjeta:hover { transform: none; } }
