/* =============================================
   AUTO SERVICIOS VILLALOBOS C.A. — STYLES
   Mobile-First Responsive Approach
   Breakpoints: base (<480px) → 480px → 768px → 1024px → 1200px+
   ============================================= */

:root {
  --bg:          #060c1e;
  --bg2:         #0a1228;
  --bg3:         #0e1932;
  --surface:     #121e3a;
  --surface2:    #182848;
  --border:      #1e3268;
  --border-light:#2a4490;

  --navy:        #001060;
  --blue:        #1840b0;
  --blue-mid:    #2a58c8;
  --blue-light:  #4a80f0;
  --blue-glow:   rgba(42, 88, 200, 0.35);

  --silver:      #8898b8;
  --silver-light:#b8c8e0;
  --silver-glow: rgba(184, 200, 224, 0.15);

  --accent:      #4a80f0;
  --accent-hover:#6a98ff;
  --accent-glow: rgba(74, 128, 240, 0.3);

  --text:        #dde6f5;
  --text-dim:    #7888aa;
  --text-muted:  #3a4868;
  --white:       #ffffff;

  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.6);
  --transition:  0.25s cubic-bezier(0.4,0,0.2,1);

  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--text-dim); }

.accent { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===================== NAVBAR ===================== */
.separador {
  display: none;
}
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 1rem;
  background: linear-gradient(to bottom, rgba(6,10,22,0.98) 0%, rgba(6,10,22,0.82) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.35s ease;
}
.navbar.scrolled {
  background: linear-gradient(to bottom, rgba(5,8,18,0.99) 0%, rgba(5,8,18,0.95) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 30px rgba(0,0,0,0.4);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height); gap: 0.75rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; filter: brightness(1.15) drop-shadow(0 0 8px rgba(74,128,240,0.35)); transition: filter 0.3s; }
.nav-brand:hover .brand-logo { filter: brightness(1.25) drop-shadow(0 0 14px rgba(74,128,240,0.55)); }
.brand-text { display: flex; flex-direction: column; gap: 0.05rem; }
.brand-name { font-family: 'Oswald', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-tagline { font-size: 0.5rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(6,12,30,0.99); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  flex-direction: column; padding: 1rem 0.75rem; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  list-style: none;

}
.nav-links.open { display: flex; max-height: 400px; gap: 1.3rem; }
.nav-link { padding: 0.55rem 0.7rem; font-size: 0.92rem; font-weight: 500; color: rgba(160,180,210,0.85); text-decoration: none; letter-spacing: 0.02em; transition: color 0.25s, background 0.2s; border-radius: 8px; }
.nav-item { text-align: center; ;}
.nav-link:hover { color: var(--white); background: rgba(74,128,240,0.1); }
.nav-link::after { display: none; }
.nav-cta { margin-top: 0.4rem; padding: 0.55rem 0.9rem !important; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: var(--white) !important; font-weight: 600; border-radius: 8px; border: 1px solid rgba(74,128,240,0.3); text-align: center; }
.nav-cta:hover { background: linear-gradient(135deg, #2a58c4 0%, var(--blue) 100%); box-shadow: 0 0 18px rgba(74,128,240,0.4); }
.nav-cta::after { display: none; }
.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 6px; transition: background 0.2s; }
.nav-toggle:hover { background: rgba(74,128,240,0.15); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===================== HERO ===================== */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; padding: calc(var(--nav-height) + 16px) 1rem 50px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.22; mask-image: radial-gradient(ellipse at 40% 50%, black 20%, transparent 80%); }
.hero-glow { position: absolute; top: 5%; left: 15%; width: 280px; height: 220px; background: radial-gradient(ellipse, var(--blue-glow) 0%, transparent 65%); filter: blur(40px); }
.hero-glow2 { position: absolute; bottom: 8%; right: 3%; width: 120px; height: 120px; background: radial-gradient(ellipse, var(--silver-glow) 0%, transparent 70%); filter: blur(30px); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.hero-visual { display: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.85rem; border-radius: 50px; border: 1px solid var(--border-light); font-size: 0.72rem; color: var(--silver); margin-bottom: 0.8rem; background: var(--surface); }
.hero-title { font-size: clamp(1.8rem, 8vw, 3rem); line-height: 1.1; margin-bottom: 0.75rem; }
.hero-sub { font-size: 0.92rem; color: var(--text-dim); max-width: 100%; margin-bottom: 1.25rem; line-height: 1.6; }
.hero-ctas { display: flex; flex-direction: column; gap: 0.7rem; width: 100%; max-width: 300px; margin: 0 auto 1.75rem; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: var(--white); padding: 0.72rem 1.4rem; border-radius: 8px; font-family: 'Oswald', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; transition: var(--transition); border: 1px solid var(--blue-mid); box-shadow: 0 4px 14px var(--blue-glow); text-align: center; }
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-mid), var(--blue-light)); transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 0.72rem 1.4rem; border-radius: 8px; font-family: 'Oswald', sans-serif; font-size: 0.9rem; font-weight: 500; border: 1px solid var(--border-light); color: var(--silver-light); transition: var(--transition); text-align: center; }
.btn-ghost:hover { border-color: var(--blue-light); color: var(--white); }
.hero-stats { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.stat { text-align: center; }
.stat-n { display: block; font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700; background: linear-gradient(135deg, var(--white), var(--silver-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-l { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-div { display: none; }

/* ===================== SECTIONS ===================== */
.section { padding: 2.5rem 1rem; }
.section-dark { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-tag { display: inline-block; padding: 0.18rem 0.75rem; border-radius: 50px; background: rgba(74,128,240,0.12); border: 1px solid var(--border-light); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: 0.5rem; }
.section-desc { color: var(--text-dim); max-width: 100%; margin: 0.75rem auto; font-size: 0.88rem; text-align: center; }

/* ===================== ABOUT ===================== */
.about-grid { display: flex; flex-direction: column; gap: 1.75rem; }
.about-text p { margin-bottom: 0.75rem; font-size: 0.92rem; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.badge { padding: 0.28rem 0.65rem; border-radius: 6px; background: var(--surface); border: 1px solid var(--border-light); font-size: 0.72rem; color: var(--silver-light); font-weight: 600; transition: border-color 0.2s, color 0.2s, box-shadow 0.2s; }
.badge:hover { border-color: var(--accent); color: var(--text); }
.about-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.about-card { 
  background: var(--surface); 
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); 
  padding: 1.1rem; 
  transition: var(--transition); 
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.about-card:hover { 
  border-color: var(--blue-light); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 24px rgba(42, 88, 200, 0.2);
}
.about-card:hover::before { opacity: 1; }
.ac-icon { 
  width: 38px; 
  height: 38px; 
  margin-bottom: 0.5rem;
  padding: 7px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-icon svg { 
  width: 100%; 
  height: 100%;
  color: var(--blue-light);
}
.about-card h3 { font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--white); font-weight: 600; }
.about-card p { font-size: 0.78rem; line-height: 1.5; }

/* ===================== COURSES ===================== */
.courses-grid { display: grid; grid-template-rows: repeat(2, 1fr); gap: 2rem; justify-items: center; }
.course-card { background: transparent; width: 280px; height: 340px; perspective: 1000px; cursor: pointer; position: relative; z-index: 1; -webkit-tap-highlight-color: transparent; outline: none; }
.course-card:hover { z-index: 10; }
.flip-card-inner { box-sizing: border-box; position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s; transform-style: preserve-3d; }
@media (hover: hover) { .course-card:hover .flip-card-inner { transform: rotateY(180deg); } }
.course-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { box-shadow: 0 8px 14px 0 rgba(0,0,0,0.3); position: absolute; display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 1px solid var(--border-light); border-radius: 1rem; overflow: hidden; }
.flip-card-front { background: linear-gradient(135deg, var(--surface) 0%, var(--bg3) 100%); color: var(--silver-light); padding: 1rem; align-items: center; }
.flip-card-back { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: var(--white); transform: rotateY(180deg); padding: 1rem; justify-content: space-between; }
.flip-card-front .img-container { display: flex; justify-content: center; align-items: center; margin-bottom: 0.7rem; width: 100%; }
.flip-card-front img { width: 120px; height: auto; max-width: 100%; }
.cc-number { font-family: 'Oswald', sans-serif; position: absolute; top: 0.9rem; left: 0.7rem ;font-size: 2rem; font-weight: 700; color: var(--blue-light); opacity: 0.4; line-height: 1; margin-bottom: 0.5rem; }
.cc-title { font-size: 1rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.5rem; color: var(--white); }
.cc-hover-hint { font-size: 0.85rem; color: var(--blue-light); font-weight: 600; }
.cc-back-body { display: flex; flex-direction: column; gap: 0.5rem; text-align: center; flex: 1; justify-content: space-between; }
.cc-back-body .cc-title { color: var(--white); font-size: 1.1rem; }
.cc-back-body .cc-desc { font-size: 0.85rem; margin: 0; line-height: 1.4; color: var(--silver); }
.cc-topics { list-style: none; margin: 0.3rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; text-align: left; }
.cc-topics li { font-size: 0.75rem; padding-left: 0.8rem; position: relative; color: var(--silver); }
.cc-topics li::before { content: "• "; color: var(--blue-light); position: absolute; left: 0; }
.btn-course { display: inline-block; padding: 0.5rem 1rem; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border-light); font-size: 0.8rem; font-weight: 600; color: var(--blue-light); transition: var(--transition); text-align: center; font-family: 'Oswald', sans-serif; letter-spacing: 0.04em; margin-top: 0.5rem; }
.btn-course:hover { background: var(--blue-mid); border-color: var(--blue-mid); transform: scale(1.05); }


/* ===================== WHY US ===================== */
.why-grid { display: flex; flex-direction: column; gap: 1.75rem; }
.why-text .section-tag { text-align: left; display: inline-block; }
.why-text h2 { margin: 0.5rem 0; }
.why-text p { font-size: 0.88rem; margin-bottom: 0.75rem; }
.why-list { display: flex; flex-direction: column; gap: 1.1rem; }
.why-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.wi-num { font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--blue-light); opacity: 0.7; flex-shrink: 0; line-height: 1; min-width: 32px; }
.wi-content h4 { font-size: 0.92rem; color: var(--white); margin-bottom: 0.2rem; }
.wi-content p { font-size: 0.82rem; }

/* ===================== FORM ===================== */
.form-wrap { width: 100%; max-width: 540px; margin: 0 auto; }
.reserva-form { position: relative; background: linear-gradient(160deg, var(--surface) 0%, var(--bg2) 100%); border: 1px solid rgba(42, 68, 144, 0.3); border-radius: 16px; padding: 1.25rem 0.85rem; overflow: hidden; transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.reserva-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--blue-mid), var(--blue-light), var(--navy)); border-radius: 16px 16px 0 0; }
.reserva-form:hover { border-color: rgba(42, 88, 200, 0.5); box-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 0 30px rgba(42,88,200,0.08); }
.form-row { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0.4rem; }
.form-group { display: flex; flex-direction: column; gap: 0; flex: 1; }
.form-group.full { margin-bottom: 1.25rem; }
.form-group label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.3rem; display: block; }
.wave-group { position: relative; flex: 1; }
.wave-group .input { font-family: 'Source Sans 3', sans-serif; font-size: 0.92rem; font-weight: 300; padding: 9px 6px 5px 4px; display: block; width: 100%; border: none; border-bottom: 1.5px solid rgba(42, 68, 144, 0.4); background: transparent; color: var(--text); border-radius: 0; transition: border-color 0.3s ease; }
.wave-group .input:focus { outline: none; border-bottom-color: var(--blue-light); }
.wave-group .input::placeholder { color: transparent; }
.wave-group .label { color: var(--text-muted); font-size: 0.92rem; font-weight: 400; position: absolute; pointer-events: none; left: 4px; top: 9px; display: flex; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.wave-group .label-char { transition: 0.3s ease all; transition-delay: calc(var(--index) * 0.04s); display: inline-block; }
.wave-group .input:focus ~ .label .label-char, .wave-group .input:not(:placeholder-shown) ~ .label .label-char { transform: translateY(-14px); font-size: 0.62rem; color: var(--blue-light); letter-spacing: 0.08em; text-transform: uppercase; }
.wave-group .bar { position: relative; display: block; width: 100%; }
.wave-group .bar:before, .wave-group .bar:after { content: ''; height: 2px; width: 0; bottom: 0; position: absolute; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transition: 0.35s ease all; }
.wave-group .bar:before { left: 50%; }
.wave-group .bar:after { right: 50%; }
.wave-group .input:focus ~ .bar:before, .wave-group .input:focus ~ .bar:after { width: 50%; }
.wave-group select.input { cursor: pointer; appearance: none; -webkit-appearance: none; color: var(--text); }
.wave-group select.input option { background: var(--bg2); color: var(--text); }
.wave-group .select-arrow { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-muted); transition: transform 0.3s ease, color 0.3s ease; }
.wave-group .input:focus ~ .select-arrow { transform: translateY(-50%) rotate(180deg); color: var(--blue-light); }
.wave-group select.input ~ .bar { margin-top: 0; }
.wave-group textarea.input { resize: vertical; min-height: 75px; line-height: 1.5; }
.wave-group textarea.input ~ .label { top: 11px; }
.btn-submit { width: 100%; padding: 0.8rem 1.25rem; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); border: 1px solid rgba(42,88,200,0.3); cursor: pointer; color: white; font-family: 'Oswald', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; display: flex; align-items: center; justify-content: center; gap: 0.55rem; position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 4px 12px rgba(42,88,200,0.28), inset 0 1px 0 rgba(255,255,255,0.1); }
.btn-submit:hover { background: linear-gradient(135deg, var(--blue-mid), var(--blue-light)); transform: translateY(-2px); box-shadow: 0 6px 10px rgba(42,88,200,0.35), inset 0 1px 0 rgba(255,255,255,0.15); border-color: rgba(42,88,200,0.6); }
.btn-submit:hover .svg-wrapper { animation: fly-1 0.5s ease-in-out infinite alternate; }
.btn-submit:hover svg { transform: translateX(2px) rotate(45deg) scale(1.15); }
.btn-submit:active { transform: scale(0.97); box-shadow: 0 2px 6px rgba(42,88,200,0.22); }
.btn-submit .svg-wrapper-1, .btn-submit .svg-wrapper { display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease-in-out; }
.btn-submit svg { display: block; transform-origin: center center; transition: transform 0.3s ease-in-out; width: 18px; height: 18px; }
.btn-submit .btn-text { display: block; transition: all 0.3s ease-in-out; }
.btn-submit:hover .btn-text { transform: translateX(3px); }
@keyframes fly-1 { from { transform: translateY(0); } to { transform: translateY(-2px); } }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 2rem 1rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.25rem; }
.footer-logo img { height: 44px; width: auto; display: block; mix-blend-mode: screen; filter: brightness(1.1) drop-shadow(0 0 4px rgba(74,128,240,0.4)); }
.footer-logo-text .flt-line1 { font-family:'Oswald',sans-serif; font-size:0.58rem; color:var(--silver); letter-spacing:0.1em; text-transform:uppercase; }
.footer-logo-text .flt-line2 { font-family:'Oswald',sans-serif; font-size: 0.92rem; color:var(--white); font-weight:700; }
.footer-logo-text .flt-line3 { font-size: 0.58rem; color: var(--text-muted); }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links h4, .footer-contact h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.35rem; }
.footer-links a, .footer-contact a { font-size: 0.82rem; color: var(--text-dim); transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.chrome-bar { height: 3px; width: 100%; background: linear-gradient(90deg, transparent 0%, var(--navy) 10%, var(--blue-mid) 35%, var(--silver-light) 50%, var(--blue-mid) 65%, var(--navy) 90%, transparent 100%); }

/* ===================== EXPLORER HERO ===================== */
.explorer-wrap { position: relative; width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.explorer-glow-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 360px; height: 180px; background: radial-gradient(ellipse, rgba(42,88,200,0.2) 0%, transparent 70%); filter: blur(25px); pointer-events: none; z-index: 0; }
.explorer-img { width: 100%; position: relative; z-index: 1; filter: drop-shadow(0 12px 36px rgba(0,8,32,0.6)); animation: explorerFloat 4s ease-in-out infinite; }
@keyframes explorerFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }
.explorer-tag { position: relative; z-index: 2; margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.8rem; border-radius: 50px; background: rgba(10,18,40,0.85); border: 1px solid var(--border-light); backdrop-filter: blur(8px); font-size: 0.68rem; color: var(--silver); letter-spacing: 0.05em; }
.et-dot { width: 6px; height: 6px; border-radius: 50%; background: #4a80f0; box-shadow: 0 0 5px #4a80f0; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.blink { animation: blink 1.5s ease-in-out infinite; }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-d1 { animation-delay:0.1s; }
.fade-up-d2 { animation-delay:0.2s; }
.fade-up-d3 { animation-delay:0.3s; }
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ===================== COURSE PAGE ===================== */
.course-hero { padding: calc(var(--nav-height) + 20px) 1rem 50px; position: relative; overflow: hidden; }
.course-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--bg) 40%, var(--bg3) 100%); }
.course-hero-bg::after { content:''; position:absolute; inset:0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.15; }
.course-hero-inner { position:relative; z-index:2; max-width:900px; margin:0 auto; }
.back-link { display:inline-flex; align-items:center; gap:0.35rem; font-size: 0.8rem; color:var(--text-dim); margin-bottom: 1rem; transition:color var(--transition); }
.back-link:hover { color: var(--accent); }
.course-level-tag { display:inline-block; padding:0.22rem 0.85rem; border-radius:50px; font-size:0.68rem; text-transform:uppercase; letter-spacing:0.1em; font-weight:700; margin-bottom:0.75rem; }
.tag-blue   { background:rgba(74,128,240,0.15); color:#7aa8ff; border:1px solid rgba(74,128,240,0.35); }
.tag-silver { background:rgba(184,200,224,0.12); color:#b8c8e0; border:1px solid rgba(184,200,224,0.3); }
.tag-teal   { background:rgba(42,88,200,0.15); color:#80a8ff; border:1px solid rgba(42,88,200,0.35); }
.course-hero-title { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-bottom:0.75rem; }
.course-hero-desc { font-size: 0.92rem; color:var(--text-dim); max-width:100%; line-height:1.65; }
.course-meta { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--border); }
.meta-item { display:flex; flex-direction:column; gap:0.12rem; }
.meta-label { font-size:0.62rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--text-muted); }
.meta-val { font-size: 0.88rem; color:var(--text); font-weight:600; }
.course-content { max-width:900px; margin:0 auto; }
.module-grid { display: flex; flex-direction: column; gap: 0.9rem; }
.module-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding: 1.1rem; transition:var(--transition); }
.module-card:hover { border-color:var(--blue-light); box-shadow:0 4px 18px var(--blue-glow); }
.module-num { font-family:'Oswald',sans-serif; font-size:0.68rem; font-weight:700; color:var(--accent); letter-spacing:0.1em; margin-bottom:0.35rem; }
.module-card h4 { font-size: 0.92rem; color:var(--white); margin-bottom: 0.6rem; }
.module-topics { list-style:none; display:flex; flex-direction:column; gap:0.22rem; }
.module-topics li { font-size: 0.8rem; color:var(--text-dim); padding-left: 0.85rem; position:relative; }
.module-topics li::before { content:'—'; position:absolute; left:0; color:var(--text-muted); }
.tools-grid { display:flex; flex-wrap:wrap; gap:0.55rem; }
.tool-tag { padding:0.3rem 0.8rem; border-radius:6px; background:var(--surface); border:1px solid var(--border-light); font-size: 0.78rem; color:var(--silver-light); font-weight:600; }
.course-form-wrap { max-width:100%; width: 100%; }
.course-form-wrap .reserva-form { max-width: 540px; margin: 0 auto; width: 100%; }

@media (min-width: 768px) {
  .course-form-wrap .reserva-form { max-width: 560px; }
}

@media (min-width: 1024px) {
  .course-form-wrap .reserva-form { max-width: 680px; }
}

@media (min-width: 1200px) {
  .course-form-wrap .reserva-form { max-width: 700px; }
}

/* ===================== INSTRUCTOR ===================== */
.instructor-layout { display: flex; flex-direction: column; gap: 1.75rem; }
.instructor-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; }
.instructor-avatar { width: 160px; height: 160px; margin: 0 auto 0.6rem; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 2px var(--blue-mid), 0 0 28px var(--blue-glow); }
.instructor-avatar svg { width: 100%; height: 100%; }
.instructor-name-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.12rem; }
.instructor-name-card p { font-size: 0.78rem; color: var(--accent); }
.inst-title { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--white); }
.instructor-info p { margin-bottom: 0.75rem; font-size: 0.88rem; }
.inst-specs { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1rem; }
.inst-spec { display: flex; gap: 0.7rem; align-items: baseline; padding-bottom: 0.55rem; border-bottom: 1px solid var(--border); }
.spec-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); min-width: 95px; }
.spec-val { font-size: 0.85rem; color: var(--text); }

/* ===================== SECOND INSTRUCTOR ===================== */
.instructors-grid { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.instructor-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; transition: var(--transition); }
.instructor-block:hover { border-color: var(--border-light); box-shadow: 0 4px 20px var(--blue-glow); }
.ib-top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.ib-avatar { width: 65px; height: 65px; flex-shrink: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--border-light), 0 0 10px var(--blue-glow); }
.ib-avatar svg { width: 100%; height: 100%; }
.ib-name h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.12rem; }
.ib-name p { font-size: 0.75rem; color: var(--accent); }
.ib-tag { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 50px; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 0.55rem; background: rgba(74,128,240,0.12); color: var(--accent); border: 1px solid var(--border-light); }
.instructor-block p { font-size: 0.85rem; margin-bottom: 0.55rem; }
.ib-specs { display: flex; flex-direction: column; gap: 0.38rem; margin-top: 0.75rem; }
.ib-spec { display: flex; gap: 0.7rem; font-size: 0.8rem; padding-bottom: 0.38rem; border-bottom: 1px solid var(--border); }
.ib-spec:last-child { border-bottom: none; }
.ib-spec .sl { color: var(--text-muted); min-width: 85px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ib-spec .sv { color: var(--text); }
.ib-placeholder { border-style: dashed; opacity: 0.7; }
.ib-placeholder .ib-name h4 { color: var(--silver); }
.placeholder-note { background: rgba(74,128,240,0.08); border: 1px dashed var(--border-light); border-radius: 8px; padding: 0.7rem 0.85rem; font-size: 0.75rem; color: var(--text-dim); margin-top: 0.75rem; }

/* ===================== RESPONSIVE — 480px to 760px ===================== */
@media (min-width: 480px) and (max-width: 760px) {
  .courses-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
  }
  .course-card { 
    width: 100%; 
    height: 300px; 
    min-width: 0;
  }
  .flip-card-front, .flip-card-back { 
    padding: 0.6rem; 
    justify-content: space-between;
  }
  .flip-card-front .img-container {
    margin-bottom: 0.3rem;
  }
  .flip-card-front img { 
    width: 55px; 
  }
  .cc-number { 
    font-size: 1.4rem; 
    top: 0.3rem; 
    left: 0.4rem;
  }
  .cc-title { 
    font-size: 0.75rem; 
    margin-bottom: 0.2rem;
  }
  .cc-hover-hint { 
    font-size: 0.6rem; 
  }
  .cc-back-body { 
    gap: 0.2rem; 
  }
  .cc-back-body .cc-title { 
    font-size: 0.85rem; 
    margin-bottom: 0.1rem;
  }
  .cc-back-body .cc-desc { 
    font-size: 0.62rem; 
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cc-topics { 
    margin: 0.1rem 0; 
    padding: 0.15rem 0; 
  }
  .cc-topics li { 
    font-size: 0.70rem; 
    padding-left: 0.5rem; 
  }
  .cc-topics li::before {
    font-size: 0.5rem;
    top: 0.15rem;
  }
  .btn-course { 
    padding: 0.3rem 0.5rem; 
    font-size: 0.6rem; 
    margin-top: 0.15rem;
    width: 100%;
  }
}

/* ===================== RESPONSIVE — < 480px ===================== */
@media (max-width: 479px) {
  .courses-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 0.8rem; 
    align-items: center; 
    width: 100%;
    padding: 0 0.5rem;
  }
  .course-card { 
    width: 100%; 
    max-width: 100%; 
    height: 280px; 
    min-width: 0;
  }
  .flip-card-front, .flip-card-back { 
    padding: 0.5rem; 
    justify-content: space-between;
  }
  .flip-card-front .img-container {
    margin-bottom: 0.2rem;
  }
  .flip-card-front img { 
    width: 180px; 
  }
  .cc-number { 
    font-size: 1.2rem; 
    top: 0.3rem; 
    left: 0.3rem;
  }
  .cc-title { 
    font-size: 0.7rem; 
    line-height: 1.15;
    margin-bottom: 0.15rem;
  }
  .cc-hover-hint { 
    font-size: 0.55rem; 
  }
  .cc-back-body { 
    gap: 0.15rem; 
  }
  .cc-back-body .cc-title { 
    font-size: 0.8rem; 
  }
  .cc-back-body .cc-desc { 
    font-size: 0.58rem; 
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cc-topics { 
    margin: 0.1rem 0; 
    padding: 0.1rem 0; 
  }
  .cc-topics li { 
    font-size: 0.67rem; 
    padding-left: 0.4rem; 
  }
  .cc-topics li::before {
    font-size: 0.45rem;
    top: 0.1rem;
  }
  .btn-course { 
    padding: 0.25rem 0.4rem; 
    font-size: 0.55rem; 
    margin-top: 0.1rem;
    width: 100%;
  }
}

/* ===================== RESPONSIVE — 480px+ ===================== */
@media (min-width: 480px) {
  :root { --nav-height: 68px; }
  .container { padding: 0 1.25rem; }
  .separador {display: block;}
  .brand-name { font-size: 0.92rem; }
  .brand-tagline { max-width: 150px; font-size: 0.55rem; }
  .brand-logo { height: 42px; }
  .hero { padding: calc(var(--nav-height) + 18px) 1.25rem 55px; }
  .hero-title { font-size: clamp(2rem, 7vw, 3.2rem); }
  .hero-sub { font-size: 0.98rem; max-width: 460px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; max-width: 380px; }
  .btn-primary, .btn-ghost { padding: 0.75rem 1.5rem; font-size: 0.92rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
  .stat-n { font-size: 1.85rem; }
  .stat-l { font-size: 0.7rem; }
  .stat-div { display: block; width: 1px; height: 34px; background: var(--border-light); }
  .section { padding: 2.75rem 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); }
  .section-desc { max-width: 500px; font-size: 0.9rem; }
  .about-text p { font-size: 0.96rem; margin-bottom: 0.82rem; }
  .about-badges { gap: 0.45rem; }
  .badge { font-size: 0.75rem; padding: 0.28rem 0.72rem; }
.about-cards { gap: 0.82rem; }
  .ac-icon { width: 40px; height: 40px; padding: 8px; margin-bottom: 0.55rem; }
  .about-card h3 { font-size: 0.95rem; }
  .about-card p { font-size: 0.82rem; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .course-card { width: 100%; height: 340px; z-index: 1; max-width: none; }
  .course-card.reveal.visible:last-child { 
  grid-column: 1 / span 2; /* Ocupa las dos columnas */
  justify-self: center;    /* Se centra horizontalmente */
  width: 50%;
}
.course-card:hover { z-index: 10; }
  .flip-card-front img { width: 210px; }
  .flip-card-front { padding: 1rem; }
  .flip-card-back { padding: 1rem; }
  .cc-number { font-size: 1.8rem; }
  .cc-title { font-size: 0.95rem; }
  .why-grid { gap: 2.25rem; }
  .why-item { gap: 1.1rem; }
  .wi-num { font-size: 1.5rem; min-width: 36px; }
  .wi-content h4 { font-size: 0.95rem; }
  .wi-content p { font-size: 0.85rem; }
  .form-wrap { max-width: 560px; margin: 0 auto; }
  .reserva-form { padding: 1.5rem 1.1rem; border-radius: 18px; }
  .form-row { gap: 0.9rem; }
  .wave-group .input { padding: 10px 7px 6px 4px; font-size: 0.92rem; }
  .wave-group .label { left: 4px; top: 10px; }
  .wave-group .input:focus ~ .label .label-char { transform: translateY(-15px); }
  .btn-submit { font-size: 0.9rem; }
  .form-group label { font-size: 0.72rem; }
  .form-group.full { margin-bottom: 1.25rem; }
  .wave-group .input { padding: 10px 7px 6px 4px; font-size: 0.92rem; }
  .wave-group .label { left: 4px; top: 10px; }
  .wave-group .input:focus ~ .label .label-char { transform: translateY(-15px); }
  .btn-submit { font-size: 0.9rem; }
  .footer { padding: 2.25rem 1.25rem; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; gap: 1.75rem; }
  .footer-brand { flex: 1; min-width: 190px; }
  .footer-logo img { height: 48px; }
  .footer-logo-text .flt-line1 { font-size: 0.62rem; }
  .footer-logo-text .flt-line2 { font-size: 0.98rem; }
  .footer-logo-text .flt-line3 { font-size: 0.6rem; }
  .footer-brand p { font-size: 0.82rem; }
  .footer-links a, .footer-contact a { font-size: 0.85rem; }
  .footer-links h4, .footer-contact h4 { font-size: 0.75rem; }
  .instructor-avatar { width: 180px; height: 180px; }
  .instructor-avatar-wrap { flex-direction: row; text-align: left; }
  .inst-specs { flex-direction: row; flex-wrap: wrap; }
  .spec-label { min-width: 105px; }
  .instructors-grid { flex-direction: row; flex-wrap: wrap; }
  .instructor-block { flex: 1; min-width: 260px; }
  .course-hero { padding: calc(var(--nav-height) + 20px) 1.25rem 55px; }
  .course-hero-title { font-size: clamp(1.75rem, 4vw, 2.8rem); }
  .course-meta { gap: 1.35rem; }
  .meta-label { font-size: 0.65rem; }
  .meta-val { font-size: 0.92rem; }
  .module-grid { gap: 1rem; }
  .module-card { padding: 1.25rem; }
  .module-card h4 { font-size: 0.95rem; }
  .tools-grid { gap: 0.6rem; }
  .tool-tag { font-size: 0.8rem; }
}

/* ===================== RESPONSIVE — 768px+ ===================== */
@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
  .navbar { padding: 0 1.75rem; }
  :root { --nav-height: 72px; }
  .nav-brand { gap: 0.9rem; }
  .brand-logo { height: 50px; }
  .separador {display: none;}
  .brand-name { font-size: 1.05rem; }
  .brand-tagline { max-width: 190px; font-size: 0.62rem; }
  .nav-sep { display: block; flex: 1; height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.08), transparent); max-width: 35px; }
  .nav-links {
    display: flex; position: static;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    flex-direction: row; padding: 0; gap: 0.6rem;
    max-height: none; overflow: visible; border: none;
  }
  .nav-link { padding: 0.38rem 0.8rem; font-size: 0.88rem; border-radius: 6px; }
  .nav-link:hover { background: rgba(74,128,240,0.1); }
  .nav-cta { margin-top: 0; margin-left: 0.35rem; padding: 0.38rem 0.95rem !important; }
  .nav-toggle { display: none; }
  .hero { padding: calc(var(--nav-height) + 24px) 1.5rem 60px; }
  .hero-content { flex-direction: row; justify-content: space-between; text-align: left; gap: 2.5rem; }
  .hero-visual { display: flex; justify-content: center; align-items: center; }
  .hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  .hero-sub { max-width: 480px; font-size: 1.02rem; margin-bottom: 1.6rem; }
  .hero-ctas { margin: 0 0 2.25rem; max-width: none; }
  .btn-primary { padding: 0.78rem 1.65rem; }
  .btn-ghost { padding: 0.78rem 1.65rem; }
  .hero-stats { justify-content: flex-start; }
  .hero-glow { width: 450px; height: 350px; filter: blur(45px); }
  .hero-glow2 { width: 220px; height: 220px; filter: blur(38px); }
  .section { padding: 3.25rem 1.5rem; }
  .section-header { margin-bottom: 2.75rem; }
  .section-tag { font-size: 0.72rem; padding: 0.2rem 0.8rem; }
  .section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
  .section-desc { max-width: 540px; font-size: 0.92rem; }
  .about-grid { flex-direction: row; gap: 2.75rem; align-items: flex-start; }
  .about-text { flex: 1; }
  .about-text p { font-size: 1rem; }
  .about-badges { margin-top: 1.25rem; }
.about-cards { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0.82rem; }
  .about-card { padding: 1.25rem; }
  .ac-icon { width: 44px; height: 44px; padding: 9px; margin-bottom: 0.6rem; }
  .about-card h3 { font-size: 1rem; }
  .about-card p { font-size: 0.84rem; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .course-card { width: 100%; max-width: 390px; height: 350px; z-index: 1; }
.course-card:hover { z-index: 10; }
  .flip-card-front img { width: 220px; }
  .flip-card-front { padding: 1.2rem; }
  .cc-number { font-size: 2rem; }
  .cc-title { font-size: 1rem; }
  .cc-hover-hint { font-size: 0.85rem; }
  .flip-card-back { padding: 1.2rem; }
  .cc-back-body .cc-title { font-size: 1.1rem; }
  .cc-back-body .cc-desc { font-size: 0.85rem; }
  .cc-topics li { font-size: 0.75rem; }
  .btn-course { padding: 0.55rem 1rem; font-size: 0.8rem; }
  .why-grid { flex-direction: row; gap: 3.5rem; align-items: center; }
  .why-text h2 { margin: 0.65rem 0; }
  .why-text p { font-size: 0.92rem; margin-bottom: 0.85rem; }
  .why-list { gap: 1.25rem; }
  .why-item { gap: 1.25rem; }
  .wi-num { font-size: 1.6rem; min-width: 38px; }
  .wi-content h4 { font-size: 0.98rem; }
  .wi-content p { font-size: 0.88rem; }
  .form-wrap { max-width: 680px; }
  .reserva-form { padding: 1.75rem 1.35rem; border-radius: 20px; }
  .form-row { flex-direction: row; gap: 1.5rem; }
  .form-group.full { margin-bottom: 1.5rem; }
  .wave-group .input { padding: 11px 9px 7px 5px; }
  .wave-group .label { left: 5px; top: 11px; }
  .wave-group .input:focus ~ .label .label-char { transform: translateY(-16px); font-size: 0.65rem; }
  .btn-submit { font-size: 0.92rem; padding: 0.85rem 1.75rem; }
  .form-group label { font-size: 0.75rem; }
  .footer { padding: 2.75rem 1.5rem; }
  .footer-inner { flex-wrap: nowrap; gap: 2.25rem; }
  .footer-brand { flex: 2; }
  .footer-logo img { height: 52px; }
  .footer-logo-text .flt-line1 { font-size: 0.65rem; }
  .footer-logo-text .flt-line2 { font-size: 1rem; }
  .footer-logo-text .flt-line3 { font-size: 0.62rem; }
  .footer-links, .footer-contact { flex-shrink: 0; }
  .footer-links h4, .footer-contact h4 { margin-bottom: 0.4rem; }
  .instructor-layout { flex-direction: row; gap: 2.75rem; align-items: center; }
  .instructor-avatar-wrap { flex-direction: column; align-items: flex-start; text-align: center; width: 220px; }
  .instructor-avatar { width: 200px; height: 200px; }
  .inst-specs { flex-direction: column; }
  .spec-label { min-width: 115px; }
  .instructors-grid { flex-direction: row; gap: 1.35rem; }
  .instructor-block { flex: 1; min-width: 280px; }
  .course-hero { padding: calc(var(--nav-height) + 24px) 1.5rem 60px; }
  .course-hero-inner { max-width: 840px; }
  .course-level-tag { font-size: 0.72rem; padding: 0.25rem 0.9rem; margin-bottom: 0.82rem; }
  .course-hero-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0.82rem; }
  .course-hero-desc { font-size: 0.98rem; }
  .course-meta { gap: 1.65rem; padding-top: 1.65rem; }
  .meta-label { font-size: 0.68rem; }
  .meta-val { font-size: 0.98rem; }
  .course-content { max-width: 840px; }
  .module-grid { grid-template-columns: 1fr 1fr; gap: 1.05rem; }
  .module-card { padding: 1.35rem; }
  .module-num { font-size: 0.7rem; margin-bottom: 0.4rem; }
  .module-card h4 { font-size: 0.98rem; margin-bottom: 0.68rem; }
  .module-topics li { font-size: 0.82rem; }
  .tools-grid { gap: 0.65rem; }
  .tool-tag { font-size: 0.82rem; }
  .course-form-wrap {display:flex; justify-content:center }
}

/* ===================== RESPONSIVE — 1024px+ ===================== */
@media (min-width: 1024px) {
  .separador {display: none;}
  .nav-brand { gap: 1.1rem; }
  .brand-logo { height: 58px; }
  .brand-name { max-width: none; font-size: 1.1rem; white-space: normal; overflow: visible; }
  .brand-tagline { max-width: none; font-size: 0.65rem; white-space: normal; overflow: visible; }
  .hero { padding: calc(var(--nav-height) + 28px) 2rem 70px; }
  .hero-content { gap: 3.5rem; }
  .hero-visual { display: flex; }
  .hero-title { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 1rem; }
  .hero-sub { max-width: 500px; font-size: 1.05rem; margin-bottom: 1.85rem; }
  .hero-ctas { margin-bottom: 2.25rem; }
  .hero-stats { gap: 1.85rem; }
  .stat-n { font-size: 2.1rem; }
  .stat-l { font-size: 0.75rem; }
  .stat-div { height: 40px; }
  .hero-glow { width: 550px; height: 450px; filter: blur(48px); }
  .hero-glow2 { width: 280px; height: 280px; filter: blur(38px); }
  .section { padding: 3.75rem 2rem; }
  .section-header { margin-bottom: 3.25rem; }
  .section-title { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
  .section-desc { max-width: 560px; font-size: 0.98rem; }
  .about-grid { gap: 3.75rem; }
  .about-text p { font-size: 1.02rem; }
  .about-badges { gap: 0.5rem; }
  .badge { font-size: 0.8rem; padding: 0.32rem 0.8rem; }
.about-cards { gap: 0.9rem; }
  .about-card { padding: 1.35rem; }
  .ac-icon { width: 48px; height: 48px; padding: 10px; margin-bottom: 0.7rem; }
  .about-card h3 { font-size: 1.02rem; }
  .about-card p { font-size: 0.86rem; }
  .courses-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; grid-template-rows: 1fr;}
  .course-card { height: 380px; position: relative; z-index: 1; }
  .course-card:hover { z-index: 10; }
  .flip-card-front img { width: 250px; }
  .flip-card-front { padding: 1.5rem; height: 100%;}
  .cc-number { font-size: 2.4rem; }
  .cc-title { font-size: 1.08rem; }
  .flip-card-back { padding: 1.1rem; }
  .cc-back-body { gap: 0.5rem; }
  .cc-desc { font-size: 0.98rem; }
  .cc-topics li { font-size: 0.82rem; }
  .btn-course { padding: 0.65rem 1.15rem; font-size: 0.85rem; }
  .course-card.reveal.visible:last-child {
    /* Reseteamos a los valores por defecto del grid */
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
  .why-grid { gap: 4.5rem; }
  .why-text .section-tag { font-size: 0.75rem; }
  .why-text h2 { margin: 0.75rem 0; }
  .why-text p { font-size: 0.98rem; margin-bottom: 0.92rem; }
  .why-list { gap: 1.4rem; }
  .why-item { gap: 1.35rem; }
  .wi-num { font-size: 1.7rem; min-width: 40px; }
  .wi-content h4 { font-size: 1rem; margin-bottom: 0.28rem; }
  .wi-content p { font-size: 0.9rem; }
  .form-wrap { max-width: 700px; }
  .reserva-form { padding: 2rem 1.5rem; border-radius: 20px; }
  .form-row { gap: 1.75rem; }
  .form-group.full { margin-bottom: 1.75rem; }
  .form-group label { font-size: 0.78rem; }
  .footer { padding: 3.25rem 2rem; }
  .footer-inner { gap: 2.75rem; }
  .footer-brand { flex: 2; }
  .footer-logo img { height: 54px; }
  .footer-logo-text .flt-line1 { font-size: 0.68rem; }
  .footer-logo-text .flt-line2 { font-size: 1.05rem; }
  .footer-logo-text .flt-line3 { font-size: 0.65rem; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-links h4, .footer-contact h4 { font-size: 0.8rem; margin-bottom: 0.45rem; }
  .instructor-layout { gap: 3.75rem; }
  .instructor-avatar-wrap { width: 260px; }
  .instructor-avatar { width: 220px; height: 220px; }
  .instructors-grid { gap: 1.75rem; }
  .instructor-block { padding: 1.75rem; }
  .course-hero { padding: calc(var(--nav-height) + 28px) 2rem 65px; }
  .course-hero-inner { max-width: 880px; }
  .course-hero-title { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 0.92rem; }
  .course-hero-desc { font-size: 1.02rem; max-width: 660px; }
  .course-meta { gap: 1.85rem; padding-top: 1.85rem; }
  .meta-label { font-size: 0.7rem; }
  .meta-val { font-size: 1rem; }
  .course-content { max-width: 880px; }
  .module-grid { gap: 1.1rem; }
  .module-card { padding: 1.4rem; }
  .module-card:hover { transform: translateY(-2px); }
  .module-card h4 { font-size: 1rem; margin-bottom: 0.75rem; }
  .module-topics li { font-size: 0.85rem; padding-left: 0.95rem; }
  .tools-grid { gap: 0.7rem; }
  .tool-tag { font-size: 0.85rem; }
}

/* ===================== RESPONSIVE — 1200px+ ===================== */
@media (min-width: 1200px) {
  .container { padding: 0 1.5rem; }
  .navbar { padding: 0 2.5rem; }
  :root { --nav-height: 76px; }
  .brand-logo { height: 62px; }
  .hero { padding: calc(var(--nav-height) + 32px) 2rem 80px; }
  .hero-content { gap: 4.5rem; }
  .hero-stats { gap: 2.25rem; }
  .section { padding: 4.25rem 2rem; }
  .about-grid { gap: 4.5rem; }
  .about-cards { gap: 1.1rem; }
  .about-card { padding: 1.45rem; }
  .ac-icon { width: 52px; height: 52px; padding: 11px; margin-bottom: 0.8rem; }
  .about-card h3 { font-size: 1.05rem; }
  .about-card p { font-size: 0.88rem; }
  .courses-grid { gap: 1.6rem; }
  .course-card { height: 420px; position: relative; z-index: 1; }
  .course-card:hover { z-index: 10; }
  .flip-card-front img { width: 270px; height: 100%;}
  .why-grid { gap: 5.5rem; }
  .form-wrap { max-width: 880px; }
  .reserva-form { padding: 2.25rem; }
  .footer-inner { gap: 3.5rem; }
}

/* ===================== INSTRUCTOR CARD ===================== */
.instructor-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.instructor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
.instructor-card.with-logo { gap: 1.25rem; }
.inst-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74,128,240,0.2), 0 4px 16px rgba(42,88,200,0.35);
}
.inst-logo {
  height: 76px;
  align-self: center;
}
.inst-body h4 {
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 0.2rem;
}
.inst-body .inst-role {
  font-size: 0.8rem; color: var(--accent);
  margin-bottom: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600;
}
.inst-body p { font-size: 0.88rem; margin-bottom: 0.35rem; }
.inst-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem;
}
.inst-tag {
  padding: 0.22rem 0.65rem; border-radius: 6px;
  background: var(--bg2); border: 1px solid var(--border);
  font-size: 0.75rem; color: var(--silver);
}
.inst-watermark {
  position: absolute;
  bottom: 0.15rem;
  right: 0.2rem;
  width: 48px;
  height: auto;
  opacity: 0.1;
  filter: grayscale(100%);
}
@media (max-width: 560px) {
  .instructor-card { flex-direction: column; gap: 1rem; }
  .inst-avatar, .inst-logo {height: 60px; font-size: 1.2rem; }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Firefox */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }