/* ============================================================
   AeriTek · Portales — tokens del rediseño (v1)
   Fuente: login del Identity (alpunto.identityserver4) + homepage
   (alpunto.portals.homepage). Complementa a aeritek-design/colors_and_type.css.
   ============================================================ */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Marca (idéntica a aeritek-design) --- */
  --at-cyan: #1B9CBA;
  --at-blue: #06608E;
  --at-navy: #153E67;
  --at-sky: #3DABE2;
  --at-ink: #0E2235;
  --at-paper: #F6F8FB;
  --at-mist: #E6ECF2;
  --at-steel-50: #CBD5DF;
  --at-steel-100: #94A3B1;
  --at-muted: #5B6A78;
  --at-ok: #1E8A6B;
  --at-err: #E30D17;
  --at-warn: #FDCE08;
  --at-line: var(--at-mist);

  /* --- Extensiones del rediseño --- */
  --at-deep: #0A1B30;        /* fondo más profundo (hero oscuro, paneles) */
  --at-ice: #7FD6E4;         /* acento frío sobre fondo oscuro: títulos resaltados, iconos, líneas de red */
  --at-ice-soft: #8EC3EA;    /* azul hielo del homepage */
  --at-frost: #EAF4FC;       /* fondo suave del homepage */
  --at-gradient: linear-gradient(45deg, #1B9CBA, #06608E);

  /* Hero oscuro (login panel + homepage hero) */
  --at-hero: linear-gradient(150deg, var(--at-deep) 0%, var(--at-navy) 45%, #0B4A73 85%, var(--at-blue) 110%);
  --at-hero-light: radial-gradient(90% 70% at 80% 10%, rgba(24, 160, 184, .45), transparent 60%);

  /* Superficies de vidrio sobre fondo oscuro */
  --at-glass-bg: rgba(255, 255, 255, .05);
  --at-glass-line: rgba(255, 255, 255, .14);
  --at-glass-icon-bg: rgba(27, 156, 186, .18);
  --at-glass-icon-line: rgba(127, 214, 228, .4);

  /* Forma y elevación */
  --at-radius-input: 6px;
  --at-radius-card: 12px;
  --at-radius-hero: 18px;
  --at-radius-pill: 999px;
  --at-shadow-brand: 0 10px 32px rgba(6, 96, 142, .22);
  --at-shadow-card: 0 10px 30px rgba(11, 46, 89, .12);
  --at-shadow-lift: 0 18px 40px rgba(11, 46, 89, .20);
  --at-focus-ring: rgba(61, 171, 226, .45);

  /* Tipografía */
  --at-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --at-ease-out: cubic-bezier(.22, .61, .36, 1);
  --at-ease-spring: cubic-bezier(.2, .8, .2, 1);
  --at-dur-fast: 150ms;
  --at-dur-base: 250ms;
  --at-dur-slow: 450ms;
}

body {
  font-family: var(--at-font);
  color: var(--at-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Micro-label con raya: "—— AUTHENTICATION SERVER" */
.at-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.at-label--rule { display: flex; align-items: center; gap: 12px; }
.at-label--rule::before { content: ""; width: 34px; height: 1px; background: var(--at-cyan); }

/* Titular con parte en peso 800 y color hielo: "One sign-in for <b>all your portals.</b>" */
.at-headline { font-weight: 400; line-height: 1.2; }
.at-headline b { font-weight: 800; color: var(--at-ice); }
