:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --text: #0d1b2f;
  --muted: #5f6f86;
  --line: #dbe4ef;
  --primary: #005187;
  --primary-2: #0c74c4;
  --accent: #7fd3ff;
  --shadow: 0 16px 45px rgba(0, 36, 81, 0.10);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f9fc 0%, #f1f5fb 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #0c223d;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar i { color: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.84);
  border-bottom: 1px solid rgba(219,228,239,0.9);
}
.navbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: #eef4fa;
  color: var(--primary);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
}
.nav-cta:hover { background: var(--primary-2) !important; }
.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 46px;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(127,211,255,0.55), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(0,81,135,0.12), transparent 28%),
    linear-gradient(135deg, #fbfdff 0%, #e8f1fb 55%, #f6faff 100%);
  z-index: -2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 46px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.dark { color: var(--primary); }
.hero-copy h1 {
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 10.5ch;
}
.hero-text,
.section-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0,81,135,0.20);
}
.btn-primary:hover { background: var(--primary-2); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary.white {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.26);
}
.hero-points {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  list-style: none;
}
.hero-points li {
  position: relative;
  padding-left: 18px;
  color: #17324f;
  font-size: 15px;
  font-weight: 600;
}
.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  position: absolute;
  left: 0;
  top: 9px;
}
.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.hero-glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,116,196,0.20) 0%, rgba(127,211,255,0.10) 36%, transparent 70%);
  filter: blur(8px);
}

.stats-section { padding: 0 0 30px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(219,228,239,0.9);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.stat-number {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.section { padding: 92px 0; }
.soft-section { background: linear-gradient(180deg, rgba(233,240,248,0.58), rgba(248,250,253,0.88)); }
.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 13ch;
}
.section-title.large { max-width: 11.5ch; }
.centered { text-align: center; margin-inline: auto; }
.centered-text { text-align: center; margin-inline: auto; }
.narrow { max-width: 680px; }
.narrow-center { max-width: 820px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 36px;
  align-items: start;
}
.intro-cards {
  display: grid;
  gap: 18px;
}
.mini-feature {
  background: linear-gradient(145deg, #fdfefe, #eaf2fb);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.mini-feature.alt { background: linear-gradient(145deg, #0d223f, #0d5d98); color: #fff; }
.mini-feature span {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
  color: var(--primary);
  background: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}
.mini-feature h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 10px; }
.mini-feature p { color: inherit; opacity: 0.9; line-height: 1.75; }

.why-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.why-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(219,228,239,0.95);
  border-radius: 30px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
  min-height: 255px;
}
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eff6fd, #dde8f6);
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 22px;
}
.why-card h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 14px; }
.why-card p { color: var(--muted); line-height: 1.8; }

.course-controls { display: flex; gap: 10px; }
.control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 22, 40, 0.08);
}
.course-scroller {
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
  cursor: grab;
}
.course-scroller::-webkit-scrollbar { display: none; }
.course-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.course-card {
  width: min(350px, calc(100vw - 56px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  flex: 0 0 auto;
}
.course-card img {
  width: 100%;
  aspect-ratio: 4/4.7;
  object-fit: cover;
  background: #eef4fa;
}
.course-card-body { padding: 22px 22px 24px; }
.course-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf5fd;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.course-card h3 {
  font-size: 1.26rem;
  line-height: 1.25;
  min-height: 3.2em;
}
.course-card .course-mentor,
.course-card .course-price {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.course-card .course-price { font-weight: 700; color: var(--primary); }
.course-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.small-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.small-btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.gallery-strip,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.gallery-strip img,
.gallery-grid img,
.reviews-grid img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219,228,239,0.9);
}
.gallery-strip img,
.gallery-grid img { aspect-ratio: 1/1; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.reviews-grid .review-img-card {
  width: 100%;
  flex: none;
}
.reviews-grid .review-img-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
}

/* CSS animation para carruseles automáticos */
@keyframes carousel-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Gallery carousel */
.gallery-scroller,
.reviews-scroller {
  overflow: hidden;
  padding-bottom: 12px;
  cursor: grab;
  margin-top: 8px;
  position: relative;
}
.gallery-scroller:active,
.reviews-scroller:active { cursor: grabbing; }

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
}
.gallery-track img {
  width: 260px;
  height: 260px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219,228,239,0.9);
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-track img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 54px rgba(0,36,81,0.15);
}

/* Reviews carousel */
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: center;
  padding: 8px 4px 16px;
}
.review-img-card {
  width: 320px;
  flex: 0 0 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(0,36,81,0.13);
}
.review-img-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cta-section { padding: 0 0 92px; }
.cta-box {
  border-radius: 36px;
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #071a33 0%, #005187 48%, #1692e6 100%);
  color: #fff;
  box-shadow: 0 26px 60px rgba(2, 27, 53, 0.26);
}
.cta-box h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 13ch; }
.cta-box p { margin-top: 14px; color: rgba(255,255,255,0.82); line-height: 1.8; max-width: 54ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.site-footer { background: #081625; color: rgba(255,255,255,0.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
  padding: 56px 0 36px;
}
.site-footer h3 { color: #fff; margin-bottom: 18px; font-size: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer a { color: rgba(255,255,255,0.8); }
.footer-text { margin-top: 18px; line-height: 1.8; max-width: 55ch; }
.footer-bottom {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 14px;
}

.floating-socials {
  position: fixed;
  right: 18px;
  bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 48;
}
.social {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.16);
}
.social.facebook { background: #1877f2; }
.social.instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.social.whatsapp { background: #25d366; }
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 34px;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #081b33;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 49;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

.page-hero {
  padding: 74px 0 30px;
}
.page-hero-light {
  background: linear-gradient(180deg, rgba(240,245,251,0.8), rgba(246,249,253,0));
}

.services-grid,
.contact-grid,
.values-grid,
.split-grid {
  display: grid;
  gap: 24px;
}
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card,
.contact-card,
.value-card,
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.service-card i,
.contact-card i { font-size: 28px; color: var(--primary); margin-bottom: 16px; }
.service-card h3,
.contact-card h3,
.value-card h3,
.info-panel h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p,
.contact-card p,
.value-card p,
.info-panel p { color: var(--muted); line-height: 1.8; }
.contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-card a { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; }
.split-grid,
.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.course-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}
.course-modal.active { display: block; }
.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,16,33,0.56);
  backdrop-filter: blur(8px);
}
.course-modal-dialog {
  position: relative;
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100vh - 34px);
  overflow: auto;
  margin: 18px auto;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
  padding: 26px;
}
.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.course-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.course-modal-grid img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.modal-meta {
  display: grid;
  gap: 18px;
}
.modal-meta h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.08; }
.modal-topline {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf5fd;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.modal-mentor { color: var(--muted); line-height: 1.7; }
.modal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.modal-panel {
  background: var(--surface-soft);
  border-radius: 22px;
  padding: 22px;
}
.modal-panel h4 { font-size: 1rem; margin-bottom: 12px; }
.modal-panel ul { display: grid; gap: 10px; color: var(--muted); line-height: 1.6; padding-left: 18px; }
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .cta-box,
  .course-modal-grid { grid-template-columns: 1fr; }
  .hero-copy h1, .section-title, .cta-box h2 { max-width: none; }
  .stats-grid, .why-grid, .course-grid, .contact-grid, .values-grid, .reviews-grid, .gallery-strip, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 26px)); }
  .topbar-inner { justify-content: center; }
  .hamburger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 13px;
    right: 13px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; }
  .hero-section { padding-top: 36px; }
  .hero-grid { gap: 24px; grid-template-columns: 1fr; }
  .hero-visual-placeholder { min-height: 200px; }
  .hero-bg-video { left: -8.5%; right: -8.5%; width: 117%; object-position: 68% center; }
  .hero-copy::before { inset: -24px -20px -24px -20px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero-text, .section-text { font-size: 17px; }
  .section { padding: 72px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .stats-grid, .why-grid, .course-grid, .contact-grid, .services-grid, .values-grid, .reviews-grid, .gallery-strip, .gallery-grid, .footer-grid, .split-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .intro-cards { order: 2; }
  .course-card { width: min(300px, calc(100vw - 48px)); }
  .course-modal-dialog { padding: 18px; width: calc(100% - 16px); margin: 8px auto; }
  .modal-columns { grid-template-columns: 1fr; }
  .floating-socials {
    right: 10px;
    bottom: 100px;
    gap: 10px;
  }
  .social {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .scroll-top {
    right: 12px;
    bottom: 30px;
    width: 54px;
    height: 54px;
  }
  .brand img { width: 58px; height: 58px; }
  .brand strong { font-size: 17px; }
  .brand span { font-size: 13px; }

  /* ── Carruseles en móvil ── */

  /* Cursos — scroll táctil nativo */
  .course-scroller {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .course-scroller::-webkit-scrollbar { display: none; }
  .course-track { gap: 16px; padding: 4px 4px 8px; }
  .course-card {
    width: min(280px, calc(100vw - 48px));
    scroll-snap-align: start;
    border-radius: 22px;
  }
  .course-card img { aspect-ratio: 4/3.6; }

  /* Galería y reseñas — CSS animation, sin conflicto táctil */
  .gallery-scroller,
  .reviews-scroller {
    overflow: hidden;
    cursor: default;
  }
  .gallery-track { gap: 12px; padding: 4px 0 8px; }
  .gallery-track img {
    width: 180px !important;
    height: 180px !important;
    border-radius: 16px;
    scroll-snap-align: unset;
    object-fit: cover;
    flex: 0 0 180px;
  }
  .reviews-track { gap: 14px; padding: 4px 0 8px; }
  .review-img-card { width: 260px !important; flex: 0 0 260px !important; }

  /* Botones de navegación más grandes para dedo */
  .control-btn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 560px) {
  .navbar { min-height: 78px; }
  .brand { gap: 10px; max-width: calc(100% - 64px); }
  .brand img { width: 54px; height: 54px; border-radius: 18px; }
  .brand strong { font-size: 16px; }
  .brand span { font-size: 12px; }
  .hero-copy h1 { letter-spacing: -0.06em; }
  .hero-text, .section-text { font-size: 16px; line-height: 1.75; }
  .hero-actions, .cta-actions, .modal-actions { flex-direction: column; }
  .btn, .small-btn { width: 100%; }
  .stat-card { padding: 22px 18px; }
  .why-card, .service-card, .contact-card, .value-card, .info-panel, .mini-feature { padding: 24px 20px; }
  .cta-box { padding: 30px 22px; }
  .course-card-body { padding: 18px; }
  .course-card h3 { font-size: 1.15rem; min-height: unset; }
  .course-modal-grid img { max-width: 360px; margin: 0 auto; }
  .footer-grid { gap: 28px; }

  /* Carruseles en pantallas muy pequeñas */
  .course-card { width: calc(100vw - 52px); }
  .gallery-track img { width: 150px !important; height: 150px !important; flex: 0 0 150px; }
  .review-img-card { width: 230px !important; flex: 0 0 230px !important; }
  .section-head { gap: 14px; }
  .course-controls { align-self: flex-end; }
}
