/* Tocapy: estilos compartidos por las 4 apps (manual de marca). */
/* Letras propias (licencia OFL, en /fuentes): sin esperar a Google para mostrar la pantalla */
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fuentes/poppins-600.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/fuentes/poppins-700.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url(/fuentes/manrope-500.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(/fuentes/manrope-600.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(/fuentes/manrope-700.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url(/fuentes/manrope-800.woff2) format('woff2')}

:root{
  --navy:#0B1B3A; --navy-2:#13284F; --navy-3:#1C3566; --azul:#0D2F6E;
  --naranja:#F26A1B; --naranja-osc:#C9530F; --ambar:#FFB23F; --cian:#3FB8F0;
  --crema:#FBF7F2; --blanco:#FFFFFF; --linea:#E7E1D8; --gris:#4A5568; --gris-2:#6B7385;
  --verde:#1E8A4F; --verde-bg:#E3F4EA; --rojo:#C0352B; --rojo-bg:#FCE8E6; --ambar-bg:#FFF2DB;
  --sobre-navy:#C9D4EA; --sobre-navy-2:#93A3C4;
  --f-tit:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-txt:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --radio:16px; --radio-chico:12px;
  --sombra:0 10px 30px rgba(11,27,58,.12);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--f-txt);color:var(--navy);background:var(--navy);line-height:1.45}
h1,h2,h3,h4{font-family:var(--f-tit);margin:0;line-height:1.15;text-wrap:balance}
button,input,select,textarea{font-family:var(--f-txt)}
/* 16px en los campos: el iPhone no agranda la pantalla al tocar uno */
input,select,textarea{font-size:16px}
:focus-visible{outline:3px solid var(--cian);outline-offset:2px}

/* Botones */
.tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:14px;border:0;
  font-weight:800;font-size:16px;cursor:pointer;text-decoration:none;transition:transform .08s ease,filter .15s ease}
.tc-btn:active{transform:scale(.98)}
.tc-btn:disabled{opacity:.55;cursor:default}
.tc-btn-pri{background:var(--naranja);color:var(--navy)}
.tc-btn-sec{background:var(--blanco);color:var(--navy);border:1.5px solid var(--linea)}
.tc-btn-osc{background:var(--navy);color:var(--blanco)}
.tc-btn-fant{background:transparent;color:var(--blanco);border:1.5px solid rgba(255,255,255,.3)}
.tc-btn-peligro{background:var(--rojo-bg);color:var(--rojo)}
.tc-btn-ancho{width:100%}

/* Campos */
.tc-campo{display:flex;flex-direction:column;gap:6px}
.tc-campo>span,.tc-campo>label{font-weight:800;font-size:14px}
.tc-input{width:100%;padding:13px 14px;border:1.5px solid var(--linea);border-radius:var(--radio-chico);background:var(--blanco);color:var(--navy);outline:none}
.tc-input:focus{border-color:var(--naranja)}

/* Entrada animada con el logo completo */
.tc-splash{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 42%,var(--navy-3) 0%,var(--navy) 62%);transition:opacity .3s ease}
.tc-splash.tc-fuera{opacity:0}
.tc-splash-logo{width:min(62vw,260px)}
.tc-logo{display:block;width:100%;height:auto;overflow:visible}
.tc-splash .tc-punto{transform-origin:11.2px 24.35px;animation:tcPunto .32s cubic-bezier(.34,1.56,.64,1) both}
.tc-splash .tc-onda1,.tc-splash .tc-onda2{stroke-dasharray:1;stroke-dashoffset:1;animation:tcOnda .3s ease-out forwards}
.tc-splash .tc-onda1{animation-delay:.12s}
.tc-splash .tc-onda2{animation-delay:.22s}
.tc-splash .tc-palabra{clip-path:inset(0 100% 0 0);animation:tcPalabra .34s cubic-bezier(.22,1,.36,1) .26s forwards}
@keyframes tcPunto{0%{transform:scale(0)}100%{transform:scale(1)}}
@keyframes tcOnda{to{stroke-dashoffset:0}}
@keyframes tcPalabra{to{clip-path:inset(0 0 0 0)}}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
