/* Estilos propios de seccion_nocturna.php — lo compartido está en main.css */

:root { --navy: #225199; --navy-dark: #193d73; --navy-mid: #2a62b8; --blue-light: #dbeafe; --lime: #ffcf00; --night-deep: #0b1120; --night-mid: #0f172a; --night-card: #141f35; --night-border:#1e3050; --white: #ffffff; --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-400: #9ca3af; --gray-600: #4b5563; --gray-700: #374151; --gray-900: #111827; --gold: #f59e0b; --shadow: 0 4px 24px rgba(0,0,0,.12); --shadow-lg: 0 10px 40px rgba(0,0,0,.18); --radius: 14px; }

img { display: block; }

.topbar { background: var(--navy-dark); color: #a5b4fc; font-size: .8rem; padding: .45rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.navbar { background: white; position: sticky; top: 0; z-index: 300; box-shadow: 0 2px 12px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: space-between; padding: .55rem 2rem; gap: 1rem; }

.nav-logo { height: 62px; width: auto; max-width: 180px; object-fit: contain; }

.nav-menu a.active { background: var(--blue-light); color: var(--navy-mid); }

.drop-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: white; border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: var(--shadow); min-width: 240px; padding: .4rem 0; z-index: 400; }

.drop-menu a { display: block; border-radius: 0; padding: .6rem 1.1rem; font-size: .83rem; }

.drop-menu a:hover { background: var(--gray-50); color: var(--navy); }

.btn-nav-aula { background: var(--navy) !important; color: white !important; padding: .45rem 1rem !important; border-radius: 8px !important; }

.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-dark); }

.hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #193d73 0%, #1d4785 30%, #225199 60%, #193d73 100%); background-size: 400% 400%; animation: gradMove 14s ease infinite; }

@keyframes gradMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.hero-bg iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 177.78vh; height: 100vh; min-width: 100%; min-height: 56.25vw; pointer-events: none; border: none; opacity: .4; }

.hero-stars { position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.8) 0%, transparent 100%), radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,.6) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 50% 60%, rgba(255,255,255,.5) 0%, transparent 100%), radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,.7) 0%, transparent 100%), radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,.4) 0%, transparent 100%), radial-gradient(1px 1px at 35% 15%, rgba(255,255,255,.6) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 90% 70%, rgba(255,255,255,.5) 0%, transparent 100%), radial-gradient(1px 1px at 60% 85%, rgba(255,255,255,.4) 0%, transparent 100%); }

.hero-gradient { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(17,30,80,.95) 0%, rgba(17,30,80,.78) 50%, rgba(17,30,80,.3) 100%); }

.hero-inner { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero-content {  }

.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,207,0,.15); border: 1.5px solid rgba(255,207,0,.4); padding: .35rem 1rem; border-radius: 30px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.4rem; }

.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulseDot 1.8s ease-in-out infinite; }

@keyframes pulseDot { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,207,0,.5); } 50%{ box-shadow: 0 0 0 6px rgba(255,207,0,0); } }

.hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; color: white; line-height: 1.05; margin-bottom: 1rem; }

.hero-title em { font-style: normal; color: var(--lime); display: block; }

.hero-line { width: 56px; height: 4px; background: var(--lime); border-radius: 2px; margin-bottom: 1.2rem; }

.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.72); line-height: 1.8; margin-bottom: 2rem; max-width: 480px; }

.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn-hero-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--lime); color: var(--navy-dark); padding: .9rem 2rem; border-radius: 10px; font-weight: 900; font-size: 1rem; transition: transform .15s, box-shadow .15s; }

.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255,207,0,.35); }

.btn-hero-sec { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid rgba(255,255,255,.3); color: white; padding: .88rem 1.6rem; border-radius: 10px; font-weight: 700; font-size: .95rem; transition: background .18s, border-color .18s; }

.btn-hero-sec:hover { background: rgba(255,255,255,.08); border-color: white; }

.hero-stats { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }

.hstat { flex: 1; padding-right: 1.5rem; border-right: 1px solid rgba(255,255,255,.1); margin-right: 1.5rem; }

.hstat:last-child { border-right: none; }

.hstat-val { font-size: 1.6rem; font-weight: 900; color: var(--lime); line-height: 1; margin-bottom: .2rem; }

.hstat-lbl { font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

.hero-card { background: rgba(255,255,255,.07); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.4rem; }

.hero-card-title { font-size: .75rem; font-weight: 800; color: var(--lime); text-transform: uppercase; letter-spacing: .1em; margin-bottom: -.4rem; }

.schedule-block { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }

.schedule-icon-wrap { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: rgba(255,207,0,.15); }

.schedule-text strong { display: block; font-size: .92rem; color: white; margin-bottom: .1rem; }

.schedule-text span { font-size: .78rem; color: rgba(255,255,255,.55); }

.careers-preview { display: flex; flex-direction: column; gap: .5rem; }

.career-preview-item { display: flex; align-items: center; gap: .65rem; font-size: .84rem; color: rgba(255,255,255,.8); font-weight: 600; }

.career-preview-item .cpd { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

.why-section { background: var(--white); padding: 5.5rem 2rem; }

.why-inner { max-width: 1200px; margin: 0 auto; }

.section-label { font-size: .75rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }

.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 900; color: var(--gray-900); line-height: 1.15; margin-bottom: .6rem; }

.section-title em { font-style: normal; color: var(--navy); }

.section-sub { font-size: 1rem; color: var(--gray-600); line-height: 1.75; max-width: 560px; margin-bottom: 3rem; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.why-card { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 280px; cursor: default; transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 20px rgba(0,0,0,.14); }

.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }

.why-card-bg { position: absolute; inset: 0; }

.why-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }

.why-card:hover .why-card-bg img { transform: scale(1.07); }

.why-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.1) 100%); }

.why-card-body { position: relative; z-index: 2; padding: 1.4rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }

.why-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .7rem; flex-shrink: 0; }

.why-card-title { font-size: 1.1rem; font-weight: 900; color: white; margin-bottom: .4rem; }

.why-card-desc { font-size: .8rem; color: rgba(255,255,255,.72); line-height: 1.65; }

.benefits-section { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 5.5rem 2rem; }

.benefits-inner { max-width: 1200px; margin: 0 auto; }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.benefit-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--gray-200); transition: transform .25s, border-color .25s, box-shadow .25s; }

.benefit-card:hover { transform: translateY(-4px); border-color: rgba(34,81,153,.35); box-shadow: 0 8px 30px rgba(0,0,0,.12); }

.benefit-img { height: 140px; overflow: hidden; position: relative; }

.benefit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.benefit-card:hover .benefit-img img { transform: scale(1.07); }

.benefit-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,30,80,.65) 0%, transparent 60%); }

.benefit-body { padding: .9rem 1rem 1.1rem; }

.benefit-title { font-size: .88rem; font-weight: 800; color: var(--gray-900); margin-bottom: .35rem; line-height: 1.3; }

.benefit-desc { font-size: .76rem; color: var(--gray-600); line-height: 1.6; }

.benefit-badge { display: inline-flex; margin-top: .5rem; background: var(--blue-light); border: 1px solid #bfdbfe; padding: .15rem .6rem; border-radius: 20px; font-size: .68rem; font-weight: 800; color: var(--navy); }

.careers-section { background: var(--white); padding: 5.5rem 2rem; }

.careers-inner { max-width: 1200px; margin: 0 auto; }

.careers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.career-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--gray-200); transition: transform .28s, box-shadow .28s, border-color .28s; display: flex; flex-direction: column; }

.career-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.14); border-color: rgba(34,81,153,.35); }

.career-card.new-2027 { border-color: rgba(34,81,153,.6); }

.career-img { height: 200px; overflow: hidden; position: relative; flex-shrink: 0; }

.career-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }

.career-card:hover .career-img img { transform: scale(1.05); }

.career-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,30,80,.75) 0%, rgba(0,0,0,.15) 60%, transparent 100%); }

.career-img-badge { position: absolute; top: .8rem; left: .8rem; padding: .25rem .8rem; border-radius: 20px; font-size: .7rem; font-weight: 800; color: white; backdrop-filter: blur(4px); }

.career-img-new { position: absolute; top: .8rem; right: .8rem; background: var(--lime); color: var(--navy-dark); padding: .25rem .8rem; border-radius: 20px; font-size: .7rem; font-weight: 900; }

.career-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .8rem; }

.career-title { font-size: 1.2rem; font-weight: 900; color: var(--gray-900); line-height: 1.2; }

.career-desc { font-size: .83rem; color: var(--gray-600); line-height: 1.7; }

.career-tags { display: flex; flex-wrap: wrap; gap: .4rem; }

.career-tag { padding: .2rem .7rem; border-radius: 20px; font-size: .7rem; font-weight: 700; background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }

.career-duration { display: flex; align-items: center; gap: .5rem; margin-top: auto; font-size: .78rem; color: var(--gray-400); font-weight: 600; padding-top: .5rem; border-top: 1px solid var(--gray-200); }

.cert-logos { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: -.2rem; }

.cert-pill { padding: .2rem .75rem; border-radius: 20px; font-size: .7rem; font-weight: 900; letter-spacing: .04em; background: var(--blue-light); color: var(--navy); border: 1px solid #bfdbfe; }

.transport-section { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 5.5rem 2rem; }

.transport-inner { max-width: 1200px; margin: 0 auto; }

.transport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.transport-img-col { position: relative; }

.transport-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.18); position: relative; }

.transport-img-wrap img { width: 100%; height: 360px; object-fit: cover; display: block; }

.transport-img-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(34,81,153,.5) 0%, transparent 60%); }

.transport-badge { position: absolute; bottom: 1.2rem; left: 1.2rem; background: var(--lime); color: var(--navy-dark); padding: .5rem 1.2rem; border-radius: 30px; font-size: .88rem; font-weight: 900; }

.transport-info {  }

.routes-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.route-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: .9rem 1.2rem; display: flex; align-items: flex-start; gap: .9rem; transition: border-color .2s, transform .2s; }

.route-item:hover { border-color: rgba(34,81,153,.35); transform: translateX(4px); }

.route-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: .72rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .05rem; }

.route-text strong { display: block; font-size: .86rem; color: var(--gray-900); font-weight: 800; margin-bottom: .2rem; }

.route-text span { font-size: .78rem; color: var(--gray-600); }

.route-free { margin-left: auto; flex-shrink: 0; background: rgba(34,197,94,.12); color: #15803d; border: 1px solid rgba(34,197,94,.35); padding: .15rem .65rem; border-radius: 20px; font-size: .68rem; font-weight: 800; align-self: center; }

.requirements-section { background: var(--white); padding: 5.5rem 2rem; }

.requirements-inner { max-width: 1200px; margin: 0 auto; }

.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.req-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,.16); position: relative; }

.req-img-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; }

.req-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,17,32,.8) 0%, transparent 50%); }

.req-img-caption { position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; font-size: .88rem; color: rgba(255,255,255,.8); font-weight: 600; font-style: italic; line-height: 1.5; }

.req-content { display: flex; flex-direction: column; gap: 2rem; }

.req-group-title { font-size: .72rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }

.req-list { display: flex; flex-direction: column; gap: .7rem; }

.req-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .85rem; color: var(--gray-700); line-height: 1.55; }

.req-check { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-light); border: 1.5px solid rgba(34,81,153,.45); flex-shrink: 0; margin-top: .1rem; display: flex; align-items: center; justify-content: center; }

.req-check svg { width: 10px; height: 10px; color: var(--navy); }

.highlight-box { background: var(--blue-light); border: 1.5px solid rgba(34,81,153,.3); border-radius: 12px; padding: 1rem 1.2rem; font-size: .84rem; color: var(--gray-700); line-height: 1.7; }

.highlight-box strong { color: var(--navy); display: block; margin-bottom: .3rem; font-size: .88rem; }

.contact-section { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, var(--blue) 100%); padding: 5rem 2rem; }

.contact-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.contact-inner h2 { font-size: 2.2rem; font-weight: 900; color: white; margin-bottom: .8rem; }

.contact-inner h2 em { font-style: normal; color: var(--lime); }

.contact-inner p { font-size: 1rem; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 2.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.contact-cards { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.contact-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 1.4rem 1.8rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; min-width: 180px; transition: border-color .2s, transform .2s; }

.contact-card:hover { border-color: rgba(255,207,0,.4); transform: translateY(-3px); }

.contact-card-icon { font-size: 2rem; }

.contact-card-label { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .07em; }

.contact-card-value { font-size: .95rem; font-weight: 800; color: white; }

.contact-card-value a { color: white; }

.contact-card-value a:hover { color: var(--lime); }

.btn-facebook { display: inline-flex; align-items: center; gap: .6rem; background: #1877f2; color: white; padding: 1rem 2.5rem; border-radius: 12px; font-weight: 800; font-size: 1rem; transition: transform .15s, box-shadow .15s, opacity .15s; }

.btn-facebook:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(24,119,242,.4); opacity: .95; }

.btn-facebook svg { width: 22px; height: 22px; fill: white; }

footer { background: #0e2040; color: #8faad4; padding: 3.5rem 2rem 1.5rem; }

.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #1c3a6e; }

.footer-about p { font-size: .84rem; line-height: 1.75; color: #6b8ab8; }

.soc-btn { width: 36px; height: 36px; background: #1c3a6e; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #8faad4; font-size: .78rem; font-weight: 800; transition: background .18s, color .18s; }

footer ul a { font-size: .83rem; color: #6b8ab8; transition: color .18s; }

.footer-bottom { max-width: 1200px; margin: 1.4rem auto 0; display: flex; justify-content: space-between; font-size: .76rem; color: #3d5a8a; flex-wrap: wrap; gap: .5rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: .1s; }

.reveal-d2 { transition-delay: .2s; }

.reveal-d3 { transition-delay: .3s; }

.reveal-d4 { transition-delay: .4s; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .careers-grid { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hstat { border-right: none; padding-right: 0; margin-right: 0; min-width: 100px; }
}

.section-label::before { content: ''; display: block; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; }

/* ── Bandas navy: tipografía clara en beneficios y transporte ── */
.benefits-section .section-title, .transport-section .section-title { color: white; }
.benefits-section .section-title em, .transport-section .section-title em { color: var(--lime); }
.benefits-section .section-sub, .transport-section .section-sub { color: rgba(255,255,255,.68); }
.benefits-section .section-label, .transport-section .section-label { color: var(--lime); }
.benefits-section .section-label::before, .transport-section .section-label::before { background: var(--lime); }
.benefit-card { border: none; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.route-item { border: none; box-shadow: 0 4px 18px rgba(0,0,0,.16); }

.contact-section .section-label { color: var(--lime); }
.contact-section .section-label::before { background: var(--lime); }
