/* ═══════════════════════════════════════════════
   CENTRO EDUCATIVO ADVENTISTA DE PASO CANOAS
   style.css  |  Paleta: Azul Navy / Blanco / Dorado
════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────── */
:root {
  --navy:        #0d2a4e;
  --navy-mid:    #1a3f72;
  --navy-light:  #2457a0;
  --gold:        #c9912a;
  --gold-light:  #e8b84b;
  --gold-pale:   #fdf3e0;
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --text-dark:   #1a1a2e;
  --text-mid:    #3d4a5c;
  --text-light:  #6b7a8d;
  --border:      #dde3ed;
  --shadow-sm:   0 2px 12px rgba(13,42,78,.08);
  --shadow-md:   0 8px 30px rgba(13,42,78,.14);
  --shadow-lg:   0 16px 50px rgba(13,42,78,.20);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .3s cubic-bezier(.25,.8,.25,1);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }


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


.btn { border-radius: 50px; font-weight: 600; font-size: .92rem; padding: .65rem 1.6rem; transition: var(--transition); letter-spacing: .4px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border: none;
  box-shadow: 0 4px 15px rgba(201,145,42,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,145,42,.5); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); color: var(--white); }
.btn-gold-outline {
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
  background: transparent;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }


#mainNav {
  background: transparent;
  padding: 1rem 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#mainNav.scrolled {
  background: rgba(13, 42, 78, .97);
  backdrop-filter: blur(12px);
  padding: .5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.navbar-brand { gap: .75rem; }
.logo-placeholder {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--navy);
  flex-shrink: 0;
}
.logo-placeholder--sm { width: 36px; height: 36px; font-size: 1rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700; color: var(--white); }
.brand-sub { font-size: .72rem; color: var(--gold-light); font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }
.nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .45rem .75rem !important;
  border-radius: 6px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover { color: var(--white) !important; }
.toggler-icon { color: var(--white); font-size: 1.6rem; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

.hero-section { position: relative; }
.hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center;
  position: relative;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,42,78,.82) 0%, rgba(13,42,78,.5) 60%, rgba(0,0,0,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 100px;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-desc { font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.carousel-indicators button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold-light) !important;
  background: transparent !important;
  opacity: .6;
}
.carousel-indicators button.active { background: var(--gold-light) !important; opacity: 1; }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10;
}
.scroll-dot {
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  position: relative;
  animation: scrollBounce 1.6s infinite;
}
.scroll-dot::after {
  content: ''; position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}


.mv-section { background: var(--white); padding: 5rem 0 3rem; }
.mv-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid var(--navy-light);
}
.mv-card--gold { border-top-color: var(--gold); }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-icon { font-size: 2rem; color: var(--navy-light); margin-bottom: 1rem; }
.mv-card--gold .mv-icon { color: var(--gold); }
.mv-title { font-size: 1.4rem; margin-bottom: .75rem; color: var(--navy); }
.mv-text { color: var(--text-mid); line-height: 1.75; }
.stats-row { margin-top: 3rem; }
.stat-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}
.stat-box:hover { background: var(--navy-mid); transform: translateY(-3px); }
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus { font-size: 1.8rem; color: var(--gold-light); font-weight: 700; }
.stat-label { display: block; font-size: .82rem; opacity: .7; margin-top: .3rem; }


.section-header { margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  font-weight: 700;
}
.section-subtitle {
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.title-ornament {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  margin: 1rem auto 0;
  border-radius: 2px;
}
.title-ornament--light { background: linear-gradient(90deg, var(--gold-light), rgba(255,255,255,.3)); }


.section-info { background: var(--white); padding: 5rem 0; }
.img-frame { position: relative; display: inline-block; width: 100%; }
.rounded-custom { border-radius: var(--radius-lg); width: 100%; object-fit: cover; min-height: 350px; }
.img-badge {
  position: absolute; bottom: -15px; right: 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-weight: 700; font-size: .85rem;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.subsection-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: .5rem;
}
.subsection-title { font-size: 1.8rem; color: var(--navy); margin-bottom: 1rem; }
.section-info p { color: var(--text-mid); line-height: 1.8; margin-bottom: .8rem; }


.values-block { background: var(--off-white); border-radius: var(--radius-lg); padding: 3rem 2.5rem; }
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card i { font-size: 1.8rem; color: var(--navy-light); display: block; margin-bottom: .6rem; }
.value-card span { font-size: .85rem; font-weight: 600; color: var(--text-mid); }


.academic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.academic-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--navy-light);
}
.academic-card--featured::before { background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
.academic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.academic-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.bg-blue-light { background: rgba(26,63,114,.12); color: var(--navy-mid); }
.bg-gold       { background: rgba(201,145,42,.15); color: var(--gold); }
.bg-blue-dark  { background: var(--navy); color: var(--gold-light); }
.academic-card h4 { font-size: 1.2rem; color: var(--navy); margin-bottom: .75rem; }
.academic-card ul { color: var(--text-mid); font-size: .9rem; }
.academic-card ul li { padding: .25rem 0; border-bottom: 1px dashed var(--border); }
.academic-card ul li:last-child { border: none; }
.academic-age {
  display: inline-block;
  margin-top: 1rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .8rem;
  border-radius: 50px;
}


.section-personal {
  background: linear-gradient(180deg, var(--off-white) 0%, #eef2f9 100%);
  padding: 5rem 0 4rem;
}


.pyramid-level {
  margin-bottom: 1.5rem;
}

.pyramid-row-label {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pyramid-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: .45rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid rgba(232,184,75,.25);
}
.pyramid-tier-badge--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: transparent;
}
.pyramid-tier-badge--navy {
  background: var(--navy-mid);
  color: var(--gold-light);
}
.pyramid-tier-badge--light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}


.pyramid-connector {
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
}
.pyramid-connector-line {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  opacity: .6;
}


.staff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.staff-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-light), var(--navy));
}
.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,145,42,.3);
}


.staff-card--director {
  max-width: 480px;
  width: 100%;
  border-top-color: transparent;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(201,145,42,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-card--director::before {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  height: 5px;
}
.staff-card--director:hover {
  box-shadow: 0 16px 48px rgba(201,145,42,.28);
}


.staff-card--secretaria {
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-card--secretaria::before {
  background: linear-gradient(90deg, var(--navy-light), var(--gold));
}


.staff-card--docente {
  padding: 1.25rem 1rem;
}
.staff-card--docente::before {
  height: 3px;
  background: var(--navy-light);
}


.staff-card--conserje {
  max-width: 260px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-card--conserje::before {
  background: linear-gradient(90deg, var(--navy), var(--navy-mid));
}


.staff-photo-wrap {
  position: relative;
  margin: 0 auto 1.25rem;
}
.staff-photo-wrap--lg {
  width: 160px; height: 160px;
}
.staff-photo-wrap--md {
  width: 120px; height: 120px;
}
.staff-photo-wrap--sm {
  width: 88px; height: 88px;
}

.staff-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(13,42,78,.18);
  display: block;
  position: relative;
  z-index: 1;
}
.staff-card--director .staff-photo {
  border-color: var(--gold-light);
  border-width: 4px;
  box-shadow: 0 0 0 4px rgba(232,184,75,.2), 0 6px 24px rgba(13,42,78,.2);
}


.staff-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(201,145,42,.4);
  animation: rotateSlow 18s linear infinite;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


.staff-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.staff-name--sm {
  font-size: .88rem;
  margin-bottom: .3rem;
}

.staff-role {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.staff-role--director {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.staff-role--admin {
  background: rgba(26,63,114,.1);
  color: var(--navy-mid);
}
.staff-role--docente {
  background: rgba(13,42,78,.06);
  color: var(--navy);
  font-size: .72rem;
  padding: .25rem .65rem;
}
.staff-role--apoyo {
  background: rgba(36,87,160,.08);
  color: var(--navy-light);
}

.staff-quote {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--gold-light);
  padding-left: .85rem;
  margin: .5rem 0 0;
  text-align: left;
}


.profesores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}


.conserjes-row {
  flex-wrap: wrap;
}


.download-section {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.download-block-light {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}
.download-block-light h5 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.download-links-row {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.download-btn-light {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .65rem 1rem;
  color: var(--text-mid);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}
.download-btn-light i {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.download-btn-light:hover {
  background: var(--gold-pale);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateX(3px);
}


.section-galeria { background: var(--off-white); padding: 5rem 0; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .4rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.gallery-thumb {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(13,42,78,.7);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; color: var(--white);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-thumb:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.8rem; color: var(--gold-light); }
.gallery-overlay span { font-size: .85rem; font-weight: 600; }
.gallery-item { transition: var(--transition); }
.gallery-item.hidden { display: none; }


.lightbox-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-modal.open { display: flex; flex-direction: column; }
.lightbox-modal img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); }
.lightbox-modal p { color: rgba(255,255,255,.7); margin-top: .75rem; font-size: .9rem; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: var(--white); font-size: 1.8rem; cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--gold-light); transform: scale(1.1); }


.section-plataformas {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 5rem 0;
}

.section-plataformas .section-title { 
  color: var(--white); 
}

.section-plataformas .section-label { 
  color: var(--gold-light); 
}

.platform-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}

.platform-card--primary {
  background: rgba(201,145,42,.1);
  border-color: rgba(201,145,42,.3);
}

.platform-card:hover { 
  transform: translateY(-5px); 
  background: rgba(255,255,255,.1); 
  box-shadow: 0 8px 20px rgba(201,145,42,.25);
}

.platform-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; 
  margin: 0 auto 1.25rem;
  transition: transform .3s ease;
}


.platform-card--primary .platform-icon i.bi-cloud-fill { 
  color: var(--gold-light); 
}


.platform-card--primary .platform-icon i.bi-book-fill { 
  color: #FFD700; 
}

.platform-card:hover .platform-icon {
  transform: scale(1.1) rotate(5deg);
}

.platform-card h4 { 
  color: var(--white); 
  font-size: 1.3rem; 
  margin-bottom: .75rem; 
}

.platform-card p { 
  color: rgba(255,255,255,.65); 
  font-size: .9rem; 
  line-height: 1.7; 
}

.platform-features { 
  text-align: left; 
  margin-top: 1rem; 
}

.platform-features li { 
  color: rgba(255,255,255,.75); 
  font-size: .88rem; 
  padding: .35rem 0; 
  display: flex; 
  align-items: center; 
  gap: .5rem; 
}

.platform-features i { 
  color: var(--gold-light); 
  flex-shrink: 0; 
}


.platform-card .btn {
  transition: all .3s ease;
}

.platform-card .btn:hover {
  background: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(201,145,42,.4);
}



.section-contacto { background: var(--white); padding: 5rem 0; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h5 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.contact-info-item p { color: var(--text-mid); font-size: .9rem; margin: 0; line-height: 1.7; }
.contact-info-item a { color: var(--text-mid); }
.contact-info-item a:hover { color: var(--navy-light); }
.social-block h6 { color: var(--navy); font-weight: 700; }
.social-icons { display: flex; gap: .6rem; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--navy-mid);
  transition: var(--transition);
}
.social-icon:hover { background: var(--navy); color: var(--gold-light); border-color: var(--navy); transform: translateY(-2px); }
.contact-form-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form-card h4 { color: var(--navy); font-size: 1.35rem; }
.custom-input:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(26,63,114,.12);
  outline: none;
}
.map-container h5 { color: var(--navy); font-weight: 700; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border); }


.site-footer { background: var(--navy); }
.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-brand-sub { font-size: .7rem; color: var(--gold-light); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.footer-desc { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.75; margin-top: .75rem; }
.footer-heading { color: var(--gold-light); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  color: rgba(255,255,255,.55); font-size: .88rem;
  padding: .35rem 0;
}
.footer-contact-list i { color: var(--gold-light); flex-shrink: 0; margin-top: .15rem; }
.footer-contact-list a { color: rgba(255,255,255,.55); }
.footer-contact-list a:hover { color: var(--gold-light); }
.footer-bottom { padding: 1.25rem 0; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.35); font-size: .82rem; }
.footer-bottom-links a:hover { color: var(--gold-light); }

.site-footer .social-icon {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
}
.site-footer .social-icon:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }


@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(13,42,78,.97);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: .5rem;
    backdrop-filter: blur(12px);
  }
  .nav-link::after { display: none; }
  .hero-actions { justify-content: center; }
  .hero-content { text-align: center; max-width: 100%; }

  .profesores-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .85rem;
  }
}

@media (max-width: 767px) {
  .mv-section,
  .section-info,
  .section-personal,
  .section-galeria,
  .section-plataformas,
  .section-contacto { padding: 3.5rem 0; }

  .hero-title { font-size: 2rem; }

  .contact-form-card,
  .platform-card { padding: 1.5rem; }

  .values-block { padding: 2rem 1rem; }
  .stat-number  { font-size: 2rem; }

  .staff-card--director,
  .staff-card--secretaria { padding: 1.5rem 1.25rem; }

  .staff-photo-wrap--lg { width: 120px; height: 120px; }
  .staff-photo-wrap--md { width: 96px;  height: 96px;  }

  .profesores-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: .75rem;
  }

  .conserjes-row { gap: 1.25rem; }

  .download-block-light { padding: 1.25rem 1rem; }
}

@media (max-width: 480px) {
  .profesores-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
  }
  .staff-card--docente { padding: 1rem .75rem; }
  .staff-photo-wrap--sm { width: 72px; height: 72px; }
  .staff-name--sm { font-size: .8rem; }
  .staff-role--docente { font-size: .68rem; padding: .2rem .5rem; }
}


:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }