:root {
    --metlife-blue: #0061A0;
    --metlife-blue-light: #007acc;
    --metlife-green: #6CC24A;
    --metlife-green-light: #7ed957;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, var(--metlife-blue) 0%, var(--metlife-blue-light) 100%);
    --gradient-green: linear-gradient(135deg, var(--metlife-green) 0%, var(--metlife-green-light) 100%);
    --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    background-color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    -webkit-backdrop-filter: blur(10px); /* Safari */
    backdrop-filter: blur(10px); /* Otros navegadores */
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

/* Asegurar que la barra de navegación sea visible en escritorio */
.nav-links {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    padding: 15px 0;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: -webkit-linear-gradient(135deg, var(--metlife-blue) 0%, var(--metlife-blue-light) 100%); /* Safari */
    background: linear-gradient(135deg, var(--metlife-blue) 0%, var(--metlife-blue-light) 100%); /* Otros navegadores */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--metlife-blue);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.menu-toggle i {
    font-size: 24px;
    color: var(--metlife-blue);
}

/* Ajustar el menú hamburguesa para dispositivos móviles */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 0;
        text-align: center;
    }

    .hero {
        padding-top: 100px; /* Incrementar aún más el padding superior para evitar que la navbar tape el contenido */
    }

    .navbar {
        height: 50px; /* Reducir la altura de la navbar en móviles */
        padding: 0.5rem 0; /* Ajustar el padding para que sea más compacto */
    }

    .navbar-container {
        height: 50px; /* Asegurar que el contenedor de la navbar también se ajuste */
    }

    .nav-logo img {
        height: 30px; /* Reducir el tamaño del logo en móviles */
    }
}

/* Ajustes adicionales para la navbar en móviles */
@media (max-width: 768px) {
    .navbar {
        height: 35px; /* Reducir aún más la altura de la navbar */
        padding: 0.2rem 0; /* Ajustar el padding para que sea más compacto */
    }

    .navbar-container {
        height: 35px; /* Asegurar que el contenedor de la navbar también se ajuste */
    }

    .nav-logo img {
        height: 20px; /* Reducir el tamaño del logo en móviles */
    }

    .hero {
        padding-top: 150px; /* Incrementar el espacio superior del hero */
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: -webkit-linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%); /* Safari */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%); /* Otros navegadores */
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    background-image: url('../assets/hero-bg1.jpg');
    background-size: cover; /* Asegurar que la imagen cubra todo el contenedor */
    background-position: center; /* Centrar la imagen */
    background-repeat: no-repeat; /* Evitar repeticiones */
    min-height: 100vh; /* Asegurar que ocupe toda la altura de la pantalla */
}

@media (max-width: 768px) {
    .hero {
        background-size: contain; /* Ajustar la imagen para dispositivos móviles */
        min-height: 90vh; /* Reducir ligeramente la altura mínima en móviles */
    }
}

@media (max-width: 480px) {
    .hero {
        background-size: cover; /* Mantener la imagen bien ajustada en pantallas pequeñas */
        min-height: 85vh; /* Reducir más la altura mínima en pantallas muy pequeñas */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 1;
    transform: none;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255,255,255,0.2) 50%,
        transparent 100%
    );
    transition: 0.5s ease;
}

.cta-button:hover::before,
.whatsapp-button:hover::before {
    left: 100%;
}

.cta-button {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0,97,160,0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,97,160,0.4);
}

.whatsapp-button {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37,211,102,0.4);
}

.cta-button i,
.whatsapp-button i {
    font-size: 1.3rem;
    transition: var(--transition);
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(108,194,74,0.05) 100%);
    z-index: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.about-image {
    flex: 1;
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image::before {
    display: none;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: auto;
    object-fit: contain;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--metlife-blue);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.about-content h3 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.9;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #4a5568;
}

.about-stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-blue);
    border-radius: 50%;
}

.stat-number i {
    font-size: 1.8rem;
    color: var(--white);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Products Section */
.products {
    padding: 8rem 2rem;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,97,160,0.05) 0%, rgba(108,194,74,0.05) 100%);
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    color: var(--metlife-blue);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 1;
    transform: none;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-card:hover::before {
    height: 7px;
}

.product-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.product-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--metlife-blue);
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

.product-icon i {
    font-size: 2.8rem;
    color: var(--white);
    transition: var(--transition);
}

.product-card:hover .product-icon i {
    transform: scale(1.1);
}

.product-card h3 {
    color: var(--metlife-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-card p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.product-features li {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    padding-left: 0.5rem;
}

.product-features i {
    color: var(--metlife-green);
    font-size: 1.2rem;
}

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.product-button:hover::before {
    left: 100%;
}

.product-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,97,160,0.2);
}

.product-button i {
    font-size: 1.3rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background-color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(108,194,74,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(0,97,160,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact h2 {
    text-align: center;
    color: var(--metlife-blue);
    margin-bottom: 4rem;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    opacity: 1;
    transform: none;
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--metlife-blue);
    font-size: 1.4rem;
}

.form-group textarea + i {
    top: 1.5rem;
    transform: none;
}

.form-group select + i {
    right: 1.5rem;
    left: auto;
    font-size: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.contact-form select {
    appearance: none;
    padding-right: 3.5rem;
    cursor: pointer;
}

.contact-form textarea {
    height: 180px;
    resize: vertical;
    padding-top: 1.5rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--metlife-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,97,160,0.1);
}

.contact-info-box {
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
    width: 100%;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.contact-method i {
    font-size: 3rem;
    color: var(--metlife-blue);
    margin-bottom: 1.2rem;
}

.contact-method h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.8rem;
}

.contact-method p {
    color: var(--dark-gray);
    opacity: 0.8;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.contact-link {
    display: inline-block;
    color: var(--metlife-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    word-break: break-all;
}

.contact-link:hover {
    color: var(--metlife-blue-light);
    transform: translateY(-2px);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.3rem;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,97,160,0.2);
}

.submit-button i {
    font-size: 1.4rem;
}

/* Footer */
.footer {
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 6rem 2rem 0;
    position: relative;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    padding-right: 2rem;
}

.footer-logo {
    display: block;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-description h3 {
    color: var(--metlife-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-description p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer h3 {
    color: var(--metlife-blue);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-gray);
    font-size: 1.05rem;
}

.footer-contact i {
    color: var(--metlife-blue);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--metlife-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.4rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--metlife-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--metlife-blue-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,97,160,0.2);
}

.copyright {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    font-size: 0.95rem;
    color: var(--dark-gray);
    border-top: 1px solid #eee;
}

.copyright p {
    opacity: 0.8;
}

.copyright a {
    color: var(--metlife-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--metlife-blue-light);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 2rem;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    .profile-image {
        max-width: 360px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .submit-button {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .menu-toggle {
        display: block;
    }
}

/* Mejoras generales de responsividad para el hero y el sitio completo */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px; /* Asegurar que la navbar no tape el contenido */
        min-height: 85vh; /* Ajustar la altura mínima para móviles */
        text-align: center; /* Centrar el texto */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Reducir el tamaño del título en móviles */
        line-height: 1.3; /* Mejorar la legibilidad */
        padding: 0 1rem; /* Añadir espacio lateral */
    }

    .hero-content p {
        font-size: 1.1rem; /* Ajustar el tamaño del texto descriptivo */
        padding: 0 1rem; /* Añadir espacio lateral */
    }

    .hero-buttons {
        flex-direction: column; /* Botones en columna para móviles */
        gap: 1rem; /* Espaciado entre botones */
    }

    .cta-button, .whatsapp-button {
        width: 100%; /* Botones ocupan todo el ancho */
        font-size: 1rem; /* Ajustar tamaño de fuente */
        padding: 0.8rem; /* Reducir padding */
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 140px; /* Incrementar espacio superior para pantallas más pequeñas */
        min-height: 80vh; /* Ajustar altura mínima */
    }

    .hero-content h1 {
        font-size: 2rem; /* Reducir aún más el tamaño del título */
    }

    .hero-content p {
        font-size: 1rem; /* Reducir tamaño del texto descriptivo */
    }

    .hero-buttons {
        gap: 0.8rem; /* Reducir espaciado entre botones */
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }

    .contact-container {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
        font-size: 0.9rem;
    }

    .form-group i {
        left: 0.8rem;
        font-size: 1.1rem;
    }

    .submit-button {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .footer-description h3 {
        font-size: 1.3rem;
    }

    .footer-description p {
        font-size: 1rem;
    }

    .social-link {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .social-link i {
        font-size: 1.4rem;
    }

    .profile-image {
        max-width: 320px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 2560px) {
    .hero {
        background-size: cover;
    }
    
    .hero-content h1 {
        font-size: 5.5rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
}

@media (max-width: 1920px) {
    .hero {
        background-size: cover;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .hero-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 1440px) {
    .hero {
        background-size: cover;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }

    .profile-image {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 0.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .about-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }

    .about-image {
        padding: 0;
    }

    .profile-image {
        max-width: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-button,
    .whatsapp-button {
        width: 100%;
    }
}

/* Optimización para dispositivos de alta resolución */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: url('../assets/hero-bg1.jpg');
    }

    .profile-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    display: none;
}

/* Removing all animation classes and keyframes */
.hero-content, .about-container, .product-card, .contact-container {
    opacity: 1;
    transform: none;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Remove animation keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

/* Remove unused animation classes */
.animate-fade-in-up,
.animate-slide-in-left,
.animate-slide-in-right,
.animate-slide-down {
    animation: none;
}

/* Remove loading animation */
.loading::after {
    display: none;
}

/* Mejoras de responsividad general */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Mejoras para dispositivos móviles */
@media (hover: none) {
    .product-card:hover {
        transform: none;
    }

    .nav-links a:hover::before {
        width: 0;
    }
}

/* Optimización para pantallas táctiles */
@media (pointer: coarse) {
    .cta-button,
    .whatsapp-button,
    .product-button {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    .form-group {
        margin-bottom: 1.8rem;
    }
}