/*
Theme Name: Blendex New
Theme URI: https://idiomasblendex.edu.co
Author: Educativa Blendex SAS
Author URI: https://idiomasblendex.edu.co
Description: Tema oficial Centro de Idiomas Blendex — diseño moderno y responsivo con soporte desktop y mobile.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: blendex-new
Tags: education, language, custom-theme, responsive
*/

/* ═══════════════════════════════════════════
   BASE
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(160deg, #fff 0%, #d5f7d5 18%, #fff 35%, #ffe1fe 55%, #fff 70%, #e3ecff 88%, #fff 100%);
  min-height: 100vh;
  color: #1c132b;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'Outfit', sans-serif; }

/* ═══════════════════════════════════════════
   TOPNAV — DESKTOP
═══════════════════════════════════════════ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 64px;
  gap: 24px;
}

.site-logo,
.logo {
  font-size: 26px;
  font-weight: 800;
  color: #1c132b;
  letter-spacing: -0.5px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.site-logo span,
.logo span { color: #08afaa; }

/* Nav tabs wrapper */
.nav-tabs {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-tabs ul,
.nav-tabs-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Generic tab link/button styles */
.nav-tab,
.nav-tabs-list li > a {
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  display: inline-block;
  text-decoration: none;
  line-height: 1.4;
}

/* Tab states — desktop */
.nav-tab.active-light,
.nav-tabs-list li:first-child > a {
  background: #fff;
  color: #1c132b;
  border-color: #08afaa;
  box-shadow: 0 0 0 2px rgba(8,175,170,.25);
}

.nav-tab.active-light:hover { background: #1c132b; color: #08afaa; border-color: #1c132b; box-shadow: none; }

.nav-tab.inactive-light {
  background: #1c132b;
  color: #08afaa;
  border-color: #1c132b;
}

.nav-tab.inactive-light:hover { background: #fff; color: #1c132b; border-color: #1c132b; }

.nav-tab.active-dark,
.nav-tabs-list li.current-menu-item > a {
  background: #1c132b;
  color: #fff;
  border-color: #1c132b;
}

.nav-tab.active-dark:hover { background: #fff; color: #1c132b; border-color: #1c132b; }

.nav-tab.inactive-dark,
.nav-tabs-list li:last-child > a {
  background: #fff;
  color: #1c132b;
  border-color: #ccc;
}

.nav-tab.inactive-dark:hover { background: #1c132b; color: #fff; border-color: #1c132b; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SEARCH PILL — DESKTOP
═══════════════════════════════════════════ */
.search-pill {
  background: #403840;
  color: #9f9b9f;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.search-pill svg { width: 12px; height: 12px; stroke: #9f9b9f; fill: none; }

.nav-search-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: #403840;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-search-drop.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ns-input-row {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ns-input-row svg { width: 13px; height: 13px; stroke: #9f9b9f; fill: none; flex-shrink: 0; }

.ns-input {
  border: none;
  outline: none;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  width: 100%;
  background: transparent;
}

.ns-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.ns-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 12px 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ns-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s;
  text-decoration: none;
}

.ns-item:hover { background: rgba(255, 255, 255, 0.08); }
.ns-item svg { width: 12px; height: 12px; stroke: #08afaa; fill: none; }

/* ═══════════════════════════════════════════
   PAGE SYSTEM (single-page mode in custom blocks)
═══════════════════════════════════════════ */
.bx-page { display: none; }
.bx-page.active { display: block; }

/* ═══════════════════════════════════════════
   HERO — DESKTOP
═══════════════════════════════════════════ */
.hero-wrap {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600') center / cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 40px;
  max-width: 820px;
}

@keyframes ww {
  0%, 100% { font-variation-settings: 'wght' 900; }
  50% { font-variation-settings: 'wght' 300; }
}

.hero-headline {
  margin-bottom: 32px;
  /* ancho fijo evita que el reflow de la animación desplace el layout */
  min-width: 600px;
}

.wave-line {
  display: block;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  color: #1c132b;
  white-space: nowrap;
}

.wave-word {
  display: inline-block;
  font-variation-settings: 'wght' 900;
  animation: ww 2.4s ease-in-out infinite;
  /* promueve a capa GPU para aislar el reflow */
  will-change: font-variation-settings;
  backface-visibility: hidden;
}

.hero-search-bar {
  background: #403840;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 10px 10px 10px 22px;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  min-width: 400px;
}

.hero-search-bar:hover { box-shadow: 0 0 0 3px rgba(8, 175, 170, 0.3); }
.hero-search-bar span { color: #9f9b9f; font-size: 13px; font-weight: 400; flex: 1; text-align: left; }

.hero-search-icon {
  width: 38px;
  height: 38px;
  background: #2e262e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search-icon svg { width: 15px; height: 15px; stroke: #9f9b9f; fill: none; }

.hero-suggs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero-sugg {
  background: rgba(64, 56, 64, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.hero-sugg:hover { background: rgba(8, 175, 170, 0.8); border-color: #08afaa; color: #fff; }

.hero-expanded {
  display: none;
  margin: 10px auto 0;
  max-width: 460px;
  transform: translateZ(0);
}

.hero-expanded.open { display: block; }

.hero-exp-box {
  background: #403840;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-exp-row {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-exp-row svg { width: 14px; height: 14px; stroke: #9f9b9f; fill: none; }

#heroInput {
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  width: 100%;
  background: transparent;
}

#heroInput::placeholder { color: rgba(255, 255, 255, 0.3); }

.hero-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.hero-close:hover { color: #fff; }

/* ═══════════════════════════════════════════
   SECTION WRAPPER
═══════════════════════════════════════════ */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #1c132b;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   COURSE CARDS — DESKTOP
═══════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.c-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.c-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13); }

.c-card-color { width: 100%; height: 100px; }
.c-card-body { padding: 16px; }

.c-card-title { line-height: 1.2; margin-bottom: 10px; }
.c-card-title .ct-top { display: block; font-size: 15px; font-weight: 600; color: #1c132b; }
.c-card-title .ct-bot { display: block; font-size: 26px; font-weight: 700; color: #08afaa; line-height: 1.15; }
.c-card-title .ct-bot.green { color: #75ba13; }

.c-meta { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.c-meta-item { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 400; color: #1c132b; }
.c-dot { width: 5px; height: 5px; background: #08afaa; border-radius: 50%; flex-shrink: 0; }

.c-more-btn {
  background: #403840;
  color: #9f9b9f;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.c-more-btn:hover { background: #1c132b; color: #fff; }
.c-desc { font-size: 12px; font-weight: 400; color: #555; margin-bottom: 12px; line-height: 1.5; }

/* ═══════════════════════════════════════════
   STUDENT SECTION — DESKTOP
═══════════════════════════════════════════ */
.student-section {
  background: #f7f5fb;
  border-top: 1px solid #ebe8f2;
  border-bottom: 1px solid #ebe8f2;
}

.student-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.student-label { font-size: 28px; font-weight: 800; color: #1c132b; margin-bottom: 20px; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }

.quick-item {
  background: #fff;
  border: 1px solid #e0dce8;
  border-radius: 12px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-item:hover { background: #eee9f5; border-color: #c0b8d0; }

.quick-icon {
  width: 42px;
  height: 42px;
  background: #f7f5fb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0dce8;
}

.quick-icon svg { width: 20px; height: 20px; stroke: #1c132b; fill: none; }
.quick-label { font-size: 11px; font-weight: 500; color: #1c132b; text-align: center; line-height: 1.3; }

.student-card {
  border-radius: 14px;
  border: 1px solid #e4e4e4;
  overflow: hidden;
  background: #fff;
}

.sc-header {
  background: #1c132b;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-icon {
  width: 36px;
  height: 36px;
  background: #08afaa;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-icon svg { width: 19px; height: 19px; stroke: #fff; fill: none; }
.sc-title { font-size: 13px; font-weight: 700; color: #fff; }

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 12px;
  font-weight: 400;
  color: #1c132b;
  cursor: pointer;
  transition: background 0.15s;
}

.sc-row:hover { background: #faf8ff; }
.sc-row:last-child { border-bottom: none; }
.sc-row-left { display: flex; align-items: center; gap: 8px; }
.sc-dot { width: 5px; height: 5px; background: #08afaa; border-radius: 50%; }
.sc-arr { font-size: 14px; color: #ccc; }

/* ═══════════════════════════════════════════
   EXPERIENCE GRID
═══════════════════════════════════════════ */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ═══════════════════════════════════════════
   CERT STRIP
═══════════════════════════════════════════ */
.cert-strip {
  background: #1c132b;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 36px 40px;
  flex-wrap: wrap;
}

.cert-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-circle svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-section { background: #1c132b; padding: 48px 0 0; }

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2.4;
}

.cf-row { display: flex; gap: 20px; margin-bottom: 16px; }
.cf-field { flex: 1; }

.cf-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 4px;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 0;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(255, 255, 255, 0.25); }

.cf-field textarea { resize: none; height: 44px; }

.cf-send { display: flex; justify-content: flex-end; margin-top: 16px; }

.cf-btn {
  background: #08afaa;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s;
}

.cf-btn:hover { background: #069e99; }

/* ═══════════════════════════════════════════
   FOOTER BAR
═══════════════════════════════════════════ */
.footer-bar {
  background: #1c132b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.footer-col { }

.f-col-title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 8px; }

.f-item,
.footer-col .menu a,
.footer-col ul li a {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 4px;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.f-item:hover,
.footer-col .menu a:hover,
.footer-col ul li a:hover { color: #08afaa; }

.footer-col .menu,
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col .menu li,
.footer-col ul li { margin: 0; }

/* ═══════════════════════════════════════════
   SOCIAL BAR
═══════════════════════════════════════════ */
.social-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 16px;
  background: #111;
}

.si { width: 22px; height: 22px; fill: rgba(255, 255, 255, 0.65); cursor: pointer; transition: fill 0.2s; }
.si:hover { fill: #08afaa; }

/* ═══════════════════════════════════════════
   PROGRAMAS PAGE
═══════════════════════════════════════════ */
.pg-wrap { max-width: 1200px; margin: 0 auto; padding: 40px; }

.pg-back {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #08afaa;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
}

.pg-back svg { width: 15px; height: 15px; stroke: #08afaa; fill: none; }
.pg-h { font-size: 28px; font-weight: 800; color: #1c132b; margin-bottom: 24px; }

.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pg-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.pg-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13); }
.pg-card-color { width: 100%; height: 90px; }
.pg-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.pg-card-title { line-height: 1.2; margin-bottom: 8px; }
.pg-card-title .ct-top { display: block; font-size: 12px; font-weight: 500; color: #1c132b; }
.pg-card-title .ct-bot { display: block; font-size: 22px; font-weight: 700; color: #08afaa; }
.pg-card-title .ct-bot.green { color: #75ba13; }

.pg-more-btn {
  background: #403840;
  color: #9f9b9f;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s;
}

.pg-more-btn:hover { background: #1c132b; color: #fff; }

.req-section { max-width: 1200px; margin: 0 auto; padding: 0 40px 48px; }
.req-title { font-size: 18px; font-weight: 800; color: #1c132b; margin-bottom: 14px; }
.req-box { background: #f7f5fb; border-radius: 12px; padding: 20px 24px; }
.req-box p { font-size: 13px; font-weight: 400; color: #5a5268; line-height: 1.8; }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.req-col { font-size: 13px; font-weight: 400; color: #5a5268; line-height: 1.8; }

.req-btn {
  margin-top: 16px;
  background: #1c132b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s;
}

.req-btn:hover { background: #08afaa; }

/* ═══════════════════════════════════════════
   DETAIL LAYOUT (curso individual)
═══════════════════════════════════════════ */
.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.detail-sidebar { position: sticky; top: 84px; }

.ds-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.ds-top { padding: 24px; border-bottom: 1px solid #f0eef5; }
.ds-lvl-top { display: block; font-size: 14px; font-weight: 500; color: #1c132b; }
.ds-lvl-bot { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; }
.ds-sub { font-size: 12px; font-weight: 400; color: #5a5268; margin-top: 6px; }
.ds-off { font-size: 14px; font-weight: 700; color: #08afaa; margin-top: 16px; }
.ds-price { font-size: 32px; font-weight: 800; color: #1c132b; line-height: 1; }
.ds-old { font-size: 12px; font-weight: 500; color: #9f9b9f; margin-top: 4px; }
.ds-actions { padding: 16px; }

.ds-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #1c132b;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
}

.ds-cta:hover { background: #08afaa; }

.ds-info-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #f7f5fb;
  color: #1c132b;
  border: 1px solid #e0d8f0;
  border-radius: 999px;
  padding: 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
}

.ds-info-btn:hover { background: #e0d8f0; }

.dm-back { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }

.dm-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #08afaa;
  font-family: 'Outfit', sans-serif;
}

.dm-back-btn svg { width: 14px; height: 14px; stroke: #08afaa; fill: none; }
.dm-breadcrumb { font-size: 11px; font-weight: 400; color: #b0aab8; }
.dm-breadcrumb span { color: #1c132b; }
.dm-section { margin-bottom: 28px; }
.dm-section-title { font-size: 16px; font-weight: 700; color: #1c132b; margin-bottom: 14px; }

/* ═══════════════════════════════════════════
   HORARIOS
═══════════════════════════════════════════ */
.horarios { display: flex; flex-direction: column; gap: 8px; }

.h-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  background: #fff;
}

.h-row.featured { border-color: #08afaa; background: rgba(8, 175, 170, 0.05); }
.h-time { font-size: 13px; font-weight: 500; color: #1c132b; }
.h-tag { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.tag-cupos { background: rgba(117, 186, 19, 0.12); color: #5a8a0a; border: 1px solid rgba(117, 186, 19, 0.3); }
.tag-agotado { background: rgba(200, 0, 0, 0.08); color: #c00; border: 1px solid rgba(200, 0, 0, 0.2); }

/* ═══════════════════════════════════════════
   ACCORDIONS
═══════════════════════════════════════════ */
.acc {
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}

.acc-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  background: #fff;
  transition: background 0.15s;
}

.acc-h:hover { background: #faf8ff; }
.acc-left { display: flex; align-items: center; gap: 12px; }

.acc-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 175, 170, 0.12);
}

.acc-icon svg { width: 16px; height: 16px; stroke: #08afaa; fill: none; }
.acc-label { font-size: 13px; font-weight: 600; color: #1c132b; }
.acc-arrow { width: 18px; height: 18px; stroke: #b0aab8; fill: none; transition: transform 0.2s; }
.acc-arrow.open { transform: rotate(180deg); }

.acc-body {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.acc-body.open { max-height: 400px; padding: 0 16px 14px; }
.acc-body p { font-size: 12px; font-weight: 400; color: #5a5268; line-height: 1.7; }

/* Mobile accordion (b2-*) */
.b2-accordion { border: 1px solid #e4e4e4; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.b2-acc-header { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; cursor: pointer; background: #fff; transition: background 0.15s; }
.b2-acc-header:hover { background: #faf8ff; }
.b2-acc-left { display: flex; align-items: center; gap: 10px; }
.b2-acc-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(8, 175, 170, 0.12); }
.b2-acc-icon svg { width: 15px; height: 15px; stroke: #08afaa; fill: none; }
.b2-acc-label { font-size: 12px; font-weight: 600; color: #1c132b; }
.b2-acc-arrow { width: 18px; height: 18px; stroke: #b0aab8; fill: none; transition: transform 0.2s; }
.b2-acc-arrow.open { transform: rotate(180deg); }
.b2-acc-body { padding: 0 14px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.b2-acc-body.open { max-height: 300px; padding: 0 14px 12px; }
.b2-acc-body p { font-size: 11px; font-weight: 400; color: #5a5268; line-height: 1.6; }

/* ═══════════════════════════════════════════
   VER MÁS
═══════════════════════════════════════════ */
.ver-mas-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #08afaa;
  padding: 12px 0 4px;
  font-family: 'Outfit', sans-serif;
}

.ver-mas-btn span { border-bottom: 2px dotted #08afaa; line-height: 1.3; }
.ver-mas-btn svg { width: 14px; height: 14px; stroke: #08afaa; fill: none; transition: transform 0.25s; }
.ver-mas-btn.open svg { transform: rotate(180deg); }
.ver-mas-extra { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.ver-mas-extra.open { max-height: 3000px; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-wrap { border: 1px solid #e4e4e4; border-radius: 12px; padding: 0 16px; background: #fff; }
.faq { border-bottom: 1px solid #f0eef5; }
.faq:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  cursor: pointer;
}

.faq-q span { font-size: 12px; font-weight: 500; color: #1c132b; flex: 1; padding-right: 10px; }
.faq-q svg { width: 16px; height: 16px; stroke: #b0aab8; fill: none; transition: transform 0.2s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-a.open { max-height: 400px; }
.faq-a p { font-size: 12px; font-weight: 400; color: #5a5268; line-height: 1.7; padding-bottom: 12px; }

/* Mobile FAQ */
.b2-faq { border-bottom: 1px solid #f0eef5; }
.b2-faq:last-child { border-bottom: none; }
.b2-faq-q { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; cursor: pointer; }
.b2-faq-q span { font-size: 11px; font-weight: 500; color: #1c132b; flex: 1; padding-right: 8px; }
.b2-faq-q svg { width: 16px; height: 16px; stroke: #b0aab8; fill: none; flex-shrink: 0; transition: transform 0.2s; }
.b2-faq-q.open svg { transform: rotate(180deg); }
.b2-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.b2-faq-a.open { max-height: 300px; }
.b2-faq-a p { font-size: 11px; font-weight: 400; color: #5a5268; line-height: 1.6; padding-bottom: 10px; }

/* ═══════════════════════════════════════════
   DM REQ BOX
═══════════════════════════════════════════ */
.dm-req-box { background: #f7f5fb; border-radius: 12px; padding: 16px 20px; }
.dm-req-box p { font-size: 12px; font-weight: 400; color: #5a5268; line-height: 1.8; }

.dm-req-btn {
  margin-top: 12px;
  background: #1c132b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s;
}

.dm-req-btn:hover { background: #08afaa; }

/* Mobile req */
.b2-req { background: #f7f5fb; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.b2-req p { font-size: 11px; font-weight: 400; color: #5a5268; line-height: 1.7; }
.b2-req-btn { margin-top: 10px; background: #1c132b; color: #fff; border: none; border-radius: 8px; padding: 7px 16px; font-size: 11px; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; transition: background 0.2s; }
.b2-req-btn:hover { background: #08afaa; }

/* ═══════════════════════════════════════════
   SOY ESTUDIANTE CARDS
═══════════════════════════════════════════ */
.est-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: background 0.15s;
}

.est-card:hover { background: #faf8ff; }
.est-card-left { display: flex; align-items: center; gap: 14px; }

.est-card-icon {
  width: 38px;
  height: 38px;
  background: rgba(8, 175, 170, 0.12);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.est-card-icon svg { width: 18px; height: 18px; stroke: #08afaa; fill: none; }
.est-card-label { font-size: 13px; font-weight: 600; color: #1c132b; }
.est-card-arr svg { width: 20px; height: 20px; stroke: #08afaa; fill: none; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.soy-est-btn {
  width: 100%;
  background: #1c132b;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  font-family: 'Outfit', sans-serif;
}

.soy-est-btn:hover { background: #08afaa; }

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
.toast,
.bx-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: #1c132b;
  color: #fff;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
  z-index: 999;
  white-space: nowrap;
  border-left: 3px solid #08afaa;
  pointer-events: none;
}

.toast.show,
.bx-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════
   FIXED BOTTOM BAR (mobile detail page)
═══════════════════════════════════════════ */
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #e8fff8, #ffe1fe, #e3ecff);
  padding: 10px 20px;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 200;
}

.fixed-bar.visible { display: flex; }
.fixed-bar-info { flex: 1; }
.fixed-bar-price { font-size: 16px; font-weight: 800; color: #1c132b; line-height: 1; }
.fixed-bar-sub { font-size: 9px; font-weight: 500; color: #9f9b9f; margin-top: 1px; }

.fixed-btn-info {
  background: #403840;
  color: #9f9b9f;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

.fixed-btn-cta {
  background: #1c132b;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s;
}

.fixed-btn-cta:hover { background: #08afaa; }

/* ═══════════════════════════════════════════
   MOBILE APP CLASSES (bx-*)
   Para bloques HTML personalizados en el editor visual
═══════════════════════════════════════════ */
.bx {
  width: 412px;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ddd;
  overflow: hidden;
  position: relative;
}

.bx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eee;
}

.bx-logo { cursor: pointer; font-size: 18px; font-weight: 800; color: #1c132b; letter-spacing: -0.3px; }
.bx-logo span { color: #08afaa; }

.bx-nav-btn {
  background: #403840;
  color: #9f9b9f;
  border: none;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  font-family: 'Outfit', sans-serif;
}

.bx-nav-btn svg { width: 11px; height: 11px; stroke: #9f9b9f; fill: none; }

.bx-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #403840;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.bx-search-dropdown.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.bx-search-input-wrap { padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; gap: 6px; }
.bx-search-input-wrap svg { width: 12px; height: 12px; stroke: #9f9b9f; fill: none; flex-shrink: 0; }
.bx-search-input { border: none; outline: none; font-size: 11px; font-weight: 400; color: #fff; width: 100%; background: transparent; }
.bx-search-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.bx-search-label { font-size: 9px; font-weight: 600; color: rgba(255, 255, 255, 0.4); padding: 8px 10px 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.bx-search-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; cursor: pointer; transition: background 0.15s; font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.bx-search-item:hover { background: rgba(255, 255, 255, 0.08); }
.bx-search-item svg { width: 12px; height: 12px; stroke: #08afaa; fill: none; flex-shrink: 0; }

.bx-tabs { display: flex; justify-content: center; gap: 8px; padding: 10px 14px 12px; }
.bx-tab { border-radius: 999px; padding: 7px 20px; font-size: 11px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Outfit', sans-serif; }
.bx-tab.active-light { background: #fff; color: #1c132b; border: 1.5px solid #08afaa; box-shadow: 0 0 0 2px rgba(8, 175, 170, 0.25); }
.bx-tab.active-light:hover { background: #1c132b; color: #08afaa; border-color: #1c132b; box-shadow: none; }
.bx-tab.inactive-light { background: #1c132b; color: #08afaa; border: 1.5px solid #1c132b; }
.bx-tab.inactive-light:hover { background: #fff; color: #1c132b; border-color: #1c132b; }
.bx-tab.active-dark { background: #1c132b; color: #fff; border: 1.5px solid #1c132b; }
.bx-tab.active-dark:hover { background: #fff; color: #1c132b; }
.bx-tab.inactive-dark { background: #fff; color: #1c132b; border: 1.5px solid #ccc; }
.bx-tab.inactive-dark:hover { background: #1c132b; color: #fff; border-color: #1c132b; }

.bx-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 14px 20px;
}

.bx-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=800') center / cover no-repeat;
}

.bx-hero-headline { position: relative; z-index: 1; margin-bottom: 18px; text-align: center; }
.bx-search-bar {
  position: relative;
  z-index: 1;
  background: #403840;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 7px 7px 7px 16px;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.bx-search-bar:hover { box-shadow: 0 0 0 2px rgba(8, 175, 170, 0.35); }
.bx-search-bar span { color: #9f9b9f; font-size: 11px; font-weight: 400; flex: 1; }
.bx-search-icon { width: 30px; height: 30px; background: #2e262e; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bx-search-icon svg { width: 13px; height: 13px; stroke: #9f9b9f; fill: none; }

#heroSearchExpanded { display: none; position: relative; z-index: 10; margin-top: 6px; opacity: 0; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.22s ease; }
#heroSearchExpanded.open { display: block; opacity: 1; transform: translateY(0); }
.hero-search-box { background: #403840; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22); }
.hero-search-input-row { padding: 8px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.hero-search-input-row svg { width: 13px; height: 13px; stroke: #9f9b9f; fill: none; flex-shrink: 0; }
.hero-search-close { background: none; border: none; cursor: pointer; font-size: 15px; color: rgba(255, 255, 255, 0.4); line-height: 1; padding: 0 2px; }

.bx-hero-suggestions { position: relative; z-index: 2; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.bx-hero-sugg { background: rgba(64, 56, 64, 0.75); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 4px 11px; font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.8); cursor: pointer; backdrop-filter: blur(4px); transition: all 0.2s; }
.bx-hero-sugg:hover { background: rgba(8, 175, 170, 0.7); color: #fff; border-color: #08afaa; }

.bx-courses-wrap { padding: 14px 0 4px; }
.sec-title { font-size: 14px; font-weight: 700; color: #1c132b; padding: 12px 14px 0; }
.bx-courses-scroll { display: flex; gap: 12px; padding: 8px 14px 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bx-courses-scroll::-webkit-scrollbar { display: none; }

.bx-card { flex-shrink: 0; width: 200px; border-radius: 14px; overflow: hidden; border: 1px solid #e4e4e4; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.bx-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); }
.bx-card-color { width: 100%; height: 72px; }
.bx-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; }
.bx-card-title { line-height: 1.2; margin-bottom: 6px; }
.bx-card-title .ct-top { display: block; font-size: 14px; font-weight: 650; color: #1c132b; }
.bx-card-title .ct-bot { display: block; font-size: 20px; font-weight: 700; color: #08afaa; line-height: 1.15; }
.bx-card-title .ct-bot.green { color: #75ba13; }
.bx-card-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.bx-card-meta-item { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 400; color: #1c132b; }
.bx-dot { width: 5px; height: 5px; background: #08afaa; border-radius: 50%; flex-shrink: 0; }
.bx-more-btn { background: #403840; color: #9f9b9f; border: none; border-radius: 8px; padding: 7px 14px; font-size: 10px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: 'Outfit', sans-serif; }
.bx-more-btn:hover { background: #1c132b; color: #fff; }
.bx-card-desc { font-size: 10px; font-weight: 400; color: #555; margin: 0 0 10px; line-height: 1.5; }
.bx-peek { flex-shrink: 0; width: 20px; }

.bx-student-wrap { padding: 4px 14px 14px; }
.bx-student-label { font-size: 18px; font-weight: 800; color: #1c132b; line-height: 1.2; margin-bottom: 10px; }
.bx-quick { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; background: #f7f5fb; border-radius: 12px; overflow: hidden; border: 1px solid #ebe8f2; }
.bx-quick-item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 6px; cursor: pointer; border-right: 1px solid #ebe8f2; transition: background 0.2s; }
.bx-quick-item:hover { background: #eee9f5; }
.bx-quick-item:last-child { border-right: none; }
.bx-quick-icon { width: 34px; height: 34px; background: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; border: 1px solid #e0dce8; }
.bx-quick-icon svg { width: 17px; height: 17px; stroke: #1c132b; fill: none; }
.bx-quick-label { font-size: 9px; font-weight: 500; color: #1c132b; text-align: center; line-height: 1.3; }

.bx-student-card { border-radius: 12px; border: 1px solid #e4e4e4; overflow: hidden; background: #fff; }
.bx-student-card-header { background: #1c132b; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.bx-student-card-icon { width: 32px; height: 32px; background: #08afaa; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bx-student-card-icon svg { width: 17px; height: 17px; stroke: #fff; fill: none; }
.bx-student-card-title { font-size: 13px; font-weight: 700; color: #fff; }
.bx-student-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #f2f2f2; font-size: 12px; font-weight: 400; color: #1c132b; cursor: pointer; transition: background 0.15s; }
.bx-student-row:hover { background: #faf8ff; }
.bx-student-row:last-child { border-bottom: none; }
.bx-student-row-left { display: flex; align-items: center; gap: 7px; }
.bx-row-dot { width: 5px; height: 5px; background: #08afaa; border-radius: 50%; }
.bx-row-arr { font-size: 13px; color: #ccc; }

.bx-exp-header { display: flex; justify-content: flex-start; padding: 14px 14px 10px; }
.bx-exp-title { font-size: 18px; font-weight: 800; color: #1c132b; line-height: 1.25; text-align: left; }
.bx-exp-scroll { display: flex; gap: 12px; padding: 0 14px 14px; overflow-x: auto; scrollbar-width: none; }
.bx-exp-scroll::-webkit-scrollbar { display: none; }

.bx-contact { background: #1c132b; padding: 16px 14px; }
.bx-contact-info { font-size: 10px; font-weight: 400; color: rgba(255, 255, 255, 0.75); line-height: 2; margin-bottom: 14px; }
.bx-form-row { display: flex; gap: 10px; margin-bottom: 10px; }
.bx-field { flex: 1; }
.bx-field-label { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.55); display: block; margin-bottom: 3px; }
.bx-field input, .bx-field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 11px; font-weight: 400; padding: 4px 0; outline: none; font-family: 'Outfit', sans-serif; }
.bx-field input::placeholder, .bx-field textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.bx-field textarea { resize: none; height: 36px; }
.bx-send-row { display: flex; justify-content: flex-end; margin-top: 12px; }
.bx-send-btn { background: #08afaa; color: #fff; border: none; border-radius: 8px; padding: 8px 22px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; transition: background 0.2s; }
.bx-send-btn:hover { background: #069e99; }

.bx-footer { background: #1c132b; padding: 16px 14px; }
.bx-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bx-footer-col-title { font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 5px; margin-top: 10px; }
.bx-footer-col-title:first-child { margin-top: 0; }
.bx-footer-item { font-size: 10px; font-weight: 400; color: rgba(255, 255, 255, 0.6); display: block; margin-bottom: 3px; cursor: pointer; transition: color 0.2s; text-decoration: none; }
.bx-footer-item:hover { color: #08afaa; }
.bx-social { display: flex; justify-content: center; gap: 24px; padding: 13px; background: #111; }
.bx-si { width: 22px; height: 22px; fill: rgba(255, 255, 255, 0.65); cursor: pointer; transition: fill 0.2s; }
.bx-si:hover { fill: #08afaa; }

/* Mobile page nav */
.pg-header { padding: 16px 14px 4px; display: flex; align-items: center; }
.pg-title { font-size: 17px; font-weight: 700; color: #1c132b; padding: 8px 14px 14px; }
.pg-cards { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 20px; }
.pg-card-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }

/* Mobile detail nav */
.b2-back-bar { padding: 10px 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f0eef5; }
.b2-back-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #08afaa; font-family: 'Outfit', sans-serif; }
.b2-back-btn svg { width: 14px; height: 14px; stroke: #08afaa; fill: none; }
.b2-breadcrumb { font-size: 10px; font-weight: 400; color: #b0aab8; }
.b2-breadcrumb span { color: #1c132b; }
.b2-hero { background: #fff; padding: 20px 14px 16px; text-align: center; border-bottom: 1px solid #f0eef5; }

.b2-horarios { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.b2-horario-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 10px; border: 1px solid #e4e4e4; background: #fff; }
.b2-horario-row.featured { border-color: #08afaa; background: rgba(8, 175, 170, 0.05); }
.b2-horario-time { font-size: 12px; font-weight: 500; color: #1c132b; }
.b2-horario-tag { font-size: 10px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }

/* ═══════════════════════════════════════════
   WORDPRESS CONTENT AREA
═══════════════════════════════════════════ */
.site-content { min-height: 60vh; }
.entry-content { min-height: 200px; }

/* Override Gutenberg default padding for full-width blocks */
.wp-site-blocks { padding: 0; }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 280px 1fr; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .topnav {
    padding: 0 14px;
    height: 56px;
    gap: 10px;
  }

  .site-logo, .logo { font-size: 18px; }

  .nav-tabs { display: none; }

  .nav-right { gap: 6px; }
  .search-pill { padding: 5px 12px; font-size: 10px; }
  .nav-search-drop { width: 260px; right: -10px; }

  .hero-wrap { min-height: 280px; }
  .hero-content { padding: 40px 20px; }
  .wave-line { font-size: clamp(22px, 6vw, 32px); white-space: normal; }
  .hero-search-bar { min-width: unset; width: 100%; }

  .section-wrap { padding: 28px 14px; }
  .section-title { font-size: 18px; }

  .courses-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .courses-grid::-webkit-scrollbar { display: none; }
  .courses-grid .c-card { flex-shrink: 0; width: 200px; }
  .c-card-color { height: 72px; }
  .c-card-title .ct-top { font-size: 13px; }
  .c-card-title .ct-bot { font-size: 20px; }

  .student-inner { grid-template-columns: 1fr; padding: 28px 14px; gap: 20px; }
  .student-label { font-size: 20px; }
  .exp-grid { grid-template-columns: 1fr; }

  .cert-strip { padding: 24px 14px; gap: 14px; }
  .cert-circle { width: 48px; height: 48px; }
  .cert-circle svg { width: 22px; height: 22px; }

  .contact-inner { grid-template-columns: 1fr; padding: 0 14px 28px; gap: 24px; }

  .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 14px 24px; }

  .pg-wrap { padding: 20px 14px; }
  .pg-h { font-size: 20px; }
  .pg-grid { grid-template-columns: 1fr; }
  .req-section { padding: 0 14px 28px; }
  .req-row { grid-template-columns: 1fr; }

  .detail-layout { grid-template-columns: 1fr; padding: 20px 14px; gap: 20px; }
  .detail-sidebar { position: static; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .contact-section { padding: 28px 0 0; }
  .cf-row { flex-direction: column; gap: 0; }
  .hero-search-bar span { font-size: 11px; }
}

/* ── DETALLE DE PROGRAMA: contenido Gutenberg ── */
.dm-content { padding: 0; }
.dm-content .dm-section { margin-bottom: 28px; }
.dm-content .dm-section-title {
  font-size: 16px; font-weight: 700; color: #1c132b;
  margin-bottom: 12px; padding-bottom: 6px;
  border-bottom: 2px solid #f0edf6;
}
.dm-content p { font-size: 14px; color: #5a5268; line-height: 1.7; margin-bottom: 10px; }
.dm-content strong { color: #1c132b; }
