/* ──────────────────────────────────────────────────────────
 * DIPLOMADO ML/DL FIUNA — sistema editorial técnico institucional
 * Paleta Mili (negro + rojo) + Instrument Serif + IBM Plex Sans + JetBrains Mono
 * Source of truth: DESIGN.md
 * ────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg:           #0c0306;
  --bg-2:         #170609;
  --paper:        #f4ede5;
  --paper-2:      #ebe2d6;

  /* Lines */
  --line:         #2a1014;
  --line-strong:  #3d1820;
  --line-paper:   #d6cdbf;

  /* Ink */
  --ink:          #f4ede5;
  --ink-2:        #d4cdc1;
  --ink-on-paper: #0a0a0a;
  --sub:          #968d83;
  --muted:        #6b645c;
  --whisper:      #5e4d4f;

  /* Accent (rojo institucional Mili) */
  --accent:       #b71018;
  --accent-soft:  rgba(183, 16, 24, 0.10);
  --accent-strong:#d8232b;
  --accent-deep:  #7a0b12;

  /* Highlight neón — hex literal del flyer Mili (#B71018), con glow potente para efecto neón sobre fondo negro */
  --neon:         #b71018;
  --neon-glow:    rgba(183, 16, 24, 0.65);

  /* Status */
  --green:        #22c55e;
  --error:        #ef4444;

  /* Type */
  --serif:        'Instrument Serif', Georgia, serif;
  --sans:         'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; word-wrap: break-word; overflow-wrap: break-word; }
[hidden] { display: none !important; }

html {
  font-size: clamp(14px, 1vw, 15.5px);
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  min-height: 100vh;
  position: relative;
  contain: paint;
}

/* Grain SVG sutil (sin gradients, da textura tipo papel) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg, video { max-width: 100%; height: auto; }

/* ────────────────────────────────────────── PAGE CONTAINER */

.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(18px, 4vw, 48px) clamp(48px, 8vw, 80px);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
}

/* ────────────────────────────────────────── BRAND HEADER */

.brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.brand-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.brand-univ {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub);
}
.brand-fac {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.brand-dept {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 2px;
}

/* ────────────────────────────────────────── BREADCRUMB */

.breadcrumb {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
  text-decoration: none;
  align-self: flex-start;
  padding: 4px 0;
  transition: color .12s;
}
.breadcrumb:hover { color: var(--accent); }

/* ────────────────────────────────────────── HERO */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-deep);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  max-width: 16ch;
  margin: 0 auto;
}
h1 em {
  font-style: italic;
  color: var(--neon);
  text-shadow:
    0 0 4px var(--neon-glow),
    0 0 14px var(--neon-glow),
    0 0 32px var(--neon-glow);
}

.lede {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto;
  text-align: justify;
  hyphens: auto; -webkit-hyphens: auto;
}
.lede em {
  font-style: italic;
  color: var(--neon);
  text-shadow: 0 0 18px var(--neon-glow);
}

/* ────────────────────────────────────────── SECTION HEADER (§ N · Título) */

.section-h {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 4px;
}
.section-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.section-h .num {
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ────────────────────────────────────────── DATASHEET (ficha técnica editorial) */

.datasheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  row-gap: 0;
}
.datasheet-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.datasheet dt {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
}
.datasheet dd {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  margin: 0;
}

/* ────────────────────────────────────────── HUB LINKS (filas serif numeradas) */

.hub-section { display: flex; flex-direction: column; }

.hub-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.hub-links li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 18px;
  align-items: baseline;
}
.hub-link-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.hub-link-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hub-link {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color .12s;
}
.hub-link:hover { color: var(--accent-strong); }
.hub-link-desc {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.5;
  margin: 0;
}
.hub-link-arr {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  transition: transform .12s, color .12s;
}
.hub-links li:hover .hub-link-arr { transform: translateX(3px); color: var(--accent-strong); }

/* ────────────────────────────────────────── PLANTEL DOCENTE */

.docentes-section { display: flex; flex-direction: column; }
.docentes-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
}
.docentes-list li { display: flex; flex-direction: column; gap: 2px; }
.docente-titulo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.docente-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink);
}
.docente-bio {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--sub);
  line-height: 1.5;
}

/* ────────────────────────────────────────── CONTACTO HUB */

.contact-section { display: flex; flex-direction: column; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.contact-line {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-line a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: color .12s;
}
.contact-line a:hover { color: var(--accent-strong); }

/* ────────────────────────────────────────── FORM BLOCK */

.form-block {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
}
.form-head { margin-bottom: 22px; }
.form-head h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.form-head p {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.5;
}

form { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field label .hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0.1em;
  text-transform: none;
}

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 0;
  transition: border-color .12s, background .12s, box-shadow .12s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--whisper); }
input:hover, select:hover, textarea:hover { border-color: var(--whisper); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 2px rgba(183, 16, 24, 0.20);
}
input:user-invalid { border-color: var(--error); }

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%238fa4b6' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
}

.submit-btn {
  position: relative;
  margin-top: 6px;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 18px;
  border-radius: 0;
  cursor: pointer;
  transition: background .12s, border-color .12s, transform .08s;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover:not(:disabled) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.submit-btn:active:not(:disabled) { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  display: none;
  animation: spin 0.6s linear infinite;
}
.submit-btn.loading .btn-spinner { display: inline-block; }
.submit-btn.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
  text-transform: none;
}

.form-shortcut {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--sub);
  text-align: center;
  line-height: 1.5;
}
.form-shortcut a {
  font-family: var(--serif);
  color: var(--ink);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-deep);
  padding-bottom: 1px;
  transition: color .12s, border-color .12s;
}
.form-shortcut a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

/* RESULT STATES */
.form-result, .form-error {
  text-align: center;
  padding: 12px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.result-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 26px;
  font-weight: 600;
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.result-icon.error {
  background: rgba(239, 68, 68, 0.10);
  border-color: var(--error);
  color: var(--error);
}
.form-result h3, .form-error h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.form-result p, .form-error p {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 460px;
  line-height: 1.55;
}
.result-cta a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.result-cta a:hover { color: var(--accent-strong); }

.result-next { margin-top: 8px; }
.result-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff !important;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 0;
  text-decoration: none !important;
  letter-spacing: -0.01em;
  transition: background .12s, transform .08s;
}
.result-cta-btn:hover { background: var(--accent-strong); }
.result-cta-btn:active { transform: scale(0.99); }
.retry-btn {
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 0;
  cursor: pointer;
}
.retry-btn:hover { color: var(--ink); border-color: var(--ink-2); }

/* ────────────────────────────────────────── PAGE FOOTER */

.page-foot {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-row.foot-secondary { color: var(--whisper); }
.foot-sep { color: var(--line-strong); }
.foot-row a {
  color: var(--accent);
  text-decoration: none;
}
.foot-row a:hover { color: var(--accent-strong); }

/* ────────────────────────────────────────── FAQ PAGE */

.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0;
  transition: border-color .15s;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list details[open] { border-color: var(--accent-deep); }
.faq-list details[open] + details { border-top-color: var(--accent-deep); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
  position: relative;
  transition: color .12s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
  line-height: 1;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--accent-strong); }

.faq-body {
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-body strong { color: var(--ink); font-weight: 600; }
.faq-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.faq-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-body a:hover { color: var(--accent-strong); }

.faq-cta {
  margin-top: 24px;
  padding: 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-deep);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.faq-cta p {
  color: var(--ink-2);
  font-size: 14px;
}
.faq-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 0;
  transition: background .12s;
  letter-spacing: -0.005em;
}
.faq-cta-btn:hover { background: var(--accent-strong); }
.faq-cta-alt {
  font-size: 13px;
  color: var(--sub);
  margin-top: 4px;
}
.faq-cta-alt a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-cta-alt a:hover { color: var(--accent-strong); }

.faq-foot-note {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--sub);
  line-height: 1.65;
  text-align: center;
  margin-top: 32px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.faq-foot-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.faq-foot-note a:hover { color: var(--accent-strong); }

/* ────────────────────────────────────────── APPLY FORM (secciones numeradas) */

.form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.form-section:last-of-type { border-bottom: none; padding-bottom: 8px; }
.section-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-help {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
  letter-spacing: 0.06em;
  text-transform: none;
}
.field-help.error { color: var(--error); }

.date-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.9fr;
  gap: 10px;
}
.date-row select { width: 100%; }

.conditional-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent-deep);
  margin-top: -4px;
}

/* RADIO GROUP */
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  transition: border-color .12s, background .12s, color .12s;
}
.radio-item:hover { border-color: var(--whisper); color: var(--ink); }
.radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border: 1.5px solid var(--whisper);
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.radio-item input[type="radio"]:checked { border-color: var(--accent); }
.radio-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.radio-item:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

/* CHECKBOX GROUP */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: border-color .12s, background .12s, color .12s;
}
.checkbox-item:hover { border-color: var(--whisper); color: var(--ink); }
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px; height: 15px;
  border: 1.5px solid var(--whisper);
  margin: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-item input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  font-size: 11px;
  font-weight: 700;
  color: var(--bg);
  line-height: 1;
}
.checkbox-item:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

/* FILE INPUT */
input[type="file"] {
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13.5px;
  padding: 14px;
  border-radius: 0;
  width: 100%;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
input[type="file"]:hover {
  border-color: var(--accent-deep);
  background: var(--bg-2);
}
input[type="file"]::file-selector-button {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 0;
  cursor: pointer;
  margin-right: 12px;
  transition: background .12s, border-color .12s;
}
input[type="file"]::file-selector-button:hover {
  background: var(--bg);
  border-color: var(--whisper);
}

/* ────────────────────────────────────────── RESPONSIVE */

@media (max-width: 600px) {
  .datasheet { grid-template-columns: 1fr; column-gap: 0; }
  .docentes-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .hub-links li { grid-template-columns: 22px 1fr auto; gap: 12px; }
  .hub-link { font-size: 18px; }
  .eyebrow { font-size: 10px; padding: 5px 10px; letter-spacing: 0.14em; }
}
@media (max-width: 380px) {
  .hub-link { font-size: 17px; }
  .date-row { grid-template-columns: 1fr 1fr; }
  .date-row select:first-child { grid-column: 1 / -1; }
}

/* SCROLLBAR (only vertical) */
::-webkit-scrollbar { width: 10px; height: 0; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--whisper); }
