:root {
    --kreat-dark: #010277;
    /* Textos oscuros, fondos de gradiente */
    --kreat-medium-dark: #282A85;
    /* Bordes, fondos secundarios */
    --kreat-primary: #6363A6;
    /* Color principal (acentos, botones) */
    --kreat-secondary: #9F9FDE;
    /* Color secundario, textos suaves */
    --kreat-light-medium: #6363A6;
    /* Bordes claros, fondos sutiles */
    --kreat-light: #9F9FDE;
    /* Fondos de sección, áreas claras */
    --kreat-white: #FFFFFF;
    --kreat-black: #1E1E1E;
    --kreat-gradient-start: #6363A6;
    --kreat-gradient-end: #282A85;
}


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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--kreat-dark);
    line-height: 1.6;
    background-color: var(--kreat-white);
}


.about-section {
    background-color: var(--kreat-white);
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    box-sizing: border-box;
}

.about-section:first-of-type {
    padding-top: 2rem;
}

.about-section.light {
    background: linear-gradient(135deg, var(--kreat-light) 0%, var(--kreat-white) 100%);
}

.about-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-size: 2rem;
    color: var(--kreat-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1;
}

.section-title.center {
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--kreat-primary), var(--kreat-dark));
    margin-top: 0.5rem;
    border-radius: 2px;
}

.section-title.center::after {
    margin: 0.5rem auto;
}

.section-subtitle {
    color: var(--kreat-secondary);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ===== SECCIÓN NOSOTROS - RESPONSIVE ===== */

.gei-about {
    background: var(--kreat-white);
    padding: 60px 0;
    position: relative;
}

.gei-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* base para móviles y tablets pequeñas */
    width: 100%;
    box-sizing: border-box;
}

.gei-about-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 24px;
    max-width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    text-align: center;
    box-sizing: border-box;
}

/* Estilo para el label "NOSOTROS" (tu HTML usa .proceso-label) */
.proceso-label {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kreat-primary);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

/* Texto principal */
.gei-about-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    /* tamaño base para móvil */
    color: var(--kreat-medium-dark);
    line-height: 1.6;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== MEDIA QUERIES ===== */

/* Tablets (desde 768px) */
@media (min-width: 768px) {
    .gei-about-card {
        max-width: 800px;
        margin: 0 auto;
        padding: 48px 56px;
    }

    .gei-about-text {
        font-size: 18px;
        line-height: 1.7;
    }

    .proceso-label {
        font-size: 13px;
    }
}

/* Escritorio (≥1024px) - aquí se ve como la imagen */
@media (min-width: 1024px) {
    .gei-about-container {
        padding: 0 32px;
        /* solo para dar aire en pantallas grandes */
    }
}

/* Móviles pequeños (≤480px) */
@media (max-width: 480px) {
    .gei-about {
        padding: 40px 0;
    }

    .gei-about-card {
        padding: 20px 16px;
    }

    .gei-about-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .proceso-label {
        font-size: 11px;
    }
}

/* Móviles muy estrechos (≤360px) – Galaxy Z Fold 5, iPhone SE, etc. */
@media (max-width: 360px) {
    .gei-about-card {
        padding: 16px 12px;
    }

    .gei-about-text {
        font-size: 13px;
        line-height: 1.45;
    }

    .proceso-label {
        font-size: 10px;
    }
}

/* ============================================
   CONTACTO - KREAT SOLUTIONS
============================================ */

/* Textarea fijo (opcional) */
.kreat-textarea-fixed {
    resize: none;
}

textarea.kreat-form-control {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

/* Mapa base */
.kreat-map-iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 200px;
}

/* Grid general */
.kreat-contact-grid {
    gap: 1.5rem !important;
}

/* Desktop (≥992px) */
@media (min-width: 992px) {
    .kreat-contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: stretch;
    }

    .kreat-contact-form-card,
    .kreat-map-card {
        display: flex;
        flex-direction: column;
    }

    .kreat-map-card {
        height: 100%;
    }

    .kreat-map-iframe {
        flex: 1;
        min-height: 400px;
        aspect-ratio: auto;
    }
}

/* Tablets (768px a 991px) - para iPad Air, Surface Pro */
@media (min-width: 768px) and (max-width: 991px) {
    .kreat-contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: stretch;
    }

    .kreat-contact-form-card,
    .kreat-map-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .kreat-map-iframe {
        flex: 1;
        min-height: 250px;
        aspect-ratio: auto;
        height: auto;
    }

    .kreat-contact-form-card {
        padding: 1.5rem !important;
    }
}

/* Móviles (max-width: 767px) */
@media (max-width: 767px) {
    .kreat-map-iframe {
        height: 200px !important;
        aspect-ratio: auto;
    }

    .kreat-contact-form-card {
        padding: 1.2rem !important;
    }

    .kreat-contact-section {
        padding: 40px 0 !important;
    }
}

/* Estilos generales (sin !important excesivo) */
.kreat-contact-section {
    padding: 50px 0;
}

.kreat-contact-subtitle {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.kreat-contact-form-card {
    padding: 1.5rem;
}

.kreat-form-group {
    margin-bottom: 0.8rem;
}

.kreat-form-control {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

textarea.kreat-form-control {
    min-height: 80px;
    max-height: 120px;
}

.kreat-btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

.kreat-map-header {
    padding: 1rem 1.5rem;
}

.kreat-map-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.kreat-map-header p {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Forzar color de texto en inputs (para que se vea negro) */
textarea.kreat-form-control,
input.kreat-form-control,
select.kreat-form-control {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

textarea.kreat-form-control::placeholder,
input.kreat-form-control::placeholder {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
    opacity: 1 !important;
}

/* Select custom */
select.kreat-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236363A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    cursor: pointer;
}

/* Hover y animaciones */
.kreat-form-control:hover {
    border-color: var(--kreat-primary);
}

.kreat-btn-primary {
    position: relative;
    overflow: hidden;
}

.kreat-btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.kreat-btn-primary:active::after {
    width: 200px;
    height: 200px;
}

.kreat-map-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kreat-map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px -12px rgba(1, 2, 119, 0.25);
}

/* ============================================
   ANIMACIONES (sin cambios)
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section>* {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.section-animate>* {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.about-hero-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-grid {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.mission-vision-grid {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.about-values-detailed {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.contact-grid {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.3s;
}

.value-card:nth-child(4) {
    animation-delay: 0.4s;
}

.value-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS (con colores KREAT)
============================================ */
@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }

    .about-hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .mission-card,
    .vision-card,
    .contact-form,
    .info-card {
        padding: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .value-icon svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .card-icon {
        margin: 0 auto;
    }
}


/* ============================================
   PROCESO DE VERIFICACIÓN (KREAT)
============================================ */
.proceso-section {
    background: linear-gradient(135deg, var(--kreat-light) 0%, var(--kreat-white) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.proceso-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 99, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.proceso-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 99, 166, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.proceso-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
    position: relative;
    z-index: 2;
}

.proceso-header {
    text-align: center;
    margin-bottom: 30px;
}

.proceso-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: var(--kreat-primary);
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(99, 99, 166, 0.1);
    text-align: center;
}

.line {

    color: var(--kreat-dark);


    line-height: 1;
}

#acreditaciones .proceso-label,
#contacto .proceso-label {
    display: inline-block;
    text-align: center;
}

.proceso-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--kreat-dark);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.03);
}

.title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--kreat-primary), var(--kreat-secondary), var(--kreat-light-medium));
    margin: 0 auto 25px;
    border-radius: 2px;
}

.proceso-subtitle {
    font-size: 18px;
    color: var(--kreat-medium-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;

    margin-bottom: 0rem !important;

}

.diagrama-container {
    margin: 0px 0 0px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(99, 99, 166, 0.3);
    background: var(--kreat-white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.diagrama-container:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 70px -12px rgba(99, 99, 166, 0.4);
}

.diagrama-placeholder {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: linear-gradient(145deg, var(--kreat-white), var(--kreat-light));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 99, 166, 0.15);
}

.diagrama-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 99, 166, 0.02) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(99, 99, 166, 0.02) 0%, transparent 25%);
    pointer-events: none;
}

.diagrama-imagen {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.placeholder-message {
    text-align: center;
    padding: 70px 30px;
    color: var(--kreat-medium-dark);
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.placeholder-message svg {
    stroke: var(--kreat-primary);
    margin-bottom: 20px;
    opacity: 0.6;
    width: 56px;
    height: 56px;
}

.placeholder-message p {
    font-size: 22px;
    font-weight: 600;
    color: var(--kreat-dark);
    margin-bottom: 8px;
}

.placeholder-message span {
    font-size: 15px;
    color: var(--kreat-secondary);
    font-weight: 400;
}

@media (max-width: 768px) {
    .proceso-section {
        padding: 40px 0;
    }

    .proceso-title {
        font-size: 32px;
    }

    .proceso-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .diagrama-placeholder {
        min-height: 300px;
    }

    .placeholder-message {
        padding: 40px 20px;
    }

    .placeholder-message svg {
        width: 44px;
        height: 44px;
    }

    .placeholder-message p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .proceso-section {
        padding: 40px 0;
    }

    .proceso-title {
        font-size: 28px;
    }

    .proceso-label {
        font-size: 12px;
        letter-spacing: 0px;
        padding: 6px 16px;
    }

    .title-divider {
        width: 70px;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/*POLITICA Y PRIVACIDAD*/

.gestion-contenido-dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .gestion-contenido-dos-columnas {
        gap: 30px;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .gestion-contenido-dos-columnas {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


.gestion-columna {
    width: 100%;
}

.gestion-politica-card {
    background: rgba(255, 255, 255, 0.578);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .gestion-politica-card {
        padding: 30px 25px;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .gestion-politica-card {
        padding: 25px 20px;
    }
}

/* Responsive: Móvil pequeño */
@media (max-width: 480px) {
    .gestion-politica-card {
        padding: 20px 15px;
    }
}

.gestion-politica-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    border-color: var(--kreat-light);
}

.card-header-documento {
    margin-bottom: 0px;
}

.card-icon-documento {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--kreat-primary), var(--kreat-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 10px 20px rgba(99, 99, 166, 0.3);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .card-icon-documento {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .card-icon-documento svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .card-icon-documento {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }

    .card-icon-documento svg {
        width: 22px;
        height: 22px;
    }
}

.documento-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kreat-dark);
    margin-bottom: 0px;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .documento-titulo {
        font-size: 1.3rem;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .documento-titulo {
        font-size: 1.2rem;
    }
}

/* Responsive: Móvil pequeño */
@media (max-width: 480px) {
    .documento-titulo {
        font-size: 1.1rem;
    }
}

.documento-descripcion {
    font-size: 0.9rem;
    color: var(--kreat-medium-dark);
    line-height: 1.5;
}

.btn-ver-documento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--kreat-primary), var(--kreat-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .btn-ver-documento {
        padding: 12px 24px;
        font-size: 0.95rem;
        max-width: 200px;
    }

    .btn-ver-documento svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .btn-ver-documento {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 180px;
    }
}

/* Responsive: Móvil pequeño */
@media (max-width: 480px) {
    .btn-ver-documento {
        padding: 10px 16px;
        font-size: 0.85rem;
        max-width: 160px;
    }
}

.btn-ver-documento:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(99, 99, 166, 0.4);
}

/* ============================================
   MODAL PDF - RESPONSIVE
   ============================================ */
.modal-pdf {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-pdf-contenido {
    position: relative;
    background: white;
    width: 90%;
    max-width: 900px;
    height: 85%;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Tablets (768px - 1024px) - se mantiene igual */
@media (min-width: 768px) and (max-width: 1024px) {
    .modal-pdf-contenido {
        width: 85%;
        height: 80%;
        max-height: 80vh;
    }
}

/* MÓVILES GRANDES (375px - 767px) - AQUÍ CAMBIAMOS altura a auto */
@media (max-width: 767px) {
    .modal-pdf-contenido {
        width: 92%;
        height: 80vh;
        /* ← CRUCIAL: altura automática */
        max-height: 600px;
        /* límite para que no se salga de la pantalla */
        border-radius: 16px;
    }
}

/* MÓVILES PEQUEÑOS (menos de 375px) */
@media (max-width: 480px) {
    .modal-pdf-contenido {
        width: 80%;
        height: 100vh;
        max-height: 450px;
        border-radius: 12px;
    }
}

/* MÓVILES PEQUEÑOS (menos de 375px) */
@media (max-width: 399px) {
    .modal-pdf-contenido {
        width: 80%;
        height: 100vh;
        max-height: 400px;
        border-radius: 12px;
    }
}

/* Tablets horizontales / pantallas anchas bajas */
@media (min-width: 1024px) and (max-height: 800px) {
    .modal-pdf-contenido {
        width: 80%;
        height: 75%;
        max-height: 75vh;
    }
}

.modal-pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--kreat-primary), var(--kreat-dark));
    color: white;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .modal-pdf-header {
        padding: 12px 16px;
    }

    .modal-pdf-header h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-pdf-header {
        padding: 10px 12px;
    }

    .modal-pdf-header h3 {
        font-size: 0.85rem;
    }
}

.modal-pdf-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    padding-right: 10px;
}

.modal-pdf-cerrar {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .modal-pdf-cerrar {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
}

.modal-pdf-cerrar:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.modal-pdf-body {
    flex: 1;
    min-height: 0;
    background: #f5f5f5;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-pdf-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gestion-section {
    position: relative;
    padding: 80px 0;
    background-image: url('/images/fondos/politica-gestion.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    isolation: isolate;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .gestion-section {
        padding: 60px 0;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .gestion-section {
        padding: 50px 0;
        background-attachment: scroll;
        /* Quita parallax en móvil para mejor rendimiento */
    }
}

/* Responsive: Móvil pequeño */
@media (max-width: 480px) {
    .gestion-section {
        padding: 40px 0;
    }
}

/* Capa oscura semitransparente para legibilidad */
.gestion-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 2, 119, 0.75);
    /* Color de la paleta KREAT oscuro con opacidad */
    z-index: 0;
}

.gestion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: var(--kreat-white);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .gestion-container {
        padding: 0 30px;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .gestion-container {
        padding: 0 20px;
    }
}

/* Responsive: Móvil pequeño */
@media (max-width: 480px) {
    .gestion-container {
        padding: 0 15px;
    }
}

.gestion-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .gestion-header {
        margin-bottom: 40px;
    }
}

/* Responsive: Móvil */
@media (max-width: 768px) {
    .gestion-header {
        margin-bottom: 30px;
    }
}

/* Responsive: Móvil pequeño */
@media (max-width: 480px) {
    .gestion-header {
        margin-bottom: 25px;
    }
}

.gestion-etiqueta {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: var(--kreat-light);
    /* Más claro */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.gestion-titulo {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--kreat-white);
    /* Blanco */
    line-height: 1.2;
    margin-bottom: 15px;
}

.gestion-titulo span {
    color: var(--kreat-light);
    /* Un tono más claro de la paleta */
    font-weight: 400;
}

.gestion-divisor {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--kreat-light), var(--kreat-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

.gestion-contenido {
    display: flex;
    justify-content: center;
}

.gestion-texto {
    max-width: 900px;
    width: 100%;
}

.gestion-politica-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
}

/* Evitar selección de texto y descargas en el PDF */
.gestion-politica-card iframe {
    pointer-events: auto;
}

/* Ocultar toolbar del PDF en navegadores compatibles */
.gestion-politica-card iframe {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Estilos para el visor PDF */
.gestion-politica-card {
    position: relative;
}

.gestion-politica-card .overflow-auto {
    overflow: auto !important;
}

/* Ocultar elementos del PDF que permiten descargar */
iframe {
    pointer-events: auto;
}

/* Para navegadores WebKit (Chrome, Edge, Safari) */
iframe::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

iframe::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

iframe::-webkit-scrollbar-thumb {
    background: var(--primary-medium);
    border-radius: 10px;
}

iframe::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.gestion-politica-texto {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--kreat-dark);
    /* Texto oscuro sobre fondo claro */
    margin-bottom: 20px;
}

.gestion-politica-texto:last-child {
    margin-bottom: 0;
}

.gestion-politica-texto strong {
    color: var(--kreat-primary);
    font-weight: 700;
}

.gestion-principios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.principio-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.principio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--kreat-light);
}

.principio-icono {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--kreat-white);
}

.principio-contenido h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--kreat-dark);
    margin-bottom: 5px;
}

.principio-contenido p {
    font-size: 0.9rem;
    color: var(--kreat-medium-dark);
    line-height: 1.5;
    margin: 0;
}

.gestion-footer {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.gestion-sello {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--kreat-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.gestion-sello svg {
    color: var(--kreat-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .gestion-section {
        padding: 60px 0;
        background-attachment: scroll;
        /* Quitamos parallax en móvil */
    }

    .gestion-titulo {
        font-size: 2.2rem;
    }

    .gestion-principios {
        grid-template-columns: 1fr;
    }

    .gestion-sello {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .gestion-titulo {
        font-size: 1.8rem;
    }

    .gestion-etiqueta {
        font-size: 0.75rem;
        letter-spacing: 0px;
    }

    .principio-item {
        padding: 15px;
    }
}


/*Servicios*/
.gei-services {
    background: linear-gradient(135deg, var(--kreat-light) 0%, var(--kreat-white) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo sutil (opcional, le da carácter) */
.gei-services::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 99, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.gei-services-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Cabecera */
.gei-services-header {
    text-align: center;
    margin-bottom: 10px;
}

.gei-services-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: var(--kreat-primary);
    background: rgba(99, 99, 166, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.gei-services-subtitle {
    font-size: 1.1rem;
    color: var(--kreat-medium-dark);
    max-width: 650px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Tarjeta principal - Diseño más moderno */
.gei-service-card {
    background: var(--kreat-white);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(99, 99, 166, 0.1);
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
}

.gei-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 55px -12px rgba(99, 99, 166, 0.25);
    border-color: rgba(99, 99, 166, 0.2);
}

/* Icono con animación */
.gei-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--kreat-primary), var(--kreat-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--kreat-white);
    box-shadow: 0 15px 25px -8px rgba(99, 99, 166, 0.4);
    transition: transform 0.2s ease;
}

.gei-service-card:hover .gei-service-icon {
    transform: scale(1.02);
}

.gei-service-icon svg {
    width: 40px;
    height: 40px;
}

.gei-service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--kreat-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: 0rem;
}

.gei-service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kreat-medium-dark);
    margin-bottom: 40px;
    max-width: 800px;
}

/* Programas - Estilo más integrado */
.gei-programs {
    border-top: 2px solid var(--kreat-light);
    padding-top: 30px;
}

.gei-programs-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--kreat-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gei-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.gei-program-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--kreat-light);
    padding: 12px 20px;
    border-radius: 60px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.gei-program-item:hover {
    transform: translateY(-2px);
    background: var(--kreat-white);
    border-color: var(--kreat-light-medium);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}

.gei-program-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 40px;
    color: var(--kreat-white);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0px;
    white-space: nowrap;
    flex-shrink: 0;
}

.gei-program-name {
    font-size: 0.95rem;
    color: var(--kreat-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Footer sello */
.gei-services-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gei-services-stamp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 99, 166, 0.05);
    padding: 8px 24px;
    border-radius: 60px;
    color: var(--kreat-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .gei-services {
        padding: 60px 0;
    }

    .gei-service-card {
        padding: 30px;
    }

    .gei-service-title {
        font-size: 1.6rem;
    }

    .gei-programs-grid {
        grid-template-columns: 1fr;
    }

    .gei-program-item {
        border-radius: 40px;
    }
}

@media (max-width: 480px) {
    .gei-service-icon {
        width: 60px;
        height: 60px;
    }

    .gei-service-icon svg {
        width: 30px;
        height: 30px;
    }

    .gei-program-badge {
        padding: 3px 10px;
        font-size: 0.75rem;
    }

    .gei-program-name {
        font-size: 0.85rem;
    }
}

/* ============================================
       HERO GEI - ESTILOS (basados en kreat-hero-top)
    ============================================ */
.gei-hero-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('/images/fondos/hero-gei.jpg');
    /* CAMBIA ESTA RUTA */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Overlay oscuro */
.gei-hero-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(1, 2, 119, 0.85) 0%,
            rgba(40, 42, 133, 0.6) 50%,
            rgba(1, 2, 119, 0.8) 100%);
    z-index: 1;
}

/* Triángulos (igual que en kreat) */
.gei-hero-top .shape-triangle-1,
.gei-hero-top .shape-triangle-2,
.gei-hero-top .shape-triangle-3,
.gei-hero-top .shape-triangle-4,
.gei-hero-top .shape-triangle-5,
.gei-hero-top .shape-triangle-6 {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 2;
    filter: blur(8px);
    opacity: 0.5;
    box-shadow: -20px -20px 40px rgba(0, 0, 0, 0.5);
    animation: floatTriangle 20s infinite alternate ease-in-out;
}

.gei-hero-top .shape-triangle-1 {
    top: -200px;
    right: -100px;
    border-left: 500px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 700px solid rgba(0, 0, 0, 0.4);
    transform: rotate(15deg);
}

.gei-hero-top .shape-triangle-2 {
    bottom: -200px;
    left: -150px;
    border-right: 600px solid transparent;
    border-left: 100px solid transparent;
    border-top: 800px solid rgba(10, 10, 10, 0.5);
    transform: rotate(-10deg);
}

.gei-hero-top .shape-triangle-3 {
    top: 20%;
    right: -50px;
    border-left: 300px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 450px solid rgba(20, 20, 20, 0.35);
    transform: rotate(30deg);
}

.gei-hero-top .shape-triangle-4 {
    bottom: 15%;
    left: -80px;
    border-right: 400px solid transparent;
    border-left: 80px solid transparent;
    border-top: 550px solid rgba(30, 30, 30, 0.4);
    transform: rotate(20deg);
}

.gei-hero-top .shape-triangle-5 {
    top: 5%;
    left: 30%;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 300px solid rgba(0, 0, 0, 0.25);
    transform: rotate(5deg);
}

.gei-hero-top .shape-triangle-6 {
    bottom: 10%;
    right: 5%;
    border-left: 250px solid transparent;
    border-right: 250px solid transparent;
    border-bottom: 350px solid rgba(15, 15, 15, 0.3);
    transform: rotate(-15deg);
}

/* Puntos */
.gei-hero-top .shape-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 400px 400px;
    z-index: 2;
    pointer-events: none;
}

/* Contenido */
.gei-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

.gei-hero-pre-title {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.gei-hero-pre-title::before,
.gei-hero-pre-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.gei-hero-pre-title::before {
    left: -20px;
}

.gei-hero-pre-title::after {
    right: -20px;
}

.gei-hero-main-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5rem;
    position: relative;
    display: inline-block;
    color: white;
}

.gei-hero-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
}

/* Indicador de scroll */
.gei-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gei-scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.gei-scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 15px;
    opacity: 0.8;
    font-weight: 300;
}

.gei-scroll-arrow {
    width: 26px;
    height: 26px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: arrowMove 2s infinite;
    opacity: 0.8;
}

/* Wrapper para secciones siguientes */
.gei-sections-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    background: white;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrowMove {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.8;
    }

    50% {
        transform: rotate(45deg) translate(10px, 10px);
        opacity: 0.4;
    }

    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.8;
    }
}

@keyframes floatTriangle {
    0% {
        transform: translate(0, 0) rotate(var(--rotate, 0deg));
    }

    100% {
        transform: translate(20px, -20px) rotate(calc(var(--rotate, 0deg) + 5deg));
    }
}

/* ============================================
   RESPONSIVE HERO GEI (SIN AFECTAR ESCRITORIO)
   ============================================ */

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .gei-hero-main-title {
        font-size: 3.5rem;
        /* igual que antes, pero reducimos letter-spacing */
        letter-spacing: 0.3rem;
        line-height: 1.2;
        margin-bottom: 100px;
    }

    .gei-hero-pre-title {
        font-size: 1.5rem;
        letter-spacing: 3px;
        margin-bottom: 1.2rem;
    }

    .gei-scroll-indicator span {
        font-size: 0.9rem;
        letter-spacing: 2px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
        margin-bottom: 60px;
    }

    /* Subimos el scroll indicator para que no lo tape el botón flotante */
    .gei-scroll-indicator {
        bottom: 100px;
    }

    /* Ocultamos triángulos que distraen */
    .gei-hero-top .shape-triangle-3,
    .gei-hero-top .shape-triangle-4,
    .gei-hero-top .shape-triangle-5,
    .gei-hero-top .shape-triangle-6 {
        display: none;
    }
}

@media (max-width: 767px) {
    .gei-hero-top {
        position: relative;
        height: 100vh;
        min-height: auto;
        /* quitamos altura mínima fija */
        background-attachment: scroll;
        padding: 2rem 1rem 3rem;
        /* más padding inferior para que no corte */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .gei-sections-wrapper {
        margin-top: 0 !important;
    }

    .gei-hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Pre-título: aseguramos visibilidad */
    .gei-hero-pre-title {
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
        display: inline-block;
        text-align: center;
        white-space: nowrap;
        /* que no se rompa */
    }

    /* Título principal */
    .gei-hero-main-title {
        font-size: 1.8rem;
        letter-spacing: 0.1rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
    }

    /* Scroll indicator: sin restricciones de ancho */
    .gei-scroll-indicator {
        position: column !important;
        bottom: auto !important;
        margin-top: 15rem;
        margin-bottom: 0;
        text-align: center;
        display: block !important;
        width: 100%;
        /* ocupa todo el ancho */
        margin-right: 20px;
    }

    .gei-scroll-indicator span {
        display: block !important;
        font-size: 2.5rem;
        /* reducido para que quepa */
        letter-spacing: 0.5px;
        max-width: 95%;
        /* casi todo el ancho */
        margin: 0 auto 8px auto;
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
        color: white;
        overflow-wrap: break-word;
    }

    .gei-scroll-arrow {
        width: 18px;
        height: 18px;
        margin: 0 auto;
        display: block;
    }

    /* Triángulos decorativos */
    .gei-hero-top .shape-triangle-1,
    .gei-hero-top .shape-triangle-2 {
        opacity: 0.2;
    }

    .gei-hero-top .shape-triangle-3,
    .gei-hero-top .shape-triangle-4,
    .gei-hero-top .shape-triangle-5,
    .gei-hero-top .shape-triangle-6 {
        display: none;
    }
}

@media (max-width: 480px) {
    .gei-hero-main-title {
        font-size: 2.5rem;
        margin-bottom: 250px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .gei-hero-pre-title {
        font-size: 1rem;
        letter-spacing: 0.5px;
        padding-bottom: 10px;
    }

    .gei-scroll-indicator span {
        font-size: 0.7rem;
        padding-left: 20px;
        padding-right: 20px;
        letter-spacing: 0.2rem;
        padding-top: 140px;
    }

    .gei-scroll-arrow {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 380px) {


    .gei-hero-main-title {
        font-size: 2.5rem;
        margin-bottom: 250px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .gei-hero-pre-title {
        font-size: 1rem;
        letter-spacing: 0.5px;
        padding-bottom: 10px;
    }

    .gei-scroll-indicator span {
        font-size: 0.7rem;
        padding-left: 20px;
        padding-right: 20px;
        letter-spacing: 0.2rem;
        padding-top: 140px;
    }
}

/* Tablets horizontales / pantallas anchas bajas (ej. iPad landscape) */
@media (min-width: 1024px) and (max-height: 800px) {
    .gei-scroll-indicator {
        bottom: 50px;
    }
}

/* ============================================
   FIX EXCLUSIVO PARA SURFACE DUO (540x720)
   ============================================ */
@media (max-width: 545px) and (min-width: 535px) {

    /* Ajustar altura del hero para que no corte contenido */
    .gei-hero-top {
        height: auto !important;
        min-height: 100vh !important;
        padding: 60px 12px 40px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Contenedor principal */
    .gei-hero-content {
        padding: 0 !important;
        margin: 0 auto !important;
    }

    /* Título principal - reducir tamaño y espaciado */
    .gei-hero-main-title {
        font-size: 1.8rem !important;
        letter-spacing: 0.15rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
        word-break: break-word;
    }

    /* Pretítulo */
    .gei-hero-pre-title {
        font-size: 0.6rem !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap;
    }

    /* Scroll indicator - mantener tu position: column pero ajustar márgenes */
    .gei-scroll-indicator {
        position: column !important;
        /* mantengo tu estilo original */
        margin-top: 1.2rem !important;
        margin-bottom: 0 !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .gei-scroll-indicator span {
        font-size: 0.6rem !important;
        letter-spacing: 1px !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        white-space: normal !important;
        word-break: break-word;
        line-height: 1.3 !important;
        display: block;
    }

    .gei-scroll-arrow {
        width: 14px !important;
        height: 14px !important;
        margin-top: 6px !important;
    }

    /* Ocultar elementos decorativos que puedan desbordar */
    .gei-hero-top .shape-triangle-3,
    .gei-hero-top .shape-triangle-4,
    .gei-hero-top .shape-triangle-5,
    .gei-hero-top .shape-triangle-6 {
        display: none !important;
    }
}

/* ============================================
   FIX SOLO PARA SURFACE DUO (540x720)
   Sin afectar otros dispositivos
   ============================================ */
@media (min-width: 535px) and (max-width: 545px) and (min-height: 715px) and (max-height: 725px) {

    /* Reduce el margen superior enorme que desplaza el texto */
    .gei-scroll-indicator {
        margin-top: 2rem !important;
        /* antes era 15rem */
    }

    /* Ajusta el tamaño de la fuente del texto inferior */
    .gei-scroll-indicator span {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
        max-width: 260px !important;
        padding: 0 !important;
        line-height: 1.3 !important;
        margin-top: 250px;
    }

    /* Ajusta la flecha */
    .gei-scroll-arrow {
        width: 16px !important;
        height: 16px !important;
    }

    /* Si el título se ve muy grande, lo reducimos un poco */
    .gei-hero-main-title {
        font-size: 2.5rem !important;
        margin-bottom: 10rem !important;
    }

    /* El pretítulo ya lo tienes con fix, pero aseguramos */
    .gei-hero-pre-title {
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
        margin-top: 1rem;
    }
}

/* ============================================
   FIX PARA ZOOM 125% EN LAPTOP (viewport reducido)
   Sin afectar tablets grandes ni escritorio normal
   ============================================ */
@media (min-width: 800px) and (max-width: 1100px) and (max-height: 800px) {

    /* Reduce el margen superior del scroll indicator */
    .gei-scroll-indicator {
        margin-top: 4rem !important;
        bottom: 20px !important;
    }

    /* Ajusta tamaño del texto inferior */
    .gei-scroll-indicator span {
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
        max-width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 10px;
    }

    /* Si el título se ve muy grande o con mucho letter-spacing */
    .gei-hero-main-title {
        font-size: 2.8rem !important;
        letter-spacing: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .gei-hero-pre-title {
        font-size: 0.9rem !important;
        letter-spacing: 4px !important;
    }
}