/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== COLOR VARIABLES ========== */
:root {
    --navy: #001f3f;        /* Azul marino */
    --white: #ffffff;
    --light-gray: #f4f6f9;
    --orange: #f39c12;      /* Naranja */
    --black: #111111;
    --dark-gray: #2c3e50;
    --gray-text: #4a5568;
}

/* ========== TOP BAR ========== */
.top-bar {
    background-color: var(--navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span i, .language-selector span i {
    margin-right: 6px;
}

.language-selector span {
    cursor: default;
}

/* ========== MAIN HEADER ========== */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo p {
    font-size: 0.75rem;
    color: var(--orange);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    color: var(--navy);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.search-icon:hover {
    color: var(--orange);
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--navy);
}

/* ========== HERO SECTION ========== */
.hero {
    background: url('https://electroleg.ec/web/img/banner-02.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========== CATEGORIES SECTION ========== */
.categories {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-text);
    font-size: 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(243,156,18,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: var(--orange);
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.category-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========== BRANDS SECTION ========== */
.brands {
    padding: 80px 0;
    background: var(--white);
}

.brands-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
}

.brand-item {
    text-align: center;
    transition: transform 0.3s;
}

.brand-item:hover {
    transform: scale(1.05);
}

.brand-logo-circle {
    width: 100px;
    height: 100px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s;
    border: 2px solid var(--orange);
}

.brand-logo-circle i {
    font-size: 2.8rem;
    color: var(--navy);
}

.brand-item span {
    font-weight: 600;
    color: var(--black);
    font-size: 1rem;
}

/* ========== FEATURED EQUIPMENT ========== */
.featured-equipment {
    padding: 80px 0;
    background: var(--light-gray);
}

.equipment-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.equipment-text {
    flex: 1;
}

.equipment-text h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.equipment-text p {
    color: var(--gray-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
}

.feature-list li i {
    color: var(--orange);
    font-size: 1.2rem;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--orange);
    color: var(--white);
}

.equipment-image {
    flex: 1;
    text-align: center;
}

.equipment-image i {
    font-size: 12rem;
    color: var(--navy);
    opacity: 0.8;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--navy);
    padding: 60px 0;
    text-align: center;
}

.cta-container h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-container p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    background-color: #25D366;
}

.btn-large:hover {
    background-color: #128C7E;
}

/* ========== FOOTER ========== */
.main-footer {
    background-color: #0a1928;
    color: #ccc;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col address p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #bbb;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-col ul li a:hover {
    color: var(--orange);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .equipment-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        padding: 80px 30px;
        transition: left 0.3s ease;
        z-index: 1001;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul li a {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        gap: 30px;
    }
    
    .brand-logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .equipment-image i {
        font-size: 8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 24px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}