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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f7fafc;
  line-height: 1.6;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}

.main-nav a:hover {
  background: #e5e7eb;
  text-decoration: none;
}

.btn-nav {
  background: #1d4ed8;
  color: #fff !important;
}

.btn-nav:hover {
  background: #1e40af;
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #eff6ff, #f9fafb);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.hero h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background: #1d4ed8;
  color: #fff;
}

.btn-primary:hover {
  background: #1e40af;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid #1d4ed8;
  color: #1d4ed8;
  background: #fff;
}

.btn-secondary:hover {
  background: #eff6ff;
  text-decoration: none;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: #dbeafe;
  border: 3px solid #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2933;
  font-weight: 600;
}

/* Secciones generales */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 2rem;
  color: #4b5563;
}

/* Grids y tarjetas */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cards .card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.92rem;
  color: #4b5563;
}

.check-list {
  list-style: none;
  margin: 0.5rem 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-size: 0.8rem;
}

.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

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

.coming-soon {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #fef9c3;
  border: 1px solid #facc15;
  font-size: 0.9rem;
}

/* Blog y formularios */

.blog-placeholder {
  background: #f3f4f6;
  border-radius: 0.75rem;
  padding: 1.25rem;
  font-size: 0.95rem;
}

.blog-placeholder ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.form-embed {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px dashed #d1d5db;
  font-size: 0.9rem;
}

.cta-center {
  margin-top: 2rem;
  text-align: center;
}

/* Footer */

.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-content {
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-content,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-image {
    order: -1;
    margin-bottom: 1.5rem;
  }
}
/* ============================
   Community Leadership (cards)
   ============================ */

#community-leadership .section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#community-leadership .section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  max-width: 800px;
  margin-bottom: 1.8rem;
}

/* Grid de cards */
#community-leadership .card-container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 0;
}


/* Card base */
#community-leadership .card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

#community-leadership .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

/* Cards destacadas */
#community-leadership .english-card {
  border-left: 6px solid #3b82f6; /* azul */
}

#community-leadership .main-card {
  border-left: 6px solid #9333ea; /* violeta */
}

#community-leadership .mission-card {
  border-left: 6px solid #10b981; /* verde */
}

/* Tipografía interna */
#community-leadership .card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 700;
}

#community-leadership .card p {
  line-height: 1.6;
}

#community-leadership .card ul {
  padding-left: 1.2rem;
}

#community-leadership .card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Badges de programas y roles */
#community-leadership .program-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

#community-leadership .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: #e0edff;
  color: #1d4ed8;
}

#community-leadership .badge:nth-child(2) {
  background: #ede9fe;
  color: #6d28d9;
}

#community-leadership .badge:nth-child(3) {
  background: #fce7f3;
  color: #be185d;
}

#community-leadership .badge:nth-child(4) {
  background: #dcfce7;
  color: #15803d;
}


/* Responsivo */
@media (max-width: 900px) {
  #community-leadership .card-container {
    gap: 1rem;
  }

  #community-leadership .card {
    padding: 1.4rem;
  }
}
#community-leadership.section {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

/* ============================
   Sección Contáctanos en azul
   ============================ */


#contacto .section-intro {
  color: #e5e7eb;
}

#contacto a:hover {
  color: #ffffff;
  text-decoration: underline;
}


/* ============================
   Sección de Contacto Armonizada
   ============================ */

.contact-section {
  background: #1d4ed8; /* azul rey */
  padding: 3.5rem 0;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Tarjetas dentro del azul */
.contact-card {
  background: #ffffff;
  color: #1f2937;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border-left: 5px solid #1d4ed8;
}

/* Enlaces dentro de las tarjetas de contacto */
.contact-card a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: #163ea3;
  text-decoration: underline;
}

.contact-card h3 {
  margin-bottom: 0.8rem;
}

.contact-card ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .contact-section {
    padding: 2.5rem 0;
  }
}
.contact-title {
  text-align: left;
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
}


/* Spacing definitivo para Community Leadership */

/* Título cerca del subtítulo */
#community-leadership .section-title {
  margin-bottom: 0.4rem;
}

/* Más respiro entre subtítulo y badges */
#community-leadership .section-subtitle {
  margin-top: 0.2rem;
  margin-bottom: 1.8rem;
}

/* Badges con buen aire antes de las cards */
#community-leadership .program-badges {
  margin-bottom: 2.4rem;
}


/* ============================
   Iconos y cabecera de cards
   ============================ */

#community-leadership .card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

#community-leadership .card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1d4ed8; /* color del trazo del SVG */
}

#community-leadership .main-card .card-icon {
  background: #f5f3ff;
  color: #7c3aed;
}

#community-leadership .mission-card .card-icon {
  background: #ecfdf5;
  color: #059669;
}

/* ============================
   Animación Scroll Reveal
   ============================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-divider {
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
  padding-top: 3rem;
}
/* Corrección: enlaces en tarjetas blancas dentro del contacto */
.contact-card a {
  color: #1d4ed8 !important;
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: #163ea3 !important;
  text-decoration: underline;
}
.contact-card .btn-primary {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  background: #1d4ed8;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-card .btn-primary:hover {
  background: #1e40af;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}
/* Reducir espacio debajo de "Correo" en tarjeta izquierda */
.contact-card h3 {
  margin-bottom: 0.4rem; /* antes era 0.8rem */
}

.contact-card p {
  margin-bottom: 0.8rem; /* reduce el aire extra */
}
/* Botón dentro de la tarjeta de agenda */
.contact-card .btn-primary {
  background: #1d4ed8;
  color: #ffffff !important;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}

.contact-card .btn-primary:hover {
  background: #1e40af;
  text-decoration: none;
}

