* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  color: #1c1c1c;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.header {
  background: #0f1a2b;
  padding: 20px 0;
}

.logo {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
}

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  background: linear-gradient(
      rgba(15, 26, 43, 0.45),
      rgba(15, 26, 43, 0.45)
    ),
    url("../assets/balance-education-money.jpg") center/cover no-repeat;

  color: #fff;
  padding: 160px 0;
  text-align: center;
}


.hero h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

.btn {
  background: #222b86;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #162c48;
}




.section {
  padding: 80px 0;
}

.section.alt {
  background: #f4f4f4;
}

.section h3 {
  font-size: 30px;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 30px;
  border-left: 4px solid #c9a14a;
  font-weight: bold;
}

.footer {
  background: #0f1a2b;
  color: #fff;
  text-align: center;
  padding: 20px;
}
html {
  scroll-behavior: smooth;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 80px;
}

.logo-text{
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

/* CONTACTO */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.contact-box {
  background: #f5f5f5;
  padding: 25px;
  border-top: 3px solid #1f3a5f;
  text-align: center;
}

.contact-box h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #1f3a5f;
}

.contact-box p {
  margin: 6px 0;
  font-size: 15px;
}
/* WHATSAPP LINK */

.whatsapp-link {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

.whatsapp-link:hover {
  text-decoration: underline;
}
.whatsapp{
      position:fixed;
      bottom:20px;right:20px;
      background:#25D366;
      color:#fff;
      padding:15px 20px;
      border-radius:50px;
      font-weight:600;
      z-index:1000;
    }

/* GOOGLE MAPS LINK */

.maps-link {
  color: #1f3a5f;
  font-weight: bold;
  text-decoration: none;
}

.maps-link:hover {
  text-decoration: underline;
}
/*Areas de practica*/
/* SERVICIOS - ACORDEÓN */

.services-accordion {
  max-width: 800px;
  margin: 40px auto 0;
}

.service-item {
  border-bottom: 1px solid #ddd;
}

.service-title {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #1f3a5f;
}

.service-title span {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.service-item.active .service-title span {
  transform: rotate(45deg);
}

.service-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-content p {
  padding: 0 20px 20px;
  color: #444;
  line-height: 1.6;
}
/* =========================
   SECCIÓN NOSOTROS
========================= */

.about-container{
  display:flex;
  align-items:center;
  gap:45px;
  padding:10px 10px;
}

.about-image{
  flex:1;
}

.about-image{
  flex:1;
  display:flex;
}

.about-image img{
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,0.25);
}


.about-text{
  flex:1;
}

.about-text h3{
  font-size:2rem;
  margin-bottom:20px;
}

.about-text p{
  margin-bottom:15px;
  line-height:1.6;
  color:#555;
}

.about-text ul{
  list-style:none;
  padding:0;
  margin-top:20px;
}

.about-text li{
  margin-bottom:10px;
  font-weight:500;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

  .about-container{
    flex-direction:column;
  }

  .about-text{
    text-align:center;
  }

}
/* =========================
   GALERÍA
========================= */

.section-title{
  text-align:center;
  margin:0 0 40px;
  font-size:2rem;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  padding-bottom:60px;
}

.gallery img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:12px;
  transition:0.4s;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.gallery img:hover{
  transform:scale(1.05);
  box-shadow:0 15px 40px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width:768px){
  .gallery img{
    height:200px;
  }
}

/* =========================
   ANIMACIÓN DE ENTRADA
========================= */

.fade-in{
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 1s ease forwards;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.gallery img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:12px;
  transition:0.4s;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp 0.8s ease forwards;
}

/* Animación escalonada */
.gallery img:nth-child(1){animation-delay:0.2s;}
.gallery img:nth-child(2){animation-delay:0.4s;}
.gallery img:nth-child(3){animation-delay:0.6s;}
.gallery img:nth-child(4){animation-delay:0.8s;}
.gallery img:nth-child(5){animation-delay:1s;}
.gallery img:nth-child(6){animation-delay:1.2s;}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
  display:none;
  position:fixed;
  z-index:999;
  padding-top:80px;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  backdrop-filter:blur(5px);
}

.lightbox-content{
  display:block;
  margin:auto;
  max-width:80%;
  max-height:80vh;
  border-radius:12px;
  animation:zoomIn 0.4s ease;
}

@keyframes zoomIn{
  from{transform:scale(0.7); opacity:0;}
  to{transform:scale(1); opacity:1;}
}

.close{
  position:absolute;
  top:30px;
  right:50px;
  color:white;
  font-size:40px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

.close:hover{
  opacity:0.6;
}
/* =========================================
   RESPONSIVE COMPLETO
========================================= */

/* Tablets */
@media (max-width: 992px){

  .hero {
    padding: 120px 0;
  }

  .hero h2 {
    font-size: 30px;
  }

  .logo-text{
    font-size:16px;
  }

  .contact-grid{
    grid-template-columns: 1fr 1fr;
  }

}


/* MÓVILES */
@media (max-width: 768px){

  /* HEADER */
  .header-flex{
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .brand{
    flex-direction: column;
  }

  .logo-img{
    height:60px;
  }

  .logo-text{
    font-size:15px;
  }

  .nav{
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  /* HERO */
  .hero{
    padding: 100px 20px;
  }

  .hero h2{
    font-size: 24px;
  }

  .hero p{
    font-size:14px;
  }

  /* SERVICIOS */
  .services-accordion{
    width:100%;
  }

  /* NOSOTROS */
  .about-container{
    flex-direction: column;
    gap: 25px;
  }

  .about-image img{
    height:300px;
  }

  .about-text{
    text-align:center;
  }

  /* CONTACTO */
  .contact-grid{
    grid-template-columns: 1fr;
    gap:20px;
  }

  /* WHATSAPP BOTÓN */
  .whatsapp{
    padding:12px 18px;
    font-size:14px;
    bottom:15px;
    right:15px;
  }

}


/* MÓVILES PEQUEÑOS */
@media (max-width: 480px){

  .section{
    padding:60px 0;
  }

  .hero h2{
    font-size:20px;
  }

  .section h3{
    font-size:22px;
  }

  .about-image img{
    height:250px;
  }

}

.facebook-link{
  color:#1877F2;
  font-weight:bold;
  text-decoration:none;
}

.facebook-link:hover{
  text-decoration:underline;
}
.year-title {
  margin-top: 50px;
  font-size: 24px;
  color: #1e3a5f;
  border-bottom: 3px solid #caa45f;
  padding-bottom: 5px;
}

.event-section {
  margin: 30px 0;
}

.event-section h4 {
  margin-bottom: 10px;
  color: #222;
}

.event-description {
  max-width: 800px;
  margin-bottom: 20px;
  color: #555;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    text-align: center;
  }

  .logo-text {
    display: block;
    margin-top: 10px;
  }
}
/* ===== FILTRO ===== */

.year-filter {
  text-align: center;
  margin-bottom: 40px;
}

.year-filter button {
  background: #1e3a5f;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.year-filter button:hover {
  background: #caa45f;
  color: #1e3a5f;
}

/* ===== TIMELINE ===== */

.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 30px;
  border-left: 4px solid #caa45f;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: #1e3a5f;
  border-radius: 50%;
  border: 3px solid #caa45f;
}

.timeline-date {
  font-weight: bold;
  font-size: 18px;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.timeline-content h4 {
  margin-bottom: 10px;
}

/* Animación suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.year-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.year-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.btn-year {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #1e3a5f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-year:hover {
  background: #caa45f;
  color: #1e3a5f;
}
.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination button {
  background: #1e3a5f;
  color: white;
  border: none;
  margin: 5px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.pagination button:hover {
  background: #caa45f;
  color: #1e3a5f;
}

.active-page {
  background: #caa45f !important;
  color: #1e3a5f !important;
}
/* === MISIÓN VISIÓN VALORES PROFESIONAL === */

.mvv-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.mvv-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-5px);
}

.mvv-title {
  font-size: 22px;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.mvv-divider {
  width: 60px;
  height: 3px;
  background: #caa45f;
  margin-bottom: 20px;
}

.mvv-divider.center {
  margin: 15px auto 30px auto;
}

.valores-section {
  text-align: center;
}

.valores-title {
  font-size: 24px;
  color: #1e3a5f;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.valor-item {
  background: white;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  font-weight: 500;
  transition: 0.3s ease;
}
.contact-social {
  text-align: center;
  margin-top: 40px;
}

.social-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #1e3a5f;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s ease;
}

.check-item {
  list-style: none;
  position: relative;
  padding-left: 25px;
}

.check-item::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #caa45f; /* Color dorado institucional */
  font-weight: bold;
}
.foto-circular{
  height:80px;
  border-radius:50%;
  object-fit:cover;
}
/* DIRECTIVOS */

.directivos-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:30px;
  margin-top:40px;
}

.directivo-card{
  text-align:center;
  background:#fff;
  padding:15px;
  border-radius:10px;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  transition:transform 0.3s;
  overflow:hidden;
}

.directivo-card:hover{
  transform:translateY(-5px);
}

.directivo-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:15px;
}

.directivo-card h4{
  margin:10px 0 5px;
}

.directivo-card p{
  color:#777;
  font-size:14px;
}