/*
 * Fuente: Montserrat v31
 * Licencia: SIL Open Font License 1.1
 * Autor: Julieta Ulanovsky — https://github.com/JulietaUla/Montserrat
 * Archivos de licencia: assets/fonts/OFL.txt
 */

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-normal-cyrillicext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-normal-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic-cyrillicext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin italic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*, *::before, *::after {
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a,
button,
.btn,
.nav-link,
.form-control,
.form-select,
.accordion-button {
  transition:
    color var(--transition-fast, 200ms ease-in-out),
    background-color var(--transition-fast, 200ms ease-in-out),
    border-color var(--transition-fast, 200ms ease-in-out),
    box-shadow var(--transition-fast, 200ms ease-in-out),
    transform var(--transition-fast, 200ms ease-in-out),
    opacity var(--transition-fast, 200ms ease-in-out);
}

img#logo {
  width: 8rem;
  height: 4rem;
  object-fit: contain;
  transform: scale(1.35);
  clip-path: inset(15% 32% 23% 28%);
}

/* Design tokens — minimal premium (indigo + slate, WCAG-oriented) */
:root {
  color-scheme: dark;
  --transition-fast: 200ms ease-in-out;
  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);

  /* Dark: deep slate / midnight blue (no pure black) */
  --bg: #0f172a;
  --bg-deep: #0b1220;
  --surface: rgba(30, 41, 59, 0.55);
  --surface-solid: #1e293b;
  --surface-2: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.22);
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-border: rgba(255, 255, 255, 0.09);
  --nav-height: 72px;
  --nav-bg: rgba(15, 23, 42, 0.72);
  --footer-bg: #0b1120;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(99, 102, 241, 0.07);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.32);
  --radius: 14px;
  --radius-lg: 16px;

  /* Accent: electric indigo + deep emerald (hierarchy + success) */
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-muted: #a5b4fc;
  --accent-2: #059669;
  --accent-2-bright: #10b981;
  --nav-highlight: rgba(99, 102, 241, 0.14);
  --nav-highlight-2: rgba(16, 185, 129, 0.1);
  --footer-highlight: rgba(99, 102, 241, 0.14);
  --focus-ring: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

[data-theme="light"] {
  color-scheme: light;
  /* Light: soft warm grey (reduces white fatigue) */
  --bg: #f8fafc;
  --bg-deep: #f1f5f9;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(248, 250, 252, 0.82);
  --footer-bg: #f1f5f9;
  --shadow: 0 20px 44px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.06);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-muted: #6366f1;
  --accent-2: #047857;
  --accent-2-bright: #059669;
  --nav-highlight: rgba(79, 70, 229, 0.1);
  --nav-highlight-2: rgba(5, 150, 105, 0.08);
  --footer-highlight: rgba(79, 70, 229, 0.1);
  --focus-ring: 0 0 0 3px rgba(79, 70, 229, 0.28);
}

/* toggle dark/light mode */
.theme-toggle {
  border: none;
  border-radius: 20px;
  cursor: pointer;
  width: 56px;
  height: 30px;
  padding: 0;
  position: relative;
  flex-shrink: 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.35), 0 2px 10px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .theme-toggle {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a5b4fc, #6366f1);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.45);
  transform: translateX(26px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

[data-theme="light"] .theme-toggle::before {
  background: linear-gradient(135deg, #fff, #fef3c7);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  transform: translateX(0);
}

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  pointer-events: none;
  transition: opacity 0.2s;
}

.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.3; }
[data-theme="dark"]  .theme-toggle .icon-sun,
:root:not([data-theme="light"]) .theme-toggle .icon-sun  { opacity: 0.3; }
[data-theme="dark"]  .theme-toggle .icon-moon,
:root:not([data-theme="light"]) .theme-toggle .icon-moon { opacity: 1; }

body {
  background-color: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(30, 58, 138, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(5, 150, 105, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 45%, #0c1424 100%);
  background-attachment: fixed;
}

[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(99, 102, 241, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(253, 230, 138, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fefefe 0%, var(--bg) 50%, #f1f5f9 100%);
}

/* Subtle depth on main content */
main {
  background:
    radial-gradient(ellipse 900px 480px at 15% 0%, rgba(99, 102, 241, 0.06), transparent 60%),
    radial-gradient(ellipse 800px 420px at 85% 15%, rgba(59, 130, 246, 0.05), transparent 58%),
    radial-gradient(ellipse 700px 380px at 50% 100%, rgba(5, 150, 105, 0.04), 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(--glass-bg) !important;
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28);
}

.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.28);
}

.nav-link-custom {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius);
  position: relative;
}

/* 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: linear-gradient(90deg, var(--accent), var(--accent-2-bright));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.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.45rem 1.25rem;
  border-radius: var(--radius);
}

/* Language dropdown (same pattern as Cursos submenu) */
.lang-dropdown-toggle {
  text-decoration: none !important;
}

.lang-dropdown-toggle::after {
  margin-left: 0.15rem;
  vertical-align: 0.12em;
}

.lang-dropdown-toggle__flag {
  display: block;
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.lang-dropdown-toggle__code {
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.lang-dropdown-menu {
  min-width: 12rem;
  padding: 0.35rem;
  border-radius: var(--radius);
}

.lang-dropdown-item img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-dropdown-item.active {
  background: rgba(99, 102, 241, 0.18);
}

[data-theme="light"] .lang-dropdown-item.active {
  background: rgba(79, 70, 229, 0.12);
}

/* dropdown del menú Cursos */
.navbar .dropdown-menu {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.45rem 0;
  box-shadow: var(--shadow-soft);
}

.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%),
    linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, transparent 42%),
    var(--footer-bg) !important;
  border-top: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.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 50%;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
  background:
    linear-gradient(145deg, #f8fafc 0%, #eef2ff 42%, #e0e7ff 100%);
}

:root:not([data-theme="light"]) .hero__text-panel {
  background:
    linear-gradient(155deg, #0f172a 0%, #1e1b4b 38%, #172554 100%);
}

.hero__text-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 12% 25%, rgba(99, 102, 241, 0.2), transparent 62%),
    radial-gradient(ellipse 55% 50% at 92% 78%, rgba(16, 185, 129, 0.12), transparent 58%);
  pointer-events: none;
}

[data-theme="light"] .hero__text-panel::before {
  background:
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(99, 102, 241, 0.12), transparent 58%),
    radial-gradient(ellipse 50% 45% at 88% 85%, rgba(5, 150, 105, 0.08), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #0f172a;
  overflow: visible;
  min-width: 0;
}

:root:not([data-theme="light"]) .hero__content {
  color: #e8f0fe;
}

:root:not([data-theme="light"]) .hero__title {
  color: #f1f5fb;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4338ca;
  margin-bottom: 1.25rem;
}

:root:not([data-theme="light"]) .hero__eyebrow {
  color: var(--accent-muted);
}

.hero__title {
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.aventura-wrap {
  display: inline-block;
  position: relative;
  color: var(--accent);
}

.hero__word-accent {
  color: var(--accent);
  font-weight: 800;
}

.arc-svg {
  position: absolute;
  bottom: -6px;
  left: 0;
  pointer-events: none;
}

.hero__sub {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 28rem;
}

.hero__badges {
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  opacity: 0.95;
  margin: 0;
  overflow: visible;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero__badges span {
  display: block;
  white-space: nowrap;
}

.hero__badges .ck {
  font-size: 1.15rem;
  vertical-align: middle;
  color: var(--accent-2);
}

:root:not([data-theme="light"]) .hero__badges .ck {
  color: var(--accent-2-bright);
}

:root:not([data-theme="light"]) .hero__badges {
  color: #cbd5e1;
}

/* panel derecho: imagen */
.hero__img-panel {
  flex: 0 0 50%;
  max-width: 50%;
  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(248, 250, 252, 0.55) 0%,
    transparent 38%
  );
}

:root:not([data-theme="light"]) .hero__img-overlay {
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.65) 0%,
    transparent 40%
  );
}

/* 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;
  }
}

/* ── HERO (refactor) — high impact / conversion ───────────────────────────── */

#hero {
  position: relative;
  isolation: isolate;
}

#hero .hero-bg {
  z-index: 0;
}

#hero .hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

#hero .hero-bg__overlay {
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.78) 60%, rgba(11, 18, 32, 0.9) 100%),
    radial-gradient(900px 520px at 20% 25%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(16, 185, 129, 0.16), transparent 62%);
}

#hero .hero-content {
  z-index: 2;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + clamp(1.25rem, 3vw, 2.75rem));
  padding-bottom: clamp(5rem, 10vh, 8rem);
}

#hero .hero-copy {
  max-width: 62rem;
}

#hero .hero-eyebrow {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

#hero .hero-title {
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}

#hero .hero-lead {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

#hero .hero-cta-primary {
  border: 0;
  background-image: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 55%, #312e81 100%);
  box-shadow: 0 18px 46px rgba(79, 70, 229, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  font-weight: 800;
  letter-spacing: 0.01em;
}

#hero .hero-cta-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 24px 60px rgba(79, 70, 229, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

#hero .hero-cta-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 800;
}

#hero .hero-cta-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

#hero .hero-scroll {
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  animation: hero-bounce 1.35s ease-in-out infinite;
}

#hero .hero-scroll__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#hero .hero-scroll:hover {
  opacity: 1;
  transform: translate(-50%, -6px);
}

@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  45%      { transform: translate(-50%, -10px); }
  70%      { transform: translate(-50%, -5px); }
}

/* Animate.css integration (premium defaults) */
#hero .animate__animated {
  --animate-duration: 900ms;
  --animate-timing-function: var(--ease-premium, ease);
}

@media (max-width: 576px) {
  #hero .hero-title {
    line-height: 1.02;
    letter-spacing: -0.03em;
  }
  #hero .hero-content {
    padding-bottom: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-scroll {
    animation: none !important;
  }
  #hero .hero-cta-primary:hover,
  #hero .hero-cta-secondary:hover {
    transform: none;
  }
}

/* Light mode: keep the same high-impact hero */
[data-theme="light"] #hero .hero-bg__img {
  filter: saturate(1.02) contrast(1.03);
}

[data-theme="light"] #hero .hero-bg__overlay {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.55) 0%, rgba(248, 250, 252, 0.25) 35%, rgba(11, 18, 32, 0.75) 100%),
    radial-gradient(900px 520px at 20% 25%, rgba(79, 70, 229, 0.18), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(5, 150, 105, 0.12), transparent 62%);
}

/* Light: no translucent card/background behind the copy */
[data-theme="light"] #hero .hero-copy {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: calc(var(--radius-lg) + 12px);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.12);
  padding: clamp(1.25rem, 2.6vw, 2rem);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

[data-theme="light"] #hero .hero-eyebrow {
  color: rgba(15, 23, 42, 0.6) !important;
}

[data-theme="light"] #hero .hero-title {
  color: #0f172a !important;
  text-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] #hero .hero-lead {
  color: rgba(15, 23, 42, 0.72) !important;
}

[data-theme="light"] #hero .hero-cta-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 23, 42, 0.18);
  color: rgba(15, 23, 42, 0.88);
}

[data-theme="light"] #hero .hero-scroll__icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 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-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.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-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
}

.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-solid);
  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: una card por bloque (claro / oscuro) */

.servicio-item-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.servicio-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.22) !important;
}

.servicio-item-card__text {
  color: var(--muted);
  line-height: 1.6;
  max-width: 22rem;
}

/* Service titles: cohesive accents (Bootstrap utility override) */
.servicio-item-card h3.text-primary {
  color: var(--accent) !important;
}
.servicio-item-card h3.text-danger {
  color: #e11d48 !important;
}
.servicio-item-card h3.text-success {
  color: var(--accent-2) !important;
}
.servicio-item-card h3.text-warning {
  color: #d97706 !important;
}
.servicio-item-card h3.text-info {
  color: #0284c7 !important;
}

/* Accent rule between title and body (matches each card accent) */
.servicio-item-card__rule {
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  margin: 0.65rem auto 0.85rem;
  flex-shrink: 0;
}

.servicio-item-card__rule--primary {
  background: var(--accent);
}

.servicio-item-card__rule--danger {
  background: #e11d48;
}

.servicio-item-card__rule--success {
  background: var(--accent-2);
}

.servicio-item-card__rule--warning {
  background: #d97706;
}

.servicio-item-card__rule--info {
  background: #0284c7;
}

@media (min-width: 1400px) {
  .servicio-item-card__text {
    max-width: none;
  }
}

.servicio-circulo {
  width: 120px;
  height: 120px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.servicio-circulo img.emoji {
  width: 3rem;
  height: 3rem;
}

.servicio-circulo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  display: block;
}

.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, #6366f1 0%, #4f46e5 100%);
  color: #f8fafc;
  border: 0;
  box-shadow: var(--shadow-soft);
}

.btn.btn-info:hover {
  filter: brightness(1.06);
  color: #fff;
}

/* 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, #4f46e5 0%, #6366f1 45%, #4338ca 100%);
  background-size: 200% auto;
  color: #f8fafc;
  font-weight: 700;
  border: none;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(79, 70, 229, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-position 0.45s var(--ease-premium);
}

.btn-accent:hover {
  color: #ffffff;
  transform: translateY(-2px);
  background-position: 100% center;
  box-shadow: 0 12px 36px rgba(79, 70, 229, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

:root:not([data-theme="light"]) .btn-accent {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 48%, #4f46e5 100%);
  background-size: 200% auto;
  color: #f8fafc;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

:root:not([data-theme="light"]) .btn-accent:hover {
  color: #ffffff;
  background-position: 100% center;
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.text-accent {
  color: var(--accent);
}

/* formulario de contacto */

.contacto-page {
  padding: 4rem 1.5rem 3rem;
}

.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-solid);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contacto-input:focus {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
  color: var(--text);
  outline: none;
}

.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;
}

.contacto-textarea {
  resize: vertical;
  min-height: 160px;
}

.contacto-message-wrap {
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.22),
    rgba(16, 185, 129, 0.12),
    rgba(245, 158, 11, 0.12)
  );
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.26);
}

.contacto-message-wrap .contacto-input {
  border-radius: 13px;
}

.contacto-message-wrap.is-at-limit {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(99, 102, 241, 0.18));
}

.contacto-message-wrap.is-over-limit {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.38), rgba(245, 158, 11, 0.22));
}

.contacto-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.contacto-message-warning {
  color: #fbbf24;
  font-size: 0.9rem;
}

.contacto-message-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: none;
}

.contacto-message-counter #char-count {
  color: var(--text);
}

.contacto-message-counter__sep {
  opacity: 0.6;
}

.contacto-message-wrap.is-at-limit + .invalid-feedback + .contacto-message-meta .contacto-message-counter {
  border-color: rgba(245, 158, 11, 0.35);
}

.contacto-message-wrap.is-over-limit + .invalid-feedback + .contacto-message-meta .contacto-message-counter {
  border-color: rgba(248, 113, 113, 0.45);
}

.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;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
  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(99, 102, 241, 0.28);
}

.contacto-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(99, 102, 241, 0.14);
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.instagram-icon {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
}

.contacto-info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

@media (max-width: 991px) {
  .contacto-info {
    position: static;
  }
}

@media (max-width: 575px) {
  .contacto-page {
    padding: 2.5rem 1rem 3rem;
  }
  .contacto-card {
    padding: 1.25rem;
  }
  .contacto-info-item {
    padding: 0.75rem 0.9rem;
  }
}

/* ── 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);
}

/* Vertical rhythm — extra breathing room on key sections */
section.servicios.py-5,
section.sobre-nosotros.py-5,
section.galeria.py-5,
section.faq.py-5 {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}

.sobre-nosotros .lead {
  line-height: 1.65;
  font-weight: 500;
}

/* About page — premium hero + sparkles (CSS-only, reduced-motion friendly) */
.about-hero {
  position: relative;
  padding: 5.5rem 0 3.5rem;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 20% 20%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(900px 420px at 85% 35%, rgba(16, 185, 129, 0.14), transparent 60%),
    radial-gradient(700px 320px at 55% 80%, rgba(245, 158, 11, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.25), transparent 30%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  filter: saturate(1.05);
}

.about-hero__bg::before,
.about-hero__bg::after {
  content: '';
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.09), transparent 34%),
    radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.08), transparent 36%);
  opacity: 0.5;
  transform: rotate(8deg);
  animation: aboutFloat 12s var(--ease-premium) infinite alternate;
}

.about-hero__bg::after {
  opacity: 0.35;
  transform: rotate(-6deg);
  animation-duration: 16s;
}

@keyframes aboutFloat {
  from { transform: translate3d(-1.2%, -0.6%, 0) rotate(8deg); }
  to { transform: translate3d(1.2%, 0.6%, 0) rotate(10deg); }
}

.about-hero__eyebrow {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-muted);
  margin-bottom: 0.55rem;
}

.about-hero__title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.about-hero__accent {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-hero__sub {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 48rem;
}

.about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.about-chip i {
  color: var(--accent);
}

.about-hero__card {
  position: relative;
  border-radius: calc(var(--radius-lg) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-hero__sparkles {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(6px 6px at 18% 22%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(7px 7px at 62% 18%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(5px 5px at 78% 44%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(8px 8px at 30% 68%, rgba(255, 255, 255, 0.34), transparent 60%),
    radial-gradient(6px 6px at 86% 76%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(200px 140px at 10% 90%, rgba(99, 102, 241, 0.2), transparent 65%),
    radial-gradient(260px 180px at 95% 10%, rgba(16, 185, 129, 0.14), transparent 70%);
  opacity: 0.9;
  filter: blur(0.15px);
  animation: aboutSparkles 7.5s linear infinite;
}

@keyframes aboutSparkles {
  0% { transform: translate3d(0, 0, 0); opacity: 0.85; }
  50% { transform: translate3d(0.6%, -0.8%, 0); opacity: 1; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.85; }
}

.about-hero__card-inner {
  position: relative;
  padding: 1.25rem 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius-lg) + 2px);
  margin: 0.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-stat {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.about-stat:last-child {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.about-stat i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.14);
  color: var(--accent);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.about-stat strong {
  display: block;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.about-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.1rem;
}

.about-content {
  position: relative;
}

.about-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(260px 160px at 15% 20%, rgba(99, 102, 241, 0.16), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.28);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
}

.about-card__title {
  position: relative;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.about-card__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.9));
  opacity: 0.9;
}

.about-card--wide::before {
  background:
    radial-gradient(380px 220px at 20% 20%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(380px 220px at 80% 80%, rgba(16, 185, 129, 0.1), transparent 60%);
}

.about-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

/* About page: secondary button visibility in light mode */
.about-btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

:root[data-theme="light"] .about-btn-secondary {
  border-color: rgba(15, 23, 42, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
}

:root[data-theme="light"] .about-btn-secondary:hover {
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__bg::before,
  .about-hero__bg::after,
  .about-hero__sparkles {
    animation: none !important;
  }
  .about-card:hover {
    transform: none;
  }
}

/* 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(99, 102, 241, 0.28);
  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(99, 102, 241, 0.06)
  );
  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(99, 102, 241, 0.12), transparent 65%),
    radial-gradient(ellipse 70% 80% at 85% 30%, rgba(16, 185, 129, 0.08), transparent 60%),
    var(--surface-solid);
  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(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.22);
  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(99, 102, 241, 0.28);
}

.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(99, 102, 241, 0.08), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.16);
  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(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 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(99, 102, 241, 0.28);
  background: rgba(99, 102, 241, 0.06);
}
.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"] .navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2C0%2C0%2C0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[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);
}

/* main gradients */
[data-theme="light"] main {
  background:
    radial-gradient(1100px 560px at 18% -8%, rgba(99, 102, 241, 0.08), transparent 56%),
    radial-gradient(900px 500px at 82% 5%, rgba(253, 230, 138, 0.12), transparent 58%),
    radial-gradient(800px 420px at 50% 100%, rgba(5, 150, 105, 0.05), transparent 58%),
    var(--bg);
}

/* hero */
[data-theme="light"] .hero__text-panel {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 48%, #f1f5f9 100%);
}

[data-theme="light"] .hero__content {
  color: var(--text);
}

[data-theme="light"] .hero__img-overlay {
  background: linear-gradient(to right, rgba(248, 250, 252, 0.72) 0%, transparent 40%);
}

/* Light: glass cards with warm soft grey */
[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(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(99, 102, 241, 0.05);
}

[data-theme="light"] .metodologia-item {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .servicio-item-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.09) !important;
}

[data-theme="light"] .faq .accordion-body {
  background: var(--surface-2);
  color: var(--text);
}

[data-theme="light"] .curso-card__badge {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .emp-modal-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(5, 150, 105, 0.05));
  border-color: rgba(99, 102, 241, 0.14);
}

[data-theme="light"] .emp-info-box {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.14);
}

/* 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);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(900px 420px at 18% 0%, var(--footer-highlight), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[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;
}

/* ══════════════════════════════════════════════════════════════
   ANIMACIONES PERSONALIZADAS
   ══════════════════════════════════════════════════════════════ */

/* Flotación suave — imagen hero */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hero__img {
  animation: float 5s ease-in-out infinite;
}

/* Pulso del botón WhatsApp */
@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-btn {
  animation: whatsapp-pulse 2.2s ease-in-out infinite;
}

/* Rebote lento — badge del summer hero */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-8px); }
  60%       { transform: translateY(-4px); }
}
.summer-hero__badge {
  animation: bounce-slow 2.6s ease-in-out infinite;
  display: inline-block;
}

/* Brillo deslizante — texto accent en títulos */
@keyframes shimmer-text {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.text-accent {
  background: linear-gradient(
    90deg,
    var(--accent) 15%,
    var(--accent-muted) 50%,
    var(--accent) 85%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 3.5s linear infinite;
}

/* Hover en círculos de servicios */
.servicio-item-card:hover .servicio-circulo {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35) !important;
}

/* Hover en cards de cursos */
.curso-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.curso-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

/* Hover en actividad-card (summer) */
.actividad-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease;
}
.actividad-card:hover {
  transform: translateY(-6px) scale(1.05);
}
.actividad-card__icon {
  transition: transform 0.4s ease;
}
.actividad-card:hover .actividad-card__icon {
  transform: rotate(15deg) scale(1.2);
}

/* Hover en summer-chip */
.summer-chip {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.summer-chip:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Hover en items de información de contacto */
.contacto-info-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contacto-info-item:hover {
  transform: translateX(6px);
}

/* Hover en metodología items (cursos) */
.metodologia-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.metodologia-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.metodologia-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.metodologia-item:hover .metodologia-icon {
  transform: scale(1.3) rotate(-8deg);
}

/* FAQ — acordeón integrado en cada tema (más vívido) */
.faq .accordion-flush .accordion-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid var(--glass-border) !important;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.faq .accordion-button {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(16, 185, 129, 0.08));
  color: var(--text);
  font-weight: 600;
  box-shadow: none;
  border-radius: var(--radius) !important;
}

.faq .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.26), rgba(16, 185, 129, 0.12));
  color: var(--text);
}

.faq .accordion-body {
  background: var(--surface-solid);
  color: var(--text);
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

[data-theme="light"] .faq .accordion-button {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(5, 150, 105, 0.06));
}

[data-theme="light"] .faq .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.16), rgba(5, 150, 105, 0.1));
}

:root:not([data-theme="light"]) .faq .accordion-button::after {
  filter: brightness(0) invert(1) opacity(0.88);
}

.faq .accordion-item:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.2) !important;
}

/* Galería — hover con zoom suave */
.galeria img {
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.galeria img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

/* aire-stat hover */
.aire-stat {
  transition: transform 0.3s ease;
}
.aire-stat:hover {
  transform: translateY(-5px);
}
