/* =========================================================
   Culturlingua Los Reyes — replica visual del sitio original
   Colores muestreados directamente de capturas reales del sitio:
   Navy #1C285F, Naranja #DD6B34, Fondo menta #F4F9F9
   ========================================================= */

:root {
  --navy: #1c285f;
  --orange: #dd6b34;
  --mint: #f4f9f9;
  --white: #ffffff;
  --muted: #6b6b6b;
  --font: Arial, Helvetica, sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  padding: 22px 0 0;
}

.logo-row {
  display: flex;
  justify-content: center;
  padding: 10px 0 18px;
}
.logo-row img { height: 92px; width: auto; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
}
.main-nav a:hover { text-decoration: underline; }

.header-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.4;
  white-space: nowrap;
}
.header-phones .icon { font-size: 1.3rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: var(--mint);
  text-align: center;
  padding: 56px 24px 40px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin: 0 0 6px;
  text-shadow:
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff,
    0 6px 10px rgba(28,40,95,0.15);
}

.hero h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--orange);
  margin: 0 0 28px;
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--navy);
  margin: 6px 0;
}

.hero p.strong { font-weight: 800; }

.hero-promo {
  margin: 34px auto 0;
  max-width: 330px;
}
.hero-promo img { border-radius: 4px; }

/* ---------- Comienza hoy ---------- */
.cta-simple {
  text-align: center;
  padding: 34px 24px;
  background: var(--white);
}

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* ---------- Eventos ---------- */
.section { padding: 40px 24px 60px; }

.eventos-head { text-align: center; margin-bottom: 30px; }
.eventos-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 8px;
}
.eventos-head p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.eventos-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.eventos-video {
  position: relative;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}
.eventos-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.eventos-video .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eventos-video .play-badge span {
  width: 58px; height: 58px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
}

.eventos-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.eventos-photos button {
  border: none; padding: 0; margin: 0; background: none; cursor: zoom-in;
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px;
}
.eventos-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cursos ---------- */
.cursos-head {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin: 0 0 34px;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}

.cursos-grid .photo { aspect-ratio: 4/3.6; overflow: hidden; }
.cursos-grid .photo img { width: 100%; height: 100%; object-fit: cover; }

.cursos-grid .block {
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 4/3.6;
  padding: 20px;
}
.cursos-grid .block span {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ---------- Nosotros ---------- */
.nosotros {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}
.nosotros h2 {
  color: var(--orange);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 22px;
}
.nosotros h3 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 18px;
}
.nosotros p {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.9;
}
.nosotros strong { font-weight: 800; }

.divider {
  height: 4px;
  background: #3b6fd6;
  max-width: var(--container);
  margin: 30px auto 0;
}

/* ---------- Orange band ---------- */
.orange-band { background: var(--orange); height: 190px; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 44px 24px 30px;
  background: var(--white);
}
.site-footer h2 {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.site-footer a.email { color: #3b6fd6; text-decoration: none; font-size: 1rem; }
.site-footer p { color: var(--navy); margin: 10px 0; font-size: 0.98rem; }
.site-footer .follow {
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 16px;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}
.social-row a {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
}
.social-row .ig { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 40%, #d6249f 70%, #285AEB); }
.social-row .tt { background: #000; }
.social-row .pin { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.social-row .fb { background: #1877f2; }

.footer-copy { color: #9a9a9a; font-size: 0.85rem; }

/* ---------- Chat widget flotante ---------- */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 100;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,15,40,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 640px); max-height: 86vh; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: var(--white);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- Página Nosotros (Acerca de) ---------- */
.about-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 20px;
}
.about-hero h1 {
  color: var(--orange);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 26px;
}
.about-hero h2 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 22px;
}
.about-hero p {
  color: #3b5bdb;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 0 40px;
}

.about-video {
  position: relative;
  max-width: 580px;
  margin: 0 auto 50px;
  background: #000;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.about-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; }
.about-video .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-video .play-badge span {
  width: 58px; height: 58px; background: rgba(255,255,255,0.85);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--navy);
}

.instalaciones-head {
  text-align: center;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0;
  padding-top: 10px;
}

.instalaciones-band {
  background: var(--navy);
  padding: 40px 24px 50px;
}

.instalaciones-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}
.instalaciones-grid figure { margin: 0; }
.instalaciones-grid img { width: 100%; box-shadow: 0 14px 30px rgba(0,0,0,0.35); }
.instalaciones-grid figure:nth-child(2) { margin-top: 70px; }
.instalaciones-grid figure:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 460px;
  margin: 0 auto;
}

.instalaciones-copy {
  color: var(--white);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 760px;
  margin: 40px auto 0;
}

/* Carrusel Misión / Visión / Valores */
.carousel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.carousel-track { position: relative; }
.carousel-slide {
  display: none;
}
.carousel-slide.is-active { display: block; }
.carousel-slide img { width: 100%; display: block; }

.mision-slide, .vision-slide, .valores-slide {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.mision-slide { background-image: url('img/bg-mision-texture.png'); }
.vision-slide { background-image: url('img/bg-vision-texture.png'); }
.valores-slide { background-image: url('img/bg-valores-texture.png'); min-height: 520px; }

.mvv-card {
  position: relative;
  background: var(--white);
  max-width: 820px;
  width: 90%;
  padding: 40px 50px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  text-align: center;
}
.mvv-card h3 {
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 22px;
}
.mvv-card p {
  color: var(--navy);
  line-height: 1.8;
  margin: 0;
}

.valores-card {
  position: relative;
  background: var(--white);
  max-width: 820px;
  width: 90%;
  padding: 40px 50px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.valores-card h3 {
  color: var(--orange);
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 22px;
}
.valores-card ul { margin: 0; padding-left: 20px; color: var(--navy); }
.valores-card li { margin-bottom: 12px; line-height: 1.6; }
.valores-card li strong { text-decoration: underline; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  background: #0c1030;
}
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--white);
  background: transparent;
  padding: 0; cursor: pointer;
}
.carousel-dots button.is-active { background: var(--white); }

/* ---------- Página Cursos ---------- */
.cursos-hero {
  background: var(--mint);
  text-align: center;
  padding: 60px 24px 10px;
}
.cursos-hero h1 {
  color: var(--orange);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 14px;
}
.cursos-hero a.join {
  color: #3b5bdb;
  font-size: 1rem;
  text-decoration: none;
}

.cursos-listado {
  background: var(--mint);
  padding: 50px 24px 60px;
}
.curso-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto 60px;
}
.curso-item { text-align: center; }
.curso-circle {
  width: 210px; height: 210px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
}
.curso-circle img { width: 100%; height: 100%; object-fit: cover; }

.curso-item h3 {
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.curso-item h4 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.curso-item p {
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0 0 22px;
}
.curso-item ol {
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.75;
  text-align: left;
  max-width: 300px;
  margin: 0 auto 14px;
  padding-left: 20px;
}

.btn-contacto {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 30px;
  text-decoration: none;
  border-radius: 2px;
}

/* ---------- Página Calendario ---------- */
.calendario-section {
  background: var(--mint);
  padding: 56px 24px 60px;
}
.calendario-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}
.calendario-intro h1 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 30px;
}
.calendario-icon {
  width: 44px; height: 44px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.calendario-intro h2 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.calendario-intro p {
  color: #3b5bdb;
  font-size: 0.98rem;
  line-height: 1.7;
}

.calendario-image {
  width: 100%;
}
.calendario-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-row { flex-direction: column; }
  .eventos-grid { grid-template-columns: 1fr; }
  .eventos-video { aspect-ratio: 16/10; }
  .cursos-grid { grid-template-columns: 1fr 1fr; }
  .cursos-grid .block, .cursos-grid .photo { aspect-ratio: 1/1; }
  .curso-row { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .calendario-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .main-nav { display: none; width: 100%; order: 3; }
  .main-nav ul { flex-direction: column; gap: 10px; text-align: center; }
  .nav-toggle { display: block; }
  .header-row { justify-content: center; }
  .cursos-grid { grid-template-columns: 1fr; }
  .logo-row img { height: 64px; }
  .chat-fab span.txt { display: none; }
  .instalaciones-grid { grid-template-columns: 1fr; gap: 30px; }
  .instalaciones-grid figure:nth-child(2) { margin-top: 0; }
  .valores-card, .mvv-card { padding: 28px 22px; }
  .valores-slide, .mision-slide, .vision-slide { min-height: 480px; }
  .curso-row { grid-template-columns: 1fr; gap: 44px; }
}
