/* ==========================================================================
   Variables & Reset
   ========================================================================== */
   :root {
    /* Colors */
    --primary: #ea580c; /* Naranja/Ámbar Premium */
    --primary-light: #f97316;
    --primary-dark: #c2410c;
    
    --secondary: #0f172a; /* Azul oscuro / Carbón */
    --secondary-light: #1e293b;
    --secondary-dark: #020617;
    
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-dark: #0f172a;
    
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: #fff !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.highlight { color: var(--primary); }
.highlight-text { 
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.39);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.btn-outline-light:hover {
    background-color: white;
    color: var(--secondary);
}

.btn-light {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}
.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--secondary);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-messages span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-bar-messages .divider {
    margin: 0 10px;
    color: rgba(255,255,255,0.3);
}
.top-bar-contact a {
    color: var(--text-light);
    font-weight: 600;
}
.top-bar-contact a:hover {
    color: var(--primary);
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}
.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}
.main-nav a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}
.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 120px 0;
    background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: white;
}
.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.hero-content h1 .highlight-text {
    background: linear-gradient(90deg, #f97316, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   Categorías
   ========================================================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}
.category-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.category-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--secondary);
    transition: var(--transition-normal);
}
.category-icon.highlight-icon {
    background: rgba(234, 88, 12, 0.1);
    color: var(--primary);
}
.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}
.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.category-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.category-link i {
    transition: var(--transition-fast);
}
.category-card:hover .category-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   Productos
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}
.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-badge.bg-secondary {
    background: var(--secondary);
}
.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.product-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
.product-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Banner Promocional
   ========================================================================== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.promo-text h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.promo-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==========================================================================
   Nosotros
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.experience-badge {
    position: absolute;
    bottom: 30px; right: -20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--primary);
}
.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.experience-badge .text {
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.2;
}
.about-content .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--secondary);
}
.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ==========================================================================
   Beneficios
   ========================================================================== */
.benefits {
    background-color: var(--secondary);
}
.benefits .section-header h2 {
    color: white;
}
.benefits .section-header p {
    color: #94a3b8;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
}
.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.benefit-icon {
    width: 60px; height: 60px;
    background: rgba(234, 88, 12, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}
.benefit-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.benefit-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.contact-item .icon {
    width: 50px; height: 50px;
    background: var(--bg-muted);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}
.form-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--bg-light);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
    background-color: white;
}
textarea.form-control {
    resize: vertical;
}
.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--secondary-dark);
    color: #cbd5e1;
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.logo-footer {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    display: inline-block;
}
.logo-footer span {
    color: var(--primary);
}
.footer-brand p {
    font-size: 0.95rem;
    max-width: 350px;
}
.footer-links h3, .footer-social h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--primary);
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #cbd5e1;
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition-normal);
}
.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.footer-legal-links {
    display: flex;
    gap: 20px;
}
.footer-legal-links a:hover {
    color: white;
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */
.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.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Animations (Fade in up)
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        right: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-messages span:not(:first-child), .top-bar-messages .divider {
        display: none;
    }
    .top-bar-content {
        justify-content: center;
        gap: 20px;
    }
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        left: 0;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .main-nav a {
        font-size: 1.2rem;
    }
    .menu-toggle {
        display: block;
    }
    .header-actions .btn {
        display: none; /* Ocultar en móvil para dar espacio */
    }
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links h3::after, .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
