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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111111;
}

/* ===== HEADER ===== */
header {
    background: #111111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .3s;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

.logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color .2s;
}

nav a:hover {
    color: #f57c00;
}

/* Botón hamburguesa — oculto en escritorio */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* ===== HERO ===== */
.hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, .72)),
        url("https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?q=80&w=1920");
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 60px;
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 124, 0, .15);
    color: #f57c00;
    border: 1px solid rgba(245, 124, 0, .4);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 35px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f57c00;
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: .3s;
}

.hero-btn:hover {
    background: #e06500;
    transform: translateY(-3px);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* ===== ABOUT ===== */
.about {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.about h2 {
    font-size: 40px;
    margin: 15px 0 20px;
    color: #111111;
    line-height: 1.2;
}

.about p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 17px;
}

/* ===== ETIQUETA DE SECCIÓN ===== */
.section-tag {
    display: inline-block;
    color: #f57c00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-top: 12px;
    color: #111111;
    line-height: 1.2;
}

/* ===== SERVICIOS ===== */
.services {
    background: #f8f8f8;
    padding: 100px 60px;
}

.services-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: white;
    padding: 35px 30px;
    border-radius: 18px;
    transition: .3s;
    border-top: 4px solid #f57c00;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

/* Ícono en cards de servicios */
.service-icon {
    width: 52px;
    height: 52px;
    background: #fff3e0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #f57c00;
}

.service-card h3 {
    margin-bottom: 12px;
    color: #111111;
    font-size: 22px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* ===== PRODUCTOS ===== */
.products {
    padding: 100px 60px;
    background: #ffffff;
}

.products-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.product-item {
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: .3s;
    border: 1px solid #f0f0f0;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.product-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #111111;
    font-size: 20px;
}

.product-info p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* ===== VENTAJAS ===== */
.advantages {
    background: #111111;
    padding: 100px 60px;
}

.advantages .section-header h2 {
    color: white;
}

.advantages .section-tag {
    color: #f57c00;
}

.advantages-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.advantage-card {
    background: #1c1c1c;
    padding: 35px 30px;
    border-radius: 18px;
    border-left: 4px solid #f57c00;
    transition: .3s;
}

.advantage-card:hover {
    background: #222222;
    transform: translateY(-4px);
}

/* Ícono en cards de ventajas */
.advantage-icon {
    width: 52px;
    height: 52px;
    background: rgba(245, 124, 0, .15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #f57c00;
}

.advantage-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 22px;
}

.advantage-card p {
    color: #aaaaaa;
    line-height: 1.8;
    font-size: 15px;
}

/* ===== GALERÍA ===== */
.gallery {
    padding: 100px 60px;
    background: #f8fafc;
}

.gallery-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.gallery-header h2 {
    font-size: 40px;
    color: #111111;
    margin: 12px 0 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

.gallery-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    transition: .3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* ===== CTA ===== */
.cta {
    padding: 120px 8%;
    background: #023047;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: auto;
}

.cta-tag {
    display: inline-block;
    margin-bottom: 20px;
    color: #f57c00;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #b0c8d4;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: .3s;
}

.cta-btn:hover {
    transform: translateY(-4px);
    background: #1db954;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
}

/* ===== BOTONES FLOTANTES ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
    z-index: 9999;
    transition: .3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.phone-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 25px;
    background: #f57c00;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(245, 124, 0, .4);
    z-index: 9999;
    transition: .3s;
}

.phone-float:hover {
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a0a;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 60px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.footer-info p {
    color: #888888;
    line-height: 1.8;
    font-size: 15px;
}

.footer-contact h4,
.footer-social h4 {
    margin-bottom: 20px;
    color: #f57c00;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact p {
    margin-bottom: 12px;
    color: #888888;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact p i {
    color: #f57c00;
    width: 16px;
}

.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social a {
    color: #888888;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: .3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a i {
    color: #f57c00;
    width: 16px;
}

.footer-social a:hover {
    color: #f57c00;
}

.footer-bottom {
    text-align: center;
    padding: 20px 60px;
    border-top: 1px solid #1e1e1e;
    color: #555555;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* Header */
    header {
        padding: 18px 24px;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111111;
        padding: 20px 24px;
        gap: 0;
        border-top: 1px solid #222;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 14px 0;
        border-bottom: 1px solid #222;
        width: 100%;
        font-size: 16px;
    }

    nav a:last-child {
        border-bottom: none;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 24px;
        min-height: auto;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-image {
        display: none;
    }

    /* About */
    .about {
        grid-template-columns: 1fr;
        margin: 60px auto;
        padding: 0 24px;
        gap: 40px;
    }

    .about-image {
        display: none;
    }

    .about h2 {
        font-size: 30px;
    }

    /* Servicios / Productos */
    .services {
        padding: 70px 24px;
    }

    .products {
        padding: 70px 24px;
    }

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

    .section-header h2 {
        font-size: 30px;
    }

    /* Ventajas */
    .advantages {
        padding: 70px 24px;
    }

    /* Galería */
    .gallery {
        padding: 70px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-grid img {
        height: 180px;
    }

    .gallery-header h2 {
        font-size: 30px;
    }

    /* CTA */
    .cta {
        padding: 80px 24px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .cta p {
        font-size: 16px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 16px 24px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        padding: 50px 24px 30px;
        gap: 35px;
    }

    .footer-bottom {
        padding: 20px 24px;
    }

}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}
