﻿/* ==========================================================================
   LANDING PAGE CBTIS 134 - SISTEMA DE DISEÑO MODERNO, JUVENIL E INSTITUCIONAL
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --guinda-base: #7b1b37;
    --guinda-dark: #4e0d20;
    --guinda-deep: #320713;
    --guinda-light: #962243;
    --guinda-subtle: #fdf2f4;
    
    --dorado-base: #d4af37;
    --dorado-glow: rgba(212, 175, 55, 0.4);
    --dorado-light: #faeab8;
    
    --navy-dark: #0a192f;
    --navy-card: #112240;
    --navy-light: #1f3a60;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(123, 27, 55, 0.25);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.06);
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* --- RESET Y BASE --- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.top-notice-bar {
    background: linear-gradient(90deg, #320713 0%, #7b1b37 50%, #320713 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.notice-badge {
    background-color: var(--dorado-base);
    color: #320713;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- NAVBAR INSTITUCIONAL --- */
.landing-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: var(--transition-smooth);
}

.landing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

.brand-logos-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-item {
    height: 46px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo-item:hover {
    transform: scale(1.05);
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--guinda-base);
    letter-spacing: -0.5px;
    margin: 0;
}

.brand-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link-custom {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--slate-800) !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.nav-link-custom:hover {
    color: var(--guinda-base) !important;
    background-color: var(--guinda-subtle);
}

.btn-portal-acceso {
    background: linear-gradient(135deg, var(--guinda-base) 0%, var(--guinda-dark) 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(123, 27, 55, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-portal-acceso:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 27, 55, 0.45);
    background: linear-gradient(135deg, var(--guinda-light) 0%, var(--guinda-base) 100%);
}

.btn-portal-acceso .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--dorado-base);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--dorado-base);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(123, 27, 55, 0.04) 0%, rgba(255, 255, 255, 1) 90%),
                radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    padding: 90px 0 100px;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(123, 27, 55, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--guinda-base);
    margin-bottom: 24px;
}

.hero-badge-tag {
    background-color: var(--guinda-base);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-title {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 900;
    color: var(--slate-900);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--guinda-base) 0%, #b8254c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 620px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--guinda-base) 0%, var(--guinda-dark) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px rgba(123, 27, 55, 0.35);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-cta-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(123, 27, 55, 0.5);
}

.btn-cta-secondary {
    background: #ffffff;
    color: var(--slate-800);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 1.5px solid var(--slate-200);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-400);
    color: var(--guinda-base);
    transform: translateY(-2px);
}

/* --- HERO VISUAL & FLOATING CARDS --- */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf8 100%);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: 0 25px 60px -15px rgba(123, 27, 55, 0.18), 0 0 0 1px rgba(123, 27, 55, 0.08);
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 440px;
}

.hero-mascot-img {
    width: 170px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    animation: float 4s ease-in-out infinite;
}

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

.floating-badge-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 18px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatCard 5s ease-in-out infinite alternate;
}

.badge-pos-1 {
    top: 10%;
    left: -8%;
}

.badge-pos-2 {
    bottom: 8%;
    right: -6%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.floating-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
}

/* --- STATS COUNTER STRIP --- */
.stats-strip-section {
    background: linear-gradient(135deg, var(--guinda-dark) 0%, var(--guinda-base) 50%, var(--guinda-deep) 100%);
    color: #ffffff;
    padding: 45px 0;
    position: relative;
    border-top: 3px solid var(--dorado-base);
    border-bottom: 3px solid var(--dorado-base);
}

.stat-box {
    text-align: center;
    padding: 10px 15px;
    position: relative;
}

.stat-number {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    color: var(--dorado-base);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- SECCIÓN TITULOS Y CABECERAS --- */
.section-header-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;
    background-color: var(--guinda-subtle);
    color: var(--guinda-base);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border: 1px solid rgba(123, 27, 55, 0.12);
}

.section-main-title {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
}

/* --- TARJETAS DE CARRERAS TÉCNICAS (OFERTA EDUCATIVA 4.0) --- */
.career-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-accent, var(--guinda-base));
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.12);
    border-color: rgba(123, 27, 55, 0.3);
}

.career-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--card-bg, rgba(123, 27, 55, 0.08));
    color: var(--card-accent, var(--guinda-base));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.career-card:hover .career-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.career-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.career-desc {
    font-size: 0.92rem;
    color: var(--slate-600);
    margin-bottom: 20px;
    line-height: 1.55;
}

.career-tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.career-tag-badge {
    background-color: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.btn-career-modal {
    background-color: transparent;
    color: var(--card-accent, var(--guinda-base));
    border: 1.5px solid var(--card-accent, var(--guinda-base));
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    width: 100%;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-career-modal:hover {
    background-color: var(--card-accent, var(--guinda-base));
    color: #ffffff;
}

/* --- SECCIÓN BACHILLERATO BIVALENTE --- */
.bivalente-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-200);
    height: 100%;
}

.bivalente-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--guinda-base) 0%, var(--guinda-dark) 100%);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(123, 27, 55, 0.3);
}

/* --- SECCIÓN EDUCACIÓN DUAL --- */
.dual-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.dual-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 27, 55, 0.4) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dual-feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: var(--transition-smooth);
}

.dual-feature-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--dorado-base);
}

/* --- SECCIÓN ADMISIONES / PASOS --- */
.admission-timeline {
    position: relative;
    padding: 20px 0;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--guinda-base);
    box-shadow: var(--shadow-hover);
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--guinda-base);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(123, 27, 55, 0.25);
}

/* --- CONTACTO Y MAPA --- */
.contact-card-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-200);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background-color: var(--guinda-subtle);
    color: var(--guinda-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--slate-200);
    min-height: 420px;
}

/* --- FOOTER INSTITUCIONAL --- */
.landing-footer {
    background: #090e17;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
    border-top: 4px solid var(--guinda-base);
    font-size: 0.9rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--dorado-base);
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-right: 8px;
}

.social-btn:hover {
    background: var(--guinda-base);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.82rem;
}

/* --- MODAL DETALLES DE CARRERA --- */
.modal-career-header {
    background: linear-gradient(135deg, var(--guinda-base) 0%, var(--guinda-dark) 100%);
    color: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 24px;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 991px) {
    .hero-section {
        padding: 50px 0 70px;
    }
    .hero-visual-wrapper {
        margin-top: 50px;
    }
    .floating-badge-item {
        position: static;
        margin-top: 15px;
    }
}
