/* Sitio de Adaptive-Brain. Colores de marca: ver marca/colores.css y marca/manual-de-marca.pdf.
   Dos temas coherentes de punta a punta: claro (por omisión) y oscuro (botón del encabezado). Cada uno
   define los mismos tokens; ninguna sección fija colores propios. El contraste del encabezado y el pie
   viene de su propio tono, la línea turquesa y la sombra, no de mezclar temas. */

@font-face { font-family: "Sora"; src: url(/fuentes/sora.ttf) format("truetype"); font-weight: 100 800; font-display: swap; }
@font-face {
  font-family: "Inter"; src: url(/fuentes/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  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"; src: url(/fuentes/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  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;
}

/* ---------------------------------------------------------------- tokens */
:root {
  /* Marca (fijos) */
  --tinta: #0B1422;
  --sinapsis: #34D1BF;
  --sinapsis-claro: #5BDDCF;
  --bronce: #C9A66B;

  /* Tema claro (por omisión) */
  --fondo: #F7F5F0;              /* papel */
  --fondo-alt: #EDE8DD;          /* papel más hondo: secciones alternas */
  --superficie: #FFFFFF;
  --cabecera-fondo: #FFFFFF;
  --pie-fondo: #E4DDCF;
  --texto: #0B1422;
  --texto-2: #3F4D62;
  --texto-3: #66748A;
  --borde: #DDD5C5;
  --acento-texto: #0B7A6F;       /* turquesa legible sobre claro */
  --bronce-texto: #86652F;       /* bronce legible sobre claro */
  --linea-acento: #1FA898;       /* línea bajo la cabecera y bordes destacados */
  --icono-fondo: #0B1422;        /* fondo de los íconos de servicios */
  --icono-trazo: #34D1BF;
  /* Espiral de la portada: versión clara de la marca (tinta y bronce oscuro) */
  --espiral: #0B1422;
  --espiral-punto: #A8844A;
  --espiral-reticula: #8A96A8;
  --campo-fondo: #FFFFFF;
  --campo-borde: #CFC7B6;
  --sombra: 0 1px 2px rgb(11 20 34 / .06), 0 10px 30px rgb(11 20 34 / .08);
  --sombra-alta: 0 2px 4px rgb(11 20 34 / .08), 0 22px 48px rgb(11 20 34 / .14);
  --sombra-cabecera: 0 6px 24px rgb(11 20 34 / .10);
  --resplandor: rgb(201 166 107 / .16);
  --error: #B23B3B;
  --exito-fondo: rgb(11 122 111 / .1);
  color-scheme: light;

  --f-marca: "Sora", "Segoe UI", sans-serif;
  --f-texto: "Inter", "Segoe UI", system-ui, sans-serif;
  --ancho: 1180px;
  --radio: 16px;
}

/* Tema oscuro */
:root[data-tema="oscuro"] {
  --fondo: #0E1A2C;
  --fondo-alt: #0A1422;
  --superficie: #16263D;
  --cabecera-fondo: #060C16;
  --pie-fondo: #050A12;
  --texto: #F2F5F8;
  --texto-2: #BCC8D5;
  --texto-3: #8FA3B8;
  --borde: rgb(143 163 184 / .2);
  --acento-texto: #34D1BF;
  --bronce-texto: #C9A66B;
  --linea-acento: #34D1BF;
  --icono-fondo: #0A1422;
  --icono-trazo: #34D1BF;
  --espiral: #34D1BF;
  --espiral-punto: #C9A66B;
  --espiral-reticula: #8FA3B8;
  --campo-fondo: #0A1422;
  --campo-borde: rgb(143 163 184 / .32);
  --sombra: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .32);
  --sombra-alta: 0 2px 4px rgb(0 0 0 / .35), 0 22px 48px rgb(0 0 0 / .4);
  --sombra-cabecera: 0 8px 28px rgb(0 0 0 / .45);
  --resplandor: rgb(52 209 191 / .10);
  --error: #F08A8A;
  --exito-fondo: rgb(52 209 191 / .12);
  color-scheme: dark;
}

/* Logos: cada tema muestra la versión de la marca pensada para su fondo */
/* (sólo se oculta la del otro tema: el resto de las reglas, como el cambio a símbolo en celulares, sigue mandando) */
:root:not([data-tema="oscuro"]) .solo-oscuro { display: none !important; }
:root[data-tema="oscuro"] .solo-claro { display: none !important; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--pie-fondo); }   /* el rebote bajo el pie */
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-texto); color: var(--texto); background: var(--fondo); }
img, svg { display: block; max-width: 100%; }
a { color: var(--acento-texto); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-marca); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.015em; color: var(--texto); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; }
h1 em, h2 em { font-style: normal; font-weight: 600; color: var(--acento-texto); }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--sinapsis); outline-offset: 3px; border-radius: 4px; }

.contenedor { width: min(var(--ancho), 100% - 2.5rem); margin-inline: auto; }
.angosto { width: min(760px, 100% - 2.5rem); }
.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sinapsis); color: var(--tinta); padding: .6rem 1rem; border-radius: 8px; }
.saltar:focus { top: 1rem; }

.antetitulo {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--f-marca); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--acento-texto); margin-bottom: 1.2rem;
}
.antetitulo::before { content: ""; width: 28px; height: 2px; background: var(--bronce); border-radius: 2px; }
.antetitulo.bronce { color: var(--bronce-texto); }

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 .98rem/1 var(--f-marca); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primario { background: var(--sinapsis); color: var(--tinta); box-shadow: 0 8px 22px rgb(52 209 191 / .28); }
.btn.primario:hover { background: var(--sinapsis-claro); box-shadow: 0 12px 28px rgb(52 209 191 / .36); }
.btn.linea { border-color: color-mix(in srgb, var(--texto) 30%, transparent); color: var(--texto); }
.btn.linea:hover { border-color: var(--texto); }
.btn.bronce { background: var(--bronce); color: var(--tinta); }
.btn.bronce:hover { background: #D8B77E; }
.btn.chico { min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; box-shadow: none; }

/* ---------------------------------------------------------------- cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--cabecera-fondo); border-bottom: 2px solid var(--linea-acento); box-shadow: var(--sombra-cabecera); }
.cabecera .contenedor { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.logo { display: flex; flex: none; }
.logo-completo { width: 210px; height: auto; }
.logo-simbolo { display: none; width: 54px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav a:not(.btn) { color: var(--texto-2); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--acento-texto); }
/* Sección que se está leyendo (sitio.js): color de acento y una línea bajo el enlace */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
  background: var(--linea-acento); transform: scaleX(0); transition: transform .3s ease;
}
.nav a[aria-current="location"]:not(.btn) { color: var(--acento-texto); font-weight: 600; }
.nav a[aria-current="location"]:not(.btn)::after { transform: scaleX(1); }
.nav a.btn[aria-current="location"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sinapsis) 35%, transparent); }
.acciones { display: flex; align-items: center; gap: .5rem; }
.acciones form { margin: 0; }
.boton-idioma, .boton-tema {
  min-width: 42px; min-height: 40px; border-radius: 999px; border: 1px solid var(--borde); background: transparent;
  color: var(--texto); font: 600 .8rem var(--f-marca); letter-spacing: .12em; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.boton-idioma:hover, .boton-tema:hover { border-color: var(--acento-texto); color: var(--acento-texto); }
.boton-tema svg { width: 18px; height: 18px; }
.boton-tema .icono-sol { display: none; }
:root[data-tema="oscuro"] .boton-tema .icono-sol { display: block; }
:root[data-tema="oscuro"] .boton-tema .icono-luna { display: none; }
.boton-menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 11px 10px; }
.boton-menu span { display: block; height: 2px; margin: 4px 0; background: var(--texto); border-radius: 2px; transition: transform .25s, opacity .25s; }
.boton-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.boton-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.boton-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- portada */
.portada { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem); background: var(--fondo); }
.portada::before {
  content: ""; position: absolute; inset: -30% auto auto -15%; width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(closest-side, var(--resplandor), transparent); pointer-events: none;
}
.portada-grilla { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.entrada { font-size: 1.15rem; color: var(--texto-2); max-width: 36em; }
.botones { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 2.4rem; }
.capacidades { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.capacidades li {
  font: 500 .8rem var(--f-marca); letter-spacing: .08em; color: var(--texto-2); padding: .45rem .95rem;
  border: 1px solid var(--borde); border-radius: 999px; background: var(--superficie);
}
/* La espiral vive en un panel elevado del mismo tema */
.portada-espiral {
  margin: 0; padding: clamp(1.6rem, 3.5vw, 2.8rem) clamp(1.6rem, 3.5vw, 2.8rem) 1.6rem;
  background: var(--superficie); border: 1px solid var(--borde); border-radius: 28px; box-shadow: var(--sombra-alta); position: relative; overflow: hidden;
}
.portada-espiral::after {
  content: ""; position: absolute; inset: auto -20% -45% auto; width: 80%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--resplandor), transparent); pointer-events: none;
}
.portada-espiral figcaption { position: relative; margin-top: 1.2rem; text-align: center; font: 300 .95rem var(--f-marca); letter-spacing: .06em; color: var(--texto-3); }

.espiral { position: relative; z-index: 1; width: 100%; height: auto; overflow: visible; }
.espiral .reticula { stroke: var(--espiral-reticula); stroke-width: .35; stroke-dasharray: 1.2 1.6; opacity: .35; }
.espiral .trazado { stroke: var(--espiral-punto); stroke-width: 1.1; opacity: .55; }
.espiral .arco { stroke: var(--espiral); }
.espiral .punto-a { stroke: var(--espiral-punto); stroke-width: 2; }
.espiral .punto-b { fill: var(--espiral-punto); }
.espiral .etiqueta { font: 600 5px var(--f-marca); fill: var(--texto-3); letter-spacing: .1em; }

/* Animación: la espiral se dibuja de A a B y después aparece el trazado que esconde las letras */
@media (prefers-reduced-motion: no-preference) {
  /* Invisible hasta su turno: un trazo de largo cero con borde redondeado dejaría un punto en su extremo */
  .espiral .arco { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: dibujar .7s cubic-bezier(.55, 0, .3, 1) both; animation-delay: calc(.35s + var(--i) * .55s); }
  .espiral .punto-a { opacity: 0; animation: aparecer .5s .1s forwards; }
  .espiral .punto-b { opacity: 0; transform-box: fill-box; transform-origin: center; animation: latir .6s 3.1s forwards; }
  .espiral .trazado, .espiral .reticula, .espiral .etiqueta { opacity: 0; animation: aparecer 1.2s 3.4s forwards; }
  .espiral .trazado { animation-name: aparecer-trazado; }
  .espiral .reticula { animation-name: aparecer-reticula; }
}
@keyframes dibujar { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes aparecer { to { opacity: 1; } }
@keyframes aparecer-trazado { to { opacity: .55; } }
@keyframes aparecer-reticula { to { opacity: .35; } }
@keyframes latir { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }

/* ---------------------------------------------------------------- secciones */
.seccion { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--fondo); color: var(--texto); }
.seccion.alterna { background: var(--fondo-alt); }
.encabezado-seccion { max-width: 46rem; margin-bottom: 3.4rem; }
.encabezado-seccion > p:last-child { font-size: 1.12rem; color: var(--texto-2); }

/* Visión */
.valores { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem 3rem; }
.valor { padding-top: 1.5rem; border-top: 2px solid var(--linea-acento); }
.valor-numero { display: block; font: 200 2.6rem/1 var(--f-marca); color: var(--bronce-texto); margin-bottom: 1rem; letter-spacing: .02em; }
.valor h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.valor p { color: var(--texto-2); font-size: .98rem; margin: 0; }

/* Servicios */
.grilla-servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.servicio {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 2.1rem 1.9rem;
  box-shadow: var(--sombra); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.servicio:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); border-color: var(--linea-acento); }
.servicio .icono { width: 48px; height: 48px; padding: 10px; border-radius: 13px; background: var(--icono-fondo); color: var(--icono-trazo); margin-bottom: 1.4rem; }
.servicio p { color: var(--texto-2); font-size: .98rem; }
.etiquetas { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--borde); font: 500 .74rem var(--f-marca); letter-spacing: .06em; color: var(--bronce-texto) !important; }

/* Método */
.etapas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.etapa { position: relative; padding: 1.6rem 1.35rem 1.5rem; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); }
.etapa-medida { height: 78px; display: flex; align-items: flex-end; gap: .7rem; margin-bottom: 1.3rem; }
.etapa-medida .cuadro { width: calc(var(--m) * 1.25px); height: calc(var(--m) * 1.25px); border: 2px solid var(--acento-texto); border-radius: 0 100% 0 0; border-bottom-color: transparent; border-left-color: transparent; }
.etapa-medida b { font: 200 2.2rem/1 var(--f-marca); color: var(--bronce-texto); }
.etapa p { color: var(--texto-2); font-size: .95rem; margin: 0; }
.etapa:last-child { border-color: var(--bronce); }
.nota-metodo { margin: 2.2rem 0 0; color: var(--texto-3); font-size: .92rem; }
.nota-metodo b { font-family: var(--f-marca); color: var(--bronce-texto); font-weight: 500; letter-spacing: .06em; }

/* Productos */
.producto {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; background: var(--superficie);
  border: 1px solid var(--bronce); border-radius: calc(var(--radio) * 1.6); padding: clamp(1.8rem, 4vw, 3.6rem); box-shadow: var(--sombra-alta);
}
.producto-imagen { display: flex; justify-content: center; }
.producto-imagen img { width: min(250px, 70%); height: auto; filter: drop-shadow(0 18px 36px rgb(11 20 34 / .35)); }
.producto h3 { font-size: 2.1rem; font-weight: 500; letter-spacing: .06em; }
.producto p { color: var(--texto-2); }
.lista-marcas { list-style: none; padding: 0; margin: 0 0 1.9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; }
.lista-marcas li { position: relative; padding-left: 1.4rem; font-size: .95rem; color: var(--texto-2); }
.lista-marcas li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--bronce); }

/* Contacto */
.contacto-grilla { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.contacto-texto > p { color: var(--texto-2); }
.contacto-directo { margin-top: 2rem; font-size: .95rem; }
.formulario {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; background: var(--superficie);
  border: 1px solid var(--borde); border-radius: calc(var(--radio) * 1.4); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--sombra);
}
.campo { display: flex; flex-direction: column; gap: .4rem; }
.campo.ancho, .formulario .aviso { grid-column: 1 / -1; }
.campo label { font-size: .88rem; font-weight: 600; color: var(--texto); }
.opcional { font-weight: 400; color: var(--texto-3); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--campo-borde);
  background: var(--campo-fondo); color: var(--texto); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 130px; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--texto-3); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--sinapsis); box-shadow: 0 0 0 3px rgb(52 209 191 / .25); }
.campo [aria-invalid="true"] { border-color: var(--error); }
.error-campo { margin: 0; font-size: .85rem; color: var(--error); }
.casilla { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .7rem; }
.casilla input { width: 20px; min-height: 20px; height: 20px; margin-top: .2rem; accent-color: var(--sinapsis); flex: none; }
.casilla label { flex: 1; font-weight: 400; color: var(--texto-2); }
.casilla .error-campo { flex-basis: 100%; }
.aviso { margin: 0; padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; }
.aviso.exito { background: var(--exito-fondo); border: 1px solid var(--acento-texto); color: var(--texto); }
.aviso.error { background: rgb(240 138 138 / .1); border: 1px solid var(--error); color: var(--texto); }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Páginas de texto */
.texto-legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.texto-legal h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; }
.texto-legal p { color: var(--texto-2); }
.pagina-error { min-height: 60vh; display: flex; align-items: center; }

/* ---------------------------------------------------------------- pie (compacto) */
.pie { background: var(--pie-fondo); border-top: 2px solid var(--linea-acento); padding: 3.2rem 0 0; }
.pie-superior { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem 3rem; align-items: start; padding-bottom: 2.4rem; }
.pie-marca img { width: 230px; height: auto; margin-bottom: .9rem; }
.pie-marca p { color: var(--texto-3); font: 300 .95rem var(--f-marca); letter-spacing: .04em; margin: 0; }
.pie .pie-titulo { font: 600 .72rem var(--f-marca); letter-spacing: .22em; text-transform: uppercase; color: var(--bronce-texto); margin: 0 0 .9rem; }
.pie-enlaces { display: grid; gap: .45rem; }
.pie-enlaces a, .pie-contacto a { color: var(--texto-2); text-decoration: none; font-size: .93rem; }
.pie-enlaces a:hover, .pie-contacto a:hover { color: var(--acento-texto); }
.pie-contacto p { margin: 0 0 .45rem; font-size: .93rem; color: var(--texto-2); }
.pie-inferior {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding: 1.2rem 0 1.4rem;
  border-top: 1px solid var(--borde); color: var(--texto-3); font-size: .85rem;
}
.pie-inferior p { margin: 0; }
.pie-inferior a { color: var(--texto-3); text-decoration: none; }
.pie-inferior a:hover { color: var(--acento-texto); }

/* Aparición suave al desplazarse (sólo si sitio.js está activo y la persona no pidió menos movimiento) */
@media (prefers-reduced-motion: no-preference) {
  .js .aparecer { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--orden, 0) * 70ms); }
  .js .aparecer.visible { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- adaptación */
@media (max-width: 1080px) {
  .etapas { grid-template-columns: repeat(3, 1fr); }
  .grilla-servicios, .valores { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .boton-menu { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 1rem 1.25rem 1.6rem; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--cabecera-fondo); border-bottom: 2px solid var(--linea-acento); display: none;
  }
  .nav.abierta { display: flex; }
  .nav a:not(.btn) { padding: .8rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--borde); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: .8rem; }
  .acciones { margin-left: auto; }
  .portada-grilla, .contacto-grilla, .producto { grid-template-columns: 1fr; gap: 2.5rem; }
  .portada-espiral { max-width: 460px; width: 100%; margin-inline: auto; order: -1; }
  .pie-superior { grid-template-columns: 1fr 1fr; }
  .pie-marca { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .logo-completo { display: none; }
  .logo-simbolo { display: block; }
  .grilla-servicios, .etapas, .lista-marcas, .valores { grid-template-columns: 1fr; }
  .formulario { grid-template-columns: 1fr; }
  .botones .btn { flex: 1 1 100%; }
}
