:root {
    --bg: #ffffff;
    --text-primary: #111111;
    --text-secondary: #6b6b6b;
    --medium-gray: #333;
    --text-muted: #999999;
    --accent: #111111;
    --border: #e0e0e0;
    --section-pad: clamp(40px, 6vw, 100px);
    --base-color:#7ca230;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.p{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    width: 75% !important;
    margin-bottom: 35px !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333!important;
    -moz-osx-font-smoothing: grayscale;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    text-align: left;
}
/* ─── About Section ─── */
.about-section {
    display: grid;
    grid-template-columns: 80px 1fr 1.4fr;
    min-height: 420px;
    position: relative;
}

/* Rotated sidebar label */
.sidebar-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 210px;
    border-right: 2px solid var(--border);
    position: relative;
}

.sidebar-label span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

/* Text content area */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--section-pad);
    padding-left: 300px;
    padding-right: 0;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.about-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 3.438rem;
    line-height: 3.5rem;
    letter-spacing: -4px;
    color: #1D1D1D;
    
}

/* Image area */
.about-image {
    position: relative;
    overflow: hidden;
    width: 1450px;
    height: 666px;
    max-width: 100%;
    margin-left: auto;
    justify-self: end;
}

/* ─── Liquid Parallax Image ─── */
.about-image .liquid-parallax {
    width: 950px;
    height: 666px;
    max-width: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    will-change: transform;
    transform: translateY(0px) scale(1.05);
    transition: opacity 0.4s ease;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .sidebar-label {
        display: none;
    }

    .about-content {
        padding: 40px 24px;
    }

    .about-image {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-image .liquid-parallax {
        transform: scale(1.05) !important;
        transition: none !important;
    }
}

/* ─── Features Section ─── */
.features-section {
    padding: var(--section-pad);
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    margin-bottom: 7px;
    color: #111;
}

.feature-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px!important;
    font-weight: 700;
    margin-bottom: 12px;
    color: #434640;
}

.feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #6b6b6b;
    margin-bottom: 24px;
}

.feature-btn {
    display: inline-block;
    font-size: 16px;
    padding: 24px 46px; 
    background: white;
    color: var(--base-color);
    border: 1px solid var(--base-color);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}

.feature-btn:hover {
    background: var(--base-color);
    color: #fff;
}

.feature-btn-invert {
    display: inline-block;
    font-size: 16px;
    padding: 24px 46px; 
    background: var(--base-color);
    color: white;
    border: 1px solid var(--base-color);
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}

.feature-btn-invert:hover {
    background: white;
    color: var(--base-color);
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Video Hero Section ─── */
.video-hero-section {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.video-background iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Dark overlay to make text readable */
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
    font-family: 'DM Sans', sans-serif;
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin: 0 auto 24px auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.play-icon svg {
    margin-left: 4px; /* visually center the play triangle */
}

.hero-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
}
/* =============================
   BANNER SLIDER RESPONSIVE
   ============================= */

/* --- Tablet vertical y menor (≤991px) --- */
@media (max-width: 991.98px) {

    /* Quitamos full-screen (vh) y usamos altura natural con padding */
    section .swiper.full-screen,
    .swiper.full-screen {
        height: auto !important;
        min-height: 0 !important;
    }

    .swiper.full-screen .swiper-slide {
        min-height: 600px;
        padding: 140px 0 80px; /* 140px arriba para que no choque con el header */
        display: flex !important;
        align-items: center;
    }

    .swiper.full-screen .swiper-slide .container,
    .swiper.full-screen .swiper-slide .container .row {
        height: auto !important;
    }

    /* Columna a 100% */
    .swiper .swiper-slide .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    /* TÍTULO: vencer lg-fs-90 con selector específico */
    .swiper-slide .alt-font.fs-70.lg-fs-90,
    .swiper-slide div.alt-font {
        font-size: 44px !important;
        line-height: 50px !important;
        margin-bottom: 20px !important;
        letter-spacing: -1px !important;
        word-break: normal;
        hyphens: none;
        text-align:left!important;
    }

    /* Párrafo */
    .swiper .swiper-slide p.fs-20 {
        font-size: 16px !important;
        line-height: 24px !important;
        margin-bottom: 20px !important;
        text-align:left!important;
    }

    /* Botón */
    .swiper .swiper-slide .btn.btn-extra-large {
        font-size: 13px;
        padding: 12px 22px;
    }

    /* Paginación */
    .swiper-number-pagination-style-01 .swiper-number {
        bottom: 20px !important;
    }
}

/* --- Móvil (≤767px) --- */
@media (max-width: 767.98px) {

    .swiper.full-screen .swiper-slide {
        min-height: 540px;
        padding: 130px 0 70px;
    }

    .swiper .swiper-slide .container .row {
        justify-content: center;
        text-align: center;
    }

    .swiper .swiper-slide .col-md-8 {
        text-align: center;
    }

    .swiper-slide .alt-font.fs-70.lg-fs-90,
    .swiper-slide div.alt-font {
        font-size: 32px !important;
        line-height: 38px !important;
        margin-bottom: 16px !important;
    }

    .swiper .swiper-slide p.fs-20 {
        font-size: 15px !important;
        line-height: 22px !important;
    }

    .swiper .swiper-slide .btn.btn-extra-large {
        font-size: 12px;
        padding: 10px 20px;
    }

    .swiper .swiper-slide .btn.btn-extra-large i.fa-long-arrow-right {
        margin-left: 6px;
    }
}

/* --- Móvil pequeño (≤480px) --- */
@media (max-width: 480px) {

    .swiper.full-screen .swiper-slide {
        min-height: 480px;
        padding: 110px 0 60px;
    }

    .swiper-slide .alt-font.fs-70.lg-fs-90,
    .swiper-slide div.alt-font {
        font-size: 26px !important;
        line-height: 32px !important;
    }

    .swiper .swiper-slide p.fs-20 {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .swiper .swiper-slide .btn.btn-extra-large {
        width: auto;
        text-align: center;
    }
}

/* =============================
   CARRERAS, VIDEO Y NOTICIAS — RESPONSIVE
   ============================= */

/* Carreras: efecto stack (alturas fijas) solo en escritorio */
@media (min-width: 992px) {
    .campus-home .stack-box {
        height: calc(100vh * var(--total-carreras, 1));
    }

    .campus-home .stack-box .stack-item {
        height: 100vh;
    }
}

/* Carreras: tablet → flujo normal, alturas automáticas */
@media (max-width: 991.98px) {

    .campus-home .stack-box,
    .campus-home .stack-box .stack-box-contain,
    .campus-home .stack-box .stack-item {
        height: auto !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    .campus-home .stack-box .full-screen {
        height: auto !important;
        min-height: 0 !important;
    }

    .campus-home .stack-box .stack-item .carrera-img {
        height: 65vw !important;
        min-height: 65vw !important;
        background-position: center 25% !important;
    }

    .campus-home .stack-box .carrera-texto {
        padding: 40px 40px 60px !important;
    }
}

/* Carreras: celular */
@media (max-width: 767.98px) {
    .campus-home .stack-box .stack-item .carrera-img {
        height: 75vw !important;
        min-height: 75vw !important;
    }

    .campus-home .stack-box .carrera-texto {
        padding: 30px 20px 50px !important;
    }
}

/* Video (home): alto según dispositivo */
.campus-home .video-hero {
    height: 100vh;
}

@media (max-width: 1199.98px) {
    .campus-home .video-hero {
        height: 70vh;
    }
}

@media (max-width: 767.98px) {
    .campus-home .video-hero {
        height: 100vh;
        /* respaldo para navegadores antiguos */
        height: 100svh;
        /* alto real visible en celular (descuenta barras del navegador) */
    }
}

/* Noticias: en tablet vertical, sidebar en 2 columnas (categorías | suscripción) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .campus-home .sidebar>div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: start;
    }

    .campus-home .sidebar>div>div {
        margin-bottom: 0 !important;
    }
}

.ancla-carreras {
    display: block;
    height: 0;
}
.fondo_contacto {
    background-color: #9d9d9c;
}
.btn.btn_contacto_form {
    font-size: 16px;
    padding: 16px 24px;
}
.btn_contacto_form {
    background: white;
    color: #7CA230;
    border: 1px solid #7CA230;
}
.form_estilo input, .form_estilo textarea, .form_estilo select {
    padding-left: 25px !important;
}
