:root {
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    /* Colores extraídos del logo */
    --accent-blue-dark: #004792;
    --accent-blue-light: #00a8ff;
    --accent-orange: #f97316;
    --accent-green: #10b981;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 71, 146, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.accent {
    color: var(--accent-blue-light);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 160px;
    /* Tamaño del logo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue-light);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-blue-dark);
}

/* Buttons */
.btn-primary,
.btn-primary-small,
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-blue-light);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-blue-dark);
    box-shadow: 0 6px 20px rgba(0, 71, 146, 0.3);
}

.btn-primary-small {
    padding: 8px 20px;
    background: var(--accent-blue-light);
    color: #ffffff;
}

.btn-primary-small:hover {
    background: var(--accent-blue-dark);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-blue-dark);
    color: var(--accent-blue-dark);
}

.btn-secondary:hover {
    background: rgba(0, 71, 146, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 220px;
    background: radial-gradient(circle at top right, #e0f2fe, var(--bg-light));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    color: var(--accent-blue-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-text h1 .accent {
    color: var(--accent-blue-dark);
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.glass-card {
    height: 400px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: var(--shadow-lg);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-blue-light);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    top: -50px;
    right: -50px;
}

.floating-img {
    width: 80%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 71, 146, 0.4));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-blue-dark);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* Mission */
.mission {
    background: var(--bg-alt);
}

.mission-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 168, 255, 0.3);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue-dark), var(--accent-blue-light));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-blue-light);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--accent-blue-dark);
}

.service-card p {
    color: var(--text-muted);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--bg-alt);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    color: var(--accent-blue-dark);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Contact */
.contact {
    background: linear-gradient(180deg, var(--bg-alt) 0%, #e0f2fe 100%);
    text-align: center;
}

.contact-info p {
    color: var(--text-muted);
    margin: 20px auto 40px;
    max-width: 600px;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    background: rgba(0, 168, 255, 0.05);
    border-color: var(--accent-blue-light);
    transform: translateX(10px);
    color: var(--accent-blue-dark);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-blue-light);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    background: var(--bg-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        padding: 20px 0;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .glass-card {
        height: 300px;
        margin-top: 30px;
    }
}