/* ===== ROOT VARIABLES ===== */
:root {
  --blue-dark: #1a4a8a;
  --blue-mid: #2563b8;
  --blue-light: #4da6e8;
  --blue-sky: #7ec8f0;
  --white: #ffffff;
  --gray-light: #f4f7fb;
  --gray: #6b7a99;
  --dark: #0d1b3e;
  --accent: #e8a020;
  --accent2: #29c4a0;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(12px);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  border-bottom: 2px solid var(--blue-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(126, 200, 240, 0.5);
}

.nav-logo-text .brand {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--blue-sky);
}

.nav-logo-text .sub {
  font-size: 0.48rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
  max-width: 160px;
  color: #aac;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: #ccd6f6;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: var(--blue-mid);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #f0a020);
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* ===== SOCIAL FLOATING ===== */
.social-float {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sf-wa {
  background: #25d366;
}
.sf-fb {
  background: #1877f2;
}
.sf-tk {
  background: #010101;
}
.sf-li {
  background: #0077b5;
}
.sf-yt {
  background: #ff0000;
}
.sf-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-float a:hover {
  transform: scale(1.15) translateX(-4px);
}

.wa-pulse {
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
}

/* ===== HERO SLIDER ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0f2d6e 40%, var(--blue-mid) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-shapes::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 166, 232, 0.18) 0%, transparent 70%);
}

.hero-bg-shapes::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 196, 160, 0.12) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(126, 200, 240, 0.3);
  animation: float-p linear infinite;
}

@keyframes float-p {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.slides-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  max-width: 100%;
  margin: 0;
  padding: 40px 40px 50px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.slide.active .slide-badge {
  animation: fadeInUp 0.8s ease forwards;
}
.slide.active .slide-title {
  animation: fadeInUp 0.9s ease 0.2s both;
}
.slide.active .slide-description {
  animation: fadeInUp 0.9s ease 0.4s both;
}
.slide.active .slide-buttons {
  animation: fadeInUp 0.9s ease 0.6s both;
}
.slide:not(.active) .slide-badge,
.slide:not(.active) .slide-title,
.slide:not(.active) .slide-description,
.slide:not(.active) .slide-buttons {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(30px);
  }
}

.slide-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 10px;
  opacity: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.slide-title span {
  color: var(--blue-sky);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.slide-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.6;
  opacity: 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-indicators {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(232, 160, 32, 0.5);
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.2rem;
}

.slider-control:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--blue-sky);
  transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
  left: 30px;
}
.slider-control.next {
  right: 30px;
}

.slider-pause-btn {
  position: absolute;
  bottom: 180px;
  right: 30px;
  z-index: 15;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-pause-btn:hover {
  background: var(--blue-mid);
  border-color: var(--blue-sky);
  transform: scale(1.08);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
  z-index: 5;
}

.hero-scroll a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== SECCIONES GENERALES ===== */
section {
  padding: 90px 5%;
}

.section-tag {
  display: inline-block;
  color: var(--blue-mid);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-title span {
  color: var(--blue-mid);
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-sub {
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

.divider-left {
  margin: 16px 0 0;
}

/* ===== COUNTERS ===== */
.counters {
  background: linear-gradient(135deg, var(--dark), #0f2d6e);
  padding: 70px 5%;
  position: relative;
  overflow: hidden;
}

.counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='%234da6e8' fill-opacity='0.05'%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");
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.counter-item {
  text-align: center;
}

.counter-icon {
  font-size: 2.5rem;
  color: var(--blue-sky);
  margin-bottom: 12px;
}

.counter-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.counter-num span {
  color: var(--accent);
}

.counter-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--gray-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 20px 20px 60px rgba(26, 74, 138, 0.25);
}

.about-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.about-img-inner img {
  height: 280px;
  width: 300px;
  border: 2px solid rgba(126, 200, 240, 0.3);
}

.about-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
  min-width: 180px;
}

.about-card .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-mid);
}

.about-card .lbl {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text .section-tag {
  display: block;
}

.feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== MISIÓN Y VISIÓN ===== */
.mision-vision {
  background: white;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.mv-card {
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 74, 138, 0.88) 0%, rgba(13, 27, 62, 0.92) 100%);
  z-index: 1;
  border-radius: 20px;
}

.mv-card:hover {
  transform: translateY(-6px);
}

.mv-card > * {
  position: relative;
  z-index: 2;
}

.mv-mission {
  background-image: url('Logoq.jpeg');
}

.mv-vision {
  background-image: url('Logoq.jpeg');
}

.mv-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.mv-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mv-card p {
  font-size: 0.92rem;
  line-height: 1.9;
  opacity: 0.95;
}

.mv-values {
  max-width: 1000px;
  margin: 50px auto 0;
}

.mv-values h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--dark);
}

.values-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.value-pill {
  background: var(--gray-light);
  border: 2px solid #e0e8f5;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.value-pill:hover {
  background: var(--blue-mid);
  color: white;
  border-color: var(--blue-mid);
}

.value-pill i {
  font-size: 0.8rem;
  color: var(--accent);
}

/* ===== CURSOS ===== */
.courses {
  background: var(--gray-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.35s;
  border: 1px solid transparent;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 74, 138, 0.18);
  border-color: var(--blue-light);
}

.course-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.cc-1 {
  background: linear-gradient(135deg, #1a4a8a, #4da6e8);
}
.cc-2 {
  background: linear-gradient(135deg, #0f2d6e, #2563b8);
}
.cc-3 {
  background: linear-gradient(135deg, #29c4a0, #1a8a7a);
}
.cc-4 {
  background: linear-gradient(135deg, #e8a020, #f04020);
}
.cc-5 {
  background: linear-gradient(135deg, #7028e4, #2563b8);
}
.cc-6 {
  background: linear-gradient(135deg, #0d1b3e, #2563b8);
}
.cc-7 {
  background: linear-gradient(135deg, #e84020, #b81a1a);
}
.cc-8 {
  background: linear-gradient(135deg, #29c4a0, #2563b8);
}

.course-banner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.course-body {
  padding: 24px;
}

.course-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.course-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.course-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 18px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-meta i {
  color: var(--blue-light);
}

.course-tag {
  display: inline-block;
  background: var(--gray-light);
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 10px;
}

.badge-new {
  background: #e6f9f5;
  color: #29c4a0;
}

/* ===== TEACHERS ===== */
.teachers {
  background: white;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(135deg, #0f2d6e, var(--dark));
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-sub {
  color: rgba(255, 255, 255, 0.7);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.test-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(126, 200, 240, 0.2);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.test-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(126, 200, 240, 0.4);
  transform: translateY(-4px);
}

.test-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.test-text {
  font-family: 'Lora', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.test-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.test-name {
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
}

.test-role {
  font-size: 0.75rem;
  color: var(--blue-sky);
}

/* ===== CONTACTO + MAPA ===== */
.contact-section {
  background: white;
  padding: 90px 5%;
}

.contact-full-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 40px auto 0;
  align-items: stretch;
}

.contact-info-col {
  background: var(--gray-light);
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ci-text p,
.ci-text a {
  font-size: 0.82rem;
  color: var(--gray);
  text-decoration: none;
  line-height: 1.7;
}

.ci-text a:hover {
  color: var(--blue-mid);
}

.map-col {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  min-height: 400px;
  background: var(--gray-light);
}

.map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  padding: 70px 5% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 80px;
  width: 80px;
  border-radius: 100%;
  object-fit: cover;
  border: 2px solid rgba(126, 200, 240, 0.3);
}

.footer-logo-text .brand {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue-sky);
  letter-spacing: 2px;
}

.footer-logo-text .sub {
  font-size: 0.48rem;
  line-height: 1.3;
  max-width: 160px;
  color: #889;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.fs-wa:hover {
  background: #25d366;
  border-color: #25d366;
}
.fs-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
}
.fs-tk:hover {
  background: #333;
  border-color: #333;
}
.fs-li:hover {
  background: #0077b5;
  border-color: #0077b5;
}
.fs-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
}
.fs-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #cc2366;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-sky);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--blue-sky);
}

.footer-col ul li a i {
  font-size: 0.7rem;
  color: var(--blue-light);
}

.footer-newsletter p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px 0 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form button {
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  border: none;
  cursor: pointer;
  background: var(--blue-mid);
  color: white;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--blue-light);
}

.wa-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
}

.wa-footer-btn:hover {
  transform: scale(1.05);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--blue-sky);
}

/* ===== FADE IN ANIMATIONS ===== */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.animate {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-full-wrap {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slider-control.prev {
    left: 15px;
  }
  .slider-control.next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 62, 0.98);
    padding: 20px;
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .social-float {
    right: 8px;
  }
  .social-float a {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .slider-control {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .slider-control.prev {
    left: 10px;
  }
  .slider-control.next {
    right: 10px;
  }
  .slider-indicators {
    bottom: 160px;
  }
  .slider-pause-btn {
    bottom: 160px;
    right: 15px;
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .slide-content {
    padding: 25px 16px 35px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  }
}
/* ===== SLIDER DE GRUPOS DE ESTUDIANTES ===== */
.grupos-slider-section {
  background: var(--gray-light);
  padding: 90px 5%;
}

.grupos-slider-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.grupos-slider {
  position: relative;
  width: 100%;
  height: 500px;
}

.grupo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.7s ease-in-out;
}

.grupo-slide.active {
  opacity: 1;
  visibility: visible;
}

.grupo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grupo-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 35px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: white;
}

.grupo-slide-caption h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.grupo-slide-caption p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* Botones de navegación */
.grupos-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grupos-slider-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.grupos-slider-btn.prev {
  left: 20px;
}

.grupos-slider-btn.next {
  right: 20px;
}

/* Indicadores (puntos) */
.grupos-slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.grupos-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.grupos-slider-dots .dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(232, 160, 32, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .grupos-slider {
    height: 300px;
  }

  .grupo-slide-caption {
    padding: 18px 20px;
  }

  .grupo-slide-caption h4 {
    font-size: 0.95rem;
  }

  .grupo-slide-caption p {
    font-size: 0.75rem;
  }

  .grupos-slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .grupos-slider-btn.prev {
    left: 10px;
  }

  .grupos-slider-btn.next {
    right: 10px;
  }

  .grupos-slider-dots {
    bottom: 70px;
  }

  .grupos-slider-dots .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .grupos-slider {
    height: 220px;
  }

  .grupo-slide-caption {
    padding: 12px 16px;
  }

  .grupo-slide-caption h4 {
    font-size: 0.8rem;
  }

  .grupo-slide-caption p {
    font-size: 0.65rem;
  }

  .grupos-slider-btn {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .grupos-slider-dots {
    bottom: 50px;
    gap: 8px;
  }

  .grupos-slider-dots .dot {
    width: 8px;
    height: 8px;
  }
}
/* ===== SLIDER DE GRUPOS DE ESTUDIANTES ===== */
.grupos-slider-section {
  background: var(--gray-light);
  padding: 90px 5%;
}

.grupos-slider-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.grupos-slider {
  position: relative;
  width: 100%;
  height: 500px;
}

.grupo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.7s ease-in-out;
}

.grupo-slide.active {
  opacity: 1;
  visibility: visible;
}

.grupo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grupo-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 35px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: white;
}

.grupo-slide-caption h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.grupo-slide-caption p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* Botones de navegación */
.grupos-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grupos-slider-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.grupos-slider-btn.prev {
  left: 20px;
}

.grupos-slider-btn.next {
  right: 20px;
}

/* Indicadores (puntos) */
.grupos-slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.grupos-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.grupos-slider-dots .dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(232, 160, 32, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .grupos-slider {
    height: 300px;
  }

  .grupo-slide-caption {
    padding: 18px 20px;
  }

  .grupo-slide-caption h4 {
    font-size: 0.95rem;
  }

  .grupo-slide-caption p {
    font-size: 0.75rem;
  }

  .grupos-slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .grupos-slider-btn.prev {
    left: 10px;
  }

  .grupos-slider-btn.next {
    right: 10px;
  }

  .grupos-slider-dots {
    bottom: 70px;
  }

  .grupos-slider-dots .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .grupos-slider {
    height: 220px;
  }

  .grupo-slide-caption {
    padding: 12px 16px;
  }

  .grupo-slide-caption h4 {
    font-size: 0.8rem;
  }

  .grupo-slide-caption p {
    font-size: 0.65rem;
  }

  .grupos-slider-btn {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .grupos-slider-dots {
    bottom: 50px;
    gap: 8px;
  }

  .grupos-slider-dots .dot {
    width: 8px;
    height: 8px;
  }
}