img#logo {
  max-width: 6rem;
  max-height: 3rem;
}

/* variables globales de color, sombra y radio */
:root {
  color-scheme: dark;
  --bg: #1e2535;
  --surface: #252f42;
  --surface-2: #2c384e;
  --text: #dde6f3;
  --muted: #8fa8c4;
  --border: rgba(255, 255, 255, 0.13);
  --nav-height: 72px;
  --nav-bg: rgba(28, 34, 50, 0.88);
  --footer-bg: #181f2e;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.2);
  --radius: 14px;
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --nav-highlight: rgba(125, 211, 252, 0.1);
  --nav-highlight-2: rgba(167, 139, 250, 0.1);
  --footer-highlight: rgba(125, 211, 252, 0.08);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #e8edf5;
  --text: #1a2236;
  --muted: #5a7090;
  --border: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(244, 247, 251, 0.92);
  --footer-bg: #e2e8f0;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
  --accent: #0ea5e9;
  --accent-2: #7c3aed;
  --nav-highlight: rgba(14, 165, 233, 0.08);
  --nav-highlight-2: rgba(124, 58, 237, 0.08);
  --footer-highlight: rgba(14, 165, 233, 0.06);
}

/* toggle dark/light mode */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  width: 52px;
  height: 28px;
  padding: 0;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(24px);
  transition: transform 0.25s ease;
}

[data-theme="light"] .theme-toggle::before {
  transform: translateX(0);
}

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  pointer-events: none;
}

.theme-toggle .icon-sun  { left: 7px; }
.theme-toggle .icon-moon { right: 6px; }

[data-theme="light"] .theme-toggle .icon-sun  { opacity: 1; }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0.4; }
[data-theme="dark"]  .theme-toggle .icon-sun,
:root:not([data-theme="light"]) .theme-toggle .icon-sun  { opacity: 0.4; }
[data-theme="dark"]  .theme-toggle .icon-moon,
:root:not([data-theme="light"]) .theme-toggle .icon-moon { opacity: 1; }

body {
  background: var(--bg);
  color: var(--text);
}

/* destellos de color sutiles en las esquinas del área de contenido */
main {
  background:
    radial-gradient(
      1200px 600px at 20% -10%,
      rgba(167, 139, 250, 0.08),
      transparent 55%
    ),
    radial-gradient(
      900px 520px at 80% 0%,
      rgba(125, 211, 252, 0.07),
      transparent 60%
    ),
    var(--bg);
}

a {
  color: var(--text);
}

a:hover {
  color: var(--accent);
}

/* navbar */

.navbar.bg-black {
  position: sticky;
  top: 0;
  z-index: 1030;
  background:
    linear-gradient(135deg, var(--nav-highlight), transparent 45%),
    linear-gradient(225deg, var(--nav-highlight-2), transparent 50%),
    var(--nav-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28);
}

.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(125, 211, 252, 0.22);
}

.nav-link-custom {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem !important;
  border-radius: 6px;
  position: relative;
  transition:
    color 0.18s,
    background 0.18s;
}

/* subrayado que crece desde el centro al hacer hover */
.nav-link-custom::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link-custom:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

.nav-link-custom.active {
  color: #fff !important;
}

.btn-nav-contact {
  font-size: 0.88rem;
  padding: 0.4rem 1.1rem;
  border-radius: 8px;
}

/* dropdown del menú Cursos */
.navbar .dropdown-menu {
  background-color: #0c121b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.6rem;
  padding: 0.4rem 0;
}

.navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  padding: 0.5rem 1.1rem;
}

.navbar .dropdown-item .text-muted {
  color: rgba(255, 255, 255, 0.45) !important;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.navbar .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .btn-nav-contact {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

/* footer */

footer.bg-dark {
  background:
    radial-gradient(
      900px 420px at 18% 0%,
      var(--footer-highlight),
      transparent 60%
    ),
    var(--footer-bg) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link {
  opacity: 0.85;
  transition:
    opacity 0.18s,
    color 0.18s;
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent) !important;
}

/* hero */

.hero {
  display: flex;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 520px;
  overflow: hidden;
}

/* panel izquierdo: texto */
.hero__text-panel {
  flex: 0 0 52%;
  display: flex;
  align-items: center;
  padding: 4rem 5rem 4rem 4rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    135deg,
    var(--bg) 0%,
    rgba(30, 37, 53, 0.97) 100%
  );
}

.hero__text-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(125, 211, 252, 0.09), transparent 65%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(167, 139, 250, 0.07), transparent 55%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero__sub {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* panel derecho: imagen */
.hero__img-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 37, 53, 0.55) 0%,
    transparent 35%
  );
}

/* responsive hero */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - var(--nav-height));
  }

  .hero__text-panel {
    flex: 0 0 auto;
    padding: 3rem 2rem 2rem;
    text-align: center;
  }

  .hero__img-panel {
    flex: 1;
    min-height: 45vh;
  }

  .hero__img-overlay {
    background: linear-gradient(
      to bottom,
      rgba(30, 37, 53, 0.55) 0%,
      transparent 40%
    );
  }
}

@media (max-width: 576px) {
  .hero__text-panel {
    padding: 2.5rem 1.5rem;
  }
}

/* sección de ubicaciones */

.mapa {
  background: var(--bg);
  color: var(--text);
}

.mapa .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mapa h2 {
  margin-bottom: 0.25rem;
}

.mapa p {
  color: var(--muted);
}

.mapa .ratio {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--surface);
}

.mapa .row {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.mapa .row + .row {
  margin-top: 1.25rem;
}

.map {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

.location-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.25rem;
}

.location-card .btn {
  white-space: normal;
}

.location-card h2 {
  margin-bottom: 0.5rem;
}

.location-card p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.location-card__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: start;
}

.location-card__side {
  min-width: 190px;
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.location-meta__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* tarjetas de clases */

.class-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 0;
  padding-bottom: 66.666%; /* truco para fijar el aspect ratio 3:2 */
}

.class-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.class-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 1rem;
  transition: background 0.28s ease;
}

.class-card .overlay h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: none;
}

.class-card .overlay p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.class-card .overlay > div {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1),
    color 0.22s ease;
}

.class-card:hover .overlay {
  background: rgba(0, 0, 0, 0.48);
}

.class-card:hover .overlay > div {
  transform: translateY(-8px) scale(1.03);
  color: var(--accent);
}

/* colores por grupo de edad */

.class-card--ninos {
  border: 6px solid #f472b6;
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.35);
}

.class-card--ninos:hover {
  border-color: #f472b6;
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.35);
}

.class-card--ninos:hover .overlay {
  background: rgba(244, 114, 182, 0.25);
}

.class-card--ninos:hover .overlay > div {
  color: #f9a8d4;
}

.class-card--adolescentes {
  border: 6px solid #4ade80;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.class-card--adolescentes:hover {
  border-color: #4ade80;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.class-card--adolescentes:hover .overlay {
  background: rgba(74, 222, 128, 0.2);
}

.class-card--adolescentes:hover .overlay > div {
  color: #86efac;
}

.class-card--adultos {
  border: 6px solid #60a5fa;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.35);
}

.class-card--adultos:hover {
  border-color: #60a5fa;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.35);
}

.class-card--adultos:hover .overlay {
  background: rgba(96, 165, 250, 0.2);
}

.class-card--adultos:hover .overlay > div {
  color: #93c5fd;
}

/* ── página de cursos ───────────────────────────────────── */

.cursos-hero {
  background: var(--surface, #1a1a2e);
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.metodologia-item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.curso-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.curso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
}

.curso-card--ninos        { border-top: 3px solid #f472b6; }
.curso-card--adolescentes { border-top: 3px solid #4ade80; }
.curso-card--adultos      { border-top: 3px solid #60a5fa; }

.curso-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.curso-card__emoji  { font-size: 2.5rem; line-height: 1; }

.curso-card__titulo {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.curso-card__edad {
  font-size: 0.9rem;
  opacity: 0.65;
}

.curso-card__badge {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cursos-tagline {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* servicios en círculos */

.servicio-circulo {
  width: 120px;
  height: 120px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicio-circulo img.emoji {
  width: 3rem;
  height: 3rem;
}

.servicio-item:hover .servicio-circulo {
  transform: scale(1.1);
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.3) !important;
}

.location-meta__value {
  color: var(--text);
  text-decoration: none;
  display: block;
}

a.location-meta__value:hover {
  color: var(--accent);
}

/* calendario */

.calendario {
  background: var(--bg);
  color: var(--text);
}

.calendario__frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.calendario__img {
  width: min(920px, 100%);
  height: auto;
  display: block;
}

.calendario__frame--clickable {
  position: relative;
  cursor: zoom-in;
}

.calendario__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
  border-radius: var(--radius);
}

.calendario__overlay i {
  font-size: 2rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.calendario__frame--clickable:hover .calendario__overlay {
  background: rgba(0, 0, 0, 0.35);
}

.calendario__frame--clickable:hover .calendario__overlay i {
  opacity: 1;
}

/* spinner de página */

.spinner-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000; /* por encima de la navbar (1030) */
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 220ms ease,
    visibility 220ms;
}

.spinner-overlay.show {
  visibility: visible;
  opacity: 1;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner-inline {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.nav-link {
  transition:
    color 150ms ease,
    opacity 150ms ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.btn.btn-info {
  background-image: linear-gradient(
    135deg,
    rgba(125, 211, 252, 0.95),
    rgba(167, 139, 250, 0.95)
  );
  border: 0;
  box-shadow: var(--shadow-soft);
}

.btn.btn-info:hover {
  filter: brightness(1.05);
}

/* botón flotante de WhatsApp */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 280ms cubic-bezier(0.2, 0.9, 0.2, 1);
  z-index: 999;
  border: none;
}

.whatsapp-btn:hover {
  transform: scale(1.12) translateY(-6px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  color: #fff;
  text-decoration: none;
}

.whatsapp-btn:active {
  transform: scale(1.05) translateY(-2px);
}

/* responsive */

@media (max-width: 768px) {
  .hero {
    height: calc(100vh - var(--nav-height));
    min-height: calc(100vh - var(--nav-height));
  }

  .hero__content {
    padding: 1.5rem 1.25rem;
  }

  .map {
    height: 260px;
  }

  .location-card {
    padding: 1rem 1rem;
  }

  .location-card h2 {
    font-size: 1.35rem;
  }

  .location-card .btn {
    width: 100%;
  }

  /* pasa de 2 columnas a 1 en mobile */
  .location-card__grid {
    grid-template-columns: 1fr;
  }

  .location-card__side {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .map {
    height: 300px;
  }

  .hero__content {
    width: 100%;
  }

  .calendario__img {
    width: 100%;
  }

  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* páginas de error */

.error-page {
  min-height: calc(100vh - var(--nav-height));
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* círculo de brillo decorativo centrado en el fondo */
.error-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(125, 211, 252, 0.1) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

/* degradado aplicado al texto: requiere -webkit-background-clip para Safari */
.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}

.error-desc {
  max-width: 480px;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* botones y utilidades */

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c121b;
  font-weight: 600;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
}

.btn-accent:hover {
  opacity: 0.88;
  color: #0c121b;
}

.text-accent {
  color: var(--accent);
}

/* formulario de contacto */

.contacto-page {
  min-height: calc(100vh - var(--nav-height));
  padding: 4rem 1.5rem 5rem;
}

.contacto-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contacto-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.contacto-input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.contacto-input:focus {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.15);
  color: var(--text);
}

.contacto-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.contacto-input option {
  background: var(--surface);
  color: var(--text);
}

.contacto-input.is-invalid {
  border-color: #f87171;
}

.invalid-feedback {
  color: #f87171;
  font-size: 0.82rem;
}

/* sticky para que acompañe el scroll; se desactiva en tablet */
.contacto-info {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.contacto-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: border-color 0.2s;
}

.contacto-info-item:hover {
  border-color: rgba(125, 211, 252, 0.35);
}

.contacto-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.12);
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.instagram-icon {
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent-2);
}

.contacto-info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.2rem;
}

@media (max-width: 991px) {
  .contacto-info {
    position: static;
  }
}

/* ── página Summer ───────────────────────────────────────── */

.summer-hero {
  position: relative;
  height: 72vh;
  min-height: 460px;
  overflow: hidden;
}

.summer-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.summer-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.summer-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.summer-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 214, 63, 0.18);
  border: 1px solid rgba(255, 214, 63, 0.5);
  color: #ffd63f;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  margin-bottom: 1.1rem;
}

.summer-hero__title {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.6rem;
}

.summer-hero__title--accent {
  color: #ffd63f;
}

.summer-hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  opacity: 0.88;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* chips de info */

.summer-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 214, 63, 0.18);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.summer-chip i {
  font-size: 1.6rem;
  color: #ffd63f;
  margin-bottom: 0.2rem;
}

.summer-chip strong {
  font-size: 1rem;
  color: #fff;
}

.summer-chip span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summer-chip:hover {
  border-color: rgba(255, 214, 63, 0.45);
  background: rgba(255, 214, 63, 0.06);
  transform: translateY(-3px);
}

/* descripción */

.text-muted-custom {
  color: var(--muted);
}

/* actividades */

.actividad-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.6rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.actividad-card__icon {
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.actividad-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* CTA */

.summer-cta__card {
  background: linear-gradient(
    135deg,
    rgba(255, 214, 63, 0.07),
    rgba(125, 211, 252, 0.07)
  );
  border: 1px solid rgba(255, 214, 63, 0.22);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 20rem;
}

.summer-cta__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd63f;
}

/* descripción summer */

.summer-desc__img-wrap {
  position: relative;
  display: inline-block;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  max-width: 300px;
  width: 100%;
}

.summer-desc__img-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 2.25rem;
  background: linear-gradient(135deg, var(--accent, #FFD63F) 0%, transparent 60%);
  z-index: 0;
}

.summer-desc__img {
  position: relative;
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .summer-desc__img {
    height: 260px;
  }
}

/* aire libre */

.summer-aire__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd63f;
}

.aire-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.aire-item i {
  font-size: 1.1rem;
  color: #ffd63f;
  flex-shrink: 0;
}

.aire-item:hover {
  border-color: rgba(255, 214, 63, 0.35);
  background: rgba(255, 214, 63, 0.05);
}

.aire-visual {
  position: relative;
}

.aire-visual__glow {
  position: absolute;
  inset: -2rem;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 214, 63, 0.08), transparent 70%);
  pointer-events: none;
}

.aire-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding: 1.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 214, 63, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.aire-stat i {
  font-size: 1.6rem;
  color: #ffd63f;
}

.aire-stat strong {
  font-size: 0.9rem;
  color: #fff;
}

.aire-stat span {
  font-size: 0.75rem;
  color: var(--muted);
}

.aire-stat:hover {
  border-color: rgba(255, 214, 63, 0.4);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .summer-hero {
    height: 60vh;
    min-height: 380px;
  }

  .summer-hero__content {
    padding: 2rem 1.25rem 2.5rem;
  }

  .summer-cta__card {
    padding: 1rem 1.25rem;
  }
}


/* ═══════════════════════════════════════════════
   FORMACIÓN PARA EMPRESAS
═══════════════════════════════════════════════ */

.emp-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(125, 211, 252, 0.13), transparent 65%),
    radial-gradient(ellipse 70% 80% at 85% 30%, rgba(167, 139, 250, 0.11), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.emp-hero__inner { position: relative; z-index: 1; }

.emp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(125, 211, 252, 0.10);
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: var(--accent);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.emp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.emp-hero__accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.emp-hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.emp-hero__cta { font-size: 1rem; padding: 0.65rem 1.6rem; border-radius: 8px; }

.emp-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.8; }
.emp-lead strong { color: var(--text); }

.emp-section-title { font-size: 1.55rem; font-weight: 700; color: var(--text); }

.emp-bg-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Specialization cards */
.emp-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.emp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(125, 211, 252, 0.30);
}

.emp-card__icon { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.emp-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.emp-card p  { font-size: 0.95rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* Modalidad cards */
.emp-modal-card {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.06), rgba(167, 139, 250, 0.06));
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.emp-modal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.emp-modal-card__icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.emp-modal-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text); }
.emp-modal-card p  { font-size: 0.95rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* Info box */
.emp-info-box {
  background: rgba(125, 211, 252, 0.05);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.emp-info-box strong { color: var(--text); }

/* Checklist */
.emp-list { list-style: none; padding: 0; margin: 0; }
.emp-list li {
  display: flex;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  gap: 0.5rem;
}
.emp-list li:last-child { border-bottom: none; }

/* Option cards */
.emp-option-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 220ms ease, background 220ms ease;
}
.emp-option-card:hover {
  border-color: rgba(125, 211, 252, 0.30);
  background: rgba(125, 211, 252, 0.05);
}
.emp-option-card i { font-size: 1.2rem; flex-shrink: 0; }
.emp-muted { color: var(--muted); font-size: 0.9rem; font-style: italic; }

/* Contact card */
.emp-contact-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.emp-contact-item { display: flex; align-items: flex-start; gap: 0.9rem; }
.emp-contact-item > i { font-size: 1.35rem; color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.emp-contact-item > div { display: flex; flex-direction: column; }
.emp-contact-item strong { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.emp-contact-item a,
.emp-contact-item span { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.emp-contact-item a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
  .emp-hero { padding: 3rem 0; min-height: auto; }
  .emp-card, .emp-modal-card { padding: 1.25rem 1.1rem; }
  .emp-contact-card { padding: 1.25rem; }
}

@media (max-width: 576px) {
  .emp-hero__title { font-size: 1.9rem; }
  .emp-section-title { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════
   OVERRIDES MODO CLARO
═══════════════════════════════════════════════ */

/* navbar */
[data-theme="light"] .navbar.bg-black {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .nav-link-custom {
  color: rgba(20, 30, 50, 0.75) !important;
}

[data-theme="light"] .nav-link-custom:hover {
  color: #0c1a2e !important;
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link-custom.active {
  color: #0c1a2e !important;
}

/* dropdown */
[data-theme="light"] .navbar .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar .dropdown-item {
  color: rgba(20, 30, 50, 0.85);
}

[data-theme="light"] .navbar .dropdown-item .text-muted {
  color: rgba(20, 30, 50, 0.45) !important;
}

[data-theme="light"] .navbar .dropdown-item:hover,
[data-theme="light"] .navbar .dropdown-item:focus {
  background-color: rgba(0, 0, 0, 0.05);
  color: #0c1a2e;
}

[data-theme="light"] .navbar .dropdown-divider {
  border-color: rgba(0, 0, 0, 0.1);
}

/* footer */
[data-theme="light"] footer.bg-dark {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* main gradients */
[data-theme="light"] main {
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124, 58, 237, 0.05), transparent 55%),
    radial-gradient(900px 520px at 80% 0%, rgba(14, 165, 233, 0.05), transparent 60%),
    var(--bg);
}

/* hero */
[data-theme="light"] .hero__text-panel {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(230, 238, 248, 0.97) 100%);
}

[data-theme="light"] .hero__content {
  color: var(--text);
}

[data-theme="light"] .hero__img-overlay {
  background: linear-gradient(to right, rgba(230, 238, 248, 0.5) 0%, transparent 35%);
}

/* tarjetas con fondo blanco casi transparente -> visible en claro */
[data-theme="light"] .mapa .row,
[data-theme="light"] .location-card,
[data-theme="light"] .contacto-card,
[data-theme="light"] .contacto-info-item,
[data-theme="light"] .emp-card,
[data-theme="light"] .emp-contact-card,
[data-theme="light"] .curso-card,
[data-theme="light"] .actividad-card,
[data-theme="light"] .aire-item,
[data-theme="light"] .summer-chip,
[data-theme="light"] .aire-stat,
[data-theme="light"] .emp-option-card {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .metodologia-item {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .curso-card__badge {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .emp-modal-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(124, 58, 237, 0.06));
  border-color: rgba(14, 165, 233, 0.15);
}

[data-theme="light"] .emp-info-box {
  background: rgba(14, 165, 233, 0.05);
  border-color: rgba(14, 165, 233, 0.18);
}

/* textos hardcodeados en blanco */
[data-theme="light"] .summer-chip strong,
[data-theme="light"] .aire-stat strong,
[data-theme="light"] .contacto-info-label {
  color: var(--text);
}

/* theme toggle en modo claro */
[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.18);
}

/* footer en modo claro */
[data-theme="light"] footer.bg-dark {
  color: var(--text);
}
[data-theme="light"] footer.bg-dark .text-white,
[data-theme="light"] footer.bg-dark p,
[data-theme="light"] footer.bg-dark li,
[data-theme="light"] footer.bg-dark h6 {
  color: var(--text) !important;
}
[data-theme="light"] footer.bg-dark .text-white-50 {
  color: var(--muted) !important;
}
[data-theme="light"] footer.bg-dark hr {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* contacto en modo claro */
[data-theme="light"] .contacto-page .text-white {
  color: var(--text) !important;
}
[data-theme="light"] .contacto-page .text-white-50 {
  color: var(--muted) !important;
}
[data-theme="light"] .contacto-info-item .text-white {
  color: var(--text) !important;
}
