/* Variables de color y configuración global */
:root {
    --color-blue: #003B95;
    --color-blue-light: #0091FF;
    --color-orange: #FF6A00;
    --color-orange-light: #FF8533;
    --color-red: #E30613;
    --color-green: #009639;
    --color-yellow: #FFD100;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray: #666666;
    --color-gray-dark: #333333;
    --color-gray-light: #F5F5F5;
}

/* Contenedor global para todas las secciones */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Eliminar el efecto tap highlight en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Permitir selección de texto en elementos específicos */
input, textarea, p, span, div:not(.nav-menu):not(.logo), 
h1, h2, h3, h4, h5, h6, a:not(.nav-menu a):not(.logo-text) {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Configuración global para botones y enlaces interactivos */
button, a, .btn, .cta-button, .card-link, .service-btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
}

/* Estilos generales */
html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-size: 17px;
    background-color: var(--color-white);
    color: #333;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevenir scroll horizontal */
    width: 100%;
    box-sizing: border-box;
}

hr {
    background: 1px red;
    margin: 0 auto;
    width: 50%;
}

/* Estilos del header */
#wrap {
    flex: 1 0 auto;
    padding-bottom: 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
    overflow-x: hidden; /* Prevenir scroll horizontal */
    box-sizing: border-box;
    background: var(--color-white);
}    

header {
    font-size: 1.3em;
    text-align: center;
    width: 100%;
    color: var(--color-white);
    margin-bottom: 3px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
/*Inicio estilos nav*/
nav {
    background-color: var(--color-blue);
    padding: 0;
    height: 64px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilos para el top bar */
.top-bar {
    background-color: #fff;
    padding: 12px 0;
    font-size: 15px;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

/* Ajuste para los íconos sociales */
.social-icons-topbar {
    margin-left: auto;
    display: flex;
    gap: 10px; /* Reduce el espacio entre los íconos sociales */
}

.top-bar a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar i {
    color: #666;
    font-size: 15px;
}

/* Eliminar los estilos anteriores de margin-left: auto */
.top-bar a:last-child,
.top-bar a:nth-last-child(2),
.top-bar a:nth-last-child(3) {
    margin-left: 0;
}

/* Estilos del logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    letter-spacing: -0.5px;
    padding: 0.5rem 0;
    line-height: 64px;
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Estilo para la primera letra naranja del logo */
.logo-text .first-letter {
    color: var(--color-orange);
}

/* Asegurarnos de que no haya efectos hover */
.logo-text:hover {
    color: var(--color-white);
    text-decoration: none;
}

.logo a:hover {
    color: var(--color-white);
    text-decoration: none;
}

/* Eliminar los estilos anteriores de la imagen del logo */
.logo-img {
    display: none;
}

/* Estilos del menú principal */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

/* Ocultar el botón del menú hamburguesa en pantallas de escritorio */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animación del botón hamburguesa */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu li a {
    color: var(--color-white) !important; /* Forzar color blanco */
    text-decoration: none;
    font-size: 14.9px;
    font-weight: 500;
    text-transform: none;
    padding: 8px 0;
    display: inline-block;
    position: relative;
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Línea inferior en hover */
.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--color-orange); /* Color naranja para la línea */
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-white) !important;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Estilos para móvil */
/* Ajuste para pantallas pequeñas (móviles grandes) */
@media (max-width: 820px) and (min-width: 769px) {
    .dropdown-menu {
        min-width: 260px !important;
        max-width: 300px !important;
    }
    
    .dropdown-menu li a {
        font-size: 0.8rem !important;
        padding: 8px 14px !important;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 15px;
    }

    .nav-container {
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Asegurar que el logo esté a la izquierda */
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    /* Asegurar que el menú hamburguesa esté a la derecha */
    .menu-toggle {
        order: 3;
        flex-shrink: 0;
    }
    
    /* Ocultar el menú de navegación normal en móvil */
    .nav-menu:not(.active) {
        display: none;
    }
    
    /* Mostrar el menú cuando esté activo */
    .nav-menu.active {
        display: flex !important;
    }

    .menu-toggle {
        display: flex !important;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 1100;
        order: 3;
        margin-left: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--color-blue);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 1090;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        max-height: 600px;
    }

    .nav-menu li {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-menu li a {
        width: 100%;
        padding: 15px 20px;
        display: block;
    }

    /* Estilos del dropdown para móvil - mejorado */
    .dropdown-menu {
        position: static !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        border: none !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: auto !important;
        border-top: 1px solid rgba(0, 59, 149, 0.2) !important;
    }

    .dropdown.active .dropdown-menu {
        max-height: 350px !important;
        padding: 10px 0 !important;
    }

    .dropdown-menu li a {
        padding: 12px 40px !important;
        color: var(--color-gray-dark) !important;
        font-size: 0.85rem !important;
        border-left: 3px solid transparent;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu li a:hover {
        background: rgba(0, 59, 149, 0.1) !important;
        border-left-color: var(--color-blue);
        color: var(--color-blue) !important;
    }

    .dropdown-menu li a i {
        color: var(--color-blue);
        margin-right: 8px;
    }

    .dropdown-toggle {
        justify-content: space-between !important;
        position: relative !important;
        /* Eliminar efectos de tap en móviles */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        outline: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .dropdown-icon {
        margin-left: auto !important;
        transition: transform 0.3s ease !important;
    }
    
    .dropdown.active .dropdown-icon {
        transform: rotate(180deg) !important;
    }

    .nav-menu.active {
        max-height: 600px;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}
/*Fin estilos nav*/

/* Estilos específicos para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Ajustar navegación para tablets */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu li a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: white !important;
        min-width: 280px !important;
        max-width: 320px !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        z-index: 1050 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        border: 1px solid rgba(0, 59, 149, 0.1) !important;
    }

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

    .dropdown-menu li a {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 16px !important;
        color: var(--color-gray-dark) !important;
        text-decoration: none !important;
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        border-bottom: none !important;
        line-height: 1.4 !important;
    }

    .dropdown-menu li a:hover {
        background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%) !important;
        color: white !important;
    }

    .dropdown-menu li a i {
        color: var(--color-blue) !important;
        font-size: 0.9rem !important;
        width: 18px !important;
        text-align: center !important;
        transition: color 0.3s ease !important;
    }

    .dropdown-menu li a:hover i {
        color: white !important;
    }

    .dropdown-divider {
        border-top: 1px solid rgba(0, 59, 149, 0.1) !important;
        margin-top: 6px !important;
        padding-top: 6px !important;
    }

    .dropdown-divider a {
        font-weight: 600 !important;
        color: var(--color-orange) !important;
    }

    .dropdown-divider a:hover {
        background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%) !important;
        color: white !important;
    }

    /* Asegurar que el dropdown no se salga de la pantalla */
    .dropdown {
        position: relative !important;
    }

    .dropdown-menu {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-10px) !important;
    }

    .dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* Estilos del slider */
/* Estilos para la sección Hero */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Estilos para el contenedor del video */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay oscuro para mejorar la legibilidad */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    animation: slowMotion 1s forwards;
    pointer-events: none; /* Deshabilitar interacción del usuario */
    
    /* Ocultar todos los controles del video */
    outline: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Ocultar controles del video en todos los navegadores y resoluciones */
.video-background video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-timeline {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-current-time-display {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-time-remaining-display {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-mute-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-volume-slider {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-fullscreen-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-background video::-webkit-media-controls-enclosure {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Para Firefox */
.video-background video::-moz-media-controls {
    display: none !important;
}

/* Asegurar que el video no se pueda pausar */
.video-background video[controls] {
    controls: false !important;
}

.video-background video {
    controls: false !important;
}

@keyframes slowMotion {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Asegurar que el contenido esté por encima del video */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    animation: slideUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-content .highlight {
    color: var(--color-orange);
    font-size: 4.5rem;
    display: block;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.4s;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-content .cta-button {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6b35 100%);
    color: var(--color-white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.3rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    opacity: 0;
    animation: slideUp 1s ease forwards, pulseGlow 3s ease-in-out infinite;
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
    animation-delay: 0.8s, 2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(236, 97, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1;
}

.hero-content .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.hero-content .cta-button::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-content .cta-button:hover {
    background: linear-gradient(135deg, #ff6b35 0%, var(--color-orange) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(236, 97, 0, 0.4);
    padding-right: 3.5rem;
}

.hero-content .cta-button:hover::before {
    left: 100%;
}

.hero-content .cta-button:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
}

.hero-content .cta-button:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content .highlight {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .hero-content .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        box-shadow: 0 6px 20px rgba(236, 97, 0, 0.3);
    }
    
    .hero-content .cta-button:hover {
        padding-right: 3rem;
        box-shadow: 0 12px 30px rgba(236, 97, 0, 0.4);
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content .highlight {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-content .cta-button {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        box-shadow: 0 5px 15px rgba(236, 97, 0, 0.3);
    }
    
    .hero-content .cta-button:hover {
        padding-right: 2.8rem;
        box-shadow: 0 10px 25px rgba(236, 97, 0, 0.4);
    }
}
/* FIN  Estilos del contenido */
#contenido {
    padding: 40px 15px; /* Reducir padding lateral */
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

.img {
    margin-top: 8px;
    padding: 14px;
    border: solid 4px var(--color-secondary);
    border-radius: 100%;
}

/*Estilos como funciona*/

#como_funciona {
    margin-top: 8rem;
    padding: 60px 15px; /* Reducir padding lateral */
    text-align: center;
    margin-bottom: 0;
    background-color: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
}

#como_funciona h1,
#como_funciona h2 {
    font-size: 30px;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
    color: var(--color-blue);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
}

#como_funciona .cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%; /* Ancho completo */
    margin: 0 auto;
    box-sizing: border-box;
}

#como_funciona .card {
    flex: 0 1 290px;
    min-width: 270px;
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#como_funciona .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#como_funciona .card-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background-color: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#como_funciona .card-icon i {
    font-size: 35px;
    color: var(--color-white);
}

#como_funciona .card:hover .card-icon {
    transform: scale(1.1);
    background-color: rgba(0, 59, 149, 0.8);
}

#como_funciona .card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: var(--color-blue);
}

#como_funciona .card-text {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-gray-medium);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Estilos para enlaces dentro del texto de las tarjetas */
#como_funciona .card-text a {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Efecto hover personalizado para links de la sección como funciona */
#como_funciona .card a:hover {
    background-color: transparent !important;
    color: #75A1D9 !important;
}

#como_funciona .card-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    z-index: 10;
}

/* Responsive para cómo funciona */
@media (max-width: 768px) {
    #como_funciona .cards {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        align-items: center;
    }
    
    #como_funciona .card {
        width: 100%;
        max-width: 350px;
        margin: 0;
        box-sizing: border-box;
    }
    
    #como_funciona .card-number {
        width: 38px;
        height: 38px;
        top: 12px;
        right: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #como_funciona {
        padding: 30px 5px;
    }
    
    #como_funciona .card {
        max-width: none;
        padding: 20px 15px;
    }
    
    #como_funciona .card-number {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 0.9rem;
    }
}

/* Estilos actualizados para la sección nosotros */
#nosotros {
    padding: 80px 0;
    width: 100%;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

#nosotros .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.nosotros-content {
    max-width: 800px;
    margin: 0 auto;
}

.nosotros-text h2 {
    color: var(--color-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    text-align: center;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--color-blue) 25%,
        var(--color-red) 25%,
        var(--color-red) 50%,
        var(--color-green) 50%,
        var(--color-green) 75%,
        var(--color-yellow) 75%
    );
    margin: 0 auto 30px;
}

.nosotros-text p {
    color: var(--color-gray-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0 auto;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    #nosotros {
        padding: 60px 0;
    }

    .nosotros-text h2 {
        font-size: 2rem;
    }

    .nosotros-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    #nosotros {
        padding: 40px 0;
    }

    .nosotros-text h2 {
        font-size: 1.8rem;
    }

    .nosotros-text p {
        font-size: 0.95rem;
    }
}

/* Descripción de la página */
#nosotros > p {
    margin-top: 5px;
}

#nosotros > h1 {
    font-size: 40px;
    margin-top: 30px;
    text-align: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

#nosotros {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    color: var(--color-white);
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    padding: 60px 0;
    font-size: 1.2em;
}

.servicios {
    text-align: center;
    color: #0091ff;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem 0;
    text-transform: uppercase;
}

.servicios-subtitle {
    text-align: center;
    color: var(--color-gray-dark);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1rem 0 2rem 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.3;
}

/* Ajustes responsivos para el subtítulo de servicios */
@media (max-width: 768px) {
    .servicios-subtitle {
        font-size: 1.5rem;
        margin: 1rem 0 1.5rem 0;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .servicios-subtitle {
        font-size: 1.3rem;
        margin: 0.8rem 0 1.2rem 0;
    }
}

/* Sección de contacto con número de teléfono */
#contacto-llamada {
    margin: 0 auto;
    background: var(--color-blue);
    color: var(--color-white);
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    padding: 20px;
    height: 250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

#contacto-llamada .contacto-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* Sección del formulario de contacto */
#contacto {
    background-color: #f8f9fa;
    padding: 80px 15px; /* Reducir padding lateral */
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: auto; /* Asegurar altura mínima */
    display: block; /* Forzar display */
}

/* Formulario de contacto */
.form-container {
    background-color: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 85%;
    max-width: 800px;
    margin: 0 auto;
    border: none;
    box-sizing: border-box;
    display: block; /* Forzar display */
    visibility: visible; /* Forzar visibilidad */
}

.form-container h2 {
    text-align: center;
    color: var(--color-blue);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-blue);
    font-size: 16px;
}

.form-container input,
.form-container textarea,
.form-container select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafbfc;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 59, 149, 0.1);
    background-color: var(--color-white);
}

.form-container textarea {
    height: 120px;
    resize: vertical;
    padding-top: 15px;
}

/* Estilos del botón */
.form-container button {
    background: linear-gradient(135deg, var(--color-blue), rgba(0, 59, 149, 0.8));
    color: var(--color-white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    width: auto;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 59, 149, 0.2);
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

.form-container button:hover {
    background: linear-gradient(135deg, rgba(0, 59, 149, 0.9), var(--color-blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 59, 149, 0.3);
}

.button-container {
    text-align: center;
}

.privacy-policy {
    margin-top: 1.5rem;
    font-size: 14px;
    color: var(--color-gray-medium);
    text-align: center;
    line-height: 1.5;
}

.privacy-policy a {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

/* Responsive para formulario */
@media (max-width: 768px) {
    .form-container {
        width: 95%;
        padding: 2.5rem 1.5rem;
        margin: 0 auto;
        display: block !important;
        visibility: visible !important;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .form-container input,
    .form-container textarea,
    .form-container select {
        padding: 12px 12px 12px 40px;
        font-size: 15px;
    }
    
    .form-group i {
        left: 12px;
        font-size: 15px;
    }
    
    .form-container button {
        width: 100%;
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .form-container {
        width: 98%;
        padding: 2rem 1rem;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .form-container input,
    .form-container textarea,
    .form-container select {
        padding: 10px 10px 10px 35px;
        font-size: 14px;
    }
    
    .form-group i {
        left: 10px;
        font-size: 14px;
    }
    
    .form-container textarea {
        height: 100px;
    }
    
    .privacy-policy {
        font-size: 13px;
    }
}

/* Botón de scroll to top */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-blue);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: bold;
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

#scroll-to-top:hover {
    background-color: rgba(0, 59, 149, 0.8);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

#scroll-to-top span {
    font-size: 14px;
}

/* Botón flotante de WhatsApp */
#whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: whatsappPulse 2s infinite;
    /* Eliminar efectos de tap en móviles */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

#whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

#whatsapp-float i {
    font-size: 32px;
    color: white;
}

/* Animación de pulso para WhatsApp */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Ajustes responsivos para WhatsApp */
@media (max-width: 768px) {
    #whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    #whatsapp-float i {
        font-size: 28px;
    }
}

/* Widget de chat de WhatsApp */
.whatsapp-widget {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 999;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

/* Mostrar widget al hacer hover sobre el botón de WhatsApp */
.whatsapp-widget.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header del widget */
.widget-header {
    background: linear-gradient(135deg, #4ACA6D, #2DB84C);
    color: white;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 13px;
    min-height: 40px;
}

.widget-header span {
    opacity: 0.9;
}

.widget-header strong {
    font-weight: 600;
    margin-left: 4px;
}

.widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-close:hover {
    opacity: 1;
}

/* Contenido del widget */
.widget-content {
    padding: 20px 16px;
    background: #f0f4f7;
}

.chat-message {
    margin-bottom: 12px;
}

.chat-message:last-child {
    margin-bottom: 0;
}

.message-text {
    background: white;
    padding: 10px 14px;
    border-radius: 18px;
    display: inline-block;
    font-size: 14px;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    line-height: 1.4;
}

/* Footer del widget */
.widget-footer {
    padding: 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.open-chat-btn {
    background: linear-gradient(135deg, #4ACA6D, #2DB84C);
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    gap: 8px;
}

.open-chat-btn:hover {
    background: linear-gradient(135deg, #3ba054, #259c3c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white;
}

.open-chat-btn svg {
    width: 14px;
    height: 14px;
}

/* Ajustes responsivos para el widget */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 140px;
        right: 15px;
        width: 280px;
    }
}

/* Clases de utilidad para el color de acento */
.highlight {
    color: var(--color-accent);
}

.accent-bg {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Estilos para la sección de servicios */
#contenido {
    padding: 40px 15px; /* Reducir padding lateral */
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

#contenido .servicios {
    text-align: center;
    color: var(--color-blue);
    margin-bottom: 30px;
    font-size: 40px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

#contenido p {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-gray-medium);
    text-align: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

/* Ajustes responsivos para el párrafo de servicios */
@media (max-width: 768px) {
    #contenido p {
        font-size: 1rem;
        padding: 0 20px;
        margin: 0 auto 2.5rem auto;
    }
}

@media (max-width: 480px) {
    #contenido p {
        font-size: 0.95rem;
        margin: 0 auto 2rem auto;
    }
}

/* Ajustes específicos para las tarjetas de servicios */
#contenido .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0; /* Eliminar padding lateral */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#contenido .card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#contenido .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#contenido .card-icon {
    width: 70px;
    height: 70px;
    background: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

#contenido .card-icon i {
    font-size: 30px;
    color: var(--color-white);
}

#contenido .card:hover .card-icon {
    background-color: rgba(0, 59, 149, 0.8);
}

#contenido .card-title {
    font-size: 1.5em;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

#contenido .card-text {
    color: var(--color-gray-medium);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

#contenido .card-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--color-blue);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-top: auto;
}

#contenido .card-link:hover {
    background-color: rgba(0, 59, 149, 0.8);
    transform: scale(1.05);
}

/* Responsive para servicios */
@media (max-width: 768px) {
    #contenido .cards {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 20px;
        padding: 20px 0;
        width: 100%;
        margin: 0;
    }
    
    #contenido .card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    #contenido .cards {
        gap: 15px;
        padding: 15px 0;
    }
    
    #contenido .card {
        padding: 18px 12px;
    }
}

/* Estilos específicos para la sección cómo funciona */
#como_funciona .card-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#como_funciona .card-icon i {
    font-size: 25px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Ajustes específicos para iconos problemáticos */
#como_funciona .card-icon .fa-envelope,
#como_funciona .card-icon .fa-whatsapp {
    font-size: 24px;
    line-height: 1;
    text-align: center;
}

/* Ajuste específico para el icono de WhatsApp que puede ser más ancho */
#como_funciona .card-icon .fa-whatsapp {
    font-size: 24px;
}

#como_funciona .card:hover .card-icon {
    transform: scale(1.1);
    background-color: rgba(0, 59, 149, 0.8);
}

/* Números de pasos en posición absoluta como las páginas de servicios */

/* Ajustes generales para responsive */
@media (max-width: 768px) {
    #wrap {
        width: 100%;
        box-shadow: none;
    }

    /* Ajustes para la sección hero */
    .hero-content h1,
    .hero-content .highlight {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    /* Ajustes para la sección nosotros */
    #nosotros {
        height: auto;
        min-height: 40vh;
        padding: 30px 20px;
    }

    #nosotros h1 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    #nosotros p {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 15px;
    }

    /* Ajustes para sección servicios */
    .servicios {
        font-size: 30px;
        margin-top: 40px;
    }

    #contenido .cards {
        width: 90%;
        gap: 15px;
    }

    #contenido .card {
        min-width: unset;
        width: 100%;
        padding: 20px 15px;
    }

    /* Ajustes para sección cómo funciona */
    #como_funciona {
        margin-top: 5rem;
        padding: 0 15px;
    }

    #como_funciona h1 {
        font-size: 30px;
    }

    #como_funciona .cards {
        width: 90%;
    }

    /* Ajustes para sección contacto */
    #contacto {
        height: 200px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #celular {
        font-size: 24px;
    }

    #cel_numero {
        font-size: 36px;
    }

    /* Ajustes para formulario de contacto */
    .form-container {
        width: 90%;
        padding: 1.5rem;
        margin-top: 5rem;
    }

    .form-container h2 {
        font-size: 24px;
    }

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

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero-content h1,
    .hero-content .highlight {
        font-size: 2.5rem;
    }

    #contenido .card-icon,
    #como_funciona .card-icon {
        width: 50px;
        height: 50px;
    }

    #contenido .card-icon i,
    #como_funciona .card-icon i {
        font-size: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-text {
        font-size: 14px;
    }

    #contacto {
        height: 180px;
    }

    #cel_numero {
        font-size: 30px;
    }

    footer {
        margin-top: 10%;
        padding: 1em;
    }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    #wrap {
        width: 100%;
        margin: 0;
    }

    #contenido .cards,
    #como_funciona .cards {
        width: 90%;
        margin: 0 auto;
        gap: 20px;
    }

    #contenido .card,
    #como_funciona .card {
        flex: 0 1 calc(50% - 10px);
        margin: 0;
    }
}

/* Ajustes para el menú móvil */
@media (max-width: 768px) {
    .nav-container {
        width: 100%;
        padding: 10px 15px;
        box-sizing: border-box;
    }

    .nav-menu {
        width: 100%;
        left: 0;
        margin: 0;
    }

    .nav-menu.active {
        width: 100%;
        padding: 0;
    }
}

/* Agregar al final del archivo */
.service__list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.service__list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-title);
}

/* Estilos especficos para la página de venta de equipos */
.about__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about__icons {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about__icons:hover {
    transform: translateY(-5px);
}

.about__title {
    color: var(--color-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.service__list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service__list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
    color: #333;
}

.service__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-size: 1.2rem;
}

/* Ajustes responsivos para la página de venta de equipos */
@media (max-width: 768px) {
    .about__main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about__icons {
        padding: 1.5rem;
    }

    .about__title {
        font-size: 1.3rem;
    }

    .service__list li {
        font-size: 0.95rem;
    }
}

/* Estilos para el subtítulo y párrafo de la página de venta de equipos */
.subtitle {
    text-align: center;
    color: var(--color-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    margin-top: 2rem;
}

.about__paragraph {
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .subtitle {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .about__paragraph {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Solo estos estilos específicos para el hover del icono y el botón */
.card:hover .card-icon {
    background-color: rgba(0, 59, 149, 0.8);
}

.card-link:hover, .card a:hover {
    background-color: rgba(0, 59, 149, 0.8);
}

/* Animación para el contenido del hero */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(236, 97, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(236, 97, 0, 0.5), 0 0 0 0 rgba(236, 97, 0, 0.3);
    }
}

.hero-content {
    animation: slideUp 1s ease forwards;
}

/* Animaciones individuales para cada elemento */
.hero-content h1 {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-content .highlight {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.4s;
}

.hero-content p {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-content .cta-button {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.8s;
}

/* Animaciones para la página de nosotros */
.nosotros-hero-content.animate-up {
    animation: slideUp 1s ease forwards;
}

.nosotros-hero-content.animate-up h1 {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.2s;
}

.nosotros-hero-content.animate-up .hero-subtitle {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.4s;
}

/* Animaciones para las páginas de servicios */
.service-hero-content.animate-up {
    animation: slideUp 1s ease forwards;
}

.service-hero-content.animate-up h1 {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.2s;
}

.service-hero-content.animate-up .subtitle {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.4s;
}

/* Sección de valores */
#valores {
    padding: 60px 15px; /* Reducir padding lateral */
    background-color: var(--color-white);
    margin: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.valores-descripcion {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-gray-medium);
    text-align: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.valores-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0 auto;
    padding: 0;
    flex-wrap: wrap;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
}

.valor-card {
    background: var(--color-blue);
    color: white;
    padding: 1.8rem 2.2rem;
    border-radius: 10px;
    text-align: center;
    min-width: 220px;
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 59, 149, 0.3);
}

.valor-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.valor-line {
    width: 55px;
    height: 3px;
    background: var(--color-orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* Ajustes responsivos para la sección de valores */
@media (max-width: 1024px) {
    .valores-section {
        gap: 20px;
        max-width: 900px;
    }
    
    .valor-card {
        min-width: 200px;
        padding: 1.6rem 2rem;
        max-width: 270px;
    }
    
    .valor-card h3 {
        font-size: 1.4rem;
    }
    
    .valor-line {
        width: 50px;
    }
}

@media (max-width: 768px) {
    #valores {
        padding: 50px 10px;
    }
    
    .valores-descripcion {
        font-size: 1rem;
        margin-bottom: 35px;
        padding: 0 20px;
    }
    
    .valores-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }
    
    .valor-card {
        width: 100%;
        max-width: 350px;
        min-width: auto;
        padding: 1.4rem 1.8rem;
    }
    
    .valor-card h3 {
        font-size: 1.3rem;
    }
    
    .valor-line {
        width: 45px;
    }
}

@media (max-width: 480px) {
    #valores {
        padding: 40px 5px;
    }
    
    .valores-descripcion {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .valor-card {
        padding: 1.2rem 1.5rem;
        max-width: 280px;
    }
    
    .valor-card h3 {
        font-size: 1.1rem;
    }
    
    .valor-line {
        width: 40px;
    }
}

#celular {
    font-size: 30px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    margin-bottom: 15px;
}

#cel_numero {
    font-size: 50px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    margin-bottom: 20px;
}

#input {
    text-align: center;
    margin-top: 20px;
}

#Llamar {
    width: 130px;
    padding: 10px;
    font-size: 15px;
    background: var(--color-blue);
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: 3px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

#Llamar:hover {
    background-color: rgba(0, 59, 149, 0.8);
}

.art {
    width: 23%; 
    height: 370px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2); 
    box-sizing: border-box;
    margin-bottom: .2em;
    margin: .2em;
    display: inline-table;
    padding: 7px;
    margin-right: 3px;
    border-radius: 3px;
    background: var(--color-white);
}

#link {
    font-size: 18px;
    margin: 0 auto;
    width: 190px;
    background: var(--color-white);
    border-radius: 30px;
}

#link:hover {
    border: solid 1px rgba(0, 59, 149, 0.8);
}

.art p {
    text-align: justify;
    padding: 5px;
    margin-top: 10px;
}

/* Texto "ver ms" */
h5 {
    margin: 0 auto;
    margin-top: 10px;
    padding: 5px;
    font-size: 18px;
    border-radius: 30px;
    border: solid var(--color-primary) 1px;
    width: 80%;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: var(--color-primary);
}

h5:hover {
    background: rgba(0, 59, 149, 0.8);
    color: var(--color-white);
}

.ver {
    border: solid 1px black;
    color: #336600;
    text-align: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 1.1em;
}

/* Footer moderno */
footer {
    background: linear-gradient(135deg, var(--color-blue), #001a5c);
    color: var(--color-white);
    margin-top: 8rem;
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--color-orange) 0%,
        var(--color-orange) 33%,
        var(--color-blue) 33%,
        var(--color-blue) 66%,
        var(--color-orange) 66%,
        var(--color-orange) 100%
    );
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-orange);
    border-radius: 2px;
}

.footer-column p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.footer-column ul li a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-column ul li a i {
    font-size: 1rem;
    color: var(--color-orange);
    width: 16px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--color-orange-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 127, 63, 0.4);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive para footer */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 1.5rem 0;
        margin-top: 5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column p {
        font-size: 0.9rem;
    }
    
    .footer-column ul li a {
        font-size: 0.9rem;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2.5rem 0 1rem 0;
        margin-top: 4rem;
    }
    
    .footer-top {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-column h3 {
        font-size: 1rem;
    }
    
    .footer-column p,
    .footer-column ul li a {
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.4;
        padding: 0 1rem;
    }

}

/* Contenido página de productos */
#contenedor {
    width: 97%;
    margin: 0 auto;
    margin-top: 10px; 
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

.productos {
    margin: .2em;
    margin-bottom: .2em;
    display: inline-block;
    width: 30%; 
}

.ver_mas {
    width: 97%;
    margin: 0 auto;
    text-align: center;
    padding: 5px;
    font-size: 14px;
    background-color: rgba(0,0,0,0.4);
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

a:hover {
    color: rgba(0, 59, 149, 0.8);
}

.descripcion {
    width: 97%;
    margin: 0 auto;
    text-align: center;
    padding: 3px;
    font-size: 16px;
    background-color: rgba(0,0,0,0.4);
}

/* =============================================
   ANIMACIONES PARA TARJETAS DE SERVICIOS
   ============================================= */

/* Estado inicial de las tarjetas - ocultas */
#contenido .card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas */
#contenido .card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para efecto cascada */
#contenido .card:nth-child(1) { transition-delay: 0.1s; }
#contenido .card:nth-child(2) { transition-delay: 0.2s; }
#contenido .card:nth-child(3) { transition-delay: 0.3s; }
#contenido .card:nth-child(4) { transition-delay: 0.4s; }
#contenido .card:nth-child(5) { transition-delay: 0.5s; }
#contenido .card:nth-child(6) { transition-delay: 0.6s; }
#contenido .card:nth-child(7) { transition-delay: 0.7s; }
#contenido .card:nth-child(8) { transition-delay: 0.8s; }
#contenido .card:nth-child(9) { transition-delay: 0.9s; }

/* Ajuste responsivo para móviles - delays más rápidos */
@media (max-width: 768px) {
    #contenido .card {
        transform: translateX(-30px);
    }
    
    #contenido .card:nth-child(1) { transition-delay: 0.05s; }
    #contenido .card:nth-child(2) { transition-delay: 0.1s; }
    #contenido .card:nth-child(3) { transition-delay: 0.15s; }
    #contenido .card:nth-child(4) { transition-delay: 0.2s; }
    #contenido .card:nth-child(5) { transition-delay: 0.25s; }
    #contenido .card:nth-child(6) { transition-delay: 0.3s; }
    #contenido .card:nth-child(7) { transition-delay: 0.35s; }
    #contenido .card:nth-child(8) { transition-delay: 0.4s; }
    #contenido .card:nth-child(9) { transition-delay: 0.45s; }
}

/* Para usuarios que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    #contenido .card {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* =============================================
   ANIMACIONES PARA TARJETAS DE CÓMO FUNCIONA
   ============================================= */

/* Estado inicial de las tarjetas - ocultas */
#como_funciona .card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas */
#como_funciona .card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para cómo funciona */
#como_funciona .card:nth-child(1) { transition-delay: 0.1s; }
#como_funciona .card:nth-child(2) { transition-delay: 0.3s; }
#como_funciona .card:nth-child(3) { transition-delay: 0.5s; }

/* =============================================
   ANIMACIONES PARA TARJETAS DE VALORES
   ============================================= */

/* Estado inicial de las tarjetas de valores - ocultas */
#valores .valor-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de valores */
#valores .valor-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para valores */
#valores .valor-card:nth-child(1) { transition-delay: 0.1s; }
#valores .valor-card:nth-child(2) { transition-delay: 0.3s; }
#valores .valor-card:nth-child(3) { transition-delay: 0.5s; }

/* Ajuste responsivo para móviles - delays más rápidos */
@media (max-width: 768px) {
    #contenido .card,
    #como_funciona .card,
    #valores .valor-card,
    #mision-vision .mv-card,
    #valores-empresa .valor-item,
    #por-que-elegirnos .ventaja-card,
    #servicios-resumen .servicio-card,
    .services-section .service-card,
    .process-section .process-card {
        transform: translateX(-30px);
    }
    
    #contenido .card:nth-child(1) { transition-delay: 0.05s; }
    #contenido .card:nth-child(2) { transition-delay: 0.1s; }
    #contenido .card:nth-child(3) { transition-delay: 0.15s; }
    #contenido .card:nth-child(4) { transition-delay: 0.2s; }
    #contenido .card:nth-child(5) { transition-delay: 0.25s; }
    #contenido .card:nth-child(6) { transition-delay: 0.3s; }
    #contenido .card:nth-child(7) { transition-delay: 0.35s; }
    #contenido .card:nth-child(8) { transition-delay: 0.4s; }
    #contenido .card:nth-child(9) { transition-delay: 0.45s; }
    
    #como_funciona .card:nth-child(1) { transition-delay: 0.05s; }
    #como_funciona .card:nth-child(2) { transition-delay: 0.15s; }
    #como_funciona .card:nth-child(3) { transition-delay: 0.25s; }
    
    #valores .valor-card:nth-child(1) { transition-delay: 0.05s; }
    #valores .valor-card:nth-child(2) { transition-delay: 0.15s; }
    #valores .valor-card:nth-child(3) { transition-delay: 0.25s; }
    
    #mision-vision .mv-card:nth-child(1) { transition-delay: 0.05s; }
    #mision-vision .mv-card:nth-child(2) { transition-delay: 0.15s; }
    
    #valores-empresa .valor-item:nth-child(1) { transition-delay: 0.05s; }
    #valores-empresa .valor-item:nth-child(2) { transition-delay: 0.1s; }
    #valores-empresa .valor-item:nth-child(3) { transition-delay: 0.15s; }
    #valores-empresa .valor-item:nth-child(4) { transition-delay: 0.2s; }
    
    #por-que-elegirnos .ventaja-card:nth-child(1) { transition-delay: 0.05s; }
    #por-que-elegirnos .ventaja-card:nth-child(2) { transition-delay: 0.1s; }
    #por-que-elegirnos .ventaja-card:nth-child(3) { transition-delay: 0.15s; }
    #por-que-elegirnos .ventaja-card:nth-child(4) { transition-delay: 0.2s; }
    
    #servicios-resumen .servicio-card:nth-child(1) { transition-delay: 0.05s; }
    #servicios-resumen .servicio-card:nth-child(2) { transition-delay: 0.1s; }
    #servicios-resumen .servicio-card:nth-child(3) { transition-delay: 0.15s; }
    
    .services-section .service-card:nth-child(1) { transition-delay: 0.05s; }
    .services-section .service-card:nth-child(2) { transition-delay: 0.1s; }
    .services-section .service-card:nth-child(3) { transition-delay: 0.15s; }
    .services-section .service-card:nth-child(4) { transition-delay: 0.2s; }
    .services-section .service-card:nth-child(5) { transition-delay: 0.25s; }
    
    .process-section .process-card:nth-child(1) { transition-delay: 0.05s; }
    .process-section .process-card:nth-child(2) { transition-delay: 0.1s; }
    .process-section .process-card:nth-child(3) { transition-delay: 0.15s; }
}

/* =============================================
   ANIMACIONES PARA SECCIONES DE NOSOTROS
   ============================================= */

/* Estado inicial de las tarjetas de misión-visión - ocultas */
#mision-vision .mv-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de misión-visión */
#mision-vision .mv-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para misión-visión */
#mision-vision .mv-card:nth-child(1) { transition-delay: 0.1s; }
#mision-vision .mv-card:nth-child(2) { transition-delay: 0.3s; }

/* Estado inicial de las tarjetas de valores empresa - ocultas */
#valores-empresa .valor-item {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de valores empresa */
#valores-empresa .valor-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para valores empresa */
#valores-empresa .valor-item:nth-child(1) { transition-delay: 0.1s; }
#valores-empresa .valor-item:nth-child(2) { transition-delay: 0.2s; }
#valores-empresa .valor-item:nth-child(3) { transition-delay: 0.3s; }
#valores-empresa .valor-item:nth-child(4) { transition-delay: 0.4s; }

/* Estado inicial de las tarjetas de por qué elegirnos - ocultas */
#por-que-elegirnos .ventaja-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de por qué elegirnos */
#por-que-elegirnos .ventaja-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para por qué elegirnos */
#por-que-elegirnos .ventaja-card:nth-child(1) { transition-delay: 0.1s; }
#por-que-elegirnos .ventaja-card:nth-child(2) { transition-delay: 0.2s; }
#por-que-elegirnos .ventaja-card:nth-child(3) { transition-delay: 0.3s; }
#por-que-elegirnos .ventaja-card:nth-child(4) { transition-delay: 0.4s; }

/* Estado inicial de las tarjetas de servicios resumen - ocultas */
#servicios-resumen .servicio-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de servicios resumen */
#servicios-resumen .servicio-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para servicios resumen */
#servicios-resumen .servicio-card:nth-child(1) { transition-delay: 0.1s; }
#servicios-resumen .servicio-card:nth-child(2) { transition-delay: 0.2s; }
#servicios-resumen .servicio-card:nth-child(3) { transition-delay: 0.3s; }

/* Estado inicial de las tarjetas de services-section - ocultas */
.services-section .service-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de services-section */
.services-section .service-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para services-section */
.services-section .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-section .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-section .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-section .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-section .service-card:nth-child(5) { transition-delay: 0.5s; }

/* Estado inicial de las tarjetas de process-section - ocultas */
.process-section .process-card {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado visible de las tarjetas de process-section */
.process-section .process-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados para process-section */
.process-section .process-card:nth-child(1) { transition-delay: 0.1s; }
.process-section .process-card:nth-child(2) { transition-delay: 0.2s; }
.process-section .process-card:nth-child(3) { transition-delay: 0.3s; }

/* Para usuarios que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    #contenido .card,
    #como_funciona .card,
    #valores .valor-card,
    #mision-vision .mv-card,
    #valores-empresa .valor-item,
    #por-que-elegirnos .ventaja-card,
    #servicios-resumen .servicio-card,
    .services-section .service-card,
    .process-section .process-card {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* =============================================
   CORRECCIONES RESPONSIVE MÓVILES ADICIONALES
   ============================================= */

/* 1. CORRECCIÓN TOP-BAR - Mejor distribución en móviles */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .top-bar-content {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 15px;
    }
    
    .top-bar a {
        font-size: 13px;
        gap: 6px;
    }
    
    .top-bar i {
        font-size: 13px;
    }
    
    .social-icons-topbar {
        margin-left: auto;
        gap: 8px;
    }
    
    .social-icons-topbar a {
        gap: 0;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0 10px;
    }
    
    .social-icons-topbar {
        margin-left: 0;
        justify-content: center;
    }
}

/* 2. CORRECCIÓN VIDEO - Ocultar botón de play en móviles */
@media (max-width: 768px) {
    .video-background video {
        pointer-events: none; /* Deshabilitar interacción */
    }
}

/* 3. CORRECCIÓN FORMULARIO - Asegurar visibilidad en móviles */
@media (max-width: 768px) {
    #contacto {
        padding: 60px 10px;
        display: block !important; /* Forzar display */
        visibility: visible !important; /* Forzar visibilidad */
    }
    
    .form-container {
        width: 95%;
        padding: 2.5rem 1.5rem;
        margin: 0 auto;
        display: block !important;
        visibility: visible !important;
    }
}

@media (max-width: 480px) {
    #contacto {
        padding: 40px 5px;
    }
    
    .form-container {
        width: 98%;
        padding: 2rem 1rem;
    }
}

/* 4. CORRECCIÓN ADICIONAL CARDS - Centrado perfecto */
@media (max-width: 768px) {
    #contenido {
        padding: 30px 10px; /* Padding mínimo */
    }
    
    #contenido .cards {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 20px;
        padding: 20px 0;
        width: 100%;
        margin: 0;
    }
    
    #contenido .card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    #como_funciona {
        margin-top: 5rem;
        padding: 40px 10px;
    }
    
    #como_funciona .cards {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        align-items: center;
    }
    
    #como_funciona .card {
        width: 100%;
        max-width: 350px;
        margin: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    #contenido {
        padding: 20px 5px;
    }
    
    #contenido .cards {
        gap: 15px;
        padding: 15px 0;
    }
    
    #contenido .card {
        padding: 18px 12px;
    }
    
    #como_funciona {
        padding: 30px 5px;
    }
    
    #como_funciona .card {
        max-width: none;
        padding: 20px 15px;
    }
}

/* =============================================
   CORRECCIÓN ESPECÍFICA FORMULARIO MÓVILES
   ============================================= */

/* Asegurar que el formulario sea completamente visible en móviles */
#contacto {
    background-color: #f8f9fa;
    padding: 80px 15px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    max-height: none; /* Eliminar cualquier limitación de altura */
    height: auto; /* Altura automática */
    display: block;
    overflow: visible; /* Asegurar que el contenido sea visible */
}

.form-container {
    background-color: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 85%;
    max-width: 800px;
    margin: 0 auto;
    border: none;
    box-sizing: border-box;
    display: block;
    visibility: visible;
    height: auto; /* Altura automática */
    max-height: none; /* Sin limitación de altura */
    overflow: visible; /* Contenido visible */
    position: relative; /* Posicionamiento relativo */
}

/* Correcciones específicas para móviles */
@media (max-width: 768px) {
    #contacto {
        padding: 40px 10px !important;
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .form-container {
        width: 95% !important;
        padding: 2rem 1.5rem !important;
        margin: 0 auto !important;
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
        transform: none !important;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        display: block !important;
        visibility: visible !important;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
        position: relative;
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }
    
    .form-container input,
    .form-container textarea,
    .form-container select {
        width: 100% !important;
        padding: 12px 12px 12px 40px;
        font-size: 15px;
        box-sizing: border-box;
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }
    
    .form-container textarea {
        height: 120px !important;
        min-height: 120px !important;
        resize: vertical;
    }
    
    .form-container button {
        width: 100% !important;
        padding: 15px 25px;
        font-size: 16px;
        display: block !important;
        visibility: visible !important;
        margin-top: 1rem;
    }
    
    .privacy-policy {
        margin-top: 1.5rem;
        font-size: 14px;
        display: block !important;
        visibility: visible !important;
    }
}

@media (max-width: 480px) {
    #contacto {
        padding: 30px 5px !important;
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .form-container {
        width: 98% !important;
        padding: 1.5rem 1rem !important;
        margin: 0 auto !important;
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .form-container input,
    .form-container textarea,
    .form-container select {
        padding: 12px 10px 12px 35px;
        font-size: 14px;
    }
    
    .form-container textarea {
        height: 100px !important;
        min-height: 100px !important;
    }
    
    .form-group i {
        left: 10px;
        font-size: 14px;
    }
    
    .privacy-policy {
        font-size: 13px;
    }
}

/* Asegurar que el form y todos sus elementos sean visibles */
#contact-form {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}

#contact-form * {
    display: block !important;
    visibility: visible !important;
}

#contact-form input,
#contact-form textarea,
#contact-form select,
#contact-form button {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Corrección para select específicamente */
#contact-form select {
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
}

    #contenido .card-icon i,
    #como_funciona .card-icon i {
        font-size: 20px;
    }
    
    /* Ajustes específicos para iconos problemáticos en móviles */
    #como_funciona .card-icon .fa-envelope,
    #como_funciona .card-icon .fa-whatsapp {
        font-size: 19px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    /* Ajuste específico para WhatsApp en móviles */
    #como_funciona .card-icon .fa-whatsapp {
        font-size: 18px;
    }

    #contenido .card-icon i,
    #como_funciona .card-icon i {
        font-size: 20px;
    }
    
    /* Ajustes específicos para iconos problemáticos en móviles pequeños */
    #como_funciona .card-icon .fa-envelope {
        font-size: 19px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    #como_funciona .card-icon .fa-whatsapp {
        font-size: 19px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

/* Estilos para el menú desplegable de servicios */
/* ===== DROPDOWN DESKTOP (solo pantallas grandes) ===== */
@media (min-width: 769px) {
    .dropdown {
        position: relative;
    }

    .dropdown-toggle {
        display: flex !important;
        align-items: center;
        gap: 5px;
        /* Eliminar efectos de tap en móviles */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        outline: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .dropdown-icon {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 320px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1050;
        list-style: none;
        margin: 0;
        padding: 10px 0;
        border: 1px solid rgba(0, 59, 149, 0.1);
    }

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

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

    .dropdown-menu li a {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 12px 20px !important;
        color: var(--color-gray-dark) !important;
        /* Eliminar efectos de tap en móviles */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        outline: none;
        -webkit-user-select: none;
        user-select: none;
        text-decoration: none;
        font-size: 0.9rem !important;
        font-weight: 500;
        transition: all 0.3s ease;
        border-bottom: none !important;
    }

    .dropdown-menu li a::after {
        display: none !important;
    }

    .dropdown-menu li a:hover {
        background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
        color: white !important;
    }

    .dropdown-menu li a i {
        color: var(--color-blue);
        font-size: 1rem;
        width: 20px;
        text-align: center;
        transition: color 0.3s ease;
    }

    .dropdown-menu li a:hover i {
        color: white;
    }

    .dropdown-divider {
        border-top: 1px solid rgba(0, 59, 149, 0.1);
        margin-top: 8px;
        padding-top: 8px;
    }

    .dropdown-divider a {
        font-weight: 600 !important;
        color: var(--color-orange) !important;
    }

    .dropdown-divider a:hover {
        background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%) !important;
        color: white !important;
    }

    .dropdown-divider a:hover i {
        color: white !important;
    }

    /* Estilo para la página actual en el dropdown */
    .dropdown-menu li a.current-page {
        background: rgba(0, 59, 149, 0.1) !important;
        color: var(--color-blue) !important;
        font-weight: 600 !important;
        border-left: 3px solid var(--color-blue);
    }

    .dropdown-menu li a.current-page i {
        color: var(--color-blue) !important;
    }
}

/* Estilos para móvil */

/* Estilos específicos para la página Nosotros */

/* Hero Section Nosotros */
.nosotros-hero {
    background: #003b95;
    color: var(--color-white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nosotros-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="network-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.03)"/><line x1="15" y1="15" x2="30" y2="15" stroke="rgba(255,255,255,0.02)" stroke-width="1"/><line x1="15" y1="15" x2="15" y2="30" stroke="rgba(255,255,255,0.02)" stroke-width="1"/><rect x="25" y="25" width="4" height="4" fill="rgba(236,97,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23network-pattern)"/></svg>');
    pointer-events: none;
}

.nosotros-hero-content {
    position: relative;
    z-index: 2;
}

.nosotros-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.nosotros-hero .separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--color-white) 25%,
        var(--color-red) 25%,
        var(--color-red) 50%,
        var(--color-green) 50%,
        var(--color-green) 75%,
        var(--color-yellow) 75%
    );
    margin: 0 auto 30px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sección Principal Nosotros */
.nosotros-principal {
    padding: 100px 0;
    background-color: var(--color-white);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nosotros-text h2 {
    color: var(--color-blue);
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.nosotros-text p {
    color: var(--color-gray-dark);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--color-gray-light);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 59, 149, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray-medium);
    font-weight: 500;
}

/* Imagen placeholder */
.nosotros-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--color-gray-light) 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    border: 2px dashed var(--color-gray-medium);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.image-placeholder p {
    color: var(--color-gray-medium);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

/* Misión y Visión */
.mision-vision {
    padding: 100px 0;
    background: var(--color-gray-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mv-card {
    background: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mv-card:hover .mv-icon {
    background: #3362AA;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: #003B95;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: background 0.3s ease;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.mv-card h3 {
    color: var(--color-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.mv-card p {
    color: var(--color-gray-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Valores de la Empresa */
.valores-empresa {
    padding: 100px 0;
    background: var(--color-white);
}

.section-title {
    text-align: center;
    color: var(--color-blue);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.valor-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-gray-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.valor-item:hover {
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.valor-icon {
    width: 70px;
    height: 70px;
    background: #003B95;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: background 0.3s ease;
}

.valor-item:hover .valor-icon {
    background: #3362AA;
}

.valor-icon i {
    font-size: 1.8rem;
    color: var(--color-white);
}

.valor-item h4 {
    color: var(--color-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.valor-item p {
    color: var(--color-gray-medium);
    line-height: 1.6;
    margin: 0;
}

/* Por Qué Elegirnos */
.por-que-elegirnos {
    padding: 100px 0;
    background: var(--color-gray-light);
}

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

.ventaja-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ventaja-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ventaja-numero {
    position: absolute;
    top: -20px;
    left: 30px;
    background: #FF781A;
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.ventaja-card h4 {
    color: var(--color-blue);
    font-size: 1.4rem;
    margin: 20px 0 15px;
    font-weight: 600;
}

.ventaja-card p {
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin: 0;
}

/* Servicios Resumen */
.servicios-resumen {
    padding: 100px 0;
    background: var(--color-white);
}

.servicios-descripcion {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.servicios-descripcion h2 {
    color: var(--color-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.servicios-descripcion p {
    color: var(--color-gray-dark);
    font-size: 1.2rem;
    line-height: 1.7;
}

.servicios-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.servicio-card {
    background: var(--color-gray-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.servicio-card:hover {
    background: var(--color-white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.servicio-card:hover .servicio-icon {
    background: #3362AA;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: #003B95;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: background 0.3s ease;
}

.servicio-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.servicio-card h4 {
    color: var(--color-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.servicio-card p {
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

.servicio-link {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.servicio-link:hover {
    background: var(--color-orange-light);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--color-white);
}

/* Contacto Llamada */
.contacto-llamada {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    color: var(--color-white);
    text-align: center;
    overflow: visible;
    min-height: auto;
}

.contacto-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contacto-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contacto-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-telefono {
    background: var(--color-green);
    color: var(--color-white);
}

.btn-telefono:hover {
    background: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
    color: var(--color-white);
    text-decoration: none;
}

.btn-email {
    background: var(--color-white);
    color: var(--color-blue);
}

.btn-email:hover {
    background: var(--color-gray-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: var(--color-blue);
    text-decoration: none;
}

/* Responsive Design para Nosotros */
@media (max-width: 1024px) {
    .nosotros-grid {
        gap: 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .mv-grid {
        gap: 40px;
    }
    
    .valores-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nosotros-hero {
        padding: 80px 0 60px;
    }
    
    .nosotros-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nosotros-principal {
        padding: 80px 0;
    }
    
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .nosotros-text h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .mision-vision, .valores-empresa, .por-que-elegirnos, .servicios-resumen {
        padding: 80px 0;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mv-card {
        padding: 40px 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .servicios-descripcion h2 {
        font-size: 2.2rem;
    }
    
    .servicios-descripcion p {
        font-size: 1.1rem;
    }
    
    .valores-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .servicios-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contacto-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }
    
    .btn-contacto {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .contacto-llamada {
        padding: 130px 0 90px 0;
        min-height: 370px;
        overflow: visible;
    }
    
    .contacto-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        margin-top: 0;
        line-height: 1.4;
        padding: 0 15px;
        word-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        overflow: visible;
    }
    
    .contacto-content p {
        font-size: 1rem;
        margin-bottom: 35px;
        padding: 0 15px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        padding: 60px 0 40px;
    }
    
    .nosotros-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nosotros-principal, .mision-vision, .valores-empresa, .por-que-elegirnos, .servicios-resumen {
        padding: 60px 0;
    }
    
    .nosotros-text h2 {
        font-size: 1.8rem;
    }
    
    .nosotros-text p {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .image-placeholder {
        padding: 60px 30px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .mv-card {
        padding: 30px 25px;
    }
    
    .mv-card h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .servicios-descripcion h2 {
        font-size: 1.8rem;
    }
    
    .servicios-descripcion p {
        font-size: 1rem;
    }
    
    .valor-item {
        padding: 30px 20px;
    }
    
    .ventaja-card {
        padding: 30px 25px;
    }
    
    .servicio-card {
        padding: 30px 25px;
    }
    
    .contacto-llamada {
        padding: 120px 0 80px 0;
        margin: 0;
        min-height: 350px;
        overflow: visible;
    }
    
    .contacto-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        margin-top: 0;
        padding: 0 20px;
        line-height: 1.5;
        word-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        overflow: visible;
    }
    
    .contacto-content {
        position: relative;
        width: 100%;
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    .contacto-content p {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 20px;
        line-height: 1.5;
    }
    
    .contacto-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .btn-contacto {
        width: 100%;
        max-width: 280px;
        font-size: 0.9rem;
        padding: 16px 15px;
        word-break: break-word;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
