/* UBES ACADEMY — styles.css */

/* ── Variables ── */
:root {
  --primary:       #1a3a8f;
  --primary-dark:  #162097;
  --primary-light: #2b3bf7;
  --accent:        #11b88d;
  --accent-light:  #13d4a3;
  --green:   #11b88d;
  --blue-v:  #2b3bf7;
  --light-bg: #eef1ff;
  --white:    #FFFFFF;
  --dark:     #0d1554;
  --text:     #162240;
  --muted:    #5a6a99;
  --border:   #c8d0f0;
  --font-main: 'Nunito', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 105px;
  box-shadow: 0 2px 16px rgba(22,32,151,0.1);
  border-bottom: 2px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 28px rgba(22,32,151,0.18); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 95px; width: auto; object-fit: contain; }
.logo-footer { height: 80px; margin-bottom: 14px; display: block; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: var(--primary-dark); text-decoration: none; font-size: 0.9rem; font-weight: 700; padding: 7px 14px; border-radius: 20px; transition: all 0.2s; }
.nav-links a:hover { background: var(--light-bg); color: var(--primary-light); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding: 10px 22px !important; border-radius: 20px !important; }
.nav-cta:hover { background: var(--accent-light) !important; transform: scale(1.04); }

/* ── HERO ── */
.hero {
  padding-top: 105px;
  background: linear-gradient(135deg, #0d1554 0%, #162097 50%, #2b3bf7 100%);
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden;
}
.blob { position: absolute; pointer-events: none; border-radius: 50%; }
.b1 { width: 600px; height: 600px; background: #11b88d; opacity: 0.07; top: -200px; left: -200px; }
.b2 { width: 400px; height: 400px; background: #2b3bf7; opacity: 0.12; bottom: -100px; right: -100px; }
.b3 { width: 250px; height: 250px; background: #11b88d; opacity: 0.08; top: 35%; left: 5%; }
.b4 { width: 130px; height: 130px; background: #4fc3f7; opacity: 0.13; border-radius: 24px; transform: rotate(20deg); top: 18%; right: 12%; }
.hero-inner { position: relative; z-index: 2; padding: 0 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(17,184,141,0.18); border: 1.5px solid rgba(17,184,141,0.6); border-radius: 30px; padding: 7px 20px; margin-bottom: 28px; font-size: 0.82rem; font-weight: 800; color: #13d4a3; letter-spacing: 1.5px; text-transform: uppercase; animation: fadeDown 0.7s ease both; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 24px; animation: fadeDown 0.85s ease 0.1s both; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero h1 em { color: #11b88d; font-style: normal; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.85); max-width: 620px; line-height: 1.75; margin: 0 auto 44px; animation: fadeDown 1s ease 0.2s both; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; animation: fadeDown 1.1s ease 0.3s both; }
.btn-p { background: var(--accent); color: #fff; padding: 16px 38px; border-radius: 50px; font-size: 1.05rem; font-weight: 800; text-decoration: none; transition: all 0.25s; box-shadow: 0 8px 28px rgba(17,184,141,0.45); display: inline-block; }
.btn-p:hover { transform: translateY(-3px); background: var(--accent-light); box-shadow: 0 14px 35px rgba(17,184,141,0.55); }
.btn-s { background: rgba(255,255,255,0.15); color: #fff; padding: 16px 38px; border-radius: 50px; font-size: 1.05rem; font-weight: 800; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: all 0.25s; display: inline-block; }
.btn-s:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.hero-stats { display: flex; gap: 56px; margin-top: 72px; flex-wrap: wrap; justify-content: center; animation: fadeUp 1.2s ease 0.4s both; }
.stat { text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 700; color: #11b88d; font-family: var(--font-mono); }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 4px; }

/* Ticker animado en el hero */
.hero-ticker { width: 100%; overflow: hidden; position: relative; z-index: 2; margin-top: 60px; padding: 14px 0; background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.1); }
.ticker-track { display: flex; gap: 20px; animation: ticker 30s linear infinite; white-space: nowrap; width: max-content; }
.hc-pill { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 30px; padding: 7px 18px; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.9); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECCIONES COMUNES ── */
section { padding: 96px 40px; }
.sec-white { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; }
.tc { text-align: center; }
.slabel { display: inline-block; background: var(--light-bg); color: var(--primary-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 14px; border: 1.5px solid var(--border); }
.stitle { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 16px; }
.stitle em { color: var(--primary-dark); font-style: normal; }
.ssub { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 620px; }
.tc .ssub { margin: 0 auto; }

/* ── MISIÓN / VISIÓN / VALORES ── */
.mvv { background: var(--light-bg); }
.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }
.mvv-card { background: #fff; border-radius: 24px; padding: 36px 30px; border: 2px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
.mvv-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.mvv-card:nth-child(1)::after { background: var(--primary-dark); }
.mvv-card:nth-child(2)::after { background: var(--primary-light); }
.mvv-card:nth-child(3)::after { background: var(--accent); }
.mvv-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(22,32,151,0.12); }
.mvv-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px; }
.ic-b { background: #e0e5ff; } .ic-o { background: #e0fff5; } .ic-g { background: #e8eaff; }
.mvv-card h3 { font-size: 1.25rem; font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.mvv-card p { color: var(--muted); line-height: 1.7; font-size: 0.97rem; }
.vals { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 40px; }
.vpill { background: #fff; border-radius: 16px; padding: 20px 18px; border: 2px solid var(--border); text-align: center; transition: all 0.25s; cursor: default; }
.vpill:hover { border-color: var(--accent); background: var(--light-bg); transform: scale(1.04); }
.vpill .em { font-size: 1.8rem; margin-bottom: 8px; }
.vpill p { font-size: 0.9rem; font-weight: 800; color: var(--dark); }

/* ── CURSOS ── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; margin-top: 56px; }
.courses-2col { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.cc { border-radius: 24px; overflow: hidden; border: 2px solid var(--border); transition: all 0.3s; }
.cc:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(22,32,151,0.14); border-color: transparent; }
.cc-large .cbody { padding: 28px 32px 32px; }
.cb { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; }
.cb-bl { background: linear-gradient(135deg, #162097, #2b3bf7); }
.cb-pu { background: linear-gradient(135deg, #2b3bf7, #6274fa); }
.cage { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.35); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; }
.cbody { padding: 24px; background: #fff; }
.ctag { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.t-tech { background: #e0e5ff; color: var(--primary-dark); }
.t-rob  { background: #e8eaff; color: var(--primary-light); }
.cbody h3 { font-size: 1.2rem; font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.cbody p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.cmeta { display: flex; gap: 12px; flex-wrap: wrap; }
.mi { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.course-modules { margin: 20px 0 16px; background: var(--light-bg); border-radius: 16px; padding: 18px 20px; border: 1.5px solid var(--border); }
.cm-title { font-size: 0.78rem; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.cm-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-item { font-size: 0.79rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: #fff; color: var(--text); border: 1.5px solid var(--border); transition: all 0.2s; }
.cm-item:hover { border-color: var(--accent); color: #0a8f6c; }
.course-outcomes { margin: 16px 0 0; }
.co-title { font-size: 0.78rem; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.co-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.co-list li { font-size: 0.88rem; color: var(--text); line-height: 1.5; }
.course-cta { display: inline-block; margin-top: 20px; font-size: 0.9rem; font-weight: 800; color: var(--primary-dark); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: all 0.2s; }
.course-cta:hover { color: var(--accent); }
.transversal-box { margin-top: 56px; background: linear-gradient(135deg, #162097, #2b3bf7); border-radius: 28px; padding: 44px 40px; }
.tb-title { font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 28px; text-align: center; }
.tb-title em { color: #11b88d; font-style: normal; }
.tb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.tb-item { background: rgba(255,255,255,0.1); border-radius: 18px; padding: 24px 20px; border: 1.5px solid rgba(255,255,255,0.15); transition: all 0.25s; }
.tb-item:hover { background: rgba(255,255,255,0.16); transform: translateY(-4px); }
.tb-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.tb-item strong { display: block; font-size: 1rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.tb-item p { font-size: 0.86rem; color: rgba(255,255,255,0.75); line-height: 1.55; }

/* ── MODALIDADES ── */
.curriculum { background: var(--light-bg); }
.modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 56px; }
.modal-card { background: #fff; border-radius: 24px; padding: 32px 26px; border: 2px solid var(--border); transition: all 0.3s; position: relative; display: flex; flex-direction: column; }
.modal-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(22,32,151,0.1); }
.modal-featured { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 20px 60px rgba(22,32,151,0.35); }
.modal-inst { border: 2px dashed var(--border); }
.modal-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 5px 16px; border-radius: 20px; white-space: nowrap; }
.modal-icon { font-size: 2.2rem; margin-bottom: 12px; }
.modal-card h3 { font-size: 1.1rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.modal-featured h3 { color: #fff; }
.modal-price { margin-bottom: 12px; }
.mp-amt { font-size: 2rem; font-weight: 900; color: var(--dark); font-family: var(--font-mono); }
.modal-featured .mp-amt { color: #11b88d; }
.mp-per { font-size: 0.9rem; color: var(--muted); margin-left: 4px; }
.modal-featured .mp-per { color: rgba(255,255,255,0.65); }
.modal-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.modal-featured .modal-desc { color: rgba(255,255,255,0.75); }
.modal-feats { list-style: none; margin-bottom: 20px; flex: 1; }
.modal-feats li { font-size: 0.86rem; color: var(--text); padding: 5px 0; border-bottom: 1px solid var(--border); }
.modal-featured .modal-feats li { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.12); }
.modal-feats li:last-child { border-bottom: none; }
.modal-btn { display: block; width: 100%; padding: 13px; border-radius: 50px; font-size: 0.95rem; font-weight: 800; text-align: center; cursor: pointer; border: 2px solid var(--primary-dark); color: var(--primary-dark); background: transparent; transition: all 0.25s; text-decoration: none; font-family: var(--font-main); margin-top: auto; }
.modal-btn:hover { background: var(--primary-dark); color: #fff; }
.modal-btn-feat { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 25px rgba(17,184,141,0.4); }
.modal-btn-feat:hover { background: var(--accent-light); border-color: var(--accent-light); }
.modal-btn-inst { border-color: var(--accent); color: var(--accent); }
.modal-btn-inst:hover { background: var(--accent); color: #fff; }

/* ── CHARLAS ── */
.charlas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 28px; margin-top: 56px; }
.charla-card { border-radius: 24px; overflow: hidden; border: 2px solid var(--border); background: #fff; display: flex; flex-direction: column; transition: all 0.3s; }
.charla-card:hover { box-shadow: 0 20px 50px rgba(22,32,151,0.1); transform: translateY(-4px); }
.charla-feat { border-color: var(--primary-dark); }
.charla-header { background: linear-gradient(135deg, #0d1554, #162097); padding: 32px 32px 28px; }
.charla-card:not(.charla-feat) .charla-header { background: linear-gradient(135deg, #0a8f6c, #11b88d); }
.charla-tag { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.charla-header h3 { font-size: 1.2rem; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.charla-sub { color: rgba(255,255,255,0.75); font-size: 0.88rem; font-style: italic; }
.charla-body { padding: 28px 32px; flex: 1; }
.charla-body > p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin-bottom: 20px; }
.charla-topics { margin-bottom: 20px; }
.ct-title { font-size: 0.78rem; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.ct-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-grid span { font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: var(--light-bg); color: var(--text); border: 1.5px solid var(--border); }
.charla-includes { margin-bottom: 20px; }
.ci-title { font-size: 0.78rem; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.charla-includes ul { list-style: none; }
.charla-includes ul li { font-size: 0.88rem; color: var(--text); padding: 5px 0; border-bottom: 1px solid var(--border); line-height: 1.5; }
.charla-includes ul li:last-child { border-bottom: none; }
.charla-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.charla-meta span { font-size: 0.82rem; font-weight: 700; color: var(--muted); background: var(--light-bg); padding: 4px 12px; border-radius: 20px; }
.charla-btn { display: block; margin: 0 32px 28px; padding: 14px; border-radius: 50px; font-size: 0.95rem; font-weight: 800; text-align: center; background: var(--primary-dark); color: #fff; text-decoration: none; transition: all 0.25s; border: none; cursor: pointer; font-family: var(--font-main); }
.charla-card:not(.charla-feat) .charla-btn { background: var(--accent); }
.charla-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── CURRÍCULO ── */
.ctabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 32px 0; }
.ctab { padding: 10px 22px; border-radius: 30px; border: 2px solid var(--border); background: #fff; font-size: 0.9rem; font-weight: 800; color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: var(--font-main); }
.ctab.active, .ctab:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.cpanel { display: none; } .cpanel.active { display: block; }
.cpath { background: #fff; border-radius: 24px; padding: 40px; border: 2px solid var(--border); }
.cpath h3 { font-size: 1.35rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.cpath .desc { color: var(--muted); font-size: 0.97rem; margin-bottom: 32px; line-height: 1.65; }
.csteps { display: flex; flex-direction: column; }
.cstep { display: flex; gap: 20px; padding-bottom: 32px; }
.cstep:last-child { padding-bottom: 0; }
.sl { display: flex; flex-direction: column; align-items: center; }
.snum { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-dark); color: #fff; font-size: 0.9rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-mono); }
.sline { width: 2px; background: var(--border); flex: 1; margin-top: 6px; }
.cstep:last-child .sline { display: none; }
.sr { padding-top: 8px; flex: 1; }
.sr h4 { font-size: 1.05rem; font-weight: 900; color: var(--dark); margin-bottom: 6px; }
.sr p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.stag { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: 12px; background: #e0fff5; color: #0a8f6c; margin-top: 8px; border: 1px solid #b3eed9; }

/* ── GALERÍA — CARRUSEL ── */
.gallery { background: #fff; overflow: hidden; }
.gal-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 36px 0 28px; }
.gf { padding: 9px 20px; border-radius: 30px; border: 2px solid var(--border); background: #fff; font-size: 0.88rem; font-weight: 800; color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: var(--font-main); }
.gf:hover { border-color: var(--primary-dark); color: var(--primary-dark); }
.gf.active { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.carousel-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.car-btn { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--border); background: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--primary-dark); transition: all 0.2s; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(22,32,151,0.1); z-index: 2; }
.car-btn:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); transform: scale(1.08); }
.carousel-viewport { flex: 1; overflow: hidden; border-radius: 20px; }
.carousel-track { display: flex; gap: 16px; transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: transform; }
.car-item { flex-shrink: 0; width: calc(33.333% - 11px); transition: opacity 0.3s; }
.car-item.hidden { display: none; }
.car-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: var(--light-bg); cursor: pointer; }
.car-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.car-media:hover img { transform: scale(1.05); }
.car-video video, .car-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(13,21,84,0.85) 0%, transparent 100%); transform: translateY(4px); transition: transform 0.3s; }
.car-overlay-top { top: 0; bottom: auto; background: linear-gradient(to bottom, rgba(13,21,84,0.7) 0%, transparent 100%); }
.car-media:hover .car-overlay { transform: translateY(0); }
.car-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 12px; margin-bottom: 6px; }
.car-caption { color: rgba(255,255,255,0.92); font-size: 0.82rem; line-height: 1.4; font-weight: 600; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--primary-dark); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: all 0.2s; padding-left: 4px; }
.car-media:hover .play-icon { background: var(--accent); color: #fff; transform: translate(-50%, -50%) scale(1.1); }
.car-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--light-bg); color: var(--muted); gap: 10px; border-radius: 18px; }
.car-placeholder .ph-emoji { font-size: 3rem; } .car-placeholder .ph-text { font-size: 0.9rem; font-weight: 700; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.car-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.25s; border: none; padding: 0; }
.car-dot.active { background: var(--primary-dark); width: 24px; border-radius: 4px; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(13,21,84,0.95); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lb-inner { position: relative; max-width: 900px; width: 100%; max-height: 90vh; }
.lb-inner img, .lb-inner video { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 16px; }
.lb-inner iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 16px; }
.lb-close { position: absolute; top: -44px; right: 0; background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; font-weight: 300; line-height: 1; transition: transform 0.2s; }
.lb-close:hover { transform: scale(1.2) rotate(90deg); }
.lb-caption { color: rgba(255,255,255,0.8); text-align: center; font-size: 0.9rem; margin-top: 14px; font-weight: 600; }

/* ── COLABORACIONES ── */
.colab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 28px; margin-top: 56px; }
.colab-card { background: #fff; border-radius: 24px; padding: 36px 32px; border: 2px solid var(--border); transition: all 0.3s; }
.colab-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(22,32,151,0.1); }
.colab-icon { font-size: 2.5rem; margin-bottom: 16px; }
.colab-card h3 { font-size: 1.3rem; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.colab-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin-bottom: 20px; }
.colab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.colab-list span { font-size: 0.82rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: var(--light-bg); color: var(--primary-dark); border: 1.5px solid var(--border); }
.colab-btn { display: inline-block; font-size: 0.9rem; font-weight: 800; color: var(--primary-dark); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: all 0.2s; }
.colab-btn:hover { color: var(--accent); }

/* ── UBICACIONES ── */
.locations { background: #fff; }
.locg { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 56px; }
.locc { border-radius: 20px; padding: 28px 24px; border: 2px solid var(--border); transition: all 0.3s; background: #fff; }
.locc:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(22,32,151,0.1); border-color: var(--accent); }
.licon { font-size: 2rem; margin-bottom: 14px; }
.locc h3 { font-size: 1.05rem; font-weight: 900; color: var(--dark); margin-bottom: 6px; }
.locc p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.lbadge { display: inline-block; margin-top: 10px; font-size: 0.75rem; font-weight: 800; padding: 3px 12px; border-radius: 12px; background: #e0fff5; color: #0a8f6c; border: 1px solid #b3eed9; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, #0a8f6c, #11b88d); padding: 80px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.wa-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 700px; margin: 0 auto; }
.wa-input { flex: 1; min-width: 180px; padding: 14px 20px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.15); color: #fff; font-size: 0.95rem; font-family: var(--font-main); outline: none; transition: border 0.2s; }
.wa-input::placeholder { color: rgba(255,255,255,0.6); }
.wa-input:focus { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.2); }
.btn-w { background: #fff; color: #0a8f6c; padding: 14px 28px; border-radius: 50px; font-size: 1rem; font-weight: 900; text-decoration: none; cursor: pointer; border: none; font-family: var(--font-main); transition: all 0.25s; box-shadow: 0 8px 25px rgba(0,0,0,0.15); white-space: nowrap; }
.btn-w:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
footer { background: #0d1554; padding: 64px 40px 32px; color: rgba(255,255,255,0.6); }
.fg-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 48px; }
.fb p { font-size: 0.9rem; line-height: 1.7; max-width: 240px; margin-top: 8px; }
.fc h4 { color: #fff; font-size: 1rem; font-weight: 900; margin-bottom: 16px; }
.fc ul { list-style: none; }
.fc ul li { margin-bottom: 10px; }
.fc ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.fc ul li a:hover { color: #11b88d; }
.fbot { border-top: 1px solid rgba(255,255,255,0.1); max-width: 1200px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.fbot p { font-size: 0.85rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; text-decoration: none; transition: all 0.2s; font-weight: 700; }
.socials a:hover { background: var(--accent); transform: scale(1.1); }

/* ── FORMULARIO POPUP ── */
.fmodal-overlay { display: none; position: fixed; inset: 0; background: rgba(13,21,84,0.85); z-index: 9998; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); }
.fmodal-overlay.open { display: flex; }
.fmodal-box { background: #fff; border-radius: 28px; width: 100%; max-width: 760px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 32px 80px rgba(13,21,84,0.5); animation: popIn 0.35s ease both; }
@keyframes popIn { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.fmodal-close { position: absolute; top: 16px; right: 20px; background: var(--light-bg); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: all 0.2s; z-index: 2; }
.fmodal-close:hover { background: #f0e0e0; color: #c00; }
.fmodal-head { background: linear-gradient(135deg, #0d1554, #162097); padding: 36px 40px 28px; border-radius: 28px 28px 0 0; }
.fmodal-badge { display: inline-block; background: rgba(17,184,141,0.2); color: #11b88d; font-size: 0.75rem; font-weight: 800; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; border: 1px solid rgba(17,184,141,0.4); }
.fmodal-head h2 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.fmodal-head p { color: rgba(255,255,255,0.75); font-size: 0.93rem; line-height: 1.6; }
.fmodal-body { padding: 32px 40px 36px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ff-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.ff-group.full { grid-column: 1 / -1; margin-bottom: 16px; }
.ff-group label { font-size: 0.83rem; font-weight: 800; color: var(--primary-dark); }
.ff-group input, .ff-group select, .ff-group textarea { padding: 12px 16px; border-radius: 12px; border: 2px solid var(--border); background: var(--light-bg); color: var(--text); font-size: 0.93rem; font-family: var(--font-main); transition: all 0.2s; outline: none; }
.ff-group input:focus, .ff-group select:focus, .ff-group textarea:focus { border-color: var(--primary-dark); background: #fff; }
.ff-group select option { background: #fff; }
.ff-group textarea { resize: vertical; min-height: 90px; }
.ff-readonly { background: #f0f4ff !important; color: var(--muted) !important; cursor: default !important; }
.ff-submit { margin-top: 20px; width: 100%; padding: 16px; background: var(--primary-dark); color: #fff; border: none; border-radius: 50px; font-size: 1.05rem; font-weight: 900; cursor: pointer; transition: all 0.25s; font-family: var(--font-main); }
.ff-submit:hover { background: var(--primary-light); transform: translateY(-2px); }
.ff-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.ff-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.form-msg { padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; font-weight: 700; margin-top: 16px; }
.form-msg.success { background: #e0fff5; color: #0a8f6c; border: 1.5px solid #b3eed9; }
.form-msg.error { background: #ffe0e0; color: #c00; border: 1.5px solid #f7b3b3; }

/* ── ANIMACIONES ── */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */

/* ── HAMBURGER ───────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1001;
  flex-shrink: 0;
  margin-left: auto;
}
.hamburger:hover { background: var(--light-bg); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,21,84,0.4);
  z-index: 999;
  backdrop-filter: blur(2px);
}
.mobile-overlay.show { display: block; }

@media (max-width: 900px) {
  .car-item { width: calc(50% - 8px); }
  .charlas-grid { grid-template-columns: 1fr; }
  .courses-2col { grid-template-columns: 1fr; }
  .fg-grid { grid-template-columns: 1fr 1fr; }
  .colab-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 16px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
  .hero { padding-top: 68px; }
  .nav-logo { flex-shrink: 0; }
  .logo-img { height: 52px; }
  .hamburger { display: flex; flex-shrink: 0; margin-left: auto; }
  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -290px;
    width: 270px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 24px rgba(22,32,151,0.15);
    padding: 90px 20px 30px;
    gap: 4px;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .nav-links.mobile-open { right: 0; }
  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-trial { display: block !important; }
  .nav-cta {
    margin-top: 8px;
    text-align: center !important;
    background: var(--accent) !important;
    color: white !important;
    border-bottom: none !important;
  }
  section { padding: 64px 20px; }
  .hero-stats { gap: 32px; }
  .fmodal-body { padding: 24px 20px 28px; }
  .fmodal-head { padding: 28px 20px 20px; }
  .ff-row { grid-template-columns: 1fr; }
  .ff-group.full { margin-bottom: 16px; }
  .transversal-box { padding: 32px 20px; }
  .tb-grid { grid-template-columns: 1fr 1fr; }
  .wa-form { flex-direction: column; align-items: stretch; }
  .modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .car-item { width: 100%; }
  .car-btn { width: 38px; height: 38px; font-size: 1.4rem; }
  .fg-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .tb-grid { grid-template-columns: 1fr; }
}

/* ── MODALIDADES — subdivisiones ── */
.modal-block-title {
  margin-top: 56px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.modal-block-label {
  display: inline-block;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.modal-block-title p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Grids específicos */
.modal-grid-students {
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: stretch;
}
.modal-grid-presencial {
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  margin-top: 20px;
}
.modal-grid-inst {
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
}

@media (max-width: 900px) {
  .modal-grid-students  { grid-template-columns: 1fr; }
  .modal-grid-presencial { grid-template-columns: 1fr; max-width: 100%; }
  .modal-grid-inst       { grid-template-columns: 1fr; max-width: 100%; }
}

/* ── LIVE NOTICE ── */
.live-notice {
  background: var(--light-bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 16px 22px;
  margin: 32px 0 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ── MODAL SECOND (destacada verde) ── */
.modal-second {
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: 0 20px 60px rgba(13,21,84,0.3);
}
.modal-second h3 { color: #fff; }
.modal-second .mp-amt { color: #11b88d; }
.modal-second .mp-per { color: rgba(255,255,255,0.6); }
.modal-second .modal-desc { color: rgba(255,255,255,0.75); }
.modal-second .modal-sub-detail { color: rgba(255,255,255,0.6); }
.modal-second .modal-feats li { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.12); }
.modal-badge-green { background: var(--accent) !important; }
.modal-btn-second { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 25px rgba(17,184,141,0.4); }
.modal-btn-second:hover { background: var(--accent-light); border-color: var(--accent-light); }

/* ── MODAL SUB DETAIL ── */
.modal-sub-detail {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.modal-featured .modal-sub-detail { color: rgba(255,255,255,0.65); }

/* ── CAMPAMENTO BANNER ── */
.camp-banner {
  background: linear-gradient(135deg, #0d1554, #162097);
  border-radius: 24px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.camp-tag {
  display: inline-block;
  background: rgba(17,184,141,0.2);
  color: #11b88d;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(17,184,141,0.35);
  letter-spacing: 0.5px;
}
.camp-info { flex: 1; min-width: 280px; }
.camp-info h3 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.camp-info p { color: rgba(255,255,255,0.78); font-size: 0.93rem; line-height: 1.7; margin-bottom: 18px; }
.camp-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.camp-highlights span { font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.15); }
.camp-ctas { display: flex; flex-direction: column; gap: 12px; min-width: 220px; }
.camp-btn-main { display: block; padding: 14px 24px; background: var(--accent); color: #fff; border-radius: 50px; font-size: 0.95rem; font-weight: 800; text-align: center; text-decoration: none; transition: all 0.25s; border: none; cursor: pointer; font-family: var(--font-main); box-shadow: 0 8px 25px rgba(17,184,141,0.4); }
.camp-btn-main:hover { background: var(--accent-light); transform: translateY(-2px); }
.camp-btn-inst { display: block; padding: 13px 24px; background: transparent; color: rgba(255,255,255,0.9); border-radius: 50px; font-size: 0.88rem; font-weight: 800; text-align: center; text-decoration: none; transition: all 0.25s; border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer; font-family: var(--font-main); }
.camp-btn-inst:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
  nav { height: 80px; padding: 0 20px; }
  .hero { padding-top: 80px; }
  .logo-img { height: 66px; }
  .logo-footer { height: 60px; }
  .camp-banner { flex-direction: column; padding: 28px 24px; }
  .camp-ctas { width: 100%; }
}

/* ── MODALIDADES — TABS ── */
.mtabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 36px 0 0;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.mtab {
  padding: 12px 24px;
  border-radius: 12px 12px 0 0;
  border: 2px solid transparent;
  border-bottom: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
  position: relative;
  bottom: -2px;
}
.mtab:hover {
  color: var(--primary-dark);
  background: var(--light-bg);
}
.mtab.active {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--border);
  border-bottom-color: #fff;
}
.mtab-camp { color: #0a8f6c; }
.mtab-camp.active { color: #0a8f6c; border-top-color: var(--accent); }

.mpanel { display: none; padding-top: 40px; }
.mpanel.active { display: block; }

/* Single-card panel (presencial / domicilio) */
.modal-grid-single {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 560px;
}
.modal-grid-single .modal-card {
  border: 2px solid var(--primary-dark);
}

/* Camp tab intro */
.camp-tab-intro {
  background: linear-gradient(135deg, #0d1554, #162097);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 4px;
}
.camp-tab-intro h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 10px 0 12px;
}
.camp-tab-intro p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.camp-inst-note {
  margin-top: 28px;
  background: var(--light-bg);
  border-radius: 16px;
  padding: 22px 28px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.camp-inst-note span {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  white-space: nowrap;
}
.camp-inst-note p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  min-width: 200px;
}
.camp-inst-note a {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  white-space: nowrap;
}
.camp-inst-note a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .mtabs { gap: 4px; }
  .mtab { padding: 9px 14px; font-size: 0.82rem; }
  .modal-grid-single { max-width: 100%; }
  .camp-tab-intro { padding: 24px 20px; }
}

/* ── MÓDULOS EXPANDIDOS ── */
.cm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.cm-mod {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.cm-mod:last-child { border-bottom: none; }
.cm-mod:hover { background: #f5f7ff; }
.cm-mod-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.cm-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}
.cm-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dark);
}
.cm-mod p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 38px;
  margin: 0;
}

/* ── FOOTER CONTACT CON ÍCONOS ── */
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 12px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  line-height: 1.3;
}
.contact-link:hover { color: #11b88d; }
.cicon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cicon svg { width: 16px; height: 16px; }
.cicon-mail { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.cicon-wa   { background: #25d366; color: #fff; }
.cicon-ig   { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.cicon-li   { background: #0077b5; color: #fff; }
.contact-link:hover .cicon-mail { background: rgba(17,184,141,0.2); color: #11b88d; }

/* ── CLASE DE PRUEBA — BOTONES ── */
.btn-trial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s;
  font-family: var(--font-main);
  cursor: pointer;
}
.btn-trial:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Nav — clase de prueba */
.nav-trial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.22s;
  margin-right: 8px;
  font-family: var(--font-main);
  white-space: nowrap;
}
.nav-trial:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .nav-trial { display: none; }
}

/* ── VIDEO THUMBNAIL EN CARRUSEL ── */
.car-video {
  position: relative;
  overflow: hidden;
}
.car-video video {
  position: absolute;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; /* hidden — only poster/thumb shows */
}
.car-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(22,32,151,0.82);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  z-index: 3;
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}
.car-item:hover .play-icon {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}
