/* ===== Variables ===== */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #60a5fa;
    --dark-blue: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gray-bg: #f1f5f9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== Reset y Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navegación ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #000000 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #000000 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.3));
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--white);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    color: var(--white);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3), inset 0 0 20px rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding-left: 2rem;
    padding-right: 1.5rem;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: recording-blink 1s infinite;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: transparent;
    border-radius: 50%;
    border: 1.5px solid rgba(239, 68, 68, 0.4);
}

@keyframes recording-blink {
    0%, 49% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    }
    50%, 99% {
        opacity: 0;
        box-shadow: 0 0 0 rgba(239, 68, 68, 0);
    }
    100% {
        opacity: 1;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    z-index: 1;
}

/* Slideshow Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-block {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--white);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* ===== Secciones ===== */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 5;
}

/* ===== Page Header ===== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background-image: url('media/images/imagenes_superbanner/banners.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Intro Section (Index) ===== */
.intro-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.intro-content {
    display: grid;
    gap: 4rem;
}

.intro-text {
    max-width: 800px;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: var(--white);
}

.feature-box .feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Services Preview (Index) ===== */
.services-preview {
    background: var(--light-bg);
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card-home {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-light);
}

.service-card-home:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    color: var(--white);
}

.service-icon-large svg {
    width: 50px;
    height: 50px;
}

.service-card-home h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card-home p {
    color: var(--text-light);
    line-height: 1.7;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

/* ===== Nosotros Section ===== */
.nosotros {
    background: var(--white);
}

.nosotros-page {
    background: var(--white);
    padding: 5rem 0;
}

.nosotros-hero-section {
    margin-bottom: 5rem;
}

.nosotros-content-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    max-height: 600px;
}

.nosotros-image-wrapper:hover {
    transform: translateY(-10px);
}

.nosotros-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}

.nosotros-text-content {
    padding: 2rem 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nosotros-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.nosotros-lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.nosotros-lead .highlight {
    color: var(--primary-light);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nosotros-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.nosotros-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.nosotros-quote {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid var(--primary-light);
    border-radius: 12px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quote-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-light);
}

.nosotros-quote p {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    margin: 0;
    padding-left: 1rem;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.nosotros-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.nosotros-text .lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.nosotros-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.nosotros-text .slogan {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2rem;
}

.nosotros-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: var(--white);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Gerente Section ===== */
.gerente-section {
    margin-top: 5rem;
    padding: 4rem 0;
    background: var(--light-bg);
    border-radius: 20px;
}

.gerente-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.gerente-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    max-height: 600px;
}

.gerente-image-wrapper:hover {
    transform: translateY(-10px);
}

.gerente-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.gerente-image-wrapper:hover img {
    transform: scale(1.05);
}

.gerente-text-content {
    padding: 2rem 0;
}

.gerente-nombre {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.gerente-cargo {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.gerente-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.gerente-quote {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--primary-light);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gerente-quote .quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.gerente-quote .quote-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.gerente-quote p {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 500;
    font-style: italic;
    margin: 0;
    padding-left: 1rem;
}

@media (max-width: 1024px) {
    .gerente-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gerente-nombre {
        font-size: 2.2rem;
    }

    .gerente-cargo {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .gerente-section {
        margin-top: 3rem;
        padding: 3rem 1.5rem;
    }

    .gerente-nombre {
        font-size: 2rem;
    }

    .gerente-cargo {
        font-size: 1.2rem;
    }

    .gerente-description {
        font-size: 1rem;
    }

    .gerente-quote {
        padding: 1.5rem;
    }

    .gerente-quote p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gerente-nombre {
        font-size: 1.8rem;
    }

    .gerente-cargo {
        font-size: 1.1rem;
    }

    .gerente-description {
        font-size: 0.95rem;
    }
}

/* Valores y Características */
.valores-section,
.caracteristicas-section {
    margin-top: 5rem;
    padding: 4rem 0;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline-center {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.valor-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.valor-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.valor-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.valor-icon svg {
    width: 45px;
    height: 45px;
}

.valor-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.valor-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== Galería Section ===== */
.galeria-page {
    background: var(--white);
    padding: 5rem 0;
}

.galeria-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.galeria-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

.galeria-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-light);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.galeria-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.galeria-item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.galeria-item-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.galeria-item-wrapper:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.galeria-item-wrapper:hover .galeria-overlay {
    opacity: 1;
}

.galeria-content {
    width: 100%;
}

.galeria-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.galeria-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.btn-view svg {
    width: 18px;
    height: 18px;
}

.btn-view:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateX(5px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* ===== Servicios Section ===== */
.servicios {
    background: var(--light-bg);
}

.servicios-page {
    background: var(--white);
    padding: 5rem 0;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

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

.servicio-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-light);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.servicio-icon svg {
    width: 35px;
    height: 35px;
}

.servicio-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.servicio-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.servicios-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 15px;
    font-size: 1.2rem;
}

.servicios-footer .slogan {
    font-size: 1.3rem;
    margin-top: 1rem;
}

/* ===== Tecnología Section ===== */
.tecnologia-section {
    background: var(--light-bg);
    padding: 5rem 0;
}

.tecnologia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-light);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.tech-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== Contacto Section ===== */
.contacto {
    background: var(--white);
}

.contacto-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    background: var(--primary-color);
    transform: translateX(10px);
}

.contacto-item:hover .contacto-icon {
    background: var(--white);
    color: var(--primary-color);
}

.contacto-item:hover .contacto-text h4,
.contacto-item:hover .contacto-text a,
.contacto-item:hover .contacto-text p {
    color: var(--white);
}

.contacto-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contacto-icon svg {
    width: 30px;
    height: 30px;
}

.contacto-text h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contacto-text p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.contacto-text a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.25rem;
}

.contacto-text a:hover {
    text-decoration: underline;
}

/* Formulario de Contacto */
.contacto-form-wrapper {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contacto-form-wrapper h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto-social-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contacto-social-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contacto-social-section .social-icons {
    justify-content: center;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    background: var(--light-bg);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Proceso de Atención Section ===== */
.proceso-section {
    background: var(--white);
    padding: 3rem 0;
    overflow: hidden;
}

.proceso-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
}

.proceso-paso {
    background: var(--light-bg);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proceso-paso:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-light);
    background: var(--white);
}

.proceso-numero {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    z-index: 2;
    border: 3px solid var(--white);
}

.proceso-icon {
    width: 50px;
    height: 50px;
    margin: 0.8rem auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.proceso-paso:hover .proceso-icon {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: scale(1.08) rotate(5deg);
}

.proceso-icon svg {
    width: 26px;
    height: 26px;
}

.proceso-paso h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.proceso-paso p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.8rem;
}

/* Flecha horizontal entre pasos */
.proceso-arrow {
    display: none;
}

/* Mostrar flechas en pantallas grandes */
@media (min-width: 1200px) {
    .proceso-timeline {
        grid-template-columns: repeat(7, 1fr);
        gap: 1rem;
    }

    .proceso-arrow {
        display: block;
        position: absolute;
        right: -0.8rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: var(--primary-light);
        opacity: 0.5;
        z-index: 1;
    }

    .proceso-paso:last-child .proceso-arrow {
        display: none;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .proceso-timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .proceso-paso:nth-child(-n+4) .proceso-arrow {
        display: block;
        position: absolute;
        right: -0.8rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: var(--primary-light);
        opacity: 0.5;
        z-index: 1;
    }

    .proceso-paso:nth-child(4) .proceso-arrow {
        display: none;
    }
}

/* Responsive */
@media (max-width: 899px) {
    .proceso-timeline {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .proceso-section {
        padding: 2.5rem 0;
    }

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

    .proceso-paso {
        padding: 1.2rem 0.8rem;
    }

    .proceso-numero {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        top: -12px;
    }

    .proceso-icon {
        width: 45px;
        height: 45px;
        margin: 0.6rem auto 0.4rem;
    }

    .proceso-icon svg {
        width: 24px;
        height: 24px;
    }

    .proceso-paso h3 {
        font-size: 0.9rem;
    }

    .proceso-paso p {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .proceso-timeline {
        grid-template-columns: 1fr;
    }
}

/* ===== Aliados Section ===== */
.aliados-section {
    background: var(--white);
    padding: 5rem 0;
    overflow: hidden;
}

.aliados-slider {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
}

.aliados-slider::before,
.aliados-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.aliados-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.aliados-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.aliados-track {
    display: flex;
    gap: 4rem;
    animation: scroll-aliados 30s linear infinite;
    width: fit-content;
}

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

@keyframes scroll-aliados {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.aliado-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 120px;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.aliado-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.aliado-item img {
    max-width: 160px;
    max-height: 80px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.aliado-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== WhatsApp CTA Sections ===== */
.whatsapp-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.whatsapp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.whatsapp-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.whatsapp-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.whatsapp-cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-cta-icon svg {
    width: 45px;
    height: 45px;
    fill: var(--white);
}

.whatsapp-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.whatsapp-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: #f0f0f0;
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* CTA Variante Azul Claro */
.whatsapp-cta.orange-variant {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
}

.whatsapp-cta.orange-variant .btn-whatsapp {
    color: var(--primary-light);
}

/* CTA Compacto */
.whatsapp-cta-compact {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    padding: 3rem 0;
    border-radius: 20px;
    margin: 3rem 0;
}

.whatsapp-cta-compact .whatsapp-cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.whatsapp-cta-compact .whatsapp-cta-content p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.whatsapp-cta-compact .btn-whatsapp {
    background: var(--white);
    color: var(--primary-color);
}

.whatsapp-cta-compact .btn-whatsapp:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* ===== Testimoniales Section ===== */
.testimoniales-section {
    background: var(--light-bg);
    padding: 5rem 0;
    overflow: hidden;
}

.testimoniales-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimoniales-track {
    position: relative;
    min-height: 400px;
}

.testimonio-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonio-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 1;
}

.testimonio-card.exiting {
    opacity: 0;
    transform: translateX(-100%) scale(0.9);
}

.testimonio-quote {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.testimonio-quote svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.testimonio-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonio-author {
    border-top: 2px solid var(--gray-bg);
    padding-top: 1.5rem;
}

.testimonio-author h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonio-author p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimoniales-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimoniales-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimoniales-btn:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.testimoniales-btn svg {
    width: 24px;
    height: 24px;
}

.testimoniales-dots {
    display: flex;
    gap: 0.8rem;
}

.testimoniales-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-bg);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimoniales-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.testimoniales-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ===== Call to Action Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

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

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

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.social-icons svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(30px) saturate(200%);
        -webkit-backdrop-filter: blur(30px) saturate(200%);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.4);
        padding: 2rem 1rem;
        gap: 0.5rem;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        margin: 0.3rem 1rem;
        border-radius: 15px;
        font-size: 1.05rem;
    }

    .nav-link.active {
        padding-left: 2.5rem;
    }

    .nav-link.active::before {
        left: 1.2rem;
    }

    .nav-link.active::after {
        left: 1.2rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

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

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

    .intro-features {
        grid-template-columns: 1fr;
    }

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

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .contacto-content {
        grid-template-columns: 1fr;
    }

    .nosotros-features {
        grid-template-columns: 1fr;
    }

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

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

    .nosotros-lead {
        font-size: 1.2rem;
    }

    .valores-grid,
    .caracteristicas-grid {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .tecnologia-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contacto-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .aliado-item {
        min-width: 150px;
        height: 100px;
        padding: 1rem;
    }

    .aliado-item img {
        max-width: 120px;
        max-height: 60px;
    }

    .aliados-slider::before,
    .aliados-slider::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .intro-text h2 {
        font-size: 1.75rem;
    }

    .intro-lead {
        font-size: 1.05rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo img {
        height: 40px;
    }

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

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

    .nosotros-lead {
        font-size: 1.1rem;
    }

    .nosotros-description {
        font-size: 1rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .section-title-center {
        font-size: 2rem;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    .lightbox-nav,
    .lightbox-close {
        width: 40px;
        height: 40px;
    }

    .lightbox-nav svg,
    .lightbox-close svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .testimonio-card {
        padding: 2rem;
        min-height: 350px;
    }

    .testimonio-text {
        font-size: 1.1rem;
    }

    .testimoniales-nav {
        gap: 1rem;
    }

    .testimoniales-btn {
        width: 45px;
        height: 45px;
    }

    .testimonio-card {
        padding: 1.5rem;
        min-height: 300px;
    }

    .testimonio-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .testimonio-quote {
        width: 50px;
        height: 50px;
        margin-bottom: 1.5rem;
    }

    .testimonio-quote svg {
        width: 25px;
        height: 25px;
    }

    .testimoniales-dots {
        gap: 0.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .servicio-card,
    .feature-card,
    .tech-card {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .aliado-item {
        min-width: 120px;
        height: 80px;
        padding: 0.75rem;
    }

    .aliado-item img {
        max-width: 100px;
        max-height: 50px;
    }

    .aliados-slider::before,
    .aliados-slider::after {
        width: 30px;
    }

    .aliados-track {
        gap: 2rem;
    }
}

/* ===== Botón Flotante de WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--dark-blue);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Responsive para el botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ===== Animaciones adicionales ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* Smooth transitions para elementos que aparecen */
section > * {
    animation: fadeIn 0.8s ease-in;
}
