:root {
    --cyan: #00a8cc;
    --dark-gray: #2d3436;
    --light-gray: #636e72;
    --bg-light: #f5f6fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




body {
    font-family: 'Raleway', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.header-bg {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1e272e 100%);
    position: relative;
}

.header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 168, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 168, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.logo-container {
    max-width: 150px;
    transition: all 0.3s ease;
}

.logo-container img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

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

/* Logo aún más pequeño cuando el navbar tiene scroll */
.nav-scrolled .logo-container {
    max-width: 130px;
}

.nav-scrolled .logo-container img {
    max-height: 45px;
}

/* Navigation */
#navbar {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1e272e 100%);
}

.nav-scrolled {
    background: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: var(--dark-gray) !important;
}

.nav-scrolled .logo-container {
    filter: none;
}

/* Hamburguesa móvil - cambiar color en scroll */
#mobile-menu-btn {
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

#mobile-menu-btn svg {
    stroke: var(--dark-gray);
    transition: stroke 0.3s ease;
}

.nav-scrolled #mobile-menu-btn {
    color: var(--dark-gray) !important;
}

.nav-scrolled #mobile-menu-btn svg {
    stroke: var(--dark-gray) !important;
}

#navbar-content {
    height: 80px;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    color: white;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--cyan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Buttons */
.btn-cyan {
    background: var(--cyan);
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    border: 2px solid var(--cyan);
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.3);
}

.btn-cyan:hover {
    background: transparent;
    color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 204, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark-gray);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-shape {
    position: absolute;
    opacity: 0.05;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), #05c46b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cyan), #0984e3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 168, 204, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0, 168, 204, 0.3);
}

/* Stats */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), #05c46b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Section Title */
.section-badge {
    display: inline-block;
    background: rgba(0, 168, 204, 0.1);
    color: var(--cyan);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

/* Form Styles */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
    background: white;
    font-size: 15px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 168, 204, 0.1);
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    border-color: var(--cyan);
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 168, 204, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cyan), #0984e3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-light);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.value-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 204, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* Footer */
.footer-link {
    transition: all 0.3s ease;
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
}

.footer-link:hover {
    color: var(--cyan);
    transform: translateX(5px);
}

/* New Badge */
.new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(238, 90, 111, 0.3);
    animation: pulse 2s infinite;
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    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;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

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

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 20px 0;
    margin-top: 80px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--cyan);
}

.breadcrumb-separator {
    color: var(--light-gray);
}

.breadcrumb-current {
    color: var(--cyan);
    font-weight: 600;
}

/* Feature List */
.feature-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--cyan);
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 168, 204, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan), #0984e3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--cyan), #0984e3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .logo-container {
        max-width: 120px;
    }

    .logo-container img {
        max-height: 40px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }
}