/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --primary-light: #333333;
    --primary-dark: #000000;
    --secondary-color: #ffffff;
    --accent-color: #cccccc;
    --accent-light: #f5f5f5;
    --text-dark: #000000;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-800: #333333;
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-secondary: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    --gradient-accent: linear-gradient(135deg, #cccccc 0%, #e0e0e0 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Efectos Premium Globales */
* {
    scroll-behavior: smooth;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Clases de Animación */
.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.container {
    max-width: 2200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header Premium */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 8px 0; 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0;
}

.logo {
    text-align: left;
    color: var(--primary-color);
    margin-left: 0;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
}



/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 0;
    align-items: center;
    margin-right: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 16px 22px;
    border-radius: 0;
    border-right: 1px solid var(--gray-200);
}

.nav-link:last-child {
    border-right: none;
}

.nav-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}



/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 30px;
    z-index: 15;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active .carousel-content {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.carousel-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.carousel-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    padding: 20px 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800), var(--primary-color));
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: var(--primary-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.8rem;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20; /* Asegurado por encima de todo */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10; /* Por debajo de los botones */
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Clientes - Premium Horizontal */
.clientes {
    padding: 80px 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.clientes::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.clientes h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.clientes-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.5;
}



.logos-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 20px 0;
}

.logos-track {
    display: flex;
    animation: scrollLogos 20s linear infinite;
    width: calc(230px * 12); /* 6 logos duplicados */
    padding: 0 10px;
}

.logos-carousel:hover .logos-track {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 110px;
    margin: 0 15px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}



.logo-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.logo-item img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}



.logo-item:hover .logo-overlay {
    opacity: 1;
}



.logo-overlay i {
    color: var(--white);
    font-size: 2rem;
    animation: pulse 2s infinite;
}

/* Indicador permanente de click */
.logo-item::after {
    content: '👆';
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    pointer-events: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-230px * 6));
    }
}

/* Modal de empresas */
.empresa-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background: var(--white);
    margin: 20px auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    color: var(--white);
    padding: 30px;
    text-align: center;
    position: relative;
}

.modal-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.2);
    color: #ff6b6b;
}

.modal-body {
    padding: 30px;
}

.empresa-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.servicios-empresa h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.servicios-empresa ul {
    list-style: none;
    padding: 0;
}

.servicios-empresa li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
}

.servicios-empresa li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sección Nosotros - Premium Horizontal */
.nosotros {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.nosotros .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.nosotros::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.nosotros-texto {
    grid-column: 1;
    padding-right: 0;
    text-align: center;
}

.nosotros-texto h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nosotros-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 900;
    line-height: 1.4;
}

.nosotros-descripcion p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 400;
}

.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin: 45px 0;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800));
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.nosotros-valores {
    margin-top: 50px;
}

.nosotros-valores h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.valor-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.valor-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.valor-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.valor-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.nosotros-imagen {
    grid-column: 2;
    position: relative;
}

.imagenes-horizontal {
    display: flex;
    flex-direction: row;
    gap: 25px;
    width: 100%;
    height: 400px;
}
.imagenes-horizontal .imagen-item {
    flex: 1 1 0;
    height: 100%;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nosotros-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.imagen-item:hover .nosotros-foto {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
}

.imagen-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,245,0.8) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 2px solid rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.imagen-item:hover .placeholder-img {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.placeholder-img i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0.7;
}

.placeholder-img p {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 0 10px;
}

/* Página de Servicios */
.servicios-hero {
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.servicios-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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.servicios-hero-content {
    position: relative;
    z-index: 1;
}

.servicios-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.servicios-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.servicios-principales {
    padding: 100px 0;
    background: var(--white);
}

.servicios-principales h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.servicio-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

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

.servicio-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.servicio-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.servicio-caracteristicas {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.servicio-caracteristicas li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
}

.servicio-caracteristicas li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.servicio-precio {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.servicio-precio span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.servicios-adicionales {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.servicios-adicionales h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.servicio-adicional {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.servicio-adicional:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.servicio-adicional i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.servicio-adicional h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.servicio-adicional p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.servicios-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    color: var(--white);
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

/* Páginas de Noticias */
.noticia-detalle {
    padding: 120px 0 80px;
    background: var(--white);
}

.noticia-header {
    margin-bottom: 50px;
}

.volver-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.volver-btn:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.noticia-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.noticia-meta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.fecha, .categoria {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.fecha {
    background: var(--gray-100);
    color: var(--text-dark);
}

.categoria {
    background: var(--primary-color);
    color: var(--white);
}

.noticia-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.noticia-imagen-principal {
    position: sticky;
    top: 120px;
}

.noticia-imagen-principal img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.noticia-texto {
    line-height: 1.8;
}

.noticia-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.noticia-texto h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.noticia-texto h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.noticia-texto p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.noticia-texto ul {
    margin: 20px 0;
    padding-left: 20px;
}

.noticia-texto li {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.6;
}

.noticia-cta {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.noticia-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.noticia-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    color: var(--white);
}

/* Testimonios - Premium Horizontal */
.testimonios {
    padding: 80px 0;
    background: var(--gray-100);
}

.testimonios .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonios h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.testimonio-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--shadow-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonio-card:hover::before {
    transform: scaleX(1);
}

.testimonio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    border-color: rgba(0, 0, 0, 0.4);
}

.testimonio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.testimonio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonio-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cargo {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonio-texto {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.rating {
    display: none !important;
}

/* Noticias - Premium Horizontal */
.productos {
    padding: 80px 0;
    background: var(--white);
}

.productos .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.productos h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.productos-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 400;
    line-height: 1.5;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.producto-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 45px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}
.producto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.4);
}
.producto-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.producto-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.producto-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3;
}
.producto-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 400;
}
.producto-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.producto-caracteristicas li {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}
.producto-caracteristicas li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.producto-card:hover .producto-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.producto-card:hover .producto-icon i {
    transform: scale(1.1);
}

/* Ejemplos de productos */
.producto-ejemplos {
    margin: 25px 0;
}

.ejemplos-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: center;
}

.ejemplo-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ejemplo-img:hover {
    transform: scale(1.08);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Botón ver fotos */
.btn-ver-fotos {
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800));
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}

.btn-ver-fotos:hover {
    background: linear-gradient(135deg, var(--gray-800), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-ver-fotos i {
    font-size: 1rem;
}

/* Modal de fotos */
.modal-fotos-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-fotos-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-fotos-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-modal-fotos {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal-fotos:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-fotos-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.galeria-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.foto-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.foto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.foto-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.foto-item:hover img {
    transform: scale(1.05);
}

/* Modal de foto ampliada */
.modal-foto-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
}

.modal-foto-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.close-foto {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--white);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-foto:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}
.leer-mas:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

.leer-mas:hover::after {
    width: 100%;
}

/* Modal para noticias */
.noticia-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.noticia-contenido {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.noticia-contenido h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 25px 0 15px;
}

.noticia-contenido p {
    margin-bottom: 20px;
}

.noticia-contenido ul {
    margin: 20px 0;
    padding-left: 25px;
}

.noticia-contenido li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.noticia-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
}

/* Contacto - Premium Horizontal */
.contacto {
    padding: 80px 0;
    background: var(--white);
    color: var(--text-dark);
}

.contacto .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.contacto-header {
    text-align: center;
    margin-bottom: 60px;
}

.contacto-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.contacto-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 500;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 45px;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contacto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contacto-card:hover::before {
    transform: scaleX(1);
}

.contacto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    border-color: rgba(0, 0, 0, 0.4);
}

.contacto-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--gray-800));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.contacto-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contacto-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contacto-card span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contacto-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contacto-form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contacto-form-container > p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}
 
.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contacto-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', Arial, sans-serif;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group select {
    cursor: pointer;
}

.btn-enviar {
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-enviar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn-enviar:hover::before {
    opacity: 1;
}

.btn-enviar:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.5);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.footer-logo p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-descripcion {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-redes h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: right;
}

.redes-sociales {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.red-social:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        order: 2;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .logo-img {
        height: 60px;
        max-width: 180px;
    }
    

    
    .logo h1 {
        font-size: 2rem;
    }
    
    .carousel-content {
        top: 55%; 
        width: 100%;
        padding: 0 20px;
    }
    
    .carousel-slide {
        background-attachment: scroll !important;
    }
    
    .carousel-content h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
        line-height: 1.1;
        font-weight: 700;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        opacity: 0.8;
    }
    
    .carousel-btn {
        padding: 0;
        width: 35px;
        height: 35px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.9rem;
    }
    
    .carousel-btn.prev {
        left: 8px;
    }
    
    .carousel-btn.next {
        right: 8px;
    }

    .carousel-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }
    
    .contacto-form-container {
        padding: 30px;
    }
    
    .contacto-card {
        padding: 30px;
    }
    
    .contacto-header h2 {
        font-size: 2.5rem;
    }
    
    .clientes,
    .testimonios,
    .noticias {
        min-height: auto;
        padding: 80px 0;
    }
    
    .testimonios-grid,
    .productos-grid {
        grid-template-columns: 1fr;
        padding: 0 25px;
        gap: 45px;
    }
    
    .producto-card {
        min-height: 380px;
        padding: 35px 25px;
    }
    
    .producto-card h3 {
        font-size: 1.3rem;
    }
    
    .producto-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .producto-icon i {
        font-size: 1.8rem;
    }
    
    .contacto-form-container {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contacto-info {
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .redes-sociales {
        justify-content: center;
    }
    
    .footer-redes h4 {
        text-align: center;
    }
    
    .testimonios-grid,
    .noticias-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .logos-carousel {
        padding: 15px 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .logos-track {
        animation: scrollLogos 18s linear infinite;
        width: calc(175px * 12);
    }
    
    .logo-item {
        width: 150px;
        height: 85px;
        margin: 0 12px;
    }
    
    .logo-item::after {
        font-size: 1.2rem;
        top: -10px;
        right: -5px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .empresa-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nosotros .container {
        height: auto;
        padding: 0 20px;
    }
    
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        height: auto;
        max-width: 100%;
    }
    
    .nosotros-texto {
        grid-column: 1;
        padding-right: 0;
        text-align: center;
    }
    
    .nosotros-imagen {
        grid-column: 1;
    }
    
    .imagenes-horizontal {
        height: 350px;
        gap: 20px;
        flex-direction: row;
    }
    
    .imagenes-horizontal .imagen-item {
        height: 100%;
    }
    
    .nosotros-texto h2 {
        font-size: 2.5rem;
    }
    
    .nosotros-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .imagenes-vertical {
        height: auto;
        gap: 10px;
    }
    
    .imagen-item {
        height: 200px;
    }
    
    .imagenes-horizontal {
        height: 250px;
        gap: 15px;
        flex-direction: column;
    }
    
    .imagenes-horizontal .imagen-item {
        height: calc(33.333% - 10px);
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
        max-width: 150px;
    }
    

    
    .carousel-content h2 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .contacto h2,
    .testimonios h2,
    .noticias h2,
    .clientes h2 {
        font-size: 2rem;
    }
    
    .carousel-dots {
        bottom: 10px; /* Bajamos los puntos al máximo */
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .clientes h2 {
        font-size: 2.5rem;
    }
    
    .logos-carousel {
        padding: 15px 0;
    }
    
    .logo-item {
        width: 130px;
        height: 75px;
        margin: 0 8px;
    }
    
    .logo-item::after {
        font-size: 0.9rem;
        top: -6px;
        right: -2px;
    }
    
    .logos-track {
        width: calc(150px * 12);
        animation: scrollLogos 16s linear infinite;
    }
    
    .modal-content {
        width: 98%;
        margin: 15% auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .nosotros-texto h2 {
        font-size: 2rem;
    }
    
    .nosotros-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .valores-grid {
        gap: 15px;
    }
    
    .valor-item {
        padding: 20px 15px;
    }
    
    .imagenes-vertical {
        height: auto;
        gap: 8px;
    }
    
    .imagen-item {
        height: 150px;
    }
    
    .producto-card {
        min-height: 350px;
        padding: 30px 20px;
    }
    
    .producto-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .producto-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .producto-icon i {
        font-size: 1.5rem;
    }
    
    .producto-caracteristicas li {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .ejemplos-grid {
        gap: 10px;
    }
    
    .ejemplo-img {
        width: 80px;
        height: 60px;
    }
    
    .btn-ver-fotos {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .galeria-fotos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .foto-item img {
        height: 120px;
    }
    
    .placeholder-img i {
        font-size: 2rem;
    }
    
    .placeholder-img p {
        font-size: 0.8rem;
    }
}

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

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.05) translate(-1%, -1%);
    }
    100% {
        transform: scale(1.1) translate(1%, 1%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.testimonio-card,
.noticia-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de carga para imágenes */
img {
    transition: opacity 0.3s ease;
}

img[src*="placeholder"] {
    opacity: 0.7;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para accesibilidad */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
} 

.hero-banner {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('assets/imagenes/carrusel/carrusel1.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

@supports (-webkit-touch-callout: none) {
    .hero-banner, .carousel-slide {
        background-attachment: scroll !important;
    }
}

/* Contacto Rediseño */
.contacto {
    padding: 100px 0;
    background: #f9fafb;
}
.contacto-header { text-align: center; margin-bottom: 60px; }
.contacto-header h2 { font-size: 3rem; font-weight: 800; color: #111827; margin-bottom: 15px; }
.contacto-header p { font-size: 1.2rem; color: #4b5563; }
.contacto-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.contacto-card {
    background: white; border-radius: 20px; padding: 40px 30px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease;
}
.contacto-card:hover { transform: translateY(-10px); }
.contacto-icon {
    width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 2rem; background: #f3f4f6; color: #374151;
}
.whatsapp-icon { background: #dcf8c6; color: #25d366; }
.contacto-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #111827; }
.contacto-card p { color: #6b7280; margin-bottom: 25px; }

.btn-contacto-wa, .btn-contacto-phone, .link-direccion {
    display: inline-block; padding: 12px 25px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.btn-contacto-wa { background: #25d366; color: white; }
.btn-contacto-wa:hover { background: #128c7e; color: white; }
.btn-contacto-phone { background: #111827; color: white; }
.btn-contacto-phone:hover { background: #374151; color: white; }
.link-direccion { color: #2563eb; text-decoration: underline; }
.link-direccion:hover { color: #1d4ed8; }

/* WhatsApp Flotante */
.whatsapp-sticky {
    position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 35px; box-shadow: 0 10px 20px rgba(37,211,102,0.4); z-index: 9999; transition: all 0.3s ease;
}
.whatsapp-sticky:hover { transform: scale(1.1); color: white; }

/* Rediseño base para limpiar "Servicios Adicionales" */
.servicios-adicionales { background: white; padding: 100px 0; }
.servicios-adicionales-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto;
}
.servicio-adicional {
    text-align: center; padding: 30px; background: #f9fafb; border-radius: 15px; transition: all 0.3s; border: 1px solid #f3f4f6; box-shadow: none;
}
.servicio-adicional:hover { background: #f3f4f6; transform: translateY(-5px); }
.servicio-adicional i { font-size: 2.5rem; color: #111827; margin-bottom: 15px; }

/* Arreglo para el ícono de WhatsApp en botones */
.btn-primary i.fa-whatsapp {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
