/* =====================================================================
   INNOKIDO Agency — styles.css
   Convertido desde el diseño de Claude Design ("Landing INNOKIDO.dc.html").
   Tokens de marca, tipografía auto-hospedada, base, animaciones y estados
   interactivos (:hover/:focus). El grueso del layout va en estilos inline en
   el HTML (tal como el diseño original).
   ===================================================================== */

/* ---- Tipografía auto-hospedada (sin Google Fonts: privacidad UE + velocidad) ----
   Libre Franklin se sirve como fuente variable (un solo archivo, eje wght
   400–800). Subset latin (cubre á é í ó ú ñ ¿ ¡). */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/libre-franklin.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500.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;
}

:root {
  --ink: #0A1427;
  --paper: #ffffff;
  --unread: #EEF1F6;
  --line: #DEE3EB;
  --accent: #2651A3;
  --ink2: #454E60;
  --noise: #727C8D;       /* gris tenue: SOLO para las filas de ruido/spam de la bandeja (baja visibilidad intencional) */
  --noise-text: #5A6473;  /* gris legible (AA): texto informativo en mono — micro CTA, chips, labels, etc. */
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --eo: cubic-bezier(0, 0, .2, 1);
  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Libre Franklin', system-ui, sans-serif;
  color: var(--ink2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }

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

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

@keyframes ikdRow {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Estados interactivos (reemplazan style-hover / style-focus del DC) ---- */
.ik-lang:hover   { color: var(--accent); }
.ik-cta:hover    { background: #1d3f80; }
.ik-submit:hover { background: #3a6fd8; }
.ik-email:hover  { color: #fff; }
.ik-field:focus  { border-color: var(--accent); }

/* Botones de día/hora del selector: estado seleccionado (lo aplica main.js) */
.ik-cal-btn.is-sel { border-color: var(--ink) !important; background: var(--unread) !important; }

/* Botón confirmar deshabilitado hasta elegir día + hora */
.ik-confirm[disabled] { opacity: .5; cursor: not-allowed; }

/* Utilidad de visibilidad controlada por JS */
[hidden] { display: none !important; }

/* ---- Responsive (del diseño original) ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 560px) {
  [data-role="tag"] { display: none; }
}
@media (max-width: 720px) {
  [data-prow] { grid-template-columns: 1fr !important; gap: 16px !important; }
}
