/* Landing de Aro TI: tema claro, Bricolage Grotesque + Plus Jakarta Sans.
   Idea: la página se arma frente a ti (plano → diseño → en línea). */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fuentes/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fuentes/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@property --k { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --fondo: #f2f6fc; --papel: #fff; --tinta: #0a1730; --suave: #44546e; --azul: #1250c4; --vivo: #2f8fe8; --cielo: #7ccbff;
  --noche: #071224; --linea: rgb(10 23 48 / .12); --wa: #128c4b;
  --titulo: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --texto: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --curva: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 500 1.125rem/1.62 var(--texto); font-size-adjust: from-font; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vivo); outline-offset: 3px; border-radius: 6px; }
.contenedor { width: min(1220px, 100% - 40px); margin-inline: auto; }
.saltar { position: fixed; left: 12px; top: -80px; z-index: 2000; background: var(--tinta); color: #fff; padding: 12px 18px; border-radius: 12px; }
.saltar:focus { top: 12px; }

/* Barra de avance de lectura */
.avance { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 1200; background: linear-gradient(90deg, var(--azul), var(--cielo)); transform-origin: 0 50%; transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes avanza { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .avance { animation: avanza auto linear; animation-timeline: scroll(root); }
  }
}

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; font: 700 1.06rem/1 var(--texto); text-decoration: none; cursor: pointer; transition: translate .3s var(--curva), box-shadow .3s, background-color .3s, color .3s; }
.btn svg { width: 20px; height: 20px; transition: translate .3s var(--curva); }
.btn:hover { translate: 0 -3px; }
.btn:hover svg { translate: 4px 0; }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 14px 30px -12px rgb(18 80 196 / .8); }
.btn-azul:hover { background: #0d3f9e; }
.btn-linea { border-color: var(--tinta); color: var(--tinta); }
.btn-linea:hover { background: var(--tinta); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; width: 100%; box-shadow: 0 14px 30px -14px rgb(18 140 75 / .9); }
.btn.chico { padding: 12px 20px; font-size: 1rem; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 12px; z-index: 900; display: flex; align-items: center; gap: 18px; width: min(1220px, 100% - 24px); margin: 12px auto 0; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgb(255 255 255 / .82); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--linea); box-shadow: 0 12px 34px -20px rgb(10 23 48 / .5); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.25rem/1 var(--titulo); letter-spacing: .04em; }
.marca b { font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: background-color .25s; }
.nav a:hover { background: rgb(18 80 196 / .1); }
@media (max-width: 860px) { .nav { display: none; } .cabecera .btn { margin-left: auto; } }

/* ---------- Piezas de texto ---------- */
.sobre { display: flex; align-items: center; gap: 10px; font: 700 .95rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.sobre i { width: 28px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--azul), var(--cielo)); }
h1, h2, h3 { font-family: var(--titulo); letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.5vw, 4.7rem); line-height: .98; font-weight: 800; margin-block: 18px 22px; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.02; font-weight: 800; margin-block: 16px 18px; }
h3 { font-size: 1.55rem; line-height: 1.12; font-weight: 700; }
.seccion { padding-block: clamp(70px, 9vw, 120px); }
.titulo-seccion { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.titulo-seccion > p:last-child { color: var(--suave); font-size: 1.2rem; text-wrap: pretty; }

/* ---------- Portada ---------- */
.portada { position: relative; padding-block: clamp(30px, 4vw, 54px) 40px; }
main { overflow-x: clip; }
.portada::before { content: ""; position: absolute; inset: -120px 0 0; z-index: -1; background:
  radial-gradient(60% 55% at 85% 20%, rgb(124 203 255 / .5), transparent 70%),
  radial-gradient(45% 45% at 5% 80%, rgb(47 143 232 / .16), transparent 70%),
  linear-gradient(rgb(10 23 48 / .05) 1px, transparent 1px) 0 0 / 100% 44px,
  linear-gradient(90deg, rgb(10 23 48 / .05) 1px, transparent 1px) 0 0 / 44px 100%;
  mask-image: linear-gradient(#000 60%, transparent); }
.portada-rejilla { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
h1 em { display: block; font-style: normal; color: var(--azul); width: fit-content; background: linear-gradient(90deg, var(--cielo), var(--vivo)) 0 92% / 100% .16em no-repeat; transition: color .5s, background-size .7s var(--curva) .2s; }
h1 em.plantilla { font-family: "Times New Roman", Times, serif; font-weight: 400; letter-spacing: 0; color: #8b95a7; background-size: 0 .16em; }
h1 em.cambia { animation: cambia .7s both; }
@keyframes cambia { 40%, 60% { filter: blur(12px); opacity: .3; } }
.bajada { font-size: 1.24rem; color: var(--suave); max-width: 34em; text-wrap: pretty; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.sellos { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 1.02rem; font-weight: 600; }
.sellos li { display: flex; align-items: center; gap: 8px; }
.sellos li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.500 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pista { display: flex; align-items: center; gap: 12px; margin-top: clamp(30px, 5vw, 60px); color: var(--suave); font-size: 1.02rem; font-weight: 600; }
.rueda { width: 26px; height: 40px; flex: none; border: 2px solid var(--tinta); border-radius: 99px; display: grid; justify-items: center; padding-top: 7px; }
.rueda i { width: 4px; height: 9px; border-radius: 9px; background: var(--azul); }

/* La ventana que se construye */
.taller { position: relative; aspect-ratio: 1 / .92; --px: 0; --py: 0; }
.aro-grande { position: absolute; inset: -9% -9% auto auto; width: 86%; z-index: 0; }
.arco-a { stroke: rgb(18 80 196 / .2); } .arco-b { stroke: rgb(47 143 232 / .42); }
.inclina { position: absolute; inset: 9% 2% 6% 4%; transform: perspective(1500px) rotateY(calc(-13deg + var(--px) * 7deg)) rotateX(calc(7deg - var(--py) * 6deg)) rotate(1.5deg); transform-style: preserve-3d; transition: transform .5s var(--curva); }
.ventana { position: relative; height: 100%; border-radius: 22px; background: var(--papel); border: 1px solid var(--linea); box-shadow: 0 50px 90px -40px rgb(10 23 48 / .55), 0 0 0 8px rgb(255 255 255 / .55); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.v-barra { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--linea); background: #f6f9fd; }
.v-barra > i { width: 11px; height: 11px; border-radius: 50%; background: #cfd8e6; }
.v-url { margin-left: 8px; padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--linea); font-size: .82rem; font-weight: 600; color: var(--suave); }
.v-fase { margin-left: auto; display: grid; font: 800 .8rem/1 var(--texto); letter-spacing: .1em; text-transform: uppercase; }
.v-fase b { grid-area: 1 / 1; justify-self: end; padding: 7px 12px; border-radius: 99px; opacity: 0; }
.f-plano { color: var(--azul); border: 1.5px dashed var(--vivo); }
.f-diseno { background: var(--tinta); color: #fff; }
.f-linea { background: #12a05a; color: #fff; }
.v-fase .f-linea { opacity: 1; }
.v-lienzo { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: auto auto auto auto 1fr; gap: 10px 14px; padding: 16px; align-content: start;
  background: linear-gradient(rgb(47 143 232 / calc((1 - var(--k)) * .09)) 1px, transparent 1px) 0 0 / 100% 18px, linear-gradient(90deg, rgb(47 143 232 / calc((1 - var(--k)) * .09)) 1px, transparent 1px) 0 0 / 18px 100%; }
.b { border: 1.5px dashed color-mix(in srgb, var(--vivo) calc((1 - var(--k)) * 100%), transparent); border-radius: 10px; min-height: 0; }
.b u { display: block; text-decoration: none; border-radius: 99px; height: 9px; background: color-mix(in srgb, rgb(10 23 48 / .22) calc(var(--k) * 100%), rgb(47 143 232 / .3)); }
.b-menu { grid-column: 1 / -1; display: flex; gap: 10px; padding: 9px 10px; justify-content: flex-end; }
.b-menu u { width: 13%; } .b-menu u:first-child { margin-right: auto; width: 20%; background: color-mix(in srgb, var(--azul) calc(var(--k) * 100%), rgb(47 143 232 / .3)); }
.b-titulo { padding: 8px 10px; font: 800 clamp(1.1rem, 2.5vw, 2.1rem)/1.02 var(--titulo); letter-spacing: -.03em; }
.b-titulo span { display: block; color: color-mix(in srgb, var(--tinta) calc(var(--k) * 100%), transparent); }
.b-titulo span + span { color: color-mix(in srgb, var(--azul) calc(var(--k) * 100%), transparent); }
.b-texto { padding: 10px; display: grid; gap: 7px; } .b-texto u:last-child { width: 62%; }
.b-boton { justify-self: start; padding: 11px 20px; border-radius: 99px; font: 700 .86rem/1 var(--texto); background: color-mix(in srgb, var(--azul) calc(var(--k) * 100%), transparent); color: color-mix(in srgb, #fff calc(var(--k) * 100%), transparent); }
.b-foto { grid-column: 2; grid-row: 2 / 5; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--azul) calc(var(--k) * 100%), rgb(47 143 232 / .08)); }
.b-foto svg { width: 58%; opacity: var(--k); }
.b-t { grid-row: 5; align-self: end; padding: 12px 10px; display: grid; gap: 7px; background: color-mix(in srgb, #eef4fd calc(var(--k) * 100%), transparent); }
.v-lienzo { grid-template-areas: "m m" "t f" "x f" "b f" "c c"; }
.b-t { grid-column: 1 / -1; width: calc(33.333% - 8px); } .t2 { justify-self: center; } .t3 { justify-self: end; }
.b-t u:last-child { width: 60%; }
.puntero { position: absolute; left: 14%; top: 66%; width: 30px; opacity: 0; filter: drop-shadow(0 4px 6px rgb(10 23 48 / .4)); }
.ficha { position: absolute; z-index: 3; padding: 11px 16px; border-radius: 99px; background: var(--tinta); color: #fff; font: 700 .95rem/1 var(--texto); box-shadow: 0 16px 30px -14px rgb(10 23 48 / .7); white-space: nowrap; }
.fi1 { left: -3%; top: 13%; } .fi2 { right: -3%; top: 72%; background: var(--azul); } .fi3 { left: 6%; bottom: 0; background: #fff; color: var(--tinta); border: 1px solid var(--linea); }

@media (prefers-reduced-motion: no-preference) {
  .b { animation: obra 12s var(--curva) calc(var(--d) * .32s) infinite both; }
  @keyframes obra { 0% { opacity: 0; scale: .9; --k: 0; } 6% { opacity: 1; scale: 1; --k: 0; } 36% { --k: 0; } 46% { --k: 1; } 93% { opacity: 1; --k: 1; } 100% { opacity: 0; --k: 1; } }
  .v-lienzo { animation: cuadricula 12s linear infinite both; }
  @keyframes cuadricula { 0%, 38% { --k: 0; } 48%, 100% { --k: 1; } }
  .f-plano { animation: fase-a 12s linear infinite both; } .f-diseno { animation: fase-b 12s linear infinite both; } .f-linea { animation: fase-c 12s linear infinite both; }
  @keyframes fase-a { 0%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
  @keyframes fase-b { 0%, 40% { opacity: 0; } 44%, 68% { opacity: 1; } 72%, 100% { opacity: 0; } }
  @keyframes fase-c { 0%, 70% { opacity: 0; } 74%, 95% { opacity: 1; } 100% { opacity: 0; } }
  .puntero { animation: puntero 12s var(--curva) infinite both; }
  @keyframes puntero { 0%, 48% { opacity: 0; translate: 220px 60px; } 54% { opacity: 1; translate: 220px 60px; } 66% { translate: 0 0; scale: 1; } 69% { scale: .82; } 72% { scale: 1; } 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
  .b-boton { animation-name: obra, pulso-boton; animation-duration: 12s, 12s; animation-iteration-count: infinite; animation-delay: calc(var(--d) * .32s), 0s; }
  @keyframes pulso-boton { 0%, 68%, 76%, 100% { box-shadow: 0 0 0 0 rgb(47 143 232 / 0); } 71% { box-shadow: 0 0 0 12px rgb(47 143 232 / .3); } }
  .aro-grande { animation: gira 80s linear infinite; }
  @keyframes gira { to { rotate: 360deg; } }
  .ficha { animation: flota 6s ease-in-out infinite alternate; } .fi2 { animation-delay: -2s; } .fi3 { animation-delay: -4s; }
  @keyframes flota { from { translate: 0 -7px; } to { translate: 0 8px; } }
  .rueda i { animation: rueda 1.8s var(--curva) infinite; }
  @keyframes rueda { 0% { translate: 0 0; opacity: 1; } 80%, 100% { translate: 0 14px; opacity: 0; } }
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .inclina { animation: aplana linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @keyframes aplana { to { transform: perspective(1500px) rotateY(0deg) rotateX(0deg) rotate(0deg) scale(.96); } }
  }
}

/* ---------- Cinta ---------- */
.cinta { background: var(--tinta); color: #fff; padding-block: 20px; overflow: clip; rotate: -1.2deg; margin: 26px -12px 0; }
.cinta-pista { display: flex; width: max-content; }
.cinta span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(1.25rem, 2.3vw, 1.9rem)/1 var(--titulo); white-space: nowrap; }
.cinta span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--vivo); }
@media (prefers-reduced-motion: no-preference) { .cinta-pista { animation: cinta 46s linear infinite; } @keyframes cinta { to { translate: -50% 0; } } }

/* ---------- Idea ---------- */
.manifiesto { padding-block: clamp(90px, 12vw, 170px) clamp(30px, 4vw, 60px); }
.manifiesto blockquote { max-width: 1000px; }
#frase { font: 700 clamp(2.2rem, 5.6vw, 4.8rem)/1.06 var(--titulo); letter-spacing: -.035em; text-wrap: balance; }
#frase .clave { color: var(--azul); }
.manifiesto cite { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-style: normal; font-weight: 700; color: var(--suave); }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .manifiesto blockquote { view-timeline: --frase block; }
    #frase span { animation: enciende linear both; animation-timeline: --frase; animation-range: cover var(--a) cover var(--b); }
    @keyframes enciende { from { opacity: .14; } to { opacity: 1; } }
  }
}

/* ---------- Servicios ---------- */
.servicios { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.servicio { grid-column: span 4; position: relative; display: flex; flex-direction: column; background: var(--papel); border: 1px solid var(--linea); border-radius: 30px; padding: 14px 14px 28px; overflow: hidden; transition: translate .4s var(--curva), box-shadow .4s, border-color .4s; }
.s-web { grid-column: span 7; } .s-sistemas { grid-column: span 5; }
.servicio:hover { translate: 0 -8px; border-color: var(--vivo); box-shadow: 0 40px 70px -40px rgb(18 80 196 / .55); }
.servicio::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgb(47 143 232 / .14), transparent 70%); }
.servicio:hover::after { opacity: 1; }
.s-texto { padding: 22px 16px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.num { align-self: flex-start; font: 800 .95rem/1 var(--titulo); color: var(--azul); padding: 7px 12px; border-radius: 99px; background: rgb(18 80 196 / .1); }
.servicio p { color: var(--suave); font-size: 1.1rem; text-wrap: pretty; }
.s-texto ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.s-texto li { padding: 8px 13px; border-radius: 99px; background: var(--fondo); border: 1px solid var(--linea); font-size: .98rem; font-weight: 600; }
.escenita { position: relative; height: 210px; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 22px; background: linear-gradient(140deg, #dcebff, #eef5ff); }
.s-sistemas .escenita { background: linear-gradient(140deg, #0a1730, #12306e); }
.s-soporte .escenita { background: linear-gradient(140deg, #e3f3ff, #f3f9ff); }
.s-redes .escenita { background: linear-gradient(140deg, #1250c4, #2f8fe8); }
.s-seguridad .escenita { background: linear-gradient(140deg, #dcebff, #f0f6ff); }
.escenita u { display: block; text-decoration: none; }
/* 01 web */
.mini-web { width: min(300px, 52%); border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -22px rgb(10 23 48 / .5); overflow: hidden; }
.mw-barra { display: flex; gap: 5px; padding: 8px 10px; background: #f1f5fb; } .mw-barra i { width: 8px; height: 8px; border-radius: 50%; background: #c8d3e4; }
.mw-cuerpo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8px; padding: 12px; }
.mini-web .k1 { height: 16px; border-radius: 6px; background: var(--tinta); } .mini-web .k2 { grid-column: 2; grid-row: 1 / 4; border-radius: 10px; background: var(--azul); min-height: 78px; }
.mini-web .k3 { height: 8px; border-radius: 9px; background: #cdd7e6; } .mini-web .k4 { height: 20px; width: 60%; border-radius: 99px; background: var(--vivo); } .mini-web .k5 { grid-column: 1 / -1; height: 26px; border-radius: 8px; background: #eaf1fb; }
.mini-cel { width: 84px; padding: 16px 10px; border-radius: 18px; background: #fff; border: 3px solid var(--tinta); display: grid; gap: 8px; box-shadow: 0 20px 40px -22px rgb(10 23 48 / .5); }
.mini-cel .k1 { height: 12px; border-radius: 5px; background: var(--tinta); } .mini-cel .k2 { height: 52px; border-radius: 9px; background: var(--azul); } .mini-cel .k4 { height: 16px; border-radius: 99px; background: var(--vivo); }
/* 02 sistemas */
.flujo { display: flex; align-items: center; gap: 0; color: #fff; }
.flujo li { display: grid; justify-items: center; gap: 10px; padding-inline: clamp(8px, 2vw, 22px); position: relative; font-size: .95rem; }
.flujo li + li::before { content: ""; position: absolute; left: -22%; top: 62%; width: 44%; height: 2px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .5) 0 5px, transparent 5px 10px); }
.flujo i { order: 2; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); background: center / 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.500 4 4 8-9'/%3E%3C/svg%3E") var(--vivo); }
/* 03 soporte */
.charla { display: grid; gap: 10px; width: min(300px, 86%); font-size: .98rem; font-weight: 600; }
.charla span { padding: 11px 15px; border-radius: 18px; width: fit-content; }
.c1 { background: #fff; border-bottom-left-radius: 5px !important; box-shadow: 0 10px 22px -14px rgb(10 23 48 / .5); }
.c2 { display: none !important; }
.c3 { justify-self: end; background: var(--azul); color: #fff; border-bottom-right-radius: 5px !important; }
/* 04 redes */
.senal { position: relative; width: 120px; height: 120px; }
.senal i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 3px solid rgb(255 255 255 / .75); }
.senal i:nth-child(1) { width: 40%; height: 40%; } .senal i:nth-child(2) { width: 70%; height: 70%; opacity: .6; } .senal i:nth-child(3) { width: 100%; height: 100%; opacity: .3; }
.senal b { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.barras { display: flex; align-items: flex-end; gap: 7px; height: 80px; }
.barras u { width: 13px; border-radius: 5px; background: #fff; transform-origin: 50% 100%; }
.barras u:nth-child(1) { height: 20%; } .barras u:nth-child(2) { height: 40%; } .barras u:nth-child(3) { height: 60%; } .barras u:nth-child(4) { height: 80%; } .barras u:nth-child(5) { height: 100%; }
/* 05 seguridad */
.copias { display: flex; gap: 8px; }
.copias u { width: 38px; height: 50px; border-radius: 7px; background: #fff; border: 2px solid var(--vivo); box-shadow: 0 10px 20px -12px rgb(10 23 48 / .5); }
.escudo { width: 96px; } .e-borde { stroke: var(--azul); fill: #fff; } .e-palomita { stroke: #12a05a; stroke-dasharray: 26; }

@media (prefers-reduced-motion: no-preference) {
  .mini-web u, .mini-cel u { animation: bloque 6s var(--curva) infinite both; transform-origin: 0 50%; }
  .escenita .k2 { animation-delay: .35s; } .escenita .k3 { animation-delay: .7s; } .escenita .k4 { animation-delay: 1.05s; } .escenita .k5 { animation-delay: 1.4s; }
  @keyframes bloque { 0% { scale: 0 1; opacity: 0; } 12%, 88% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; } }
  .flujo i { animation: palomea 5s linear infinite both; } .flujo li:nth-child(2) i { animation-delay: 1.1s; } .flujo li:nth-child(3) i { animation-delay: 2.2s; }
  @keyframes palomea { 0%, 8% { background-color: transparent; background-size: 0; scale: 1; } 14% { background-color: var(--vivo); background-size: 24px; scale: 1.18; } 20%, 100% { background-color: var(--vivo); background-size: 24px; scale: 1; } }
  .c2 { display: flex !important; gap: 5px; justify-self: end; background: var(--azul); grid-area: 2 / 1; align-self: start; animation: escribe 7s linear infinite both; }
  .c2 i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: punto 1s ease-in-out infinite alternate; } .c2 i:nth-child(2) { animation-delay: .2s; } .c2 i:nth-child(3) { animation-delay: .4s; }
  .c3 { grid-area: 2 / 1; animation: responde 7s var(--curva) infinite both; } .c1 { animation: pregunta 7s var(--curva) infinite both; }
  @keyframes pregunta { 0% { opacity: 0; translate: 0 12px; } 8%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
  @keyframes escribe { 0%, 18% { opacity: 0; } 22%, 46% { opacity: 1; } 50%, 100% { opacity: 0; } }
  @keyframes responde { 0%, 48% { opacity: 0; translate: 0 12px; } 56%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
  @keyframes punto { to { translate: 0 -5px; opacity: .5; } }
  .senal i { animation: onda 2.6s ease-out infinite both; } .senal i:nth-child(2) { animation-delay: .35s; } .senal i:nth-child(3) { animation-delay: .7s; }
  @keyframes onda { 0% { scale: .6; opacity: 0; } 30% { opacity: .9; } 100% { scale: 1.12; opacity: 0; } }
  .barras u { animation: sube 3.4s var(--curva) infinite both; } .barras u:nth-child(2) { animation-delay: .15s; } .barras u:nth-child(3) { animation-delay: .3s; } .barras u:nth-child(4) { animation-delay: .45s; } .barras u:nth-child(5) { animation-delay: .6s; }
  @keyframes sube { 0%, 10% { scale: 1 .15; opacity: .4; } 35%, 85% { scale: 1 1; opacity: 1; } 100% { scale: 1 .15; opacity: .4; } }
  .copias u { animation: guarda 5s var(--curva) infinite both; } .copias u:nth-child(2) { animation-delay: .25s; } .copias u:nth-child(1) { animation-delay: .5s; }
  @keyframes guarda { 0%, 20% { translate: 0 0; opacity: 1; scale: 1; } 45%, 90% { translate: 90px 0; opacity: 0; scale: .5; } 100% { translate: 0 0; opacity: 0; scale: 1; } }
  .e-palomita { animation: firma 5s var(--curva) infinite both; } .escudo { animation: late 5s var(--curva) infinite both; }
  @keyframes firma { 0%, 40% { stroke-dashoffset: 26; } 58%, 100% { stroke-dashoffset: 0; } }
  @keyframes late { 0%, 40%, 62%, 100% { scale: 1; } 52% { scale: 1.12; } }
}

/* ---------- Antes y después ---------- */
.tinta { background: var(--noche); color: #fff; border-radius: clamp(28px, 5vw, 64px); margin-inline: clamp(8px, 1.4vw, 20px); }
.tinta .sobre { color: var(--cielo); } .tinta .titulo-seccion > p:last-child { color: #b9c8de; }
.comparar { --pos: 50%; position: relative; aspect-ratio: 16 / 8.6; border-radius: 26px; overflow: hidden; background: #fff; color: var(--tinta); box-shadow: 0 60px 100px -50px #000; container-type: inline-size; }
.lado { position: absolute; inset: 0; display: flex; flex-direction: column; }
.despues { clip-path: inset(0 0 0 var(--pos)); background: #f4f8fe; }
.antes { background: #e9e6dc; font-family: "Times New Roman", Times, serif; color: #333; text-align: center; }
.a-barra { background: #24418a; color: #fff; padding: 2.2cqi 3cqi 1.6cqi; display: grid; gap: .8cqi; } .a-barra b { font-size: 3.4cqi; } .a-barra span { font-size: 1.5cqi; color: #ff0; }
.a-cuerpo { flex: 1; display: grid; justify-items: center; align-content: center; gap: 1.6cqi; padding: 2cqi 6cqi; }
.a-cuerpo h3 { font: 700 3.2cqi/1.1 "Times New Roman", serif; letter-spacing: 0; color: #24418a; text-decoration: underline; }
.a-foto { width: 46cqi; height: 12cqi; background: repeating-linear-gradient(45deg, #c9c6bb 0 2cqi, #d6d3c9 2cqi 4cqi); display: grid; place-items: center; font: 400 1.5cqi/1 Arial, sans-serif; color: #777; }
.a-cuerpo p { font-size: 1.8cqi; line-height: 1.35; max-width: 70cqi; }
.a-boton { padding: 1.1cqi 2.4cqi; background: linear-gradient(#f90, #c60); border: .3cqi outset #fc6; color: #fff; font: 700 1.5cqi/1 Arial, sans-serif; }
.a-pie { background: #bdb9ab; padding: 1.2cqi; font-size: 1.3cqi; }
.d-barra { display: flex; align-items: center; justify-content: space-between; padding: 2.2cqi 4cqi; font-size: 1.7cqi; font-weight: 600; }
.d-barra b { display: flex; align-items: center; gap: 1cqi; font: 800 2.1cqi/1 var(--titulo); } .d-barra img { width: 3cqi; height: auto; }
.d-barra span { display: flex; align-items: center; gap: 2cqi; } .d-barra em { font-style: normal; padding: 1.2cqi 2.2cqi; border-radius: 99px; background: var(--azul); color: #fff; }
.d-cuerpo { flex: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 4cqi; align-items: center; padding: 0 4cqi 3cqi; }
.d-cuerpo h3 { font: 800 5.4cqi/1 var(--titulo); letter-spacing: -.03em; } .d-cuerpo h3 i { font-style: normal; color: var(--azul); }
.d-cuerpo p { font-size: 1.9cqi; color: var(--suave); margin-top: 1.6cqi; }
.d-acc { display: flex; gap: 1.4cqi; margin-top: 2.4cqi; font-size: 1.6cqi; font-weight: 700; } .d-acc span { padding: 1.4cqi 2.4cqi; border-radius: 99px; border: .2cqi solid var(--tinta); } .d-acc span:first-child { background: var(--azul); border-color: var(--azul); color: #fff; }
.d-tarjeta { background: #fff; border-radius: 2.4cqi; padding: 2.6cqi; box-shadow: 0 3cqi 6cqi -3cqi rgb(18 80 196 / .5); font-size: 1.5cqi; display: grid; gap: 1cqi; rotate: 3deg; }
.d-tarjeta strong { font: 800 3.2cqi/1 var(--titulo); color: var(--azul); } .d-tarjeta hr { width: 100%; border: 0; border-top: 1px solid var(--linea); margin: .4cqi 0; }
.d-tarjeta div { display: flex; justify-content: space-between; gap: 1cqi; } .d-tarjeta div span { color: var(--suave); }
.etiqueta { position: absolute; bottom: 14px; padding: 9px 14px; border-radius: 99px; font: 700 .9rem/1 var(--texto); background: rgb(10 23 48 / .82); color: #fff; pointer-events: none; }
.etiqueta.a { left: 14px; } .etiqueta.d { right: 14px; background: var(--azul); }
.asa { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; translate: -50% 0; background: #fff; box-shadow: 0 0 0 1px rgb(10 23 48 / .25); pointer-events: none; }
.asa::before { content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%; background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 30px no-repeat; border: 4px solid #fff; box-shadow: 0 12px 26px -8px rgb(10 23 48 / .7); }
.asa span { position: absolute; left: 50%; top: calc(50% + 42px); translate: -50% 0; padding: 7px 12px; border-radius: 99px; background: #fff; color: var(--tinta); font: 800 .85rem/1 var(--texto); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgb(10 23 48 / .6); transition: opacity .4s; }
.comparar.usado .asa span { opacity: 0; }
.comparar input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparar:has(input:focus-visible) .asa::before { outline: 4px solid var(--cielo); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .comparar:not(.usado) .asa::before { animation: tienta 2.4s ease-in-out infinite; } @keyframes tienta { 0%, 100% { translate: -50% -50%; } 30% { translate: calc(-50% - 12px) -50%; } 60% { translate: calc(-50% + 12px) -50%; } } }
@media (max-width: 640px) { .comparar { aspect-ratio: 1 / 1.05; } .d-cuerpo { grid-template-columns: 1fr; } .d-tarjeta { display: none; } .d-cuerpo h3 { font-size: 9.5cqi; } .d-cuerpo p { font-size: 4.2cqi; } .d-acc { font-size: 3.6cqi; flex-wrap: wrap; } .d-acc span { padding: 2.6cqi 4cqi; } .d-barra { font-size: 3.6cqi; padding-block: 4cqi; } .d-barra b { font-size: 4.4cqi; } .d-barra img { width: 6cqi; } .d-barra span { font-size: 0; } .d-barra em { font-size: 3.4cqi; padding: 2.4cqi 4cqi; }
  .a-barra b { font-size: 7cqi; } .a-barra span { font-size: 2.7cqi; } .a-cuerpo h3 { font-size: 6.4cqi; } .a-cuerpo p { font-size: 4cqi; } .a-foto { width: 70cqi; height: 26cqi; font-size: 3cqi; } .a-boton { font-size: 3cqi; padding: 2.4cqi 4cqi; } .a-pie { font-size: 2.6cqi; padding: 2.4cqi; } .a-cuerpo { gap: 3.4cqi; } }

/* ---------- Proceso ---------- */
.obra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.pantalla { position: sticky; top: calc(50vh - min(280px, 24vw)); order: 2; }
.marco { position: relative; aspect-ratio: 1 / .92; border-radius: 34px; overflow: hidden; color: var(--tinta); background: radial-gradient(90% 70% at 80% 10%, #1c53c2, transparent 70%), linear-gradient(160deg, #0a1730, #0f2a63); box-shadow: 0 60px 100px -50px rgb(10 23 48 / .8); }
.marco::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 100% 34px, linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 34px 100%; }
.escena { position: absolute; inset: 0; padding: 9% 9% 15%; display: grid; align-content: center; gap: 14px; opacity: 0; transition: opacity .5s, translate .5s var(--curva); translate: 0 20px; }
.escena.activa { opacity: 1; translate: 0 0; }
.burbuja { padding: 13px 18px; border-radius: 22px; width: fit-content; max-width: 86%; font-size: clamp(.98rem, 1.5vw, 1.15rem); font-weight: 600; line-height: 1.25; }
.burbuja.izq { background: #fff; border-bottom-left-radius: 6px; } .burbuja.der { justify-self: end; background: var(--vivo); color: #fff; border-bottom-right-radius: 6px; }
.hoja { justify-self: center; width: min(320px, 82%); background: #fff; border-radius: 14px; padding: 26px 26px 34px; display: grid; gap: 16px; rotate: -3deg; box-shadow: 0 30px 50px -24px #000; position: relative; }
.hoja b { font: 800 1.6rem/1 var(--titulo); } .hoja p { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 10px; font-size: .98rem; font-weight: 700; color: var(--suave); }
.hoja u { height: 10px; border-radius: 9px; background: #dbe5f3; } .hoja p:nth-child(3) u { width: 70%; } .hoja p:nth-child(4) u { width: 45%; background: var(--vivo); }
.hoja em { position: absolute; right: -18px; bottom: -16px; rotate: -9deg; padding: 10px 14px; border: 3px solid var(--azul); border-radius: 10px; background: #fff; color: var(--azul); font: 800 1rem/1 var(--titulo); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.e3 { grid-template-columns: 1fr 1fr; gap: 0; }
.mitad { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 18px; background: #fff; align-self: center; aspect-ratio: 1 / 1.15; align-content: start; }
.mitad.plano { border-radius: 16px 0 0 16px; background: #eaf2ff; } .mitad.listo { border-radius: 0 16px 16px 0; }
.mitad u { border-radius: 8px; } .mitad u:nth-child(1) { grid-column: 1 / -1; height: 26px; } .mitad u:nth-child(2) { grid-column: 1 / -1; height: 70px; } .mitad u:nth-child(3), .mitad u:nth-child(4) { height: 46px; }
.plano u { border: 2px dashed var(--vivo); } .listo u { background: #dfe9f7; } .listo u:nth-child(1) { background: var(--tinta); } .listo u:nth-child(2) { background: linear-gradient(120deg, var(--azul), var(--vivo)); }
.nota-priv { position: absolute; left: 9%; top: 9%; padding: 9px 13px; border-radius: 99px; background: #fff; font: 700 .9rem/1 var(--texto); }
.opina { position: absolute; right: 6%; bottom: 17%; box-shadow: 0 14px 26px -12px #000; }
.e4 { justify-items: center; text-align: center; color: #fff; gap: 20px; }
.url { display: flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 99px; background: #fff; color: var(--tinta); font-weight: 700; font-size: clamp(.95rem, 1.5vw, 1.1rem); } .url svg { width: 20px; color: #12a05a; }
.e4 strong { display: flex; align-items: center; gap: 16px; font: 800 clamp(2.6rem, 5.4vw, 4.4rem)/1 var(--titulo); letter-spacing: -.03em; }
.e4 strong::before { content: ""; width: .32em; height: .32em; border-radius: 50%; background: #35e08a; box-shadow: 0 0 0 .14em rgb(53 224 138 / .3); }
.listos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; } .listos span { padding: 9px 14px; border-radius: 99px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .3); font-size: .98rem; font-weight: 700; }
.riel { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; justify-content: center; gap: 10px; }
.riel i { width: 34px; height: 6px; border-radius: 9px; background: rgb(255 255 255 / .25); transition: background-color .4s; } .riel i.activo { background: #fff; }
.pasos { display: grid; }
.paso { min-height: 74vh; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); opacity: .32; transition: opacity .5s; }
.paso.activo { opacity: 1; }
.p-num { flex: none; font: 800 clamp(3.4rem, 7vw, 6.4rem)/1 var(--titulo); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--azul); }
.paso.activo .p-num { color: var(--azul); }
.paso h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 12px; } .paso p { color: var(--suave); font-size: 1.2rem; text-wrap: pretty; max-width: 26em; }
.condiciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.condiciones li { padding: 26px; border-radius: 24px; background: var(--papel); border: 1px solid var(--linea); font-size: 1.12rem; font-weight: 600; text-wrap: balance; }
.condiciones b { font: 800 1.9rem/1 var(--titulo); color: var(--azul); letter-spacing: -.02em; }
@media (max-width: 860px) {
  .obra { display: block; } .pantalla { top: 78px; z-index: 5; margin-inline: -8px; padding: 8px; background: var(--fondo); border-radius: 0 0 26px 26px; }
  .marco { aspect-ratio: 1 / .72; border-radius: 26px; } .paso { min-height: 64svh; align-items: flex-start; padding-top: 12svh; } .hoja { padding: 16px 18px 22px; gap: 9px; } .hoja b { font-size: 1.2rem; }
  .mitad { padding: 10px; gap: 6px; aspect-ratio: 1 / .8; } .mitad u:nth-child(2) { height: 40px; } .mitad u:nth-child(1) { height: 16px; } .mitad u:nth-child(3), .mitad u:nth-child(4) { height: 26px; }
  .escena { padding: 6% 6% 13%; gap: 8px; } .burbuja { padding: 9px 13px; font-size: .92rem; } .e4 { gap: 10px; } .condiciones { grid-template-columns: 1fr; }
}

/* ---------- Qué incluye ---------- */
.suave { background: var(--papel); border-block: 1px solid var(--linea); }
.incluye { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.incluye > div { padding: 28px; border-radius: 26px; background: var(--fondo); border: 1px solid var(--linea); display: grid; gap: 12px; align-content: start; transition: background-color .3s, translate .4s var(--curva); }
.incluye > div:hover { background: #e4eeff; translate: 0 -5px; }
.incluye svg { width: 56px; height: 56px; padding: 13px; border-radius: 18px; background: var(--azul); color: #fff; }
.incluye p { color: var(--suave); font-size: 1.08rem; text-wrap: pretty; }

/* ---------- Ejemplos ---------- */
.sitios { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sitios a { position: relative; display: grid; gap: 8px; align-content: start; padding: 12px 12px 22px; border-radius: 26px; background: var(--papel); border: 1px solid var(--linea); text-decoration: none; transition: translate .4s var(--curva), box-shadow .4s, border-color .4s; }
.sitios a:hover { translate: 0 -8px; border-color: var(--vivo); box-shadow: 0 34px 60px -36px rgb(18 80 196 / .6); }
.sitios b { font: 800 1.4rem/1.1 var(--titulo); padding: 8px 8px 0; } .sitios a > span { padding-inline: 8px; color: var(--suave); font-size: 1.02rem; line-height: 1.4; }
.sitios a[aria-current] { border: 2px solid var(--azul); }
.sitios em { position: absolute; left: 22px; top: 22px; padding: 7px 11px; border-radius: 99px; background: var(--azul); color: #fff; font: 700 .82rem/1 var(--texto); font-style: normal; }
.mini { aspect-ratio: 16 / 11; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.mini svg { width: 44%; height: auto; transition: scale .5s var(--curva), rotate .5s var(--curva); } .sitios a:hover .mini svg { scale: 1.15; rotate: -5deg; }
.m-experiencia { background: linear-gradient(rgb(87 199 255 / .16) 1px, transparent 1px) 0 0 / 100% 16px, linear-gradient(90deg, rgb(87 199 255 / .16) 1px, transparent 1px) 0 0 / 16px 100%, #04060d; color: #57c7ff; }
.m-piezas { background: conic-gradient(from 20deg at 30% 70%, #ff6b4a 0 25%, #ffb347 0 55%, #ff8a5c 0); color: #fff; }
.m-landing { background: linear-gradient(140deg, #dcebff, #fff); color: var(--azul); }
.m-academia { background: repeating-linear-gradient(#f6f1e4 0 15px, #d9d2bf 15px 16px); color: #1c2a52; }
.m-tienda { background: linear-gradient(140deg, #0b2a5e, #1250c4); color: #9fd8ff; }
@media (max-width: 1060px) { .sitios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sitios { grid-template-columns: 1fr; } .sitios a { grid-template-columns: 116px 1fr; padding: 12px; column-gap: 8px; } .sitios .mini { grid-row: 1 / 3; aspect-ratio: 1; } .sitios b { padding-top: 4px; align-self: end; } .sitios em { left: 18px; top: 18px; font-size: .72rem; padding: 5px 8px; } }

/* ---------- Contacto ---------- */
.contacto { background: var(--noche); color: #fff; border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0; margin-inline: clamp(8px, 1.4vw, 20px); position: relative; overflow: clip; }
.contacto::before { content: ""; position: absolute; right: -14%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: clamp(30px, 6vw, 80px) solid rgb(47 143 232 / .16); }
.contacto-rejilla { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.contacto .sobre { color: var(--cielo); } .contacto-texto > p { color: #b9c8de; font-size: 1.2rem; }
.telefono { margin-top: 28px; max-width: 400px; border-radius: 24px; overflow: hidden; background: #0f1f3d; border: 1px solid rgb(160 200 255 / .22); }
.t-cabeza { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #12284f; } .t-cabeza span { margin-left: auto; font-size: .88rem; color: #6fe3a5; }
.t-cuerpo { padding: 18px 16px; display: grid; gap: 8px; justify-items: end; min-height: 128px; align-content: end; }
#vista-msj { background: #14693e; padding: 12px 15px; border-radius: 18px 18px 5px 18px; font-size: 1.02rem; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; max-width: 100%; }
.t-cuerpo small { color: #8fa3c2; font-size: .88rem; }
.datos { display: grid; gap: 12px; margin-top: 28px; font-weight: 600; font-size: 1.1rem; }
.datos a, .datos p { display: flex; align-items: center; gap: 12px; text-decoration: none; overflow-wrap: anywhere; } .datos a:hover { color: var(--cielo); } .datos svg { width: 24px; flex: none; color: var(--cielo); }
#form-wa { background: var(--papel); color: var(--tinta); border-radius: 30px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; box-shadow: 0 50px 90px -50px #000; }
.campo { display: grid; gap: 7px; } .campo label { font-weight: 700; font-size: 1.05rem; } .campo small { font-weight: 500; color: var(--suave); }
.campo input, .campo select, .campo textarea { width: 100%; padding: 15px 16px; border-radius: 16px; border: 2px solid #cfd9e8; background: var(--fondo); color: var(--tinta); font: 500 1.08rem/1.4 var(--texto); transition: border-color .25s, background-color .25s; }
.campo textarea { resize: vertical; }
.campo :is(input, select, textarea):focus { outline: none; border-color: var(--azul); background: #fff; }
.error { display: none; color: #b3261e; font-size: .98rem; font-weight: 600; }
.campo :is(:user-invalid, .invalido-respaldo) { border-color: #b3261e; background: #fdeceb; }
.campo :is(:user-invalid, .invalido-respaldo) + .error { display: block; }
#form-aviso { color: var(--suave); min-height: 1.4em; font-size: .98rem; }
@media (max-width: 860px) { .contacto-rejilla { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--noche); color: #9bb0cc; margin-inline: clamp(8px, 1.4vw, 20px); padding: 30px 0 110px; font-size: 1rem; border-top: 1px solid rgb(160 200 255 / .16); }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; } .pie a { color: #fff; font-weight: 700; text-decoration: none; }

/* ---------- Entradas al bajar ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: 0% 100%)) {
    .rev { animation: entra linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes entra { from { opacity: 0; translate: 0 50px; scale: .97; } }
    /* Proceso: cada paso mueve su escena */
    .obra { timeline-scope: --p1, --p2, --p3, --p4; }
    .paso:nth-child(1) { view-timeline: --p1 block; } .paso:nth-child(2) { view-timeline: --p2 block; } .paso:nth-child(3) { view-timeline: --p3 block; } .paso:nth-child(4) { view-timeline: --p4 block; }
    .escena { opacity: 1; translate: 0 0; transition: none; }
    @keyframes e-entra { from { opacity: 0; translate: 0 40px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
    @keyframes e-sale { from { opacity: 1; translate: 0 0; scale: 1; } to { opacity: 0; translate: 0 -40px; scale: .94; } }
    .e1 { animation: e-sale linear forwards; animation-timeline: --p1; animation-range: cover 72% cover 84%; }
    .e2 { animation: e-entra linear both, e-sale linear forwards; animation-timeline: --p2, --p2; animation-range: cover 30% cover 42%, cover 72% cover 84%; }
    .e3 { animation: e-entra linear both, e-sale linear forwards; animation-timeline: --p3, --p3; animation-range: cover 30% cover 42%, cover 72% cover 84%; }
    .e4 { animation: e-entra linear both; animation-timeline: --p4; animation-range: cover 30% cover 42%; }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .escena, .paso { transition: none; } }

@media (max-width: 980px) {
  .portada-rejilla { grid-template-columns: 1fr; } .taller { max-width: 560px; width: 100%; margin-inline: auto; aspect-ratio: 1 / .86; } .fi1 { left: 0; } .fi2 { right: 0; }
  .servicio, .s-web, .s-sistemas { grid-column: 1 / -1; } .incluye { grid-template-columns: 1fr; }
}
@media (min-width: 981px) and (max-width: 1180px) { .servicio { grid-column: span 6; } .s-web { grid-column: 1 / -1; } .s-sistemas { grid-column: span 6; } .incluye { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body { font-size: 1.09rem; } .acciones .btn { width: 100%; } .ficha { font-size: .82rem; padding: 9px 12px; } .escenita { height: 180px; } .mini-cel { display: none; } .mini-web { width: 78%; } .copias u { width: 30px; height: 40px; } }
/* Revisión de botones 2026-11-23: en celular, los enlaces de contacto y del pie tienen alto suficiente para el dedo. */
@media (max-width: 760px) { .datos a { min-height: 46px; } .pie a { display: inline-block; padding-block: 11px; } .cabecera .marca { min-height: 46px; } }
