@import url('https://fonts.googleapis.com/css2?family=Ancizar+Sans:ital,wght@0,100..1000;1,100..1000&family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Dangrek&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend:wght@100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sigmar&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Paleta de colores profesional */
    --primary-color: #2c3e50;
    --primary-light: #34495e;
    --primary-dark: #1e2a36;
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-lighter: #3182ce;
    --accent: #00b4d8;
    --accent-light: #0096c7;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    --gradient-accent: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
    /* Neutrales */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    /* Sombras profesionales */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Transiciones */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bordes */
    --radius-sm: 10px;
    --radius-md: 10px;
    --radius-lg: 8px;
    --radius-xl: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Urbanist", sans-serif;
}

body {
    background: #f7fafc;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

/* Prevenir scroll cuando el menú móvil está abierto */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body.menu-open {
        position: fixed;
        width: 100%;
    }
}

/* NAVBAR PRINCIPAL */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition-normal);
    will-change: transform, background-color;
}

/* Estado cuando se hace scroll - AZUL */
.navbar.scrolled {
    padding: 0.5rem 2rem;
    background: var(--primary);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled::before {
    opacity: 0.98;
}

/*contenedor logo */
.logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 120px;
    height: auto;
    min-height: 64px;
}

.logo .logo-img {
    width: 120px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.logo .logo-img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.logo .logo-img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
    z-index: 1;
}

.navbar.scrolled .logo .logo-img:first-child {
    opacity: 0;
    transform: translateY(-10px);
}

.navbar.scrolled .logo .logo-img:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
}

/* MENÚ HAMBURGUESA PROFESIONAL */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.75rem;
    height: 2.75rem;
    /* Fondo semi-transparente inicialmente */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled .menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.menu-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.menu-btn .bar {
    width: 1.125rem;
    height: 2px;
    /* Color blanco para contraste */
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-normal);
    transform-origin: center;
    margin: 2px 0;
}

.menu-btn.active {
    background: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.menu-btn.active .bar {
    background: var(--white);
}

/* X PERFECTAMENTE CENTRADA - SOLUCIÓN DEFINITIVA */
.menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5625rem;
    /* -9px (mitad del ancho de 1.125rem) */
    margin-top: -1px;
    /* -1px (mitad del alto de 2px) */
}

.menu-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5625rem;
    /* -9px (mitad del ancho de 1.125rem) */
    margin-top: -1px;
    /* -1px (mitad del alto de 2px) */
}

/* MENÚ DE NAVEGACIÓN DESKTOP */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 1.25rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    background: transparent;
    text-shadow: rgba(0, 0, 0, 0.62) 4px 4px 5px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-bounce);
    z-index: -1;
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-menu a.active {
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.nav-menu a.active::before {
    opacity: 1;
    transform: scale(1);
}

/* MENÚ MÓVIL MEJORADO - PANTALLA COMPLETA CON MÁRGENES */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 8px;
        /*left: 5px;*/
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 100px);
        height: 95vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px) saturate(200%);
        -webkit-backdrop-filter: blur(25px) saturate(200%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 2rem 1.5rem;
        transition: var(--transition-slow);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-2xl);
        border: 1px solid rgba(255, 255, 255, 0.9);
        z-index: 1050;
        transform: translateY(-100vh);
        opacity: 0;
        visibility: hidden;
    }

    /* Añadir un gradiente sutil de fondo */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #fff;
        border-radius: var(--radius-xl);
        z-index: -1;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        margin: 0.4rem 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 1.25rem 1.75rem;
        font-size: 0.98rem;
        text-align: left;
        border: 1px solid transparent;
        background: rgba(248, 250, 252, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: var(--radius-lg);
        transition: var(--transition-normal);
        transform: translateX(50px);
        opacity: 0;
        animation: none;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        color: var(--gray-700);
    }

    .nav-menu a i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.6) 50%,
                transparent 100%);
        transition: var(--transition-normal);
    }

    .nav-menu a:hover::after {
        right: 100%;
    }

    .nav-menu.active a {
        animation: slideInFromRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .nav-menu.active a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active a:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-menu.active a:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-menu.active a:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav-menu.active a:nth-child(5) {
        animation-delay: 0.5s;
    }

    .nav-menu a::before {
        border-radius: var(--radius-lg);
        inset: 0;
    }

    .nav-menu a:hover {
        transform: translateX(0) scale(1.02);
        box-shadow: var(--shadow-lg);
        border-color: rgba(26, 54, 93, 0.2);
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu a.active {
        background: var(--gradient-primary);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
        transform: translateX(0);
        color: var(--white);
    }

    .nav-menu a.active::before {
        opacity: 0;
    }

    .nav-menu a.active::after {
        display: none;
    }

    /* Efecto de overlay mejorado */
    .nav-menu.active~.mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(3px);
        z-index: 1040;
        opacity: 1;
        visibility: visible;
        transition: var(--transition-normal);
    }

    .mobile-overlay {
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
}

/* ANIMACIONES MEJORADAS */
@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* CONTENIDO PRINCIPAL */
main {
    min-height: 100vh;
}

/* RESPONSIVE MEJORADO */
@media (max-width: 640px) {
    .navbar {
        padding: 1rem;
    }

    .nav-menu {
        padding: 1.5rem 1.25rem;
    }

    .nav-menu a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        padding: 1.25rem 1rem;
    }

    .nav-menu a {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .menu-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* MEJORAS PARA UX EN MÓVIL */
@media (max-width: 768px) {

    /* Mejorar el área táctil */
    .nav-menu a {
        min-height: 56px;
        touch-action: manipulation;
        text-shadow: none;
    }

    /* Animación de carga para el menú */
    .nav-menu.active {
        animation: slideInMenu 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

@keyframes slideInMenu {
    from {
        transform: translateY(-100vh);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* SCROLL SUAVE Y OPTIMIZACIONES */
html {
    scroll-behavior: smooth;
}

/* ESTADOS DE LOADING */
.nav-menu a {
    will-change: transform, background-color, color;
}

.menu-btn .bar {
    will-change: transform, opacity;
}

/* ACCESIBILIDAD */
.nav-menu a:focus-visible,
.menu-btn:focus-visible,
.logo:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* EFECTOS ADICIONALES */
.navbar {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 180, 216, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(26, 54, 93, 0.05) 0%, transparent 50%);
}

/* MEJORAS PARA PANTALLAS GRANDES */
@media (min-width: 1200px) {
    .navbar {
        padding: 1rem 3rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        padding: 0.875rem 1.5rem;
    }
}

/*--------------------------------*/
/* LOGO PARA MENÚ MÓVIL */
.mobile-menu-logo {
    display: none;
    width: 65px;
    height: 65px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: var(--gradient-primary);
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
    transition: var(--transition-slow);
}

.mobile-menu-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Mostrar logo solo en móvil cuando el menú está activo */
@media (max-width: 768px) {
    .mobile-menu-logo {
        display: block;
    }

    .nav-menu.active .mobile-menu-logo {
        opacity: 1;
        transform: scale(1) translateY(0);
        animation: logoFadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
    }
}

/* Animación para el logo */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(-30px) rotate(-10deg);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

/*Tutilos*/
.linea {
    width: 100%;
    height: 1px;
    margin: 30px 0;
    background: linear-gradient(90deg, transparent, rgb(48, 72, 120), transparent);
    flex-shrink: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 650;
    color: #333;
    text-align: center;
    padding: 0;
}

main #nosotros,
#servicios {
    margin: 10px 10px 30px 10px;
}

@media (max-width: 480px) {

    .linea {
        margin: 15px 0;
    }

    main #nosotros,
    #servicios {
        margin: 0 0 10px 0;
    }

    .section-title {
        font-size: 1.2rem;
    }
}

/*Footer*/
footer {
    position: relative;
    width: 100%;
    background-color: transparent;
    min-height: 400px;
    /* 120px + 100px para social-icons */
    padding: 20px 50px 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    text-align: center;
    bottom: 0;
    overflow: hidden;
}

footer .waves {
    position: absolute;
    left: 0;
    bottom: 300px;
    width: 100%;
    height: 100px;
    pointer-events: none;
}

footer .wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: url(/assets/img/waves.png);
    background-size: 1000px 100px;
}

footer .wave#wave1 {
    z-index: 200;
    opacity: 1;
    animation: animateWave 8s linear infinite;
}

footer .wave#wave2 {
    z-index: 220;
    opacity: 0.5;
    animation: animateWave_1 8s linear infinite;
}

footer .wave#wave3 {
    z-index: 240;
    opacity: 0.2;
    animation: animateWave 7s linear infinite;
}

footer .wave#wave4 {
    z-index: 260;
    opacity: 0.7;
    animation: animateWave_1 7s linear infinite;
}

@keyframes animateWave {
    0% {
        background-position-x: 1000px;
    }

    100% {
        background-position-x: 0px;
    }
}

@keyframes animateWave_1 {
    0% {
        background-position-x: 0px;
    }

    100% {
        background-position-x: 1000px;
    }
}

/*Container contactos*/
.contact {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 400;
    bottom: 102px;
    background: #13253b;
}

.contact-section {
    position: absolute;
    background: #1e293b;
    padding: 15px 30px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
    z-index: 120;
    background-color: #0f172a;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.contact-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: #6d6e70;
}

.title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #85c1e9;
    text-align: center;
}

.contact-section p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1.01px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-item svg {
    width: 26px;
    fill: #e74d3cd8;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 1rem;
    color: #b4b4b6;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.contact-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 550;
    line-height: 1.4;
}

.contact-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #60a5fa;
}

.social-icons {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 300;
    background: #13253b;
}

.social-icons li {
    list-style: none;
    margin: 0 15px;
    position: relative;
}

.social-icons li a {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-icons li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(71, 134, 245, 0.3) 0%, rgba(68, 89, 173, 0.3) 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.social-icons li a:hover::before {
    transform: scale(1);
}

.social-icons li a:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-icons li a i {
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icons li a:hover i {
    transform: scale(1.2);
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.footer-content {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    font-size: 15px;
    font-weight: 450;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-content b {
    color: #60a5fa;
}

/* Responsive */
@media (max-width: 768px) {
    footer .waves {
        bottom: 248px;
    }

    .contact {
        height: auto;
        min-height: 180px;
        bottom: 96px;
        padding: 10px;
    }

    .contact-section {
        padding: 10px 15px;
        margin: 0 10px;
        max-width: 90%;
    }

    .title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .contact-section p {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .contact-item {
        padding: 8px 10px;
        gap: 8px;

    }

    .contact-item svg {
        width: 20px;
        align-self: flex-start;
    }

    .contact-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-label {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 3px;
    }

    .contact-value {
        font-size: 0.85rem;
        display: block;
    }

    .social-icons {
        height: 100px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-icons li {
        margin: 0 5px;
    }

    .social-icons li a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-content {
        height: 36px;
        font-size: 12px;
        padding: 0;
    }

    .footer-content {
        border-top: none;
    }
}

@media (max-width: 480px) {


    .contact {
        height: auto;
        min-height: 160px;
    }

    .contact-section {
        padding: 5px 10px;
        margin: 0 5px;
        max-width: 95%;
    }

    .title {
        font-size: 0.85rem;
        margin-bottom: 1px;
    }

    .contact-section p {
        font-size: 0.65rem;
    }

    .contact-item {
        padding: 6px 8px;
    }

    .contact-label {
        font-size: 0.8rem;
    }

    .contact-value {
        font-size: 0.8rem;
    }

    .social-icons {
        height: 110px;
        padding: 0 5px;
    }

    .social-icons li a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .footer-content p {
        height: 12px;
        font-size: 10px;
    }
}

/*iMPLEMENTACION DE BOOSTRAP*/
/* CORRECCIÓN PARA FOOTER CON BOOTSTRAP */
/* SOLUCIÓN DEFINITIVA PARA FOOTER CON BOOTSTRAP */

/* 1. RESETEAR CONFLICTOS DE BOOTSTRAP */
html {
    height: 100% !important;
}

body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
}

/* 2. MAIN DEBE OCUPAR TODO EL ESPACIO DISPONIBLE */
main {
    flex: 1 0 auto !important;
    min-height: calc(100vh - 400px) !important;
    /* 400px es la altura mínima de tu footer */
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. FOOTER FIJO AL FINAL */
footer {
    position: relative !important;
    bottom: 0 !important;
    width: 100% !important;
    background-color: transparent !important;
    min-height: 400px !important;
    padding: 20px 50px 0 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    color: #fff !important;
    text-align: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 4. CORRECCIONES ESPECÍFICAS PARA ELEMENTOS DEL FOOTER */
footer .waves {
    position: absolute !important;
    left: 0 !important;
    bottom: 300px !important;
    width: 100% !important;
    height: 100px !important;
    pointer-events: none !important;
}

footer .contact {
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    height: 200px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 400 !important;
    bottom: 102px !important;
    background: #13253b !important;
}

footer .social-icons {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 150px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 300 !important;
    background: #13253b !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer .footer-content {
    position: relative !important;
    width: 100% !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 300 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul {
    margin-bottom: 0rem !important;
}

p {
    margin-top: 0;
    margin-bottom: 0rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0px;
    margin-bottom: 0rem;
}

/* 5. ELIMINAR ESPACIOS EXTRA DE BOOTSTRAP */
.container,
.container-fluid,
.row,
[class*="col-"] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Última sección antes del footer */
#clientes {
    margin-bottom: 0 !important;
    padding-bottom: 30px !important;
}

/* 6. RESPONSIVE PARA EL FOOTER CORREGIDO */
@media (max-width: 768px) {
    main {
        min-height: calc(100vh - 350px) !important;
    }

    footer {
        min-height: 350px !important;
    }

    footer .waves {
        bottom: 220px !important;
    }

    footer .contact {
        height: auto !important;
        min-height: 180px !important;
        bottom: 96px !important;
        padding: 10px !important;
    }

    footer .social-icons {
        height: 100px !important;
    }

    footer .footer-content {
        height: 36px !important;
    }
}

@media (max-width: 480px) {
    main {
        min-height: calc(100vh - 320px) !important;
    }

    footer {
        min-height: 320px !important;
    }

    footer .contact {
        min-height: 160px !important;
    }

    footer .social-icons {
        height: 100px !important;
    }

    footer .waves {
        bottom: 220px !important;
    }

    footer .contact {
        height: auto !important;
        min-height: 180px !important;
        bottom: 68px !important;
        padding: 10px !important;
    }

    footer .footer-content {
        height: 28px !important;
    }

}

/* 7. FORZAR QUE NO HAYA SCROLL HORIZONTAL */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* 8. RESETEAR CUALQUIER MARGIN/PADDING QUE BOOTSTRAP PUEDA AGREGAR */
* {
    box-sizing: border-box !important;
}

body>*:last-child {
    margin-bottom: 0 !important;
}

/* 9. ASEGURAR QUE EL VIEWPORT SEA CORRECTO */
@media screen {
    html {
        height: 100vh !important;
    }

    body {
        min-height: 100vh !important;
        height: auto !important;
    }
}

/* Ajuste de altura dinámica para móviles */
/* Carrusel con altura adaptativa */
.carousel {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    overflow: hidden;
}

/* Menú móvil con altura adaptativa */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 8px;
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 100px);
        max-height: calc(100vh - 16px);
        max-height: calc(var(--vh, 1vh) * 100 - 16px);
        /* ... resto de estilos ... */
        overflow-y: auto;
    }
}

/* Main y Footer adaptativos */
@media (max-width: 768px) {
    main {
        min-height: calc(100vh - 350px) !important;
        min-height: calc(var(--vh, 1vh) * 100 - 350px) !important;
    }
}

@media (max-width: 480px) {
    main {
        min-height: calc(100vh - 320px) !important;
        min-height: calc(var(--vh, 1vh) * 100 - 320px) !important;
    }

    .nav-menu {
        width: calc(100vw - 16px);
        right: 8px;
        left: 8px;
    }
}