* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #262223;
}

/* Prevent horizontal scroll globally */
.container {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Container responsive sizes */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* <CHANGE> Updated hero background with new primary color */
.hero-bg {
    background: linear-gradient(135deg, rgba(23, 60, 88, 0.95) 0%, rgba(23, 60, 88, 0.85) 100%),
        url('../Imagenes/fondo.png') center/cover no-repeat;
    position: relative;
}

.product-card-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 1rem;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(23, 60, 88, 0.2);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.contact-bg {
    background: linear-gradient(rgba(250, 251, 251, 0.95), rgba(250, 251, 251, 0.95)),
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920&q=80') center/cover no-repeat;
}

.btn-primary {
    background: #fbbf24;
    color: #262223;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #fbbf24;
}

.btn-primary:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #173c58;
}

/* <CHANGE> Added WhatsApp button style */
.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid #25d366;
    font-size: 1.125rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: scale(1.05);
}

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #262223;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* <CHANGE> Added WhatsApp floating button styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}