/* ═══════════════════════════════════════════════════════════════
   portal.css — Capa de marca común a todas las páginas del portal
   Manual de marca v1.0 (octubre 2026). Se carga DESPUÉS de los
   estilos propios de cada página, así que solo pisa lo necesario.
   Variables base: /marca.css · Fuente: /fuentes.css (Figtree)
   ═══════════════════════════════════════════════════════════════ */

/* ── Tipografía: Figtree para todo ─────────────────────────────── */
body, button, input, select, textarea { font-family: var(--marca-fuente); }

/* Títulos: ExtraBold 800 · subtítulos y nombres: Bold 700 */
.hero-left h1, .section-title, .ph-title, .hdr h1 { font-weight: 800 !important; letter-spacing: -.02em; }
.modal-title, .module-title, .cal-header h3 { font-weight: 700; }

/* Figtree no tiene itálica: el énfasis en títulos va recto y en color */
.hero-left h1 em, .section-title em, .ph-title em, .modal-title em,
.topbar-brand em, .profile-name em, .footer-brand em, .nav-logo em { font-style: normal; }

/* Etiquetas: SemiBold 600, mayúsculas, espaciado 0,1 em */
.hero-eyebrow, .section-label, .ph-eyebrow, .modal-eyebrow, .profile-title {
  font-weight: 600; letter-spacing: .1em;
}

/* ── Íconos de línea (sprite /iconos.svg) ──────────────────────── */
.ico {
  width: 1.2em; height: 1.2em; flex-shrink: 0;
  display: inline-block; vertical-align: -0.22em;
  color: inherit; overflow: visible;
}
.ico-lg { width: 26px; height: 26px; }
.ico-md { width: 20px; height: 20px; }

/* Nota "Recordatorio / consultá con tu pediatra" con ícono alineado */
.ped-note > .ico:first-child,
.alrt > .ico:first-child { margin-right: .35em; }

/* Puntos de estado / semáforo (reemplazan los círculos de emoji) */
.dot { display: inline-block; width: .62em; height: .62em; border-radius: 50%; margin-right: .45em; vertical-align: .05em; flex-shrink: 0; }
.dot-rojo     { background: #D85A30; }
.dot-amarillo { background: #EAB308; }
.dot-verde    { background: #639922; }

/* ── Firma (logo) en barras y pie ─────────────────────────────── */
.firma { display: block; height: 32px; width: auto; }
.nav-logo .firma { height: 36px; }
.topbar-brand { display: flex; align-items: center; }
.modal-firma { height: 40px; width: auto; display: block; margin: 0 0 .9rem; }
.footer-brand .firma { height: 34px; }

/* ── Turquesa claro SOLO sobre azul; sobre claro, turquesa oscuro ─ */
.hero .btn-primary { background: var(--marca-turquesa); color: var(--marca-azul); font-weight: 600; }
.hero .btn-primary:hover { background: #5EE0CF; box-shadow: 0 8px 24px rgba(45,212,191,.25); }

/* ── Botones de ícono (menú, cerrar) ──────────────────────────── */
.modal-close { display: inline-flex; align-items: center; justify-content: center; }
.nav-ham { line-height: 0; }
.nav-ham .ico { width: 26px; height: 26px; }
.modal-close .ico { width: 16px; height: 16px; }

/* ── Fotografía de fondo con velo azul noche (manual §09) ──────
   Para activarla: guardá una foto libre de derechos (Unsplash/Pexels)
   en /fotos/ y agregá al elemento:
     class="... con-foto" style="--foto:url('/fotos/hero.jpg')"
   El velo (55–90 %) garantiza la lectura del texto. */
.con-foto {
  background-image:
    linear-gradient(135deg, rgba(15,36,57,.90) 0%, rgba(15,36,57,.72) 55%, rgba(27,58,85,.60) 100%),
    var(--foto) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* ── Encabezado de módulo: más aire abajo (Figtree 800 es más alta que Fraunces 300) ── */
.page-header { padding-bottom: 4.25rem !important; }
.alarm-yellow .dot, .alarm-red .dot { margin-top: .4em; }
