/* 
╔════════════════════════════════════════════════════════════════════════════╗
║                        BLOQUES CERRADOS - NO TOCAR                        ║
╠════════════════════════════════════════════════════════════════════════════╣
║ ✓ HERO (topbar + hero carousel con 3 slides)                              ║
║ ✓ SECTION-INTRO (rojo con "LÍDERES EN FORMACIÓN VOCAL")                   ║
║ ✓ "¿POR QUÉ ELEGIRNOS?" (título centrado + imagen + 4 tarjetas 2x2)       ║
║                                                                            ║
║ BLOQUES EN PROGRESO:                                                       ║
║ ► "NUESTRAS FORMACIONES" (cursos section - EN TRABAJO)                     ║
╚════════════════════════════════════════════════════════════════════════════╝
*/

:root {
  --bg: #f7efe8;
  --surface: #fffdfa;
  --text: #1d1d1d;
  --muted: #6b6b6b;
  --accent: #d98c35;
  --accent-dark: #b76b20;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.page-shell { position: relative; width: 100%; max-width: none; margin: 0; padding: 0; }
.page-shell > main { max-width: 1400px; margin: 0 auto; padding: 0 24px 48px; }
.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: background 200ms ease, box-shadow 200ms ease;
}
.topbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.brand { display: flex; align-items: center; gap: 12px; color: white; }
.brand img { width: auto; height: 40px; max-width: none; object-fit: contain; border-radius: 0; }
.nav-links { display: flex; margin-left: auto; gap: 28px; flex-wrap: nowrap; align-items: center; }
.nav-links a { color: white; font-weight: 600; font-size: 0.875rem; letter-spacing: normal; }
.nav-cta {
  background: rgb(163, 3, 27);
  color: white;
  padding: 8px 16px;
  height: 40px;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  box-shadow: 0 14px 30px rgba(201, 15, 26, 0.18);
  margin-left: 16px;
}
.hero { position: relative; overflow: hidden; border-radius: 0; min-height: 100vh; box-shadow: none; width: 100vw; max-width: 100vw; padding: 0; margin: 0; left: 50%; margin-left: -50vw; }
.hero-track { position: relative; height: 100%; min-height: 100vh; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02)); }
.hero-content { position: relative; z-index: 2; max-width: 760px; width: 100%; color: white; text-align: center; padding: 0 24px; margin: 0 auto; }
.hero-content h1 { font-family: 'Manrope', sans-serif; font-size: clamp(3rem, 7vw, 5.2rem); margin: 0 0 24px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
.hero-content p { font-size: 1.1rem; margin: 0 0 26px; line-height: 1.7; }

.hero-content .hero-quote { display: block; margin-top: 6px; }

/* Ensure words have visible spacing in quoted hero titles */
.hero-slide.title-quoted .hero-content h1 {
  word-spacing: 0.45em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Split coro title into two centered lines */
.hero-slide.title-quoted .hero-content h1 .line1,
.hero-slide.title-quoted .hero-content h1 .line2 {
  display: block;
  width: auto;
  text-align: center;
}
.hero-slide.title-quoted .hero-content h1 .line1 { white-space: nowrap; }
.hero-slide.title-quoted .hero-content h1 .line2 { margin-top: -0.08em; }

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(0.6px) brightness(1) saturate(1);
  z-index: 0;
  pointer-events: none;
}
.hero-track .hero-slide:nth-child(1)::before {
  /* Slide 1: darker iteration per feedback */
  filter: blur(0px) brightness(0.80) contrast(1.06) saturate(1.02);
}
.hero-track .hero-slide:nth-child(1) .hero-overlay { background: rgba(0,0,0,0.20); }
.hero-track .hero-slide:nth-child(2)::before {
  /* Slide 2: match slide 1 */
  filter: blur(0px) brightness(0.80) contrast(1.06) saturate(1.02);
}
.hero-track .hero-slide:nth-child(2) .hero-overlay { background: rgba(0,0,0,0.20); }
.hero-track .hero-slide:nth-child(3)::before {
  /* Slide 3: match slide 1 */
  filter: blur(0px) brightness(0.80) contrast(1.06) saturate(1.02);
}
.hero-track .hero-slide:nth-child(3) .hero-overlay { background: rgba(0,0,0,0.20); }
.hero-overlay { z-index: 1; }
.hero-content { z-index: 2; }
.hero-content a, .btn-primary, .course-card__body a, .featured-card a, .contact-form button, .newsletter button {
  display: inline-flex; align-items: center; justify-content: center; background: rgb(163, 3, 27); color: white; padding: 0 20px; min-height: 40px; border-radius: 0.5rem; font-weight: 600; border: none; cursor: pointer; transition: transform 180ms ease, background 180ms ease; }
.hero-content a:hover, .btn-primary:hover, .course-card__body a:hover, .featured-card a:hover, .contact-form button:hover, .newsletter button:hover { transform: translateY(-1px); background: rgb(163, 3, 27); }
.hero-control { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: var(--text); font-size: 1.5rem; cursor: pointer; }
.hero-control.prev { left: 18px; }
.hero-control.next { right: 18px; }
.section-intro { position: relative; left: 50%; margin-left: -50vw; width: 100vw; padding: 48px 24px; text-align: center; background: rgb(163, 3, 27); color: white; }
.section-intro h2 { font-size: clamp(0.85rem, 1.4vw, 1.2rem); font-weight: 800; letter-spacing: 0.08em; max-width: none; margin: 0 auto; color: white; white-space: nowrap; }
.courses-section, .featured, .why-us, .testimonials, .stats, .newsletter, .contact { margin-top: 144px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.section-heading h3 { font-size: 1.8rem; margin: 0; }
.section-heading p { color: var(--muted); margin: 6px 0 0; }

/* Courses section: title centered and pills placed below the title */
.courses-section .section-heading { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 18px; padding: 16px 0 20px; }
.courses-section .section-heading h3 { text-align: center; font-size: 2.2rem; margin: 32px 0 12px; }
.courses-section .section-heading .pill-group { justify-content: center; }
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--border); background: white; padding: 10px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; }
.pill:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-1px); }
.pill.active { background: var(--accent); color: white; border-color: var(--accent); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.pagination-status { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.02em; font-weight: 700; }
.pagination-btn { border: 1px solid rgba(0,0,0,0.08); background: white; color: var(--text); min-width: 96px; height: 44px; border-radius: 999px; font-weight: 700; cursor: pointer; padding: 0 18px; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.pagination-btn:hover { background: #f5f2ef; }
.pagination-btn.disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.pagination-btn.secondary { background: #fff; }
.course-card, .featured-card, .why-card, .testimonial-list article, .stats-grid article, .contact, .newsletter { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.course-card { overflow: hidden; }
.course-card img { height: 240px; object-fit: cover; }
.course-card__body { padding: 20px; }
.course-card__body h4 { margin: 0 0 8px; font-size: 1.1rem; }
.course-card__body p { color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
/* ==================== CABECERA DE LAS PÁGINAS DE CURSO ====================
   Común a las 11 modalidades. Se alinea con el contenido de abajo
   ("Información General" y las pestañas), que va a 960px con 24px de margen
   interior: por eso la cabecera mide 912px (960 - 24 - 24). */
.course-detail-hero { display: flex; justify-content: center; padding: 120px 24px 0; }
/* Los 120px de arriba son imprescindibles: la barra de menú es fija y mide
   72px, así que con menos espacio taparía el enlace VOLVER y el título. */
.course-detail-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; width: min(912px, 100%); align-items: center; }
/* Proporción fija 4:3: antes se exigía una altura mínima y la foto cambiaba
   de forma según lo largo que fuera el título de cada curso. */
.course-detail-card img { width: 100%; border-radius: 16px; object-fit: cover; aspect-ratio: 4 / 3; height: auto; min-height: 0; }
.course-detail-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.course-detail-copy h1 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); margin: 0; letter-spacing: -0.04em; line-height: 1.1; text-transform: uppercase; }
.course-detail-summary { font-size: 1.05rem; line-height: 1.8; color: var(--muted); max-width: 640px; margin: 0; }
.course-detail-divider { display: block; width: 68px; height: 4px; background: rgb(163, 3, 27); border-radius: 999px; margin: 0; }
@media (max-width: 820px) {
  .course-detail-hero { padding-top: 100px; }
  .course-detail-card { grid-template-columns: 1fr; }
}
.btn-primary { width: fit-content; min-width: 220px; padding: 14px 26px; letter-spacing: 0.05em; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: rgb(163, 3, 27) !important; color: white !important; border-radius: 0.5rem !important; font-weight: 600 !important; cursor: pointer !important; }
.btn-primary:hover { background: rgb(163, 3, 27) !important; transform: translateY(-1px); }
.btn-success { width: fit-content; min-width: 280px; padding: 16px 26px; letter-spacing: 0.05em; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: #2e8b57 !important; color: white !important; border-radius: 0.5rem !important; font-weight: 700 !important; cursor: pointer !important; box-shadow: 0 12px 28px rgba(46, 139, 87, 0.25) !important; }
.btn-success:hover { background: #26724a !important; transform: translateY(-1px); }

/* ── CONTACT SECTION (embedded in all pages) ─────────────────────────── */
.page-contact-section { margin-top: 80px; padding: 0 0 0; }
.page-contact-section .contact-page__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 52px;
  color: var(--text);
  line-height: 1.25;
}
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: stretch;
}
.contact-info-card {
  background: rgb(163, 3, 27);
  border-radius: 16px;
  padding: 32px 28px;
  color: white;
}
.contact-info-card h3 { font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.contact-info-card > p { font-size: 0.88rem; line-height: 1.6; opacity: 0.9; margin: 0 0 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; line-height: 1.5; }
.contact-info-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-info-item a { color: white; text-decoration: none; }
.contact-map { margin-top: 20px; border-radius: 10px; overflow: hidden; width: 100%; height: 190px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-hours { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.25); }
.contact-hours h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 6px; opacity: 0.85; }
.contact-hours p { font-size: 0.9rem; margin: 0; }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; box-shadow: var(--shadow); }
.contact-form-card form { display: grid; gap: 16px; }
.contact-form-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-card label { display: grid; gap: 6px; font-weight: 600; font-size: 0.88rem; color: var(--text); }
.contact-form-card input, .contact-form-card textarea { border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; width: 100%; font: inherit; font-size: 0.88rem; background: var(--bg); color: var(--text); transition: border-color 200ms; }
.contact-form-card textarea { min-height: 130px; resize: vertical; }
.contact-form-card input:focus, .contact-form-card textarea:focus { outline: none; border-color: var(--accent); }
.contact-form-card button { background: rgb(163, 3, 27); color: white; border: none; border-radius: 0.5rem; padding: 13px 26px; font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; width: fit-content; transition: transform 200ms, background 200ms; }
.contact-form-card button:hover { transform: translateY(-1px); background: rgb(140, 2, 22); }
.course-detail-content { max-width: 960px; margin: 0 auto 64px; padding: 0 24px; }
.course-detail-content h2 { margin-top: 0; font-size: 1.8rem; }
.course-detail-content ul { list-style: disc; margin: 0 0 24px 1.35rem; color: var(--text); line-height: 1.8; }
.course-detail-content p { margin: 0 0 16px; color: var(--muted); line-height: 1.8; }
/* El margen superior separa "Información General" de la cabecera del curso */
.course-detail-intro { max-width: 960px; margin: 72px auto 48px; padding: 0 24px; }
.course-detail-intro h2 { font-size: 2rem; margin-bottom: 18px; }
.course-detail-tabs { max-width: 960px; margin: 0 auto 64px; padding: 0 24px; }
.tab-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tab-button { border: 1px solid rgba(0,0,0,0.12); background: white; color: var(--text); padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; transition: background 180ms ease, border-color 180ms ease; }
.tab-button.active { background: var(--text); color: white; border-color: var(--text); }
.tab-panels { background: white; border: 1px solid rgba(0,0,0,0.08); border-radius: 24px; padding: 28px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
/* Dentro de las pestañas: títulos en negro y todo el contenido en gris claro,
   el mismo que usa el resto de la web para los textos secundarios */
.tab-panel h3 { margin-top: 0; font-size: 1.5rem; color: var(--text); }
.tab-panel ul { list-style: disc; margin: 18px 0 0 1.35rem; color: var(--muted); line-height: 1.9; }
.tab-panel li { color: var(--muted); }
.tab-panel p { margin: 16px 0 0; color: var(--muted); }
.tab-panel strong, .tab-panel em { color: var(--muted); }
.course-detail-footer { max-width: 860px; margin: 0 auto 64px; padding: 24px 26px 20px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 28px; box-shadow: 0 14px 40px rgba(0,0,0,0.05); text-align: center; }
.course-detail-footer p { margin: 0 0 12px; color: var(--text); font-size: 1rem; line-height: 1.8; }
.course-detail-footer a { color: var(--accent); font-weight: 700; text-decoration: none; }
.course-detail-footer a:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgb(163, 3, 27); font-weight: 700; text-decoration: none; margin-bottom: 12px; }
/* "Lo más vendido": franja blanca a todo el ancho, igual que Colaboradores */
.featured {
  display: grid;
  gap: 24px;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  /* Foto de fondo a plena intensidad, sin velo */
  background-image: url('images/fondo-lo-mas-vendido.jpg');
  background-size: cover;
  /* El 22% baja el encuadre para que los focos no caigan detrás del título */
  background-position: center 22%;
  background-repeat: no-repeat;
  padding: 72px 24px;
}
/* El contenido se mantiene alineado con el resto de secciones */
.featured .featured-copy,
.featured .featured-grid { width: 100%; max-width: 1352px; margin-left: auto; margin-right: auto; }
/* Sobre la franja blanca, las tarjetas necesitan borde y sombra algo más
   marcados para no difuminarse: su fondo es casi del mismo color */
.featured .featured-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}
/* Título y subtítulo en blanco: van sobre la foto oscura del fondo */
.featured-copy { text-align: center; }
.featured-copy h3 { margin-bottom: 6px; font-size: 2.2rem; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55); }
.featured-copy p { margin-top: 0; color: rgba(255, 255, 255, 0.92); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.featured-card { overflow: hidden; display: grid; grid-template-columns: 180px 1fr; align-items: center; }
.featured-card img { height: 100%; min-height: 240px; object-fit: cover; }
.featured-card > div { padding: 24px; }
.why-us { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.why-us__title { font-size: 2.2rem; text-align: center; margin: 0; position: relative; padding-bottom: 12px; }
.why-us__title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background-color: var(--accent-dark); }
.why-us__container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; width: 100%; align-items: stretch; }
.why-us__image { display: flex; height: 100%; min-height: 500px; }
.why-us__image img { border-radius: 24px; width: 100%; height: 100%; object-fit: cover; }
.why-us__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; height: 100%; }
.why-card { padding: 20px; border-radius: 8px; display: flex; flex-direction: column; justify-content: flex-start; background: transparent; border: none; box-shadow: none; text-align: center; }
.why-card h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; align-self: start; }
.why-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.testimonial-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.testimonial-list article { padding: 18px 20px; font-weight: 600; color: var(--text); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px; }
.stats-grid article { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.stats-grid strong { font-size: 2.2rem; color: var(--accent-dark); }
.stats-grid span { color: var(--muted); line-height: 1.6; }
/* Franja blanca a todo el ancho de la pantalla, solo en este bloque */
.collaborators {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-top: 144px;
  background: #fff;
  padding: 72px 24px;
}
/* El contenido se mantiene alineado con el resto de secciones de la página */
.collaborators .section-heading,
.collaborators .collaborator-grid { max-width: 1600px; margin-left: auto; margin-right: auto; }
/* 6 logos cuadrados (2000x2000) en una sola fila, sin recuadro propio:
   la franja ya es blanca, así que los logos se apoyan directamente en ella */
.collaborator-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; background: transparent; border: none; border-radius: 0; padding: 0; box-shadow: none; }
/* Los logos vienen recortados y equilibrados por superficie en lienzo 3:2 */
.collaborator-card { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 0; background: transparent; border-radius: 0; transition: transform 200ms ease; }
.collaborator-card:hover { transform: translateY(-4px); }
.collaborator-card img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.newsletter { padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input, .contact-form input, .contact-form textarea { border: 1px solid var(--border); border-radius: 999px; padding: 12px 14px; width: 100%; font: inherit; }
.actions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 144px; }
.action-card { background: linear-gradient(135deg, #fff7eb, #fffdfa); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.action-card h3 { margin-top: 0; margin-bottom: 8px; }
.action-card p { color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.contact { padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact__info ul { padding-left: 18px; color: var(--muted); line-height: 1.8; }
.contact-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; }
.contact-form textarea { min-height: 120px; border-radius: 16px; resize: vertical; }
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
  text-decoration: none;
}
.whatsapp-fab svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* Footer styling */
.footer {
  background: #000000;
  color: white;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: white;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.9rem;
  margin: 0 0 8px;
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #bdc3c7;
  text-decoration: none;
  margin: 8px 0;
  transition: color 150ms ease;
}

.footer-col a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #2a2a2a;
  border-radius: 4px;
  color: white;
  transition: background 150ms ease, color 150ms ease;
  margin: 0;
}

.social-links a:hover {
  background: #3498db;
  color: white;
}

.footer-bottom {
  background: #000000;
  color: #95a5a6;
  padding: 16px 24px;
  font-size: 0.75rem;
  border-top: 1px solid #34495e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 24px;
  padding-right: 24px;
}

.footer-bottom p {
  margin: 0;
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}

.footer-links a {
  color: #95a5a6;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: #3498db;
}

@media (max-width: 980px) {
  .course-grid, .featured-grid, .stats-grid, .contact, .footer, .why-us, .actions-grid { grid-template-columns: 1fr; }
  /* Los logos van de 6 a 3 por fila: en una sola columna quedarían enormes */
  .collaborator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newsletter, .topbar { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-form-card .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-shell { padding: 0 14px 32px; }
  .nav-links { gap: 12px; }
  .featured-card { grid-template-columns: 1fr; }
  .testimonial-list { grid-template-columns: 1fr; }
  .collaborator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; }
  .hero { min-height: 520px; }
  .hero-track { min-height: 520px; }
}
