:root {
    --font-primary: 'Outfit', sans-serif;

    /* Paleta Oficial de Colores */
    --color-navy: #010C28;
    /* Azul Marino Profundo */
    --color-cobalt: #02219E;
    /* Azul Cobalto Oscuro */
    --color-electric-blue: #0B257A;
    /* Azul Eléctrico */
    --color-primary: #1746EA;
    /* Azul Primario */
    --color-medium-blue: #1435A6;
    /* Azul Medio */
    --color-light-blue: #4675FF;
    /* Azul Claro */
    --color-lavender: #AAB8E7;
    /* Azul Lavanda */
    --color-white: #FFFFFF;
    /* Blanco */

    /* Asignaciones funcionales */
    --color-primary-hover: var(--color-medium-blue);
    --color-text-white: var(--color-white);
    --color-text-gray: var(--color-lavender);

    /* Degradado del Overlay Hero invertido (sólido a la derecha, transparente a la izquierda) */
    --bg-overlay: linear-gradient(90deg, rgba(23, 70, 234, 0) -21.64%, #010C28 93.33%);

    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: #030712;
    color: var(--color-text-white);
    overflow-x: hidden;
    line-height: 1.5;
}

/* HEADER Y NAVEGACIÓN */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                padding 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-header.scrolled,
.blog-page .main-header.scrolled,
.blog-post-page .main-header.scrolled,
.contacto-page .main-header.scrolled {
    background: linear-gradient(90deg, rgba(74, 122, 255, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 0.9rem 0;
    box-shadow: 0 4px 30px rgba(1, 12, 40, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    /* Ajuste para que el logo se vea nítido y de buen tamaño */
    width: auto;
    object-fit: contain;
}

.main-nav>ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    /* Forzar texto blanco */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0 0.25rem 1.25rem;
    /* Margen izquierdo para dar espacio al cuadradito */
    opacity: 0.85;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

/* Cuadrado blanco al costado izquierdo, centrado verticalmente */
.nav-link::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    /* Oculto por defecto con escala 0 */
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
    border-radius: 0;
    /* Es un cuadrado, no un círculo */
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateY(-50%) scale(1);
    /* Visible al hacer hover o si está activo */
}

/* Estilo específico para el header en la página de blog y contacto (gradiente #4a7aff a #000000) */
.blog-page .main-header,
.blog-post-page .main-header,
.contacto-page .main-header {
    background: linear-gradient(90deg, #4a7aff 0%, #000000 100%);
    position: fixed;
}

/* Compensar el alto de la barra de navegación fija en páginas internas */
.blog-page main,
.blog-post-page main,
.contacto-page main {
    padding-top: 96px;
}

/* DROPDOWN MENU DE SERVICIOS */
.dropdown-parent {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(1, 12, 40, 0.08);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(1, 12, 40, 0.1);
    margin-top: 0.5rem;
    z-index: 150;
}

/* Espacio invisible para no perder el hover al desplazar el mouse hacia abajo */
.dropdown-parent::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.75rem;
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

.dropdown-link {
    display: block;
    color: #010C28;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem 0.75rem 2.25rem;
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0.85;
    text-align: left;
}

.dropdown-link:hover {
    opacity: 1;
    background-color: rgba(23, 70, 234, 0.08);
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 5px;
    height: 5px;
    background-color: #010C28;
    transition: var(--transition-smooth);
}

.dropdown-link:hover::before {
    transform: translateY(-50%) scale(1);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 600px;
    height: 600px;
    width: 100%;
    background-image: url('../imagenes/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 80px;
    /* Evitar solapamiento con header */
}

/* El home mantiene pantalla completa */
body.home-page .hero-section {
    min-height: 100vh;
    height: 100vh;
}

/* Capa de color y contraste sobre la imagen */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
    z-index: 1;
}

/* HERO LÍNEAS DE VIDA (SERVICIOS) */
.hero-section.hero-vida {
    background: url('../imagenes/hero vida.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-vida-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 12, 40, 0.8);
    /* Solid #010C28 with opacity */
    z-index: 1;
}

.hero-vida-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.hero-vida-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    /* Título y contenido alineados al inicio / top */
}

.hero-vida-left {
    display: flex;
    flex-direction: column;
}

.hero-vida-right {
    display: flex;
    align-items: flex-start;
}

.hero-vida-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-vida-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-vida-subtitle {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.25;
}

.hero-vida-paragraph-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.hero-vida-paragraph {
    font-size: 1.1rem;
    color: var(--color-white);
    line-height: 1.7;
    font-weight: 300;
}

/* HERO INSPECCIONES (SERVICIOS) */
.hero-section.hero-inspecciones {
    background: url('../imagenes/hero inspecciones.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-inspecciones-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 12, 40, 0.8);
    /* Solid #010C28 with opacity */
    z-index: 1;
}

.hero-inspecciones-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.hero-inspecciones-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    /* Título y contenido alineados al inicio / top */
}

.hero-inspecciones-left {
    display: flex;
    flex-direction: column;
}

.hero-inspecciones-right {
    display: flex;
    align-items: flex-start;
}

.hero-inspecciones-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-inspecciones-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-inspecciones-paragraph-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.hero-inspecciones-paragraph {
    font-size: 1.1rem;
    color: var(--color-white);
    line-height: 1.7;
    font-weight: 300;
}

/* HERO MONTAJES (SERVICIO) */
.hero-section.hero-montajes {
    background: url('../imagenes/hero montajes.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-montajes-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 12, 40, 0.8);
    /* Solid #010C28 with opacity */
    z-index: 1;
}

.hero-montajes-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.hero-montajes-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    /* Alineado arriba */
}

.hero-montajes-left {
    display: flex;
    flex-direction: column;
}

.hero-montajes-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-montajes-right {
    display: flex;
    align-items: flex-start;
}

.hero-montajes-desc {
    font-size: 1.35rem;
    color: var(--color-white);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 992px) {
    .hero-montajes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-montajes-title {
        font-size: 3.5rem;
    }

    .hero-montajes-desc {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .hero-montajes-container {
        padding: 0 2rem;
    }

    .hero-montajes-title {
        font-size: 2.8rem;
    }
}

/* SECCIÓN TARJETAS DE SERVICIOS MONTAJES */
.montajes-cards-section {
    background-color: var(--color-white);
    /* Fondo gris/celeste claro de la captura */
    padding: 80px 0;
    width: 100%;
}

.montajes-cards-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.montaje-card {
    background-color: #D1D5E245;
    border-radius: 8px;
    position: relative;
    /* Para el posicionamiento del decorador absoluto */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.5rem 0 1.5rem;
    /* Margen blanco alrededor de la foto en la parte superior y costados */
}

.montaje-card-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    /* Bordes redondeados en la foto como se ve en la imagen */
}

.montaje-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.montaje-card-content {
    padding: 2rem 0.5rem 2.5rem 0.5rem;
    /* Aumentamos el padding inferior para dar espacio a la mitad superior del decorador */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.montaje-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #010C28;
    /* Color azul muy oscuro */
    margin: 0 0 1.2rem 0;
}

.montaje-card-text {
    font-size: 1.05rem;
    color: #4A5568;
    /* Gris oscuro para el texto descriptivo */
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.montaje-card-footer {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    /* Lo desplaza exactamente la mitad de su tamaño hacia abajo y lo centra */
    z-index: 5;
}

.montaje-card-decorator {
    width: 45px;
    height: 45px;
    background-color: #0F36D4;
    /* Color azul de la captura */
}

@media (max-width: 992px) {
    .montajes-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }

    .montajes-cards-section {
        padding: 60px 0;
    }
}

/* HERO CAPACITACIONES (SERVICIO) */
.hero-section.hero-capacitaciones {
    background: url('../imagenes/hero capacitaciones.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-capacitaciones-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 12, 40, 0.8);
    /* Solid #010C28 with opacity */
    z-index: 1;
}

.hero-capacitaciones-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.hero-capacitaciones-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.hero-capacitaciones-left {
    display: flex;
    flex-direction: column;
}

.hero-capacitaciones-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-capacitaciones-right {
    display: flex;
    align-items: flex-start;
}

.hero-capacitaciones-desc {
    font-size: 1.25rem;
    color: var(--color-white);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* SECCIÓN CUERPO DE CAPACITACIONES */
.capacitaciones-body-section {
    background-color: var(--color-white);
    padding: 100px 0;
    width: 100%;
    color: #010C28;
}

.capacitaciones-body-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Galería Encimada (Stacked Gallery) */
.capacitaciones-gallery-col {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stacked-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-photo {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    padding: 0.6rem;
    transition: transform 0.4s ease, z-index 0.4s ease;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Posiciones escalonadas y encimadas 3D */
.photo-1 {
    width: 320px;
    height: 240px;
    left: 0;
    top: 0;
    z-index: 1;
}

.photo-2 {
    width: 310px;
    height: 250px;
    left: 50px;
    top: 50px;
    z-index: 2;
}

.photo-3 {
    width: 330px;
    height: 260px;
    left: 90px;
    top: 100px;
    z-index: 3;
}

.photo-4 {
    width: 360px;
    height: 280px;
    left: 140px;
    top: 140px;
    z-index: 4;
}

/* Efecto hover interactivo en fotos apiladas */
.gallery-photo:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10 !important;
}

/* Columna de Información */
.capacitaciones-info-col {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #010C28;
    margin: 0;
    position: relative;
}

.info-paragraph {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4A5568;
    font-weight: 300;
    margin: 0;
}

.course-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #010C28;
    margin: 0;
}

.course-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4A5568;
    font-weight: 300;
    margin: 0;
}

.capacitaciones-actions {
    margin-top: 1rem;
}

.btn-capacitacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.5rem;
    border-radius: 9999px;
    background-color: #1746EA;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(23, 70, 234, 0.25);
}

.btn-capacitacion:hover {
    background-color: #0F36D4;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(23, 70, 234, 0.35);
}

/* RESPONSIVO CAPACITACIONES */
@media (max-width: 992px) {
    .hero-capacitaciones-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-capacitaciones-title {
        font-size: 3.5rem;
    }

    .capacitaciones-body-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 2rem;
    }

    .capacitaciones-gallery-col {
        height: 380px;
    }

    .stacked-gallery {
        max-width: 480px;
        height: 380px;
        margin: 0 auto;
    }

    .photo-1 {
        width: 220px;
        height: 170px;
    }

    .photo-2 {
        width: 210px;
        height: 180px;
        left: 40px;
        top: 40px;
    }

    .photo-3 {
        width: 230px;
        height: 190px;
        left: 80px;
        top: 80px;
    }

    .photo-4 {
        width: 250px;
        height: 210px;
        left: 120px;
        top: 120px;
    }
}

@media (max-width: 576px) {
    .hero-capacitaciones-container {
        padding: 0 2rem;
    }

    .hero-capacitaciones-title {
        font-size: 2.8rem;
    }

    .info-main-title {
        font-size: 1.8rem;
    }
}



.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: flex-end;
}

.hero-content {
    max-width: 650px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 5rem;
    font-weight: 300;
    /* Light como en la imagen para "Respuesta" */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    font-weight: 700;
    /* Bold para "altura" */
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
}

/* BOTONES */
.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    /* Botones ovalados premium */
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }

    .hero-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 1.5rem;
    }

    .hero-section {
        justify-content: center;
        text-align: center;
    }

    .hero-container {
        justify-content: center;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}

/* SECCIÓN SOBRE NOSOTROS (OSCURA CON GRADIENTE DE ARRIBA A ABAJO) */
.about-section {
    position: relative;
    background: linear-gradient(180deg, rgba(1, 12, 40, 0) 0%, #010C28 100%);
    padding: 3rem 0 1rem 0;
    /* Espacio vertical de la sección significativamente reducido */
    margin-top: -100px;
    /* Traslapar ligeramente con el Hero para que el degradado empiece bien sobre la imagen */
    z-index: 5;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    /* Volver a centrar verticalmente para que compartan la misma línea media */
}

/* Imagen con bloque decorativo azul por detrás */
.about-image-wrapper {
    position: relative;
    padding: 20px 20px 0 0;
    margin-bottom: -80px;
    /* Traslape controlado hacia la sección blanca */
    z-index: 10;
}

.about-img {
    width: 100%;
    top: 40px;
    height: auto;
    border-radius: 4px;
    display: block;
    position: relative;
    z-index: 2;
}

.about-image-decoration {
    position: absolute;
    top: 140px;
    right: 7px;
    width: 50px;
    height: 50px;
    background-color: var(--color-cobalt);
    z-index: 4;
    transform: translate(10px, -10px);
    /* Ajustado para que sobresalga en la esquina superior derecha */
}

/* Textos Sobre Nosotros */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-lavender);
    font-weight: 300;
}

/* SECCIÓN VALORES (CLARA) */
.values-section {
    background-color: var(--color-white);
    color: #010c28;
    /* Letra oscura */
    padding: 4rem 0 8rem 0;
    /* Restaurado a 12rem para un traslape simétrico */
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: flex-start;
}

.values-header {
    align-self: stretch;
}

.values-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: #010c28;
    letter-spacing: -0.02em;
    position: sticky;
    top: 180px;
    margin-top: 140px;
    padding-top: 0;
}

.values-main-title .bold-text {
    font-weight: 700;
}

/* Lista de Tarjetas de Valores */
.values-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 140px;
}

.value-card {
    background-image: linear-gradient(var(--color-white), var(--color-white)),
        linear-gradient(180deg, #1746EA 0%, #010C28 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
    border-radius: 39px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(70, 117, 255, 0.08);
}

.value-card-number {
    font-size: 100px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(180deg, #010C28 0%, rgba(23, 70, 234, 0.4) 78.13%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.value-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #010c28;
}

.value-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    /* Gris suave legible sobre fondo blanco */
    font-weight: 400;
}

/* SECCIÓN SERVICIOS DESTACADOS */
.services-section {
    background-color: var(--color-white);
    padding: 8rem 0;
    color: #010c28;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.services-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: #010c28;
    margin-bottom: 5rem;
    letter-spacing: -0.02em;
}

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

/* Tarjeta de Servicio con corte diagonal (Chaflán) en la esquina superior derecha */
.service-card {
    text-decoration: none;
    color: inherit;
    background-color: #f1f3f6;
    /* Gris azulado muy suave y limpio de la imagen */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 540px;
    border-radius: 4px;
    /* Silueta de chaflán de 60px en esquina superior derecha para un corte idéntico al de la imagen */
    clip-path: polygon(0 0, calc(100% - 100px) 0, 100% 100px, 100% 100%, 0 100%);
    transition: var(--transition-smooth);
}

.montajes-cards-section .service-card {
    background-color: #D1D5E245;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(1, 12, 40, 0.06);
}

/* Indicador decorativo azul arriba a la izquierda (cuadrado exacto) */
.service-card-top-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-cobalt);
    /* #02219E */
    z-index: 5;
}

/* Cuerpo de la tarjeta */
.service-card-body {
    padding: 4.5rem 2.8rem 2rem 2.8rem;
    /* Padding superior aumentado por el chaflán y el indicador */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.service-card-title {
    font-size: 2.1rem;
    /* Título un poco más grande y robusto */
    font-weight: 700;
    color: #010c28;
    /* Azul marino profundo */
    margin-bottom: 0.6rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.service-card-text {
    font-size: 1.25rem;
    /* Texto secundario más grande y elegante de la imagen */
    color: #374151;
    /* Gris oscuro sutil */
    margin-bottom: 2.2rem;
    font-weight: 300;
    /* Light para el texto descriptivo */
    line-height: 1.4;
    flex-grow: 0;
    /* Evitar que crezca artificialmente */
}

/* Botón Conocer Servicio (Negro/Azul Marino Profundo) con forma ovalada exacta */
.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.4rem;
    /* Botón un poco más grande y acolchado */
    background-color: #010c28;
    /* Color exacto del botón de la imagen */
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 8px 16px rgba(1, 12, 40, 0.15);
    /* Sombra suave */
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-service:hover {
    background-color: var(--color-primary);
    /* #1746EA */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(23, 70, 234, 0.25);
}

/* Imagen en la base de la tarjeta */
.service-card-image-container {
    width: 100%;
    height: 240px;
    /* Aumentado ligeramente para mejor proporción visual */
    overflow: hidden;
    margin-top: auto;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
    /* Efecto zoom suave al hacer hover en la tarjeta */
}

/* SECCIÓN CALIDAD CERTIFICADA */
.certification-section {
    background-color: #D1D5E2CC;
    /* Fondo exacto solicitado */
    padding: 6rem 0;
    color: #010C28;
    /* Asegurar color exacto #010C28 para todos los textos y títulos */
}

.certification-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.certification-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: flex-start;
}

/* Columna Izquierda */
.certification-title {
    font-size: 3rem;
    font-weight: 700;
    color: #010C28;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.certification-description {
    font-size: 1.2rem;
    color: #010C28;
    line-height: 1.6;
    font-weight: 400;
}

/* Columna Derecha */
.certification-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.certification-subtitle {
    font-size: 1.25rem;
    color: #010C28;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.certification-list {
    list-style: none;
    margin-bottom: 2.2rem;
}

.certification-list li {
    font-size: 1.2rem;
    color: #010C28;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Viñeta cuadrada personalizada de la imagen */
.certification-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    /* Centrado visual con el texto */
    width: 6px;
    height: 6px;
    background-color: #010C28;
    border-radius: 0;
    /* Cuadrado */
}

.certification-note {
    font-size: 1.2rem;
    color: #010C28;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    font-weight: 400;
}

/* Botón Descargar Certificado (Redondeado y azul marino oscuro) */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.4rem;
    background-color: #010c28;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 8px 16px rgba(1, 12, 40, 0.15);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background-color: var(--color-primary);
    /* Cambia a azul primario en hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(23, 70, 234, 0.25);
}

/* SECCIÓN CONFÍAN EN NOSOTROS (MARQUESINA INFINITA) */
.clients-section {
    background-color: white;
    /* El mismo fondo que calidad certificada para continuidad visual */
    padding: 2rem 0 6rem 0;
    /* Padding superior reducido porque la sección de arriba ya tiene relleno */
    overflow: hidden;
}

.clients-container {
    width: 100%;
    margin: 0 auto;
}

.clients-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #010C28;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* Contenedor de la marquesina */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    display: flex;
}

/* Capas difuminadas en los extremos para un look premium */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Fila de logos deslizable */
.marquee-content {
    display: flex;
    gap: 6rem;
    /* Gran separación para que respiren los logos */
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
    /* Animación continua e infinita */
}

/* Evitar tirones y saltos al pausar o enfocar */
.marquee-content:hover {
    animation-play-state: paused;
    /* Pausar el scroll si el cursor se posa en los logos */
}

/* Ítem de Logo */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    /* Ancho fijo para consistencia */
    height: 70px;
    /* Alto fijo para consistencia */
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(1, 12, 40, 0.06));
    transition: var(--transition-smooth);
}

.logo-item img:hover {
    transform: scale(1.08);
    /* Micro-interacción al hacer hover sobre un logo específico */
}

/* Animación de desplazamiento (avanza la mitad del ancho total y se reinicia de manera invisible) */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 3rem));
        /* 50% de la longitud + mitad del gap para evitar saltos */
    }
}

/* SECCIÓN CONTACTO / FORMULARIO */
.contact-section {
    background-color: #D1D5E2CC;
    /* Fondo grisáceo integrado */
    padding: 6rem 0;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.contact-box {
    display: flex;
    box-shadow: 0 30px 60px rgba(1, 12, 40, 0.1);
    border-radius: 0;
    /* Esquinas rectas y finas como la referencia */
    overflow: hidden;
    min-height: 560px;
}

/* Bloque Izquierdo: Cuadrado Azul #02219E */
.contact-info-block {
    flex: 1;
    background: #02219E;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}

.contact-info-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.contact-info-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    /* Blanco translúcido legible */
    font-weight: 300;
}

/* Bloque Derecho: Formulario Blanco */
.contact-form-block {
    flex: 1.2;
    background-color: var(--color-white);
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    /* Gris de la referencia */
    font-family: var(--font-primary);
}

.form-group input,
.form-group textarea {
    background-color: #f1f3f6;
    /* Fondo gris claro idéntico a la referencia */
    border: none;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #010c28;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: #e5e7eb;
    box-shadow: inset 0 0 0 2px var(--color-cobalt);
    /* Resaltado sutil en focus */
}

/* Botón de Enviar (Color #010C28, rectangular) */
.btn-submit {
    align-self: flex-start;
    padding: 0.9rem 2.2rem;
    background-color: #010C28;
    /* Azul Marino Profundo / Negro */
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    /* Totalmente rectangular como en la referencia */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(1, 12, 40, 0.15);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background-color: var(--color-primary);
    /* Cambia a azul primario en hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 70, 234, 0.25);
}

/* FOOTER / PIE DE PÁGINA */
.main-footer {
    background: linear-gradient(90deg, #3f6ffe 0%, #000000 80%);
    /* Degradado exacto solicitado */
    color: var(--color-white);
    padding: 5rem 0 2rem 0;
    font-family: var(--font-primary);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Alinear columna de redes a la derecha */
.footer-col-socials {
    align-items: flex-end;
    text-align: right;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-col-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.8rem;
    line-height: 1.3;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-contact li,
.footer-contact a {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    /* Blanco sutil */
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 300;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-white);
    transform: translateX(4px);
    /* Pequeño desplazamiento interactivo en hover */
}

/* Contenedor de iconos sociales */
.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Iconos sociales circulares interactivos */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    transition: var(--transition-smooth);
    background-color: transparent;
}

.social-icon:hover {
    background-color: var(--color-white);
    color: #000000;
    /* Invierte colores al hacer hover */
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Franja de Derechos de Autor */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

/* SECCIÓN TIPOS DE LÍNEAS DE VIDA */
.lifeline-types-section {
    background-color: white;
    padding: 8rem 0;
    color: var(--color-navy);
}

.lifeline-types-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 7rem;
}

.lifeline-type-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.lifeline-type-image {
    flex: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lifeline-type-image img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.lifeline-type-image img:hover {
    transform: scale(1.04);
}

.lifeline-type-info {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.lifeline-type-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.lifeline-type-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(1, 12, 40, 0.8);
    font-weight: 400;
}

.lifeline-type-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 9999px;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(23, 70, 234, 0.2);
    transition: var(--transition-smooth);
}

.lifeline-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
}

.lifeline-detail-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(23, 70, 234, 0.2);
}

.lifeline-type-title-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.lifeline-type-title-link:hover {
    color: var(--color-primary);
}

/* SECCIÓN BANNER EVALUACIÓN */
.assessment-banner-section {
    background-color: #EFF0F2;
    padding: 9rem 0;
}

.assessment-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.assessment-card {
    display: flex;
    background-color: var(--color-cobalt);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    align-items: stretch;
}

.assessment-content {
    flex: 1.2;
    padding: 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    z-index: 3;
    position: relative;
}

.assessment-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.assessment-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    line-height: 1.5;
    max-width: 480px;
}

.btn-assessment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-assessment:hover {
    background-color: var(--color-white);
    color: var(--color-cobalt);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.assessment-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    overflow: hidden;
}

.assessment-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-cobalt) 0%, rgba(2, 33, 158, 0) 70%);
    z-index: 2;
    pointer-events: none;
}

.assessment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* SECCIÓN ACORDEÓN DE INSPECCIONES */
.inspections-accordion-section {
    background-color: var(--color-white);
    padding: 0;
    width: 100%;
}

.inspections-accordion-container {
    display: flex;
    width: 100%;
    height: 750px;
    align-items: stretch;
    overflow: hidden;
}

.accordion-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 4rem;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.accordion-column:nth-child(1) {
    background-color: #F5F6F9;
}

.accordion-column:nth-child(2) {
    background-color: #E3E7F0;
}

.accordion-column:nth-child(3) {
    background-color: #BAC5E5;
}

.accordion-column:hover {
    flex: 2.8;
}

.accordion-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.accordion-number {
    font-size: 8rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #010C28 0%, rgba(1, 12, 40, 0.1) 78.13%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.accordion-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.accordion-body {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.accordion-body-inner {
    width: 580px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 2rem;
}

.accordion-column:hover .accordion-body {
    max-width: 650px;
    opacity: 1;
}

.accordion-content-block h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #010C28;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.accordion-content-block p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #010C28;
    font-weight: 400;
}

/* SECCIÓN GALERÍA MARQUESINA INFINITA */
.gallery-marquee-section {
    background-color: #030712;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.gallery-marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.gallery-marquee-content {
    display: flex;
    gap: 0;
    width: max-content;
    animation: scrollGalleryMarquee 40s linear infinite;
}

.gallery-marquee-content:hover {
    animation-play-state: paused;
}

.gallery-item {
    height: 480px;
    width: auto;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item img:hover {
    transform: scale(1.08);
}

@keyframes scrollGalleryMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* SECCIÓN TRABAJOS REALIZADOS (PROYECTOS) */
.projects-gallery-section {
    background-color: var(--color-navy);
    width: 100%;
    padding: 2rem 0 6rem 0;
}

.projects-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem 2rem;
}

.projects-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
    letter-spacing: -0.01em;
}

.projects-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 2.2rem;
    background-color: var(--color-primary);
}

.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 0;
    background-color: var(--color-navy);
}

.project-gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #0b1535;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-gallery-item:hover img {
    transform: scale(1.08);
}

.project-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 12, 40, 0.88);
    /* Color #010C28E0 (88% opacity) */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    /* invisible by default */
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.project-gallery-item:hover .project-gallery-overlay {
    opacity: 1;
    /* visible on hover */
}

.project-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.project-arrow {
    font-size: 1.5rem;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.project-gallery-item:hover .project-arrow {
    transform: translateY(4px);
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-white);
    margin: 0;
    max-width: 90%;
}

.project-client {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-lavender);
    margin: 0;
}

/* HERO PROYECTOS */
.hero-section.hero-proyectos {
    background: #010C28;
    display: flex;
    align-items: center;
}

.hero-proyectos-overlay {
    display: none;
}

.hero-proyectos-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.hero-proyectos-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.hero-proyectos-left {
    display: flex;
    flex-direction: column;
}

.hero-proyectos-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-proyectos-right {
    display: flex;
    align-items: flex-start;
}

.hero-proyectos-desc {
    font-size: 1.25rem;
    color: var(--color-white);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 992px) {
    .hero-proyectos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-proyectos-title {
        font-size: 3.5rem;
    }

    .projects-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-proyectos-container {
        padding: 0 2rem;
    }

    .hero-proyectos-title {
        font-size: 2.8rem;
    }

}


/* SECCIÓN DE ENTRADAS DE BLOG */
.blog-list-section {
    background-color: var(--color-white);
    padding: 100px 0;
    width: 100%;
}

.blog-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    overflow: hidden;
}

.blog-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1.45 / 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.blog-card-date {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #010C28;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-card-date strong {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
}

.blog-card-date span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.7;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.blog-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.25rem;
    border-radius: 20px;
    background-color: #010C28;
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-card-btn:hover {
    background-color: #1746EA;
}

.blog-card-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #010C28;
    margin: 0;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-text {
    color: #1746EA;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .blog-list-container {
        padding: 0 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ESTILOS DE LA PÁGINA DE DETALLE DE BLOG (BLOG POST) */
.blog-post-page {
    background-color: var(--color-white) !important;
    color: #010C28 !important;
}

.blog-post-main {
    padding-top: 0;
}

.post-hero-section {
    background-color: var(--color-white);
    padding: 60px 0;
    width: 100%;
}

.post-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.post-hero-grid {
    display: grid;
    grid-template-columns: 1fr 2.1fr;
    gap: 5rem;
    align-items: flex-start;
}

.post-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.post-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background-color: #010C28;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
}

.post-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #010C28;
    margin: 0;
    letter-spacing: -0.01em;
}

.post-hero-right {
    width: 100%;
}

.post-image-wrapper {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    border-radius: 36px;
    overflow: hidden;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CONTENIDO ESCRITO DEL POST */
.post-content-section {
    background-color: var(--color-white);
    padding: 40px 0 100px 0;
    width: 100%;
}

.post-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.post-content-body {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-content-body p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #010C28;
    font-weight: 400;
    margin: 0;
}

@media (max-width: 992px) {
    .post-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .post-main-title {
        font-size: 2.2rem;
    }

    .post-image-wrapper {
        border-radius: 24px;
    }

    .post-hero-container,
    .post-content-container {
        padding: 0 2rem;
    }
}

/* NAVEGACIÓN Y PAGINACIÓN EN EL ARTÍCULO */
.post-navigation-wrapper {
    margin-top: 8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(1, 12, 40, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #010C28;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.btn-back-to-blog:hover {
    color: #1746EA;
    transform: translateX(-4px);
}

.post-prev-next {
    display: flex;
    gap: 1.5rem;
}

.btn-nav-page {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid #010C28;
    color: #010C28;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-nav-page:hover {
    background-color: #010C28;
    color: var(--color-white);
}

.btn-nav-page.prev:hover {
    transform: translateX(-4px);
}

.btn-nav-page.next:hover {
    transform: translateX(4px);
}

@media (max-width: 576px) {
    .post-navigation-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .post-prev-next {
        justify-content: space-between;
    }
}

/* RESPONSIVIDAD PARA LAS NUEVAS SECCIONES */
@media (max-width: 1024px) {

    .about-grid,
    .values-grid {
        gap: 3rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .values-main-title {
        font-size: 2.8rem;
    }

    .services-main-title {
        font-size: 2.8rem;
        margin-bottom: 3.5rem;
    }

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

    .certification-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .about-section {
        margin-top: 0 !important;
        padding: 6rem 0 4rem 0;
    }

    .values-section {
        padding: 6rem 0;
    }

    .about-container,
    .values-container,
    .services-container,
    .certification-container {
        padding: 0 2rem;
    }

    .about-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        margin-bottom: 0;
        /* Anular margen negativo en mobile */
    }

    .about-img {
        top: 0 !important;
    }

    .about-image-decoration {
        display: none !important;
    }

    .values-main-title {
        text-align: center;
        margin-bottom: 2rem;
        padding-top: 0 !important;
        margin-top: 0 !important;
        position: static !important;
    }

    .values-cards {
        padding-top: 0 !important;
    }

    .value-card {
        padding: 1.8rem;
        flex-direction: column;
        gap: 1rem;
    }

    .value-card-number {
        font-size: 2.8rem;
    }

    .services-section {
        padding: 6rem 0;
    }

    .services-main-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        min-height: auto;
    }

    .certification-section {
        padding: 5rem 0;
    }

    .certification-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .certification-title {
        font-size: 2.3rem;
        margin-bottom: 1.5rem;
    }

    .clients-section {
        padding: 2rem 0 4rem 0;
    }

    .clients-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .marquee-content {
        gap: 3.5rem;
        /* Separación más ajustada en móviles */
    }

    .logo-item {
        width: 120px;
        /* Reducir ancho del logo en mobile */
        height: 50px;
    }

    @keyframes scrollMarquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 1.75rem));
            /* Compensación móvil según el nuevo gap */
        }
    }

    .contact-section {
        padding: 5rem 0;
    }

    .contact-container {
        padding: 0 2rem;
    }

    .contact-box {
        flex-direction: column;
        /* Apilar una columna sobre la otra en mobile */
        min-height: auto;
    }

    .contact-info-block {
        padding: 4rem 2rem;
    }

    .contact-info-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .contact-info-subtitle {
        font-size: 1.05rem;
    }

    .contact-form-block {
        padding: 4rem 2rem;
    }

    .form-row-double {
        grid-template-columns: 1fr;
        /* Dividir inputs dobles a individuales en mobile */
        gap: 1.5rem;
    }

    .main-footer {
        padding: 4rem 0 2rem 0;
    }

    .footer-container {
        padding: 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Apilar en una columna vertical en mobile */
        gap: 2.5rem;
        margin-bottom: 3rem;
        text-align: left;
    }

    .footer-col {
        align-items: flex-start;
        /* Alinear contenidos a la izquierda en mobile */
    }

    .footer-col-socials {
        align-items: flex-start;
        text-align: left;
    }

    .footer-col-title {
        margin-bottom: 1rem;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        text-align: left;
    }

    /* Responsivo para los Grids de Héroes de Servicios */
    .hero-vida-grid,
    .hero-inspecciones-grid,
    .hero-montajes-grid,
    .hero-capacitaciones-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: left;
    }

    /* Responsivo para el Hero de Líneas de vida */
    .hero-section.hero-vida {
        justify-content: flex-start;
    }

    .hero-vida-container {
        padding: 0 2rem;
        justify-content: flex-start;
    }

    .hero-vida-content {
        align-items: flex-start;
        text-align: left;
    }

    .hero-vida-title {
        font-size: 2.8rem;
    }

    .hero-vida-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-vida-paragraph-highlight {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-vida-paragraph {
        font-size: 0.95rem;
    }

    /* Responsivo para el Hero de Inspecciones */
    .hero-section.hero-inspecciones {
        justify-content: flex-start;
    }

    .hero-inspecciones-container {
        padding: 0 2rem;
        justify-content: flex-start;
    }

    .hero-inspecciones-content {
        align-items: flex-start;
        text-align: left;
    }

    .hero-inspecciones-title {
        font-size: 2.8rem;
    }

    .hero-inspecciones-paragraph-highlight {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-inspecciones-paragraph {
        font-size: 0.95rem;
    }

    /* Responsivo para el Hero de Montajes */
    .hero-section.hero-montajes {
        justify-content: flex-start;
    }

    .hero-montajes-container {
        padding: 0 2rem;
        justify-content: flex-start;
    }

    .hero-montajes-title {
        font-size: 2.8rem;
        text-align: left;
    }

    .hero-montajes-desc {
        font-size: 1.1rem;
        text-align: left;
        margin-top: 1rem;
    }

    /* Responsivo para el Hero de Capacitaciones */
    .hero-section.hero-capacitaciones {
        justify-content: flex-start;
    }

    .hero-capacitaciones-container {
        padding: 0 2rem;
        justify-content: flex-start;
    }

    .hero-capacitaciones-title {
        font-size: 2.8rem;
        text-align: left;
    }

    .hero-capacitaciones-desc {
        font-size: 1.1rem;
        text-align: left;
        margin-top: 1rem;
    }

    /* Responsivo para Tipos de Líneas de Vida */
    .lifeline-types-section {
        padding: 5rem 0;
    }

    .lifeline-types-container {
        padding: 0 2rem;
        gap: 5rem;
    }

    .lifeline-type-row {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .lifeline-type-info {
        align-items: center;
    }

    .lifeline-type-title {
        font-size: 1.8rem;
    }

    .lifeline-type-text {
        font-size: 0.95rem;
    }

    .lifeline-type-image img {
        max-height: 200px;
    }

    /* Responsivo para Banner de Evaluación */
    .assessment-banner-section {
        padding: 6rem 0;
    }

    .assessment-banner-container {
        padding: 0 2rem;
    }

    .assessment-card {
        flex-direction: column;
        border-radius: 28px;
        min-height: auto;
    }

    .assessment-content {
        padding: 4rem 2.5rem;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

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

    .assessment-subtitle {
        font-size: 1.05rem;
    }

    .assessment-image-wrapper {
        height: 250px;
        width: 100%;
    }

    .assessment-image-overlay {
        background: linear-gradient(180deg, var(--color-cobalt) 0%, rgba(2, 33, 158, 0) 100%);
    }

    /* Responsivo para el Acordeón de Inspecciones */
    .inspections-accordion-container {
        flex-direction: column;
        height: auto !important;
        min-height: auto;
    }

    .accordion-column {
        flex: none !important;
        width: 100%;
        padding: 3.5rem 2.5rem;
    }

    .accordion-column:hover {
        flex: none !important;
    }

    .accordion-number {
        font-size: 5rem;
    }

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

    .accordion-body {
        max-width: 100% !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    .accordion-body-inner {
        width: 100% !important;
        padding-top: 1.5rem !important;
    }

    /* Responsivo para la Galería en Marquesina */
    .gallery-item {
        height: 300px;
        width: auto;
    }
}

/* ================================================
   PÁGINAS INTERNAS (CONTACTO & BLOG) — Títulos
   ================================================ */

/* Sección título + descripción — fuera del gradiente, fondo blanco */
.contacto-title-section,
.blog-title-section {
    background-color: var(--color-white);
    padding: 3.5rem 0 2.5rem;
    width: 100%;
}

.contacto-title-container,
.blog-title-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contacto-title,
.blog-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #010C28;
    letter-spacing: -0.02em;
    margin: 0;
}

.contacto-desc,
.blog-desc {
    font-size: 1.25rem;
    color: #010C28;
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
    padding-top: 0.5rem;
}

@media (max-width: 992px) {
    .contacto-title-container,
    .blog-title-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contacto-title,
    .blog-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .contacto-title-container,
    .blog-title-container {
        padding: 0 2rem;
    }

    .contacto-title,
    .blog-title {
        font-size: 2.8rem;
    }
}


/* ================================================
   SECCIÓN CONTACTO (compartida entre home y contacto.html)
   ================================================ */

.contact-section {
    background-color: var(--color-white);
    padding: 80px 0 100px;
    width: 100%;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 0;
    align-items: stretch;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(1, 12, 40, 0.08);
}

/* Bloque izquierdo: card azul */
.contact-info-block {
    background: #02219E;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-white);
    margin: 0;
}

.contact-info-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
    text-underline-offset: 3px;
}

/* Bloque derecho: formulario */
.contact-form-block {
    background-color: var(--color-white);
    padding: 3.5rem 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #010C28;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0;
    background-color: #f0f2f7;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #010C28;
    outline: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #e4e8f3;
}

.btn-submit {
    align-self: flex-start;
    padding: 0.75rem 2.5rem;
    background-color: #010C28;
    color: var(--color-white);
    border: none;
    border-radius: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #1746EA;
    transform: translateY(-2px);
}

/* Responsivo contacto */
@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-info-block {
        padding: 2.5rem 2rem;
    }

    .contact-form-block {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 0 1.5rem;
    }

    .form-row-double {
        grid-template-columns: 1fr;
    }

    .contact-info-title {
        font-size: 1.6rem;
    }
}

/* ================================================
   MOBILE MENU & HAMBURGER TOGGLE
   ================================================ */

/* Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hamburger to X animation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive navigation drawer */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: rgba(1, 12, 40, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(1, 12, 40, 0.2);
        padding: 6rem 2.5rem 3rem;
        display: flex;
        flex-direction: column;
        z-index: 150;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        width: 100%;
    }

    .main-nav > ul > li {
        width: 100%;
    }

    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        display: block;
        padding: 0.5rem 0 0.5rem 1.5rem;
        position: relative;
    }

    .nav-link::before {
        left: 0;
    }

    /* Dropdown inside drawer */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0.5rem 0 0 1.5rem;
        margin-top: 0;
        width: 100%;
    }

    .dropdown-parent.active .dropdown-menu {
        display: flex;
    }

    .dropdown-link {
        color: rgba(255, 255, 255, 0.75);
        padding: 0.6rem 0;
        font-size: 1.05rem;
    }
    
    .dropdown-link:hover {
        color: var(--color-white);
    }
}


/* ================================================
   VALIDACIÓN INTERACTIVA DE FORMULARIOS
   ================================================ */
.form-group input.valid,
.form-group textarea.valid {
    border: 1px solid #10B981 !important;
    background-color: #ECFDF5 !important;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border: 1px solid #EF4444 !important;
    background-color: #FEF2F2 !important;
}

/* ================================================
   BOTÓN FLOTANTE DE WHATSAPP CON PULSO
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ================================================
   SECCIÓN PREGUNTAS FRECUENTES (FAQs)
   ================================================ */
.faq-section {
    background-color: #f8fafc;
    padding: 80px 0;
    width: 100%;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #010C28;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid rgba(1, 12, 40, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(1, 12, 40, 0.02);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(1, 12, 40, 0.05);
    border-color: rgba(23, 70, 234, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: #010C28;
    cursor: pointer;
    font-family: var(--font-primary);
    outline: none;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: #1746EA;
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: #010C28;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #1746EA;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 2rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
    padding-top: 0.25rem;
    padding-bottom: 1.75rem;
}

/* ================================================
   SECCIÓN CALCULADORA TÉCNICA (INTERACTIVA)
   ================================================ */
.calc-section {
    background-color: var(--color-white);
    padding: 80px 0;
    width: 100%;
}

.calc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.calc-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.calc-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #010C28;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.calc-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    font-weight: 300;
    line-height: 1.6;
}

.calc-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    background-color: #f8fafc;
    border: 1px solid rgba(1, 12, 40, 0.06);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(1, 12, 40, 0.03);
}

.calc-inputs-column {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.calc-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #010C28;
}

.calc-form-group label span {
    font-weight: 400;
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input-wrapper input,
.calc-input-wrapper select {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1.25rem;
    border: 1px solid rgba(1, 12, 40, 0.12);
    border-radius: 10px;
    background-color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #010C28;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-input-wrapper input:focus,
.calc-input-wrapper select:focus {
    border-color: #1746EA;
    box-shadow: 0 0 0 3px rgba(23, 70, 234, 0.1);
}

.calc-unit {
    position: absolute;
    right: 1.25rem;
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.calc-results-column {
    background-color: #010C28;
    color: var(--color-white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 10px 25px rgba(1, 12, 40, 0.15);
}

.calc-result-title {
    font-size: 1.35rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1rem;
    margin: 0;
}

.calc-result-value-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-result-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-result-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #4675FF;
}

.calc-result-value span {
    font-size: 1.5rem;
    font-weight: 500;
    margin-left: 0.25rem;
}

.calc-result-explanation {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

.calc-warning-badge {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    display: none;
}

@media (max-width: 900px) {
    .calc-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }
}

/* ================================================
   PÁGINA ERROR 404
   ================================================ */
.error-404-page {
    background-color: #010c28;
}

.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    background-color: #010c28;
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
}

.error-container {
    max-width: 600px;
    width: 100%;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.error-badge {
    background: linear-gradient(135deg, #1746ea, #4a7aff);
    color: var(--color-white);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(23, 70, 234, 0.3);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-white);
}

.error-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-error {
    display: inline-block;
    background-color: #1746ea;
    color: var(--color-white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-error:hover {
    background-color: #0f36d4;
    transform: translateY(-2px);
}

.btn-error-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-error-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ================================================
   FORM SUCCESS MESSAGE FEEDBACK
   ================================================ */
.form-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    animation: fadeIn 0.4s ease-out;
}

.success-message-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.form-success-message h3 {
    font-size: 1.6rem;
    color: #010c28;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.form-success-message p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 420px;
}

.btn-success-close {
    background-color: #010c28;
    color: var(--color-white);
    border: none;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: var(--font-primary);
}

.btn-success-close:hover {
    background-color: #1746ea;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   BOTÓN DE CONVERSIÓN EN CALCULADORA (CTA)
   ================================================ */
.btn-calc-action {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #1746ea, #0f36d4);
    color: var(--color-white);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: var(--font-primary);
    box-shadow: 0 4px 15px rgba(23, 70, 234, 0.2);
}

.btn-calc-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 70, 234, 0.4);
    background: linear-gradient(135deg, #2b5cff, #1746ea);
}

/* ================================================
   COMPARTIR REDES SOCIALES EN BLOG
   ================================================ */
.post-share-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 3rem 0 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(1, 12, 40, 0.08);
    border-bottom: 1px solid rgba(1, 12, 40, 0.08);
}

.share-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #010c28;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: var(--color-white);
}

.share-btn.linkedin:hover {
    background-color: #005987;
    transform: translateY(-1px);
}

.share-btn.whatsapp {
    background-color: #25d366;
    color: var(--color-white);
}

.share-btn.whatsapp:hover {
    background-color: #1ebd58;
    transform: translateY(-1px);
}

.share-btn.copy {
    background-color: #f1f5f9;
    color: #475569;
}

.share-btn.copy:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
}

/* ================================================
   TRANSICIÓN DE PÁGINA GLOBAL (FADE-IN)
   ================================================ */
body {
    animation: pageFadeIn 0.35s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ================================================
   ADAPTACIÓN A DISPOSITIVOS - breakpoints específicos
   ================================================ */

/* Celulares pequeños */
@media (max-width: 359px) {
    /* Ajustes para pantallas muy pequeñas */
    .hero-title {
        font-size: 2.2rem;
    }
    .contact-container {
        padding: 0 1rem;
    }
}

/* Celulares */
@media (min-width: 360px) and (max-width: 479px) {
    /* Ajustes estándar para celulares */
}

/* Celulares grandes */
@media (min-width: 480px) and (max-width: 767px) {
    /* Ajustes para celulares en modo landscape o pantallas más anchas */
}

/* Reglas comunes para todos los celulares (max-width: 767px) */
@media (max-width: 767px) {
    .project-gallery-overlay {
        padding: 1rem !important;
    }
    .project-title {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }
    .project-client {
        font-size: 0.75rem !important;
    }
    .project-arrow {
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }
    .projects-gallery-grid {
        grid-template-columns: 1fr !important;
    }
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
    }
    .whatsapp-float svg {
        width: 26px !important;
        height: 26px !important;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Ajustes para tablets */
    .montajes-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Notebook pequeña */
@media (min-width: 1024px) and (max-width: 1279px) {
    /* Ajustes para notebooks pequeñas */
}

/* Notebook y escritorio */
@media (min-width: 1280px) and (max-width: 1439px) {
    /* Ajustes para notebooks y monitores estándar */
}

/* Escritorio grande */
@media (min-width: 1440px) and (max-width: 1919px) {
    /* Ajustes para pantallas grandes de escritorio */
}

/* Pantallas Full HD o mayores */
@media (min-width: 1920px) {
    /* Ajustes para pantallas muy grandes / Full HD */
}

/* ================================================
   SECCIÓN QUEJAS Y APELACIONES
   ================================================ */
.appeals-section {
    background-color: var(--color-white);
    padding: 2rem 0 6rem 0;
}

.appeals-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.appeals-card {
    background-color: #D1D5E230;
    border-left: 4px solid var(--color-cobalt);
    padding: 3rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.appeals-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #010c28;
    margin: 0;
}

.appeals-description {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.appeals-instruction {
    font-size: 0.88rem;
    font-weight: 600;
    color: #010c28;
    margin: 0;
}

.btn-appeals {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    background-color: var(--color-cobalt);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border-radius: 0;
    border: none;
    align-self: flex-start;
}

.btn-appeals:hover {
    background-color: #010c28;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 12, 40, 0.15);
}

@media (max-width: 767px) {
    .appeals-section {
        padding: 1rem 0 4rem 0;
    }
    .appeals-container {
        padding: 0 2rem;
    }
    .appeals-card {
        padding: 1.5rem;
        gap: 0.8rem;
    }
    .appeals-title {
        font-size: 1.2rem;
    }
    .appeals-description, .appeals-instruction {
        font-size: 0.82rem;
    }
    .btn-appeals {
        align-self: stretch;
        text-align: center;
    }
}

/* ================================================
   VISUALIZADOR DE IMÁGENES (LIGHTBOX) EN PROYECTOS
   ================================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(1, 12, 40, 0.96);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox-wrapper {
    display: flex;
    width: 90%;
    max-width: 1100px;
    height: 75vh;
    background-color: #010C28;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.lightbox-image-column {
    flex: 1.4;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    display: flex;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 40px;
    font-weight: 200;
    transition: var(--transition-smooth);
    cursor: pointer;
    user-select: none;
    z-index: 100000;
}

.lightbox-close:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

.lightbox-info-column {
    flex: 1;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background-color: #010C28;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-info-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lightbox-meta-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-cobalt);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.lightbox-project-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.lightbox-meta-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lightbox-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
}

.meta-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #718096;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.4;
}

/* Cambiar cursor al pasar sobre los proyectos */
.project-gallery-item {
    cursor: pointer;
}

@media (max-width: 820px) {
    .lightbox {
        padding: 1rem;
    }
    
    .lightbox-wrapper {
        flex-direction: column;
        height: 85vh;
        width: 100%;
        max-width: 450px;
    }
    
    .lightbox-image-column {
        flex: 1.2;
        width: 100%;
    }
    
    .lightbox-info-column {
        flex: 1;
        padding: 2rem 1.75rem;
        gap: 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .lightbox-project-title {
        font-size: 1.4rem;
    }
    
    .meta-value {
        font-size: 0.95rem;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
        color: var(--color-white);
        background: rgba(1, 12, 40, 0.6);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        backdrop-filter: blur(5px);
    }
}

/* ================================================
   ESTILOS PÁGINA EN CONSTRUCCIÓN (FULLSCREEN SIN SCROLL)
   ================================================ */
html.maintenance-html,
body.maintenance-body {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden !important;
    margin: 0;
    padding: 0;
}

.maintenance-body {
    background: radial-gradient(circle at top right, #0B257A 0%, #010C28 60%, #000511 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    color: var(--color-white);
    box-sizing: border-box;
}

.maintenance-container {
    width: 100%;
    max-width: 620px;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.maintenance-card {
    background: rgba(1, 12, 40, 0.75);
    border: 1px solid rgba(70, 117, 255, 0.25);
    border-radius: 24px;
    padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 4vw, 2.5rem);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(23, 70, 234, 0.15);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maintenance-logo {
    margin-bottom: clamp(1rem, 3vh, 1.75rem);
}

.maintenance-logo img {
    height: clamp(38px, 6vh, 52px);
    width: auto;
}

.maintenance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(23, 70, 234, 0.15);
    border: 1px solid rgba(70, 117, 255, 0.4);
    color: #8bb0ff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: clamp(0.75rem, 2vh, 0.875rem);
    font-weight: 500;
    margin-bottom: clamp(0.75rem, 2.5vh, 1.25rem);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4675FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #4675FF;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(70, 117, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(70, 117, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(70, 117, 255, 0); }
}

.maintenance-title {
    font-size: clamp(1.4rem, 4vh, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
    background: linear-gradient(135deg, #FFFFFF 0%, #AAB8E7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.maintenance-subtitle {
    font-size: clamp(0.85rem, 2.2vh, 1rem);
    color: #AAB8E7;
    margin-bottom: clamp(1.25rem, 3.5vh, 2rem);
    line-height: 1.5;
    max-width: 480px;
}

.maintenance-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.maintenance-actions .btn {
    padding: clamp(0.6rem, 1.8vh, 0.85rem) 1.5rem;
    font-size: clamp(0.85rem, 2vh, 0.95rem);
}

.maintenance-footer {
    margin-top: clamp(0.75rem, 2vh, 1.5rem);
    font-size: clamp(0.75rem, 1.8vh, 0.85rem);
    color: rgba(170, 184, 231, 0.6);
}