/* ==========================================================
   ESTILOS DE PORTADA PRINCIPAL — INTERFACULTADES 2026
   ========================================================== */
:root {
  --orange: #ff8200;
  --orange-dark: #d96f00;
  --navy: #204491;
  --navy-2: #3a66b3;
  --sky: #21a0db;
  --ink: #3d3b36;
  --muted: #6e7582;
  --line: #e2e7f0;
  --soft: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(32, 68, 145, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { text-decoration: none; color: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-sep { opacity: .4; }

/* Header solo con Logo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.footer-logo-wrap {
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.footer-logo-wrap .brand-logo {
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
}
.main-nav a { padding: 10px 0; transition: .2s; }
.main-nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 12px 20px !important;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 130, 0, .24);
}
.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--navy) 0%, #193675 60%, var(--sky) 100%);
  color: #fff;
}
.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
  padding: 50px 0;
}
.eyebrow, .section-kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffe3bf; }
.hero h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 76px;
  line-height: .9;
  text-transform: uppercase;
  margin: 18px 0 22px;
}
.hero h1 span { color: var(--orange); }
.hero-copy > p {
  max-width: 640px;
  color: #f0f5ff;
  line-height: 1.7;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0 38px;
  flex-wrap: wrap;
}
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
}
.btn-light {
  background: var(--navy);
  color: #fff;
  width: 100%;
  margin-top: 10px;
}
.btn-light:hover { background: var(--orange); }

.hero-mini-stats {
  display: flex;
  gap: 38px;
}
.hero-mini-stats div {
  display: flex;
  flex-direction: column;
}
.hero-mini-stats strong { font-size: 28px; }
.hero-mini-stats span {
  font-size: 12px;
  color: #c2d2eb;
  margin-top: 4px;
}

/* Cuadro Blanco en el Banner */
.hero-card {
  background: #fff;
  color: var(--navy);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  transform: rotate(1.5deg);
}
.hero-card-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--orange);
}
.hero-card-date {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 84px;
  line-height: .95;
  font-weight: 800;
  margin-top: 6px;
}
.hero-card-month {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  font-weight: 800;
}
.hero-card-year {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .3em;
  color: #7d889f;
}
.hero-card-line {
  height: 5px;
  width: 64px;
  background: var(--orange);
  margin: 22px 0;
}
.hero-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}
.hero-shape-a { width: 460px; height: 460px; right: -190px; top: -170px; }
.hero-shape-b { width: 270px; height: 270px; left: 47%; bottom: -160px; }

/* Secciones */
.section { padding: 88px 0; }
.light { background: var(--soft); }
.soft { background: #fff; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 50px;
  line-height: 1;
  margin: 8px 0 0;
  text-transform: uppercase;
  color: var(--navy);
}
.section-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Grid de Inauguraciones por Sede */
.quota-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.timeline-card {
  position: relative;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(32, 68, 145, .06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .2s;
}
.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.timeline-card .num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 52px;
  color: #edf1f7;
  font-weight: 800;
  position: absolute;
  right: 18px;
  top: 12px;
}
.timeline-card .date {
  font-size: 11px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .08em;
}
.timeline-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  color: var(--navy);
}
.timeline-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* Cronograma General */
.criteria-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.criteria-grid h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 50px;
  text-transform: uppercase;
  line-height: 1;
  margin: 10px 0 18px;
  color: var(--navy);
}
.criteria-grid > div > p {
  color: var(--muted);
  line-height: 1.7;
}
.criteria-list {
  display: grid;
  gap: 16px;
}
.criteria-list article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: start;
}
.criteria-list article > span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.criteria-list b {
  font-size: 16px;
  color: var(--navy);
}
.criteria-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Footer */
footer {
  background: #17387d;
  color: #fff;
  padding: 36px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}
.footer-grid p {
  text-align: center;
  color: #d4dcf0;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.admin-link {
  justify-self: end;
  color: #d9e3f3;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  transition: .2s;
}
.admin-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.brand-logo-white {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media(max-width: 960px) {
  .menu-btn { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 440px; transform: none; }
  .quota-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria-grid { grid-template-columns: 1fr; gap: 35px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media(max-width: 600px) {
  .hero h1 { font-size: 52px; }
  .quota-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .footer-brand { justify-content: center; }
  .admin-link { justify-self: center; }
}