/* Variables Globales de Diseño */
:root {
    --brand-orange: #FE0000;
    --brand-orange-hover: #e64a19;
    --brand-navy: #062275;
    --brand-navy-light: #062275;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-body: #f8fafc;
    --white: #ffffff;
    --border-color: #f1f5f9;

    /* Tipografías Oficiales */
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Sombras Soft UI */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 15px 35px rgba(0, 0, 0, 0.1);

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Efectos de Revelado al hacer scroll (AOC) */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #FE0000;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    color: var(--white);
}

/* --------------------------
   ESTRUCTURA: Top Bar
-------------------------- */
.top-bar {
    background-color: var(--brand-navy);
    color: var(--white);
    display: flex;
    height: 48px;
    position: relative;
    z-index: 101;
}

.top-bar-left {
    background-color: var(--brand-orange);
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0% 100%);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--brand-navy);
    transform: scale(1.15);
}

.top-bar-right {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5%;
    gap: 32px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.contact-info i {
    color: var(--brand-orange);
}

/* --------------------------
   ESTRUCTURA: Navbar Header
-------------------------- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.85);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

.header.scrolled .nav-wrapper {
    height: 75px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 900;
    color: #d32f2f;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
    line-height: 1;
}

.brand-logo span {
    color: var(--brand-navy);
}

.brand-tagline {
    font-size: clamp(8px, 2.5vw, 10px);
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Navegación Enlaces (Solo PC) */
.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-navy);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-orange);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--brand-navy);
    cursor: pointer;
    transform: translateY(0);
    transition: var(--transition);
}

.hamburger-btn:active {
    transform: scale(0.9);
}

/* --------------------------
   ESTRUCTURA: Mobile Menú
-------------------------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.close-menu-btn:hover {
    color: var(--brand-orange);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu-overlay.active .mobile-nav-links a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-links a:hover {
    color: var(--brand-orange);
    padding-left: 10px;
}


/* --------------------------
   ESTRUCTURA: Footer
-------------------------- */
.footer {
    background-color: var(--brand-navy);
    color: #e2e8f0;
    padding-top: 80px;
    position: relative;
    border-top: 4px solid var(--brand-orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #94a3b8;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 15px;
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-orange);
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #94a3b8;
    font-size: 15px;
}

.footer-contact i {
    color: var(--brand-orange);
    margin-top: 5px;
    font-size: 16px;
}

.footer-bottom {
    background-color: #0030728a;
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 900;
    color: #d32f2f;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--white);
}

.footer-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.footer-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-meta i {
    color: var(--brand-orange);
}

.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-whatsapp 2s infinite;
    transition: var(--transition);
}

.btn-floating:hover {
    background-color: #20bd5a;
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --------------------------
   COMPONENTES GENÉRICOS
-------------------------- */
.section {
    padding: 90px 0;
}

.bg-white {
    background-color: var(--white);
}

.section-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 900;
    color: var(--brand-navy);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 4px;
    background-color: var(--brand-orange);
    border-radius: 2px;
}

/* --------------------------
   RESPONSIVO MÓVIL (Magia)
-------------------------- */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
        /* Ocultamos el top-bar en movil para ahorrar espacio */
    }

    .nav-wrapper {
        height: 75px;
        padding: 0 10px;
    }

    .brand-logo {
        font-size: clamp(22px, 6vw, 28px);
    }

    .nav-actions .btn {
        display: none;
        /* Quitamos matricúlate de header y lo dejamos al hero en mobile */
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        flex-direction: column;
        gap: 10px;
    }

    .btn-floating {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .hero-buttons {
        gap: 10px;
        justify-content: center;
    }

    .form-wrapper {
        padding: 30px 15px;
    }

    .contact-item {
        padding: 15px;
    }
}

/* --------------------------
   DETALLES DE CURSO (Héroe)
-------------------------- */
.detail-hero {
    background-color: var(--brand-navy);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

.hero-pattern i {
    
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-info .course-title {
    font-family: var(--font-head);
    font-size: 35px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.hero-info .course-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 450px;
    line-height: 1.5;
}

.btn-reserve {
    background-color: var(--brand-orange);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-reserve:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
    color: white;
    box-shadow: var(--shadow-float);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.blob-orange {
    position: absolute;
    background-color: var(--brand-orange);
    width: 100%;
    height: 100%;
    border-radius: 43% 57% 33% 67% / 54% 45% 55% 46%;
    z-index: 0;
    transform: translate(30px, 40px) scale(0.9);
}

.blob-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 64% 36% 54% 46% / 46% 38% 62% 54%;
    box-shadow: var(--shadow-lg);
    background-color: white;
}

/* --------------------------
   MÓDULOS DEL CURSO
-------------------------- */
.modules-section {
    padding: 80px 0 20px;
    background: var(--bg-body);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.module-card {
    border-radius: 16px;
    padding: 50px 30px 60px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
}

.module-card.dark {
    background-color: var(--brand-navy-light);
    color: var(--white);
}

.module-card.light {
    background-color: var(--white);
    color: var(--brand-navy);
}

.module-card .mod-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.module-card .mod-text {
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
    position: relative;
    z-index: 2;
    opacity: 0.95;
    font-weight: 500;
}

.mod-icon-top {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    opacity: 0.7;
}

.mod-icon-bottom {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.5;
}

/* --------------------------
   DURACIÓN
-------------------------- */
.duration-section {
    padding: 40px 0;
    background: var(--white);
}

.duration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.duration-pill {
    background-color: var(--bg-body);
    color: var(--text-main);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.duration-pill:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.duration-pill i {
    font-size: 34px;
    color: var(--brand-orange);
}

.duration-pill div {
    display: flex;
    flex-direction: column;
}

.duration-pill strong {
    font-weight: 900;
    font-family: var(--font-head);
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.duration-pill span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

/* --------------------------
   TESTIMONIOS
-------------------------- */
.testimonials-section {
    padding: 60px 0 80px;
    background: var(--bg-body);
    text-align: center;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testi-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: left;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testi-quote {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--brand-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.testi-info {
    display: flex;
    flex-direction: column;
}

.testi-info strong {
    font-family: var(--font-head);
    font-size: 12px;
    color: var(--brand-navy);
    font-weight: 800;
    margin-bottom: 2px;
}

.testi-info span {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.testi-stars {
    color: #facc15;
    font-size: 14px;
    letter-spacing: 2px;
}

/* --------------------------
   FORMULARIO SOLICITAR INFORME
-------------------------- */
.form-section {
    padding: 40px 0 100px;
    background: var(--white);
}

.form-wrapper {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    border-radius: 20px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    box-shadow: var(--shadow-float);
}

.form-info h2 {
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.form-info p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.form-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 6px;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    background: #f8fafc;
    transition: var(--transition);
}

.form-input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.2);
}

.form-submit {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.form-submit:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.4);
}

/* --------------------------
   RESPONSIVO MÓVIL (Páginas de Detalles)
-------------------------- */
@media (max-width: 1024px) {
    .detail-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-info .course-desc {
        margin: 0 auto 30px;
    }

    .duration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .duration-grid {
        grid-template-columns: 1fr;
    }

    .blob-image {
        max-width: 100%;
        border-radius: 20px;
    }

    .blob-orange {
        display: none;
    }
}

/* ==================
   INDEX PAGE HERO & CARDS
   ================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: initial;
    font-size: clamp(1.8rem, 9vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    word-break: break-word;
}

.hero-subtitle {
    font-family: var(--font-head);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e2e8f0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.6);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.badge-group {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    position: absolute;
    top: 7px;
    left: 15px;
}

.card-img-wrapper .badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    margin-bottom: 0;
}

.badge {
    background-color: #ededed;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
    font-weight: bold;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-link {
    color: var(--brand-orange);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.card-link:hover {
    color: var(--brand-orange-hover);
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff1f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background-color: #ef4444;
    color: white;
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {

    .card-grid,
    .grid-2 {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* ==================
   CONTACT PAGE STYLES
   ================== */
.main-content {
    padding: 60px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: none;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-5px);
}

.card-bg-gray {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.form-blob {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--brand-orange);
    filter: blur(80px);
    opacity: 0.1;
    top: -50px;
    right: -50px;
    border-radius: 50%;
    z-index: 0;
}

.info-card .card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 8px;
    font-family: var(--font-head);
    position: relative;
    z-index: 1;
}

.info-card .card-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: #cbd5e1;
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: var(--brand-orange);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--brand-orange);
    color: white;
}

.contact-item-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 0.95rem;
    color: var(--text-light);
}

#contactForm {
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group i {
    position: absolute;
    left: 18px;
    top: 18px;
    color: #94a3b8;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #f8fafc;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
    font-family: var(--font-body);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    border-color: var(--brand-orange);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15);
}

textarea.form-control {
    height: 140px;
    resize: none;
}

.btn-submit {
    background-color: var(--brand-navy);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-head);
    cursor: pointer;
    float: right;
    transition: var(--transition);
    margin-top: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background-color: var(--brand-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.3);
}

.social-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
}

.social-card .card-title {
    color: white;
}

.social-card .card-subtitle {
    color: #cbd5e1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-8px);
    color: var(--brand-orange);
}

.social-link-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-link:hover .social-link-icon-wrap {
    background: var(--brand-orange);
    color: white;
}

.social-link span {
    font-weight: 800;
    font-size: 0.95rem;
    font-family: var(--font-head);
}

.social-link small {
    color: #94a3b8;
    font-size: 0.85rem;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 400px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 20px;
    }

    .btn-submit {
        width: 100%;
    }
}

/* ==================
   NOSOTROS PAGE STYLES
   ================== */
:root {
    --nosotros-teal: #3b7188;
    /* Mockup specific color */
    --nosotros-teal-dark: #2d5869;
}

/* 1. Sobre Nosotros */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.organic-shape-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: 20px;
    bottom: 30px;
    background-color: var(--brand-navy);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 0;
}

.organic-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.about-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.about-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 35px;
    text-align: justify;
}

.features-grid {
    display: flex;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon-wrapper {
    color: var(--nosotros-teal);
    font-size: 1.8rem;
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 4px;
    font-family: var(--font-head);
}

.feature-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

/* 2. Mision, Vision, Valores */
.mvv-section {
    padding: 60px 0 80px;
    background-color: #fff;
    text-align: center;
}

.mvv-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.mvv-card {
    background-color: var(--brand-navy);
    border-radius: 12px;
    padding: 50px 30px;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
    background-color: var(--nosotros-teal-dark);
}

.mvv-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: white;
    display: block;
}

.mvv-card-title {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.mvv-card-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e2e8f0;
    font-weight: 300;
}

/* 3. Por Que Elegir */
.why-choose-section {
    padding: 40px 0 80px;
    background-color: #fff;
    text-align: center;
}

.why-choose-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 50px;
    color: #000;
    letter-spacing: -1px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.why-choose-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #4b5563;
}

.why-choose-item i {
    color: var(--nosotros-teal);
    font-size: 1.5rem;
}

/* 4. Equipo */
.team-section {
    padding: 40px 0 80px;
    background-color: #fff;
    text-align: center;
}

.team-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--nosotros-teal);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
}

.team-img-wrapper {
    background-color: #f3f4f6;
    height: 260px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 25px 15px;
    color: white;
    background-color: var(--nosotros-teal);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.team-role {
    font-size: 0.75rem;
    color: #cbd5e1;
    line-height: 1.4;
    font-weight: 300;
}

/* Responsiveness for Nosotros */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .mvv-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .mvv-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .features-grid {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .why-choose-col {
        justify-content: flex-start !important;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* ==================
   CURSO DETALLE BUTTONS
   ================== */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-back-course {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-back-course:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ==================
   CURSOS & GENERIC PAGE STYLES (SPACING FIXES)
   ================== */
.page-header {
    /* Premium Fix: Banner with dark background and abstract shapes */
    padding: 180px 0 100px;
    background-color: var(--brand-navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--brand-orange);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    opacity: 0.15;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--brand-orange);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    opacity: 0.1;
    z-index: 0;
}

.page-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.page-title::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--brand-orange);
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.courses-section {
    /* Critical Fix: Bottom padding before footer */
    padding: 80px 0;
    background-color: var(--bg-body);
}

.category-header {
    margin-bottom: 50px;
    text-align: left;
    display: flex;
    align-items: center;
}

.category-title {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.category-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 87, 34, 0.1);
    border: 3px solid var(--brand-orange);
    border-radius: 50%;
    margin-right: 15px;
    vertical-align: middle;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--brand-navy) 0%, rgba(27, 38, 59, 0.95) 100%);
    color: var(--white);
    position: relative;
    border-top: 4px solid var(--brand-orange);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-orange);
}

.stat-icon {
    font-size: 3rem;
    color: var(--brand-orange);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: var(--font-head);
    background: var(--brand-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 20px;
    font-weight: 900;
    color: var(--brand-navy);
    text-transform: uppercase;
}

/* Carreras técnicas: Contabilidad + Computación (INCITEP) */
.section-carreras-tec-incitep {
    position: relative;
    overflow: hidden;
    padding: 72px 0 88px;
    background: linear-gradient(165deg, #0a1f5c 0%, var(--brand-navy) 45%, #0d2a7a 100%);
    color: var(--white);
}

.section-carreras-tec-incitep .carreras-tec-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 20%, rgba(254, 0, 0, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(255, 214, 0, 0.12) 0%, transparent 38%),
        linear-gradient(105deg, transparent 48%, rgba(255, 255, 255, 0.03) 50%, transparent 52%);
    background-size: 100% 100%, 100% 100%, 180% 100%;
    pointer-events: none;
}

.section-carreras-tec-incitep .carreras-tec-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-carreras-tec-incitep .carreras-tec-inner {
    position: relative;
    z-index: 1;
}

.carreras-tec-intro {
    max-width: 720px;
    margin-bottom: 48px;
}

.carreras-tec-kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fde047;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.carreras-tec-title {
    font-family: var(--font-head);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--white);
}

.carreras-tec-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
}

.carreras-tec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 900px) {
    .carreras-tec-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.carreras-tec-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.carreras-tec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(254, 0, 0, 0.45);
}

.carreras-tec-card-visual {
    position: relative;
    background: #041440;
}

.carreras-tec-banner-link {
    display: block;
    line-height: 0;
}

.carreras-tec-banner-link:focus-visible {
    outline: 3px solid #fde047;
    outline-offset: -3px;
}

.carreras-tec-card-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.carreras-tec-card:hover .carreras-tec-card-visual img {
    transform: scale(1.02);
}

.carreras-tec-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fde047;
    color: var(--brand-navy);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.carreras-tec-card-body {
    padding: 24px 22px 28px;
}

.carreras-tec-card-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.carreras-tec-card-title i {
    color: var(--brand-orange);
    font-size: 1.1rem;
}

.carreras-tec-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 18px;
}

.carreras-tec-highlights {
    margin-bottom: 22px;
}

.carreras-tec-highlights li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carreras-tec-highlights i {
    color: #4ade80;
    font-size: 12px;
}

.carreras-tec-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carreras-tec-btn {
    width: 100%;
    justify-content: center;
}

.carreras-tec-link-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    color: #bbf7d0;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.carreras-tec-link-wa:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.45);
    color: var(--white);
}

.carreras-tec-link-wa i {
    font-size: 1.15rem;
}

.carreras-tec-link-contact {
    flex: 1 1 100%;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    color: #fde047;
    padding: 6px 0 2px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.carreras-tec-link-contact:hover {
    color: var(--white);
    border-bottom-color: rgba(253, 224, 71, 0.5);
}

@media (min-width: 520px) {
    .carreras-tec-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .carreras-tec-btn {
        width: auto;
        flex: 1 1 auto;
        min-width: 160px;
    }

    .carreras-tec-link-wa {
        flex: 1 1 auto;
        min-width: 200px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top: 4px solid var(--brand-orange);
    border-radius: 50%;
    margin: 20px auto 0;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}