/* ===========================================
   VARIABLES & RESET
=========================================== */
:root {
  --accent:        #FFA600;
  --accent-dim:    rgba(255, 166, 0, 0.12);
  --accent-glow:   rgba(255, 166, 0, 0.30);
  --bg:            #0a0a0a;
  --bg-2:          #111111;
  --bg-3:          #181818;
  --border:        #1f1f1f;
  --border-light:  #2a2a2a;
  --text-primary:  #f0f0f0;
  --text-secondary:#888888;
  --text-muted:    #444444;

  --font-title:    'Coolvetica', 'Arial Narrow', Impact, sans-serif;
  --font-crammed:  'Coolvetica Crammed', 'Arial Narrow', sans-serif;
  --font-accent:   'Splatink', 'Brush Script MT', cursive;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --radius:        12px;
  --radius-sm:     8px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card:   0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow:   0 12px 40px rgba(255, 166, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Selection */
::selection { background: var(--accent-dim); color: var(--accent); }


/* ===========================================
   TIPOGRAFÍA — FUENTES CUSTOM
   Coloca los archivos de fuente en /fonts/
=========================================== */
@font-face {
  font-family: 'Coolvetica';
  src: url('../fonts/Coolvetica Rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Coolvetica Crammed';
  src: url('../fonts/Coolvetica Rg Cram.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Splatink';
  src: url('../fonts/Splatink_PERSONAL_USE_ONLY.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ===========================================
   UTILIDADES GLOBALES
=========================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-crammed);
  font-size: 24px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.accent-word {
  font-family: var(--font-accent);
  color: var(--accent);
  font-size: 1.08em;
  line-height: 1;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-top: 2.5rem;
  border-radius: 2px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Línea separadora horizontal entre secciones */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  pointer-events: none;
}
.section.no-rule::before { display: none; }


/* ===========================================
   NAVBAR
=========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.5rem 0;
  transition: padding var(--transition),
              background var(--transition),
              border-color var(--transition),
              backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* Links list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA pill */
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: #000;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 50px;
  transition: background var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ===========================================
   HERO
=========================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Gradiente radial de fondo — halo naranja sutil */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%,
      rgba(255, 166, 0, 0.07) 0%,
      transparent 65%);
  pointer-events: none;
}

/* Textura granulada */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Degradado inferior para transición suave a la siguiente sección */
.hero-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Capa external — recibe el movimiento del ratón (JS) */
.hero-parallax {
  will-change: transform;
}

/* Capa interna — animación de flotación CSS */
.hero-floater {
  position: relative;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-image {
  max-width: min(680px, 82vw);
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 70px rgba(255, 166, 0, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

/* Halo naranja detrás de la imagen */
.hero-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse at center,
    rgba(255, 166, 0, 0.1) 0%,
    transparent 68%);
  pointer-events: none;
  animation: heroGlow 5s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}

@keyframes heroGlow {
  from { opacity: 0.5; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.06); }
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  z-index: 10;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-text {
  font-family: var(--font-crammed);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-arrow {
  animation: bounceArrow 2.2s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}


/* ===========================================
   SECCIÓN — ¿QUÉ ES EL CURSO?
=========================================== */
.section-curso { background: var(--bg); }

.curso-description {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.75;
  font-weight: 300;
}


/* ===========================================
   SECCIÓN — TEMARIO
=========================================== */
.section-temario { background: var(--bg-2); }

.temario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  gap: 1px;
  background: var(--border);
}

.temario-item {
  background: var(--bg-2);
  padding: 1.9rem 2rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  transition: background var(--transition);
}

.temario-item:hover {
  background: var(--bg-3);
}

.temario-item--wide {
  grid-column: 1 / -1;
}

.temario-num {
  font-family: var(--font-crammed);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  min-width: 26px;
  padding-top: 0.25rem;
  flex-shrink: 0;
}

.temario-body h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.temario-body p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ===========================================
   SECCIÓN — QUÉ INCLUYE
=========================================== */
.section-incluye { background: var(--bg); }

.incluye-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.incluye-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}

/* Línea naranja superior al hover */
.incluye-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

/* Corner accent */
.incluye-card::after {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 48px; height: 48px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 0 var(--radius) 0 0;
  transition: border-color var(--transition);
}

.incluye-card:hover {
  border-color: rgba(255, 166, 0, 0.28);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.incluye-card:hover::before { opacity: 1; }
.incluye-card:hover::after  { border-color: var(--accent); }

.incluye-icon { margin-bottom: 1.4rem; }

.incluye-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.incluye-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.incluye-badge {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-crammed);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 166, 0, 0.25);
}


/* ===========================================
   STATS STRIP
=========================================== */
.stats-strip {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.6rem 0;
}

.stats-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 3.5rem;
  flex: 1;
  text-align: center;
}

.stat-num {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-crammed);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}


/* ===========================================
   SECCIÓN — REGISTRO
=========================================== */
.section-registro { background: var(--bg-2); }

/* Layout dos columnas: formulario + contacto */
.registro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.registro-form-col { min-width: 0; }

.registro-contacto-col {
  min-width: 0;
  padding-left: 2.5rem;
  border-left: 1px solid var(--border-light);
}

.registro-contacto-col .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.contacto-grid--stacked {
  grid-template-columns: 1fr !important;
  gap: 2.5rem !important;
  margin-top: 0;
}

.registro-layout .registro-form { max-width: none; }

.registro-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.8rem;
  max-width: 520px;
}

.registro-form { max-width: 700px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group--full { margin-bottom: 1.4rem; }

.form-label {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  transition: border-color var(--transition),
              box-shadow var(--transition);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 166, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 115px;
}

.form-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 6 5-6' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.8rem;
}

.form-select option {
  background: #181818;
  color: #f0f0f0;
}

.form-select option:disabled {
  color: #555555;
}

/* Ocultar flechas de número */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; }

.form-actions { margin-top: 0.6rem; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 2.4rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
}

.btn-submit:hover {
  background: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon { flex-shrink: 0; }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.form-whatsapp-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-whatsapp-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.form-success a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mensaje de éxito */
.form-success {
  display: none;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid rgba(255, 166, 0, 0.28);
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
}

.form-success.visible { display: flex; }

.form-success p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}


/* ===========================================
   SECCIÓN — GALERÍA
=========================================== */
.section-galeria {
  background: var(--bg);
  padding-bottom: 0;
}

.galeria-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  overflow: hidden;
}

.galeria-item { overflow: hidden; }

.galeria-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.3s ease;
  filter: brightness(0.85);
}

.galeria-item:hover .galeria-img {
  transform: scale(1.06);
  filter: brightness(1);
}


/* ===========================================
   SECCIÓN — CONTACTO
=========================================== */
.section-contacto { background: var(--bg); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 3rem;
}

.contacto-subtitle {
  font-family: var(--font-crammed);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Botones de redes sociales */
.redes-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.red-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.4rem;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: border-color var(--transition),
              background var(--transition),
              color var(--transition),
              transform var(--transition);
}

.red-btn:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text-primary);
  transform: translateX(4px);
}

.red-btn--wa:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.08);
}

/* Links de contacto directo */
.contacto-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contacto-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), border-color var(--transition);
}

.contacto-link:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}


/* ===========================================
   FOOTER
=========================================== */
.footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer-logo:hover .footer-logo-img { opacity: 1; }

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.03em;
}

.footer-nav a:hover { color: var(--text-secondary); }

.footer-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.8rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-credit {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-credit:hover { color: var(--accent); }


/* ===========================================
   RESPONSIVE — TABLET (< 960px)
=========================================== */
@media (max-width: 960px) {

  .registro-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .registro-contacto-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-top: 3.5rem;
  }

  .temario-grid {
    grid-template-columns: 1fr;
  }

  .temario-item--wide {
    grid-column: 1;
  }

  .incluye-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-sep { display: none; }

  .stat-item { padding: 0 1.5rem; flex: 0 0 45%; }

  .galeria-strip { grid-template-columns: repeat(2, 1fr); }
  .galeria-img { height: 220px; }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* ===========================================
   RESPONSIVE — MOBILE (< 720px)
=========================================== */
@media (max-width: 720px) {

  .section { padding: 5rem 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(280px, 80vw);
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 2rem;
    gap: 1.8rem;
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link,
  .nav-cta {
    font-size: 1rem;
  }

  .nav-cta {
    padding: 0.65rem 1.4rem;
  }

  /* Nav overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 899;
  }

  .nav-overlay.visible { display: block; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stats */
  .stat-item { flex: 0 0 100%; }

  .galeria-img { height: 180px; }
}


/* ===========================================
   RESPONSIVE — SMALL MOBILE (< 420px)
=========================================== */
@media (max-width: 420px) {

  .container { padding: 0 1.25rem; }

  .hero-image { max-width: 90vw; }

  .temario-item { padding: 1.4rem 1.2rem; }

  .incluye-card { padding: 1.8rem; }
}
