@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&family=Permanent+Marker&display=swap');

:root {
    /* Colores base */
    --primary-color: #222222;
    --primary-color-gradient: linear-gradient(135deg, #222222 0%, #444444 50%, #666666 100%);
    --secondary-color: #feeb15;
    --accent-color: #e63946;
    --dark-color: #7b752e;
    --light-color: #f8f9fa;
    
    /* Colores de texto */
    --text-color: #333333;
    --text-light: #ffffff;
    
    /* Estilos de navbar al hacer scroll */
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.95);
    --navbar-scrolled-text: #333333;
    --navbar-scrolled-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Tipografías */
    --font-main: 'Asap', sans-serif;
    --font-heading: 'Asap', 'Arial Black', 'Arial Bold', sans-serif;
    --permanent-marker-regular: "Permanent Marker", cursive;
    
    /* Efectos y transiciones */
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    * {

        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        font-family: var( --font-main);
        color: var(--text-color);
        line-height: 1.6;
        overflow-x: hidden;
        padding-top: 80px;
        width: 100%;
        height: 100%;
        font-weight: 200;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-heading);
        font-weight: 300;
        margin-bottom: 1rem;
    }

   #servicios .section-header .section-title {
   color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}



/* Botón neuronal con logo */
.neural-scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2f2f2f 0%, #0c0c0c 100%);
    border: 2px solid rgba(254, 235, 21, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    padding: 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(254, 235, 21, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-scroll-btn:hover {
    transform: scale(1.15);
    border-color: rgba(254, 235, 21, 0.6);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(254, 235, 21, 0.2),
        0 0 30px rgba(254, 235, 21, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.6);
}

/* Contenedor del logo */
.logo-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo principal */
.logo-main {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(59, 130, 246, 0.5));
    transition: transform 0.3s ease;
}

.neural-scroll-btn:hover .logo-image {
    transform: scale(1.1);
}

/* Efectos de sinapsis */
.synapse-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.synapse {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color, #FEEB15) 50%, 
        transparent 100%);
    opacity: 0.6;
    filter: blur(1px);
}

.sy1 { 
    top: 2px; left: 2px; width: 15px; height: 1px; 
    transform: rotate(45deg); animation: synapse-glow 3s infinite;
}
.sy2 { 
    top: 35px; left: 2px; width: 15px; height: 1px; 
    transform: rotate(-45deg); animation: synapse-glow 3s infinite 0.5s;
}
.sy3 { 
    top: 2px; right: 2px; width: 15px; height: 1px; 
    transform: rotate(-45deg); animation: synapse-glow 3s infinite 1s;
}
.sy4 { 
    top: 35px; right: 2px; width: 15px; height: 1px; 
    transform: rotate(45deg); animation: synapse-glow 3s infinite 1.5s;
}

/* Neuronas */
.neuron-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neuron {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color, #FEEB15);
    border-radius: 50%;
    filter: drop-shadow(0 0 3px var(--secondary-color, #FEEB15));
    animation: neuron-pulse 2s infinite;
}

.n1 { top: 5px; left: 5px; animation-delay: 0s; }
.n2 { top: 35px; left: 5px; animation-delay: 0.4s; }
.n3 { top: 5px; right: 5px; animation-delay: 0.8s; }
.n4 { top: 35px; right: 5px; animation-delay: 1.2s; }
.n5 { bottom: 20px; left: 50%; transform: translateX(-50%); animation-delay: 1.6s; }

/* Impulsos eléctricos */
.neural-pulses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pulse {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    opacity: 0;
    animation: neural-pulse 3s infinite;
}

.p1 { 
    top: 50%; left: 50%; width: 50px; height: 50px; 
    transform: translate(-50%, -50%); animation-delay: 0s;
}
.p2 { 
    top: 50%; left: 50%; width: 40px; height: 40px; 
    transform: translate(-50%, -50%); animation-delay: 1s;
}
.p3 { 
    top: 50%; left: 50%; width: 30px; height: 30px; 
    transform: translate(-50%, -50%); animation-delay: 2s;
}

/* Icono de flecha */
.arrow-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 3;
}

.neural-scroll-btn:hover .arrow-icon {
    color: var(--secondary-color, #FEEB15);
    transform: scale(1.2);
}

/* Animaciones */
@keyframes neuron-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 5px var(--secondary-color, #FEEB15);
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 10px var(--secondary-color, #FEEB15), 0 0 20px var(--secondary-color, #FEEB15);
    }
}

@keyframes synapse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.1);
    }
}

@keyframes neural-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Estado oculto cuando está en el top */
.neural-scroll-btn.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Efecto de click */
.neural-scroll-btn:active {
    transform: scale(0.95);
    transition-duration: 0.1s;
}

/* Variables CSS para compatibilidad */
:root {
    --secondary-color: #FEEB15;
}

/* Responsive */
@media (max-width: 768px) {
    .neural-scroll-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .logo-container {
        width: 35px;
        height: 35px;
    }
    
    .synapse {
        width: 12px;
    }
    
    .sy1, .sy2, .sy3, .sy4 {
        width: 12px;
    }
    
    .arrow-icon {
        width: 16px;
        height: 16px;
        bottom: 6px;
        right: 6px;
    }
}

@media (max-width: 576px) {
    .neural-scroll-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .logo-container {
        width: 30px;
        height: 30px;
    }
    
    .synapse {
        width: 10px;
    }
    
    .sy1, .sy2, .sy3, .sy4 {
        width: 10px;
    }
    
    .neuron {
        width: 3px;
        height: 3px;
    }
}


/* Si estás dentro de un contenedor con fondo oscuro, alternativamente: */
.section-title-light {
    color: var(--text-light);
}

.section-title-dark {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
}

    p {
        margin-bottom: 1rem;
    }

    a {
        text-decoration: none;
        color: inherit;
        transition: color var(--transition-speed);
        -webkit-transition: color var(--transition-speed);
        -moz-transition: color var(--transition-speed);
        -ms-transition: color var(--transition-speed);
        -o-transition: color var(--transition-speed);
    }

    ul, ol {
        list-style-position: inside;
        margin-bottom: 1rem;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Navbar Transparente */
    .navbar {
        font-family: var(--font-main);
        background: transparent;
        padding: 1.2rem 0;
        transition: all var(--transition-speed);
        -webkit-transition: all var(--transition-speed);
        -moz-transition: all var(--transition-speed);
        -ms-transition: all var(--transition-speed);
        -o-transition: all var(--transition-speed);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        width: 100%;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }

    /* Navbar con scroll - adaptado a fondos blancos */
    .navbar.scrolled {
        background: var(--navbar-scrolled-bg);
        padding: 0.8rem 0;
        box-shadow: var(--navbar-scrolled-shadow);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Logo en navbar transparente */
    .navbar:not(.scrolled) .navbar-brand {
        color: var(--text-light) !important;
    }

    .navbar:not(.scrolled) .nav-link {
        color: var(--text-light) !important;
    }

    .navbar:not(.scrolled) .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Logo en navbar scrolled (fondo blanco) */
    .navbar.scrolled .navbar-brand {
        color: var(--navbar-scrolled-text) !important;
    }

    .navbar.scrolled .nav-link {
        color: var(--navbar-scrolled-text) !important;
    }

    .navbar.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-brand {
        font-weight: 700;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all var(--transition-speed);
        border-radius: 24px !important;
    }

    .navbar-brand:hover {
        opacity: 0.9;
    }

    .nav-link {
        font-weight: 500;
        margin: 0 0.5rem;
        transition: all var(--transition-speed);
        -webkit-transition: all var(--transition-speed);
        -moz-transition: all var(--transition-speed);
        -ms-transition: all var(--transition-speed);
        -o-transition: all var(--transition-speed);
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-link:hover,
    .nav-link:focus {
        color: var(--secondary-color) !important;
        outline: none;
    }

    /* Efecto subrayado en hover */
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--secondary-color);
        transition: width var(--transition-speed);
        -webkit-transition: width var(--transition-speed);
        -moz-transition: width var(--transition-speed);
        -ms-transition: width var(--transition-speed);
        -o-transition: width var(--transition-speed);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    /* Logo management */
/* Logo dentro del navbar-brand redondeado */
.navbar-brand img {
    height: 70px;
    width: auto;
    transition: all var(--transition-speed);
    -webkit-transition: all var(--transition-speed);
    -moz-transition: all var(--transition-speed);
    -ms-transition: all var(--transition-speed);
    -o-transition: all var(--transition-speed);
    border-radius: 12px !important;
    padding: 4px;
    object-fit: contain;
}



    /* Logo en navbar scrolled (color original) */
    .navbar.scrolled .navbar-brand img {
        filter: none;
        -webkit-filter: none;
    }

    .navbar-brand img:hover {
        transform: scale(1.05);
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);
    }
    

    /* ===== ESTILOS PARA SUBMENÚ ===== */

/* Dropdown en navbar transparente */
.navbar:not(.scrolled) .dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 235, 21, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 10px;
    min-width: 220px;
}

.navbar:not(.scrolled) .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.navbar:not(.scrolled) .dropdown-item:hover,
.navbar:not(.scrolled) .dropdown-item:focus {
    background: rgba(254, 235, 21, 0.15);
    color: var(--secondary-color);
    padding-left: 1.5rem;
}

.navbar:not(.scrolled) .dropdown-divider {
    border-color: rgba(254, 235, 21, 0.2);
    margin: 0.5rem 0;
}

/* Dropdown en navbar scrolled */
.navbar.scrolled .dropdown-menu {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 10px;
    min-width: 220px;
}

.navbar.scrolled .dropdown-item {
    color: var(--navbar-scrolled-text);
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.navbar.scrolled .dropdown-item:hover,
.navbar.scrolled .dropdown-item:focus {
    background: rgba(254, 235, 21, 0.1);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.navbar.scrolled .dropdown-divider {
    border-color: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Iconos en dropdown */
.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Efecto en enlace principal del dropdown */
.nav-item.dropdown .nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: 0.15em;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(-180deg);
}

/* Animación de entrada del dropdown */
.dropdown-menu {
    animation: dropdownSlide 0.3s ease-out;
}

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

/* Efecto hover en el item principal */
.nav-item.dropdown:hover .nav-link:not(.dropdown-toggle) {
    color: var(--secondary-color) !important;
}

/* Responsive para móviles */
@media (max-width: 992px) {
    .dropdown-menu {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 0;
        padding-left: 1.5rem !important;
        animation: none !important;
    }
    
    .navbar:not(.scrolled) .dropdown-menu {
        background: rgba(0, 0, 0, 0.8) !important;
        margin-left: 1rem;
    }
    
    .navbar.scrolled .dropdown-menu {
        background: rgba(255, 255, 255, 0.95) !important;
        margin-left: 1rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem !important;
        border-radius: 4px;
    }
    
    .dropdown-divider {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .dropdown-menu {
        min-width: auto !important;
        width: calc(100% - 2rem);
    }
}

    /* Flecha indicadora de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    animation: scroll-indicator-fade 3s infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Animaciones */
@keyframes scroll-indicator-fade {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.scroll-arrow svg {
    animation: arrow-bounce 2s infinite;
}

/* Efectos hover */
.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.scroll-indicator:hover .scroll-text {
    opacity: 1;
    color: var(--secondary-color);
}

.scroll-indicator:hover .scroll-arrow svg {
    transform: translateY(3px);
}

/* Click/tap effect */
.scroll-arrow:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-arrow {
        width: 50px;
        height: 50px;
    }
    
    .scroll-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .scroll-text {
        font-size: 0.7rem;
    }
}


    /* Secciones */
    section {
        padding: 5rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
    }

    .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .section-header h2 {
        color: var(--primary-color);
        position: relative;
        display: inline-block;
        padding-bottom: 1rem;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 70px;
        height: 4px;
        background-color: var(--secondary-color);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }

     .section-header p {
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
    }

    /* Sección Inicio - Hero */
#inicio {
    position: relative;
    min-height: 100vh;
    background: #000000;
    color: var(--text-light);
    text-align: right;
    margin-top: -80px;
    padding-top: 80px;
    overflow: hidden;
}

/* Carrusel de imágenes */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-item {
    position: relative;
    height: 100vh;
    min-height: 100vh;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.7) 30%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.3) 70%, 
        rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(120%) brightness(70%);
    -webkit-filter: grayscale(100%) contrast(120%) brightness(70%);
    transition: filter 0.5s ease;
}

.carousel-item.active .carousel-image {
    filter: grayscale(100%) contrast(120%) brightness(80%);
    -webkit-filter: grayscale(100%) contrast(120%) brightness(80%);
}

/* Contenido hero sobre el carrusel */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 0 0 auto;
    text-align: right;
    padding-right: 40px;
    width: 100%;
    padding-top: 60px;
}

/* Efectos industriales/boxeriles */
.industrial-border {
    position: absolute;
    background: var(--secondary-color);
    z-index: 3;
}

.industrial-border-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        transparent 50%, 
        var(--secondary-color) 100%);
}

.industrial-border-right {
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--secondary-color) 0%, 
        transparent 50%, 
        var(--secondary-color) 100%);
}

.industrial-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(254, 235, 21, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 235, 21, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 60px;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: right;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    text-shadow: 
        2px 2px 0 #000,
        4px 4px 0 rgba(254, 235, 21, 0.3);
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.hero-content p {
    font-size: 0.8rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-align: right;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--secondary-color);
    border-right: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    display: inline-block;
}

/* Decoración militar - chevrones y estrellas */
.military-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Chevrones estilo militar */
.chevron {
    position: absolute;
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.8;
    filter: drop-shadow(0 0 3px rgba(254, 235, 21, 0.7));
    animation: chevron-move 4s infinite linear;
}

/* Chevrons izquierda (aparecen desde izquierda) */
.chevron-left {
    left: -100px;
    animation-name: chevron-move-left;
}

.chevron-1 { top: 20%; animation-delay: 0s; animation-duration: 5s; }
.chevron-2 { top: 50%; animation-delay: 1s; animation-duration: 6s; }
.chevron-3 { top: 80%; animation-delay: 2s; animation-duration: 4.5s; }

/* Chevrons derecha (aparecen desde derecha) */
.chevron-right {
    right: -100px;
    animation-name: chevron-move-right;
}

.chevron-4 { top: 15%; animation-delay: 0.5s; animation-duration: 5.5s; }
.chevron-5 { top: 60%; animation-delay: 1.5s; animation-duration: 4s; }
.chevron-6 { top: 85%; animation-delay: 2.5s; animation-duration: 6.5s; }

/* Estrellas militares */
.star {
    position: absolute;
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    animation: star-twinkle 3s infinite ease-in-out;
}

.star-1 { top: 10%; left: 15%; animation-delay: 0s; }
.star-2 { top: 30%; left: 25%; animation-delay: 1s; }
.star-3 { top: 70%; left: 20%; animation-delay: 2s; }
.star-4 { top: 90%; left: 30%; animation-delay: 3s; }

/* Líneas divisorias militares */
.military-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
    opacity: 0.6;
    animation: line-scan 8s infinite linear;
}.military-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Insignias base de chevron */
.chevron-rank {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    opacity: 0.8;
    animation: rank-float 6s infinite ease-in-out;
}

/* Chevron individual (raya de la V) */
.chevron-stripe {
    width: 40px;
    height: 6px;
    background: var(--secondary-color);
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
    filter: drop-shadow(0 0 3px rgba(254, 235, 21, 0.7));
}

/* Arco para rangos superiores */
.chevron-arc {
    width: 30px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 4px;
    margin-top: 2px;
    filter: drop-shadow(0 0 2px rgba(254, 235, 21, 0.7));
}

.chevron-arc.arc-bottom {
    margin-top: 0;
    margin-bottom: 2px;
}

/* Estrellas de oficial */
.star-rank {
    position: absolute;
    display: flex;
    gap: 5px;
    opacity: 0.8;
    animation: star-rank-float 8s infinite ease-in-out;
}

.star-rank .star {
    font-size: 1.2rem;
    color: var(--text-light);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

/* Estrella de comando */
.command-star {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 2px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

/* Posiciones de las insignias */
.chevron-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.chevron-2 {
    top: 70%;
    left: 15%;
    animation-delay: 2s;
    transform: scale(0.8);
}

.chevron-3 {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
    transform: scale(0.9);
}

.chevron-4 {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.chevron-5 {
    top: 85%;
    left: 50%;
    transform: translateX(-50%) scale(1.1);
    animation-delay: 4s;
}

.star-1 {
    top: 30%;
    left: 25%;
    animation-delay: 1.5s;
}

.star-2 {
    top: 75%;
    right: 25%;
    animation-delay: 3.5s;
}

/* Líneas divisorias militares */
.military-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
    opacity: 0.6;
    animation: line-scan 8s infinite linear;
}

.line-1 {
    top: 40%;
    width: 80%;
    left: 10%;
    animation-delay: 0s;
}

.line-2 {
    top: 65%;
    width: 60%;
    left: 20%;
    animation-delay: 2s;
}

/* Animaciones */
@keyframes rank-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(0) translateX(10px);
        opacity: 0.7;
    }
    75% {
        transform: translateY(10px) translateX(5px);
        opacity: 0.9;
    }
}

@keyframes star-rank-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-15px) scale(1.05);
        opacity: 0.9;
    }
    66% {
        transform: translateY(15px) scale(0.95);
        opacity: 0.6;
    }
}

@keyframes line-scan {
    0% {
        opacity: 0.2;
        background-position: -100% 0;
    }
    50% {
        opacity: 0.8;
        background-position: 200% 0;
    }
    100% {
        opacity: 0.2;
        background-position: 500% 0;
    }
}

/* Efecto de brillo periódico en las insignias */
@keyframes rank-glow {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(254, 235, 21, 0.7));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(254, 235, 21, 0.9));
    }
}

.chevron-rank:hover {
    animation: rank-glow 2s infinite;
}

/* Botones con estilo Neo defectuoso/glitch */
.btn-hero {
    background-color: #000000;
    color: var(--secondary-color);
    padding: 1rem 2.5rem;
    margin-right: 50px;
    border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
   
    transition: all var(--transition-speed);
    border: 2px solid var(--secondary-color);
    display: inline-block;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 0 rgba(254, 235, 21, 0.3),
        inset 0 0 0 1px rgba(254, 235, 21, 0.2);
    font-family: 'Asap', monospace;
    animation: glitch-flicker 8s infinite linear;
}

/* Efecto glitch base */
.btn-hero::before,
.btn-hero::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hero::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    left: 2px;
    text-shadow: -2px 0 #d0ff01;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    opacity: 0.8;
}

.btn-hero::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    left: -2px;
    text-shadow: 2px 0 #00ffff;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    opacity: 0.8;
}

/* Efecto de barras de ruido */
.btn-hero .noise-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(254, 235, 21, 0.05) 50%,
        transparent 100%
    );
    animation: noise-scan 0.5s infinite linear;
    pointer-events: none;
}

/* Efecto de parpadeo y glitch */
@keyframes glitch-flicker {
    0%, 5%, 10%, 15%, 20%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    1%, 2%, 6%, 7%, 11%, 12%, 16%, 17% {
        opacity: 0.8;
        transform: scale(0.98);
    }
    3%, 8%, 13%, 18% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

@keyframes glitch-1 {
    0% {
        transform: translate(0);
        opacity: 0;
    }
    5% {
        transform: translate(-2px, 1px);
        opacity: 0.5;
    }
    10% {
        transform: translate(1px, -1px);
        opacity: 0.3;
    }
    15% {
        transform: translate(-1px, 2px);
        opacity: 0.7;
    }
    20% {
        transform: translate(0);
        opacity: 0;
    }
    100% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes glitch-2 {
    0%, 40% {
        transform: translate(0);
        opacity: 0;
    }
    45% {
        transform: translate(2px, -1px);
        opacity: 0.5;
    }
    50% {
        transform: translate(-1px, 1px);
        opacity: 0.3;
    }
    55% {
        transform: translate(1px, -2px);
        opacity: 0.7;
    }
    60% {
        transform: translate(0);
        opacity: 0;
    }
    100% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes noise-scan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Efecto de sobrecarga en hover */
.btn-hero:hover,
.btn-hero:focus {
    background-color: var(--secondary-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 rgba(254, 235, 21, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(254, 235, 21, 0.3),
        0 0 30px rgba(254, 235, 21, 0.7);
    border-color: var(--secondary-color);
    outline: none;
    animation: hover-glitch 0.5s infinite linear;
}

@keyframes hover-glitch {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--secondary-color)) 
                drop-shadow(0 0 10px var(--secondary-color));
    }
    25% {
        filter: drop-shadow(0 0 5px #b6cf12) 
                drop-shadow(0 0 10px var(--secondary-color));
    }
    50% {
        filter: drop-shadow(0 0 5px var(--secondary-color)) 
                drop-shadow(0 0 10px #00ffff);
    }
    75% {
        filter: drop-shadow(0 0 5px #00ffff) 
                drop-shadow(0 0 10px #ffee00);
    }
}

/* Efecto de carga/descarga eléctrica */
.btn-hero:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        transparent 0%,
        var(--secondary-color) 25%,
        var(--secondary-color) 50%,
        var(--secondary-color) 75%,
        transparent 100%
    );
    z-index: -1;
    border-radius: var(--border-radius);
    animation: electric-flow 0.3s linear infinite;
    opacity: 0.8;
}

@keyframes electric-flow {
    0% {
        background-position: 0% 0%;
        opacity: 0.8;
    }
    100% {
        background-position: 200% 200%;
        opacity: 0.5;
    }
}

/* Botón outline con efectos similares */
.btn-hero-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
    box-shadow: 
        0 4px 0 rgba(254, 235, 21, 0.3),
        inset 0 0 0 1px rgba(254, 235, 21, 0.2);
    animation: outline-flicker 6s infinite linear;
}

@keyframes outline-flicker {
    0%, 85%, 90%, 95%, 100% {
        opacity: 1;
        border-color: var(--secondary-color);
    }
    86%, 91%, 96% {
        opacity: 0.7;
        border-color: var(--secondary-color);
    }
    87%, 92%, 97% {
        opacity: 0.9;
        border-color: #00ffff;
    }
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    background-color: var(--secondary-color);
    color: #000000;
    border-color: var(--secondary-color);
    animation: outline-hover-glitch 0.2s infinite linear;
    box-shadow: 
        0 6px 0 rgba(254, 235, 21, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(254, 235, 21, 0.3),
        0 0 40px rgba(254, 235, 21, 0.5);
}

@keyframes outline-hover-glitch {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1.2);
    }
    50% {
        filter: hue-rotate(10deg) brightness(1.5);
    }
}

/* Pseudo-elementos de texto glitch para outline */
.btn-hero-outline::before,
.btn-hero-outline::after {
    color: var(--text-light);
}

.btn-hero-outline:hover::before,
.btn-hero-outline:hover::after {
    color: #000000;
}

/* Estado activo/pulsado */
.btn-hero:active {
    animation: button-press 0.1s forwards;
}

@keyframes button-press {
    0% {
        transform: translateY(-2px) scale(1);
        box-shadow: 
            0 6px 0 rgba(254, 235, 21, 0.5),
            0 10px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(254, 235, 21, 0.3);
    }
    100% {
        transform: translateY(0) scale(0.95);
        box-shadow: 
            0 2px 0 rgba(254, 235, 21, 0.3),
            0 5px 10px rgba(0, 0, 0, 0.2),
            inset 0 0 0 1px rgba(254, 235, 21, 0.3);
    }
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    z-index: 3;
    opacity: 0.8;
    transition: all var(--transition-speed);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
    opacity: 1;
    box-shadow: 0 0 15px rgba(254, 235, 21, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    filter: invert(1) brightness(100%) drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}

.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 5px;
    transition: all var(--transition-speed);
}

.carousel-indicators button.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--secondary-color);
}

/* Efectos de luces industriales */
.industrial-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.light-beam {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--secondary-color),
        transparent
    );
    opacity: 0.1;
    animation: beam-sweep 8s infinite linear;
}

.light-beam:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.light-beam:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
}

.light-beam:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
}

.light-beam:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
}

@keyframes beam-sweep {
    0% {
        opacity: 0.1;
        transform: translateY(-100%);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.1;
        transform: translateY(100%);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        padding-right: 30px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding-right: 0;
        padding-left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
        text-shadow: 
            1px 1px 0 #000,
            2px 2px 0 rgba(254, 235, 21, 0.3);
    }
    
    .hero-content p {
        font-size: 1rem;
        text-align: center;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
        margin-top: 40px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.5rem;
    }
}
    /* Sección Quiénes Somos */
    #quienes-somos {
        background-color: var(--light-color);
        position: relative;
    }



    /* Sección Servicios */
    #servicios {
        background-color: white;
        position: relative;
    }

/* ===== ESTILOS PARA SECCIÓN QUIÉNES SOMOS MEJORADA ===== */

/* Contenedor de imagen con profundidad */
.about-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(26, 58, 95, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.image-depth-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(20%) contrast(110%);
}

.image-depth-wrapper:hover .about-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(120%);
}

/* Efecto de brillo en imagen */
.image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.8s ease;
    z-index: 2;
    pointer-events: none;
}

.image-depth-wrapper:hover .image-shine {
    left: 100%;
}

/* Borde con efecto industrial */
.image-border-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        transparent 25%,
        transparent 75%,
        var(--secondary-color) 100%) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 3;
    pointer-events: none;
    border-radius: var(--border-radius);
}

/* Esquinas decorativas */
.image-corner-accent {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 4;
    pointer-events: none;
}

.image-corner-accent::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--secondary-color);
    opacity: 0.7;
}

.corner-top-left::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner-top-right::before {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.corner-bottom-left::before {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.corner-bottom-right::before {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.image-caption {
    font-style: italic;
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
}

/* Contenido de la historia */
.gnios-story h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.gnios-story h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.history-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Desglose del nombre */
.name-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(254, 235, 21, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.breakdown-item .letter {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.breakdown-item .meaning {
    font-size: 0.95rem;
    color: var(--text-color);
}


/* Contenedor de dos columnas para texto e imagen del fundador */
.mission-founder-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mission-text-column {
    padding-right: 30px;
}

.mission-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 0;
    font-style: italic;
}

.mission-text strong {
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

.founder-image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.founder-image-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.founder-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.founder-image:hover {
    transform: scale(1.02);
}

.founder-info {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    width: 100%;
}

.founder-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color-gradient);
    margin-bottom: 5px;
}

.founder-title {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

.founder-credentials {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-style: italic;
}

/* Responsividad */
@media (max-width: 768px) {
    .mission-founder-container {
        padding: 25px;
        margin: 30px 0;
    }
    
    .mission-text-column {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .founder-image-wrapper {
        max-width: 250px;
    }
    
    .founder-name {
        font-size: 1.2rem;
    }
    
    .founder-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .mission-founder-container {
        padding: 20px;
    }
    
    .founder-image-wrapper {
        max-width: 220px;
    }
    
    .mission-text {
        font-size: 1rem;
    }
}

/* Tarjeta de propósito */
.purpose-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.purpose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--primary-color) 50%,
        var(--secondary-color) 100%);
}

.purpose-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.purpose-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.purpose-card ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.purpose-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.purpose-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.highlight-text {
    font-style: italic;
    color: var(--primary-color);
    padding: 1rem;
    background: rgba(254, 235, 21, 0.1);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}

/* Grid de valores */
.values-grid {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.values-grid h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.value-category {
    margin-bottom: 1.5rem;
}

.value-category h5 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(254, 235, 21, 0.3);
    padding-bottom: 0.5rem;
}

.value-tag {
    display: inline-block;
    background: rgba(254, 235, 21, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    margin: 0.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(254, 235, 21, 0.3);
    transition: all 0.3s ease;
}

.value-tag:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(254, 235, 21, 0.2);
}

/* CTA final */
.lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .about-image {
        height: 350px;
    }
    
    .name-breakdown {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-image {
        height: 300px;
    }
    
    .purpose-card,
    .values-grid {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .value-category {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .about-image {
        height: 250px;
    }
    
    .breakdown-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .purpose-card,
    .values-grid {
        padding: 1.25rem;
    }
}


/* ===== ESTILOS PARA VALORES - SIMILAR A PROPOSITO ===== */

.values-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--primary-color) 50%,
        var(--secondary-color) 100%);
}

.values-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.values-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.values-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.values-intro {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contenido de valores */
.values-content {
    margin-bottom: 2rem;
}

.value-category-wrapper {
    margin-bottom: 2rem;
}

.value-category-wrapper:last-child {
    margin-bottom: 0;
}

.category-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(254, 235, 21, 0.3);
}

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

.value-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    background: rgba(254, 235, 21, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(254, 235, 21, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.value-marker {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-top: 0.4rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-text strong {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.value-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Destacado final */
.values-highlight {
    background: rgba(254, 235, 21, 0.1);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.values-highlight p {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .values-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .values-card {
        margin-bottom: 2rem;
    }
    
    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-card {
        padding: 1.5rem;
    }
    
    .values-container {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .values-card {
        padding: 1.25rem;
    }
    
    .values-icon {
        font-size: 2rem;
    }
    
    .values-card h4 {
        font-size: 1.2rem;
    }
    
    .value-item {
        padding: 0.6rem;
    }
}


/* ===== ESTILOS PARA SECCIÓN ESENCIA CON IMAGEN DE FONDO ===== */

#proposito-mision.background-image-section {
    position: relative;
    padding: 100px 0;
    background: #111;
    overflow: hidden;
}

/* Imagen de fondo */
.section-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1536922246289-88c42f957773?q=80&w=1204&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(26, 58, 95, 0.8) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.industrial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.3;
}

.industrial-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(254, 235, 21, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 235, 21, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Contenido sobre la imagen */
#proposito-mision .container {
    z-index: 3;
}

#proposito-mision .section-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#proposito-mision .section-subtitle {
    color: var(--secondary-color);
    font-weight: 400;
}

.section-subtitle {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Tarjetas de esencia */
.essence-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.essence-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: white;
}

.essence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--primary-color) 50%,
        var(--secondary-color) 100%);
}

.essence-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
}

.essence-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.essence-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.essence-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.essence-highlight {
    background: rgba(254, 235, 21, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 3px solid var(--secondary-color);
}

.essence-highlight span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.essence-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.essence-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
}

.essence-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.vision-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.vision-tag {
    background: rgba(254, 235, 21, 0.15);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(254, 235, 21, 0.3);
}

/* CTA */
#proposito-mision .btn-hero {
    background: rgba(0, 0, 0, 0.9);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(254, 235, 21, 0.3);
}

#proposito-mision .btn-hero:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(254, 235, 21, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    #proposito-mision {
        padding: 80px 0;
    }
    
    .essence-card {
        padding: 1.8rem 1.2rem;
    }
    
    .section-background-image {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    #proposito-mision {
        padding: 60px 0;
    }
    
    .essence-card {
        margin-bottom: 1.5rem;
    }
    
    .essence-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    #proposito-mision {
        padding: 50px 0;
    }
    
    .essence-card {
        padding: 1.5rem 1rem;
    }
    
    .essence-card h4 {
        font-size: 1.2rem;
    }
    
    .essence-text {
        font-size: 0.9rem;
    }
}

/* ===== FONDO PLACA DIAMANTADA DE ACERO AL CARBONO - MÁS PEQUEÑO ===== */
#servicios {
    position: relative;
    background: 
        linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)),
        url('https://images.unsplash.com/photo-1584385154244-2f6db34829c3?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding: 2rem 0;
}

/* Efecto de brillo metálico - más sutil */
#servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            ellipse at 20% 20%,
            rgba(254, 235, 21, 0.03) 0%,
            transparent 40%
        ),
        radial-gradient(
            ellipse at 80% 80%,
            rgba(254, 235, 21, 0.02) 0%,
            transparent 40%
        );
    pointer-events: none;
    z-index: 0;
}

/* Patrón de puntos diamantados - más pequeño */
#servicios::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(
            circle at 25% 25%,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 30px 30px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

/* Rejilla industrial - más pequeña */
.industrial-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(
            rgba(254, 235, 21, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(254, 235, 21, 0.08) 1px,
            transparent 1px
        );
    background-size: 40px 40px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

/* Contenedor principal */
#servicios .container {
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* ===== CARRUSEL EN CRUZ - COMPACTO PARA 22" ===== */

.cross-carousel-container {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    overflow: hidden;
    
}

.cross-grid {
    position: relative;
    width: 600px; /* Reducido de 900px */
    height: auto;
    display: grid;
    grid-template-areas:
        ". top ."
        "left center right"
        ". bottom .";
    grid-template-columns: 1fr 380px 1fr; /* Reducido de 500px */
    grid-template-rows: 1fr 380px 1fr;    /* Reducido de 500px */
    gap: 1.5rem; /* Reducido de 2rem */
    margin: 0 auto;
}

/* Centro con card activa - COMPACTO */
.cross-center {
    grid-area: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.active-card-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.active-card {
    background: linear-gradient(to bottom right, #ffffff 0%, #f8f9fa 100%);
    border-radius: calc(var(--border-radius) - 2px);
    padding: 1.2rem; /* Reducido de 1.5rem */
    height: 100%;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 6px 15px rgba(26, 58, 95, 0.06);
    border: 1.5px solid var(--secondary-color); /* Reducido de 2px */
    position: relative;
    overflow: hidden; /* Ocultar cualquier overflow */
    animation: cardFocus 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes cardFocus {
    0% {
        transform: scale(0.98);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.active-badge {
    position: absolute;
    top: 8px; /* Reducido de 12px */
    right: 8px; /* Reducido de 12px */
    width: 32px; /* Reducido de 40px */
    height: 32px; /* Reducido de 40px */
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem; /* Reducido de 0.9rem */
    box-shadow: 0 2px 6px rgba(254, 235, 21, 0.3);
    z-index: 3;
    border: 1px solid var(--primary-color);
    font-family: var(--font-main);
}

/* Icono del servicio activo - más pequeño */
.active-card .service-icon {
    font-size: 1.6rem; /* Reducido de 2rem */
    color: var(--secondary-color);
    margin-bottom: 0.8rem; /* Reducido de 1rem */
    display: inline-block;
    padding: 0.5rem; /* Reducido de 0.6rem */
    background: rgba(254, 235, 21, 0.08);
    border-radius: 10px; /* Reducido de 12px */
    border: 1px solid rgba(254, 235, 21, 0.15);
    transition: all 0.3s ease;
}

.active-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem; /* Reducido de 1.3rem */
    margin-bottom: 0.8rem; /* Reducido de 1rem */
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.6px; /* Reducido de 0.8px */
    font-family: var(--font-heading);
    padding-right: 40px; /* Reducido de 45px */
}

/* Contenido - texto más compacto */
.active-content {
    flex: 1;
    overflow: visible;
    margin-top: 0.3rem; /* Reducido de 0.5rem */
}

.active-content p {
    color: var(--text-color);
    line-height: 1.4; /* Ajustado de 1.5 */
    margin-bottom: 0.8rem; /* Reducido de 1rem */
    font-size: 0.85rem; /* Reducido de 0.9rem */
    font-weight: 300;
}

.active-content .service-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0; /* Reducido de 1rem */
}

.active-content .service-list li {
    color: #555;
    padding: 0.4rem 0; /* Reducido de 0.5rem */
    padding-left: 1.3rem; /* Reducido de 1.5rem */
    position: relative;
    font-size: 0.8rem; /* Reducido de 0.85rem */
    line-height: 1.3; /* Ajustado de 1.4 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-weight: 300;
}

.active-content .service-list li:last-child {
    border-bottom: none;
}

.active-content .service-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.65rem; /* Reducido de 0.7rem */
    transition: transform 0.3s ease;
}

.active-content .service-list li:hover::before {
    transform: translateX(2px);
}

.active-content .service-highlight {
    background: rgba(254, 235, 21, 0.05);
    border-left: 1.5px solid var(--secondary-color); /* Reducido de 2px */
    border-radius: 0 calc(var(--border-radius) - 2px) calc(var(--border-radius) - 2px) 0;
    padding: 0.6rem; /* Reducido de 0.8rem */
    margin-top: 0.8rem; /* Reducido de 1rem */
}

.active-content .service-highlight p {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.85rem; /* Reducido de 0.9rem */
    line-height: 1.3; /* Ajustado de 1.4 */
    font-weight: 400;
}

.active-content .service-highlight strong {
    font-weight: 600;
}

/* Indicadores de servicio - COMPACTOS */
.service-indicators {
    display: flex;
    gap: 0.6rem; /* Reducido de 0.8rem */
    margin-top: 0.8rem; /* Reducido */
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1rem; /* Reducido de 1rem 1.5rem */
    border-radius: calc(var(--border-radius) - 2px);
    border: 1px solid var(--secondary-color);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    flex-wrap: wrap;
}

.indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem; /* Reducido de 0.2rem */
    padding: 0.5rem 0.6rem; /* Reducido de 0.6rem 0.8rem */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px; /* Reducido de 12px */
    cursor: pointer;
    transition: all var(--transition-speed);
    min-width: 70px; /* Reducido de 80px */
    border: 1px solid transparent;
    text-align: center;
}

.indicator:hover,
.indicator:focus {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px); /* Reducido de 2px */
}

.indicator.active {
    background: rgba(254, 235, 21, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-1px); /* Reducido de 2px */
}

.indicator-number {
    font-size: 0.95rem; /* Reducido de 1.1rem */
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-main);
}

.indicator-name {
    color: white;
    font-weight: 500;
    font-size: 0.7rem; /* Reducido de 0.75rem */
    text-transform: uppercase;
    letter-spacing: 0.6px; /* Reducido de 0.8px */
    font-family: var(--font-main);
    text-align: center;
    line-height: 1.1; /* Ajustado de 1.2 */
}

/* ===== RESPONSIVE PARA 22" (1920x1080) ===== */

@media (min-width: 1600px) and (max-width: 1920px) {
    /* Para pantallas entre 1600px y 1920px (típicas de 22") */
    .cross-grid {
        width: 750px;
        grid-template-columns: 1fr 400px 1fr;
        grid-template-rows: 1fr 400px 1fr;
    }
    
    .active-card {
        padding: 1.3rem;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .cross-grid {
        width: 720px;
        grid-template-columns: 1fr 390px 1fr;
        grid-template-rows: 1fr 390px 1fr;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .cross-grid {
        width: 680px;
        grid-template-columns: 1fr 370px 1fr;
        grid-template-rows: 1fr 370px 1fr;
        gap: 1.2rem;
    }
    
    .active-card {
        padding: 1.1rem;
    }
    
    .active-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .cross-grid {
        width: 650px;
        grid-template-columns: 1fr 350px 1fr;
        grid-template-rows: 1fr 350px 1fr;
        gap: 1rem;
    }
    
    .active-card {
        padding: 1rem;
    }
    
    .active-card h4 {
        font-size: 0.95rem;
    }
    
    .active-card .service-icon {
        font-size: 1.4rem;
    }
    
    .active-content p {
        font-size: 0.8rem;
    }
    
    .service-indicators {
        padding: 0.7rem 0.9rem;
    }
    
    .indicator {
        min-width: 65px;
        padding: 0.4rem 0.5rem;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .cross-grid {
        width: 600px;
        grid-template-columns: 1fr 320px 1fr;
        grid-template-rows: 1fr 320px 1fr;
        gap: 0.8rem;
    }
    
    .active-card {
        padding: 0.9rem;
    }
    
    .active-card h4 {
        font-size: 0.9rem;
        padding-right: 35px;
    }
    
    .active-badge {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .service-indicators {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
    }
    
    .indicator {
        min-width: 60px;
        padding: 0.35rem 0.45rem;
    }
    
    .indicator-number {
        font-size: 0.85rem;
    }
    
    .indicator-name {
        font-size: 0.65rem;
    }
}

@media (max-width: 767px) {
    .cross-carousel-container {
        padding: 0.3rem 0;
    }
    
    .cross-grid {
        width: 100%;
        max-width: 550px;
        grid-template-columns: 1fr 300px 1fr;
        grid-template-rows: 1fr 300px 1fr;
        gap: 0.6rem;
        padding: 0 0.8rem;
    }
    
    .active-card {
        padding: 0.8rem;
    }
    
    .active-card h4 {
        font-size: 0.85rem;
        padding-right: 30px;
    }
    
    .active-badge {
        width: 25px;
        height: 25px;
        font-size: 0.65rem;
        top: 6px;
        right: 6px;
    }
    
    .active-card .service-icon {
        font-size: 1.2rem;
        padding: 0.4rem;
        margin-bottom: 0.6rem;
    }
    
    .active-content p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }
    
    .active-content .service-list li {
        font-size: 0.75rem;
        padding: 0.3rem 0;
        padding-left: 1.1rem;
        line-height: 1.2;
    }
    
    .service-indicators {
        padding: 0.6rem 0.7rem;
        margin-top: 0.6rem;
        gap: 0.4rem;
    }
    
    .indicator {
        min-width: 55px;
        padding: 0.3rem 0.4rem;
    }
    
    .indicator-number {
        font-size: 0.8rem;
    }
    
    .indicator-name {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .cross-grid {
        grid-template-columns: 1fr 260px 1fr;
        grid-template-rows: 1fr 260px 1fr;
    }
    
    .active-card {
        padding: 0.7rem;
    }
    
    .service-indicators {
        padding: 0.5rem 0.6rem;
    }
    
    .indicator {
        min-width: 50px;
        padding: 0.25rem 0.35rem;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .active-card,
    .indicator.active {
        border-color: var(--secondary-color);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .indicator,
    .active-card {
        transition: none;
        animation: none;
    }
}
    /* Sección FAQ */
    #faq {
        background-color: var(--light-color);
        position: relative;
    }

    /* Sección Contacto */
    #contacto {
        background-color: white;
        position: relative;
    }

    .accordion-button {
        background-color: white;
        color: var(--primary-color);
        font-weight: 600;
        padding: 1.2rem 1.5rem;
        border: 1px solid rgba(0,0,0,.125);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .accordion-button:not(.collapsed) {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(26, 58, 95, 0.25);
        border-color: var(--primary-color);
        outline: 0;
    }

    /* Contact Form */
    .contact-form {
        background-color: white;
        padding: 2.5rem;
        border-radius: var(--border-radius);
        -webkit-border-radius: var(--border-radius);
        -moz-border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        width: 100%;
    }

    .form-control {
        padding: 0.8rem 1rem;
        border: 1px solid #ddd;
        border-radius: var(--border-radius);
        -webkit-border-radius: var(--border-radius);
        -moz-border-radius: var(--border-radius);
        margin-bottom: 1.5rem;
        transition: all var(--transition-speed);
        -webkit-transition: all var(--transition-speed);
        -moz-transition: all var(--transition-speed);
        -ms-transition: all var(--transition-speed);
        -o-transition: all var(--transition-speed);
        width: 100%;
        font-family: var(--font-main);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(254, 235, 21, 0.25);
        outline: 0;
        background-color: white;
    }

    .btn-submit {
        background: var(--primary-color);
        background: -webkit-linear-gradient(135deg, #222222 0%, #444444 100%);
        background: -moz-linear-gradient(135deg, #222222 0%, #444444 100%);
        background: -o-linear-gradient(135deg, #222222 0%, #444444 100%);
        background: linear-gradient(135deg, #222222 0%, #444444 100%);
        color: white;
        padding: 0.8rem 2.5rem;
        border-radius: var(--border-radius);
        -webkit-border-radius: var(--border-radius);
        -moz-border-radius: var(--border-radius);
        font-weight: 700;
        text-transform: uppercase;
        width: 100%;
        transition: all var(--transition-speed);
        -webkit-transition: all var(--transition-speed);
        -moz-transition: all var(--transition-speed);
        -ms-transition: all var(--transition-speed);
        -o-transition: all var(--transition-speed);
        border: none;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .btn-submit:hover,
    .btn-submit:focus {
        background: var(--secondary-color);
        color: var(--dark-color);
        transform: translateY(-2px);
        -webkit-transform: translateY(-2px);
        -moz-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
        -o-transform: translateY(-2px);
        outline: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .contact-info {
        padding: 2rem;
        width: 100%;
    }

    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .contact-icon {
        background: var(--primary-color);
        background: -webkit-linear-gradient(135deg, #222222 0%, #444444 100%);
        background: -moz-linear-gradient(135deg, #222222 0%, #444444 100%);
        background: -o-linear-gradient(135deg, #222222 0%, #444444 100%);
        background: linear-gradient(135deg, #222222 0%, #444444 100%);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        flex-shrink: 0;
        font-size: 1.2rem;
    }

    /* Footer Minimalista y Elegante */
footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 1.5rem;
    width: 100%;
    position: relative;
    font-family: var(--font-main);
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.footer-content h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 300;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    width: 100%;
    gap: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem;
    font-weight: 300;
    padding: 0.2rem 0;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
    outline: none;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-divider {
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.2rem auto;
}

.copyright {
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.copyright p {
    margin-bottom: 0.3rem;
}

#copyright-year {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* Créditos del desarrollador - Minimalista */
.developer-credit {
    margin-top: 1rem;
    padding-top: 1rem;
}

.developer-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
    text-align: center;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.developer-link:hover,
.developer-link:focus {
    color: rgba(255, 255, 255, 0.7);
    outline: none;
}

.developer-link strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    transition: color 0.2s ease;
}

.developer-link:hover strong {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content h4 {
        font-size: 1.1rem;
    }
    
    .footer-tagline {
        font-size: 0.85rem;
        max-width: 300px;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-divider {
        width: 70%;
        margin: 1rem auto;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
    
    .developer-link {
        font-size: 0.7rem;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        margin-bottom: 1.2rem;
    }
    
    .footer-content h4 {
        font-size: 1rem;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
    
    .footer-links {
        gap: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
    
    .footer-divider {
        width: 80%;
        margin: 0.8rem auto;
    }
    
    .developer-link {
        font-size: 0.65rem;
        line-height: 1.4;
    }
}

@media (max-width: 400px) {
    .footer-links {
        gap: 0.6rem;
    }
    
    .footer-links a {
        font-size: 0.7rem;
    }
    
    .developer-link {
        font-size: 0.6rem;
    }
}

    /* JavaScript para navbar scroll */
    .navbar-scroll-active {
        background: var(--navbar-scrolled-bg) !important;
        box-shadow: var(--navbar-scrolled-shadow) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    /* Clases utilitarias */
    .text-right { text-align: right; }
    .text-center { text-align: center; }
    .text-left { text-align: left; }
    .w-100 { width: 100%; }
    .h-100 { height: 100%; }
    .d-flex { display: flex; }
    .align-items-center { align-items: center; }
    .justify-content-center { justify-content: center; }
    .justify-content-end { justify-content: flex-end; }

    /* Responsive */
    @media (max-width: 1200px) {
        .hero-content h1 { font-size: 3rem; }
        .hero-content { padding-right: 30px; }
    }

    @media (max-width: 992px) {
        .hero-content h1 { font-size: 2.8rem; }
        .hero-content p { font-size: 1.2rem; }
        section { padding: 4rem 0; }
        .navbar-brand img { height: 60px; }
        .navbar { padding: 1rem 0; }
        .navbar.scrolled { padding: 0.7rem 0; }
    }

    @media (max-width: 768px) {
        .hero-content {
            text-align: center;
            margin: 0 auto;
            padding-right: 0;
            padding-left: 0;
        }
        
        .hero-content h1 {
            font-size: 2.5rem;
            text-align: center;
        }
        
        .hero-content p {
            font-size: 1.1rem;
            text-align: center;
        }
        
        section {
            padding: 3rem 0;
        }
        
        .contact-form {
            padding: 1.5rem;
        }
        
        .footer-links {
            flex-direction: column;
            align-items: center;
        }
        
        .footer-links a {
            margin: 0.5rem 0;
        }
        
        .navbar-brand img {
            height: 50px;
        }
        
        .btn-hero {
            margin: 0.5rem;
            width: calc(100% - 1rem);
            display: block;
        }
        
        .navbar-collapse {
            background: rgba(255, 255, 255, 0.98);
            padding: 1rem;
            border-radius: var(--border-radius);
            -webkit-border-radius: var(--border-radius);
            -moz-border-radius: var(--border-radius);
            margin-top: 1rem;
            box-shadow: var(--box-shadow);
        }
        
        .navbar:not(.scrolled) .navbar-collapse {
            background: rgba(0, 0, 0, 0.9);
        }
        
        .navbar:not(.scrolled) .nav-link {
            color: var(--text-light) !important;
        }
        
        .navbar.scrolled .nav-link {
            color: var(--navbar-scrolled-text) !important;
        }
    }

    @media (max-width: 576px) {
        .hero-content h1 { font-size: 2rem; }
        .hero-content p { font-size: 1rem; }
        section { padding: 2rem 0; min-height: auto; }
        .section-header h2 { font-size: 1.8rem; }
        .navbar-brand { font-size: 1.2rem; }
        .navbar-brand img { height: 45px; }
        .contact-icon { width: 40px; height: 40px; font-size: 1rem; }
        .navbar { padding: 0.8rem 0; }
        .navbar.scrolled { padding: 0.6rem 0; }
    }

    @media (max-width: 400px) {
        .hero-content h1 { font-size: 1.8rem; }
        .btn-hero { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
        .service-card { padding: 1.5rem; }
        .navbar-brand img { height: 40px; }
    }

    /* Impresión */
    @media print {
        .navbar,
        .btn-hero,
        .contact-form,
        footer {
            display: none;
        }
        
        body {
            padding-top: 0;
        }
        
        section {
            page-break-inside: avoid;
            min-height: auto;
            padding: 1rem 0;
        }
    }

    /* Accesibilidad - Focus visible */
    :focus-visible {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
    }

    /* High contrast mode */
    @media (prefers-contrast: high) {
        :root {
            --text-color: #000000;
            --text-light: #ffffff;
            --navbar-scrolled-bg: #ffffff;
            --navbar-scrolled-text: #000000;
        }
        
        .navbar.scrolled {
            background: #ffffff !important;
            border-bottom: 2px solid #000000;
        }
        
        .btn-hero {
            background-color: #ffff00;
            color: #000000;
            border: 2px solid #000000;
        }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
        
        .navbar {
            transition: none !important;
        }
        
        .btn-hero:hover,
        .btn-submit:hover {
            transform: none !important;
        }
    }


