@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0a1628;
  --primary-light: #1a2d4d;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --gold-dark: #a88a2e;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-light: #e8e6e1;
  --gray: #6b7280;
  --gray-dark: #374151;
  --text: #1f2937;
  --text-light: #9ca3af;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-links a {
  color: var(--gold-light);
  font-weight: 400;
}

.top-bar-links a:hover {
  color: var(--white);
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: var(--gold-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ===== HEADER ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-list a {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.08);
}

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-list a.btn-admision {
  background: var(--gold);
  color: var(--primary);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius);
}

.nav-list a.btn-admision:hover {
  background: var(--gold-dark);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(26, 45, 77, 0.85) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  max-height: 340px;
  filter: drop-shadow(0 8px 32px rgba(201, 168, 76, 0.25));
}

/* ===== SECTION SHARED ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header .label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== ABOUT / NOSOTROS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--primary);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-text .gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-values .val {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--primary);
}

.about-values .val::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== PROGRAMS / OFERTA ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-top {
  background: var(--primary);
  padding: 28px 28px 20px;
  color: var(--white);
  position: relative;
}

.program-card-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background: var(--gold);
  opacity: 0.1;
  border-radius: 70px 0 0 0;
}

.program-level {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.program-card-top h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.program-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--gray-dark);
}

.program-detail strong {
  color: var(--primary);
  min-width: 80px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.program-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  gap: 10px;
}

.program-card-footer .btn {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-link {
  background: none;
  color: var(--gold-dark);
  font-weight: 600;
  padding: 0;
  border: none;
}

.btn-link:hover {
  color: var(--gold);
}

/* ===== RVOE SECTION ===== */
.rvoe-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.rvoe-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.rvoe-table thead {
  background: var(--primary);
  color: var(--white);
}

.rvoe-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rvoe-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: top;
}

.rvoe-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}

.rvoe-table tbody tr:last-child td {
  border-bottom: none;
}

.rvoe-table .level-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.level-licenciatura {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.level-maestria {
  background: rgba(147, 51, 234, 0.1);
  color: #7c3aed;
}

.level-doctorado {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.rvoe-table a {
  color: var(--gold-dark);
  font-weight: 600;
}

.rvoe-table a:hover {
  color: var(--gold);
}

/* ===== STATS ===== */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: var(--transition);
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--gold-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== PAGE HEADER (internal pages) ===== */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.page-header .breadcrumb a {
  color: var(--gold-light);
}

.page-header .breadcrumb a:hover {
  color: var(--white);
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  max-width: 600px;
}

/* ===== RVOE PAGE ===== */
.rvoe-document-links {
  margin-top: 48px;
}

.rvoe-document-links h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.doc-card .doc-icon {
  width: 44px;
  height: 44px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.doc-card .doc-info h4 {
  font-size: 0.92rem;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
}

.doc-card .doc-info p {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ===== DIRECTORIO ===== */
.directorio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.directorio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border-top: 4px solid var(--gold);
}

.directorio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.directorio-card--rector {
  border-top-color: var(--primary);
}

.directorio-card--rector .directorio-card-badge {
  background: rgba(10, 22, 40, 0.1);
  color: var(--primary);
}

.directorio-card--rector .directorio-card-icon {
  background: rgba(10, 22, 40, 0.08);
  color: var(--primary);
}

.directorio-card--consejo {
  border-top-color: var(--gold-light);
}

.directorio-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--gold-dark);
}

.directorio-card-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.directorio-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.directorio-card p {
  color: var(--gray);
  font-size: 0.8rem;
}

/* ===== MISION ===== */
.mision-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.mision-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mision-text {
  max-width: 540px;
}

.mision-text .gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 20px;
}

.mision-text h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.mision-text > p {
  color: var(--gray-dark);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.mision-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.mision-stat-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}

.mision-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.mision-stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.mision-stat-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.mision-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  text-align: center;
}

.spec-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.spec-item span {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

.spec-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin: 0 auto;
}

/* ===== MAP ===== */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    max-height: 200px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-video {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mision-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 6px;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow);
    gap: 4px;
    z-index: 999;
  }

  .nav-list.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 460px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

.directorio-grid {
    grid-template-columns: 1fr;
  }

  .mision-top {
    grid-template-columns: 1fr;
  }

  .mision-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mision-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .rvoe-table {
    font-size: 0.8rem;
  }

  .rvoe-table th,
  .rvoe-table td {
    padding: 10px 12px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .mision-stats {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }
}