/* ========================================
   TruckCenter Chile - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #df8223;
    --primary-dark: #c67320;
    --primary-darker: #a8611a;
    --primary-text: #a8611a;        /* Naranja oscuro para texto sobre fondo claro */
    --primary-text-light: #f4a24d;  /* Naranja claro para texto sobre fondo oscuro */
    --primary-glow: rgba(223, 130, 35, 0.3);
    --secondary-color: #0f1923;
    --secondary-light: #1a2a3a;
    --accent-color: #df8223;
    --dark-color: #0a1018;
    --dark-lighter: #121d28;
    --light-color: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --black: #000000;
    --success: #a8611a;
    --warning: #ffc107;
    --danger: #ff4757;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-main: 'Roboto', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    border: none !important;
    border-top: none !important;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    border: none !important;
    border-top: none !important;
}

/* ========================================
   Accessibility Helpers
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: top 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.skip-to-content:focus {
    top: 20px;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Focus Visible Styles */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* High Contrast Focus for Dark Backgrounds */
.header *:focus-visible,
.footer *:focus-visible,
.hero *:focus-visible,
.stats *:focus-visible,
.cta *:focus-visible {
    outline-color: var(--primary-color);
    outline-width: 3px;
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--gray-600);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark-color);
}

.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
    visibility: visible;
    opacity: 1;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--motion-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),
                background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(223, 130, 35, 0.35);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn-white {
    background: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn-whatsapp {
    background: #df8223;
    color: var(--white);
    border-color: #df8223;
}

.btn-whatsapp:hover {
    background: #c67320;
    border-color: #c67320;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* ========================================
   Page Progress Bar - Línea de carga superior
   ======================================== */
.page-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    width: 0%;
    background: #df8223;
    z-index: 100000;
    transition: width 0.1s ease-out, opacity 0.5s ease 0.5s, visibility 0s 1s;
}

.page-progress-bar.loaded {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ========================================
   Header - Estilo Nationex
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 30px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none !important;
    border-top: none !important;
}

.header.scrolled {
    padding: 8px 30px;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border: none !important;
    border-top: none !important;
}

/* Header transparente para páginas con banner */
.header.transparent-header {
    background: transparent;
}

.header.transparent-header.scrolled {
    background: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Header oculto al bajar scroll */
.header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Header visible al subir scroll */
.header.header-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Logo posicionado sobre el panel de búsqueda */
.header-logo {
    position: fixed;
    top: 28px;
    left: 35px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
    /* Logo naranja original - sin filtros para mantener color */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo más grande y centrado en página principal */
.page-home .header-logo {
    top: 25px;
    left: 60px;
}

.page-home .logo img {
    height: 70px;
}

.header.scrolled .header-logo {
    top: 12px;
    left: 30px;
}

.header.scrolled .logo img {
    height: 42px;
    /* Logo naranja también cuando scroll */
}

.page-home .header.scrolled .header-logo {
    top: 12px;
    left: 30px;
}

/* Logo blanco para páginas con fondo oscuro */
.header-white-logo .logo img {
    filter: brightness(0) invert(1);
    height: 70px;
}

.header-white-logo.scrolled .logo img {
    filter: brightness(0) invert(1);
    height: 50px;
}

.page-home .header.scrolled .logo img {
    height: 50px;
}

/* Menú flotante en esquina superior derecha */
.nav-floating-menu {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    padding: 5px 5px 5px 18px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .nav-floating-menu {
    top: 12px;
    right: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-menu > li {
    position: relative;
    opacity: 1;
    transform: none;
}

.nav-menu > li > a {
    font-weight: 500;
    font-size: 0.8rem;
    color: #333;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-menu > li > a:hover {
    color: var(--primary-darker);
}

/* Chevron icon in nav */
.nav-menu > li > a > i.fa-chevron-down {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-left: 4px;
    transition: all 0.3s ease;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

.dropdown:hover > a > i.fa-chevron-down {
    opacity: 1;
    transform: rotate(180deg);
}
/* Dropdown Menu - Clean Professional Design */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1a1a1a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
}

/* Arrow/Triangle */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 6px solid #1a1a1a;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Icons for dropdown items */
.dropdown-menu li a i {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* SVG Icons for dropdown - Professional Style */
.dropdown-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.dropdown-menu li a:hover .dropdown-icon {
    stroke: var(--primary-color);
}

/* Botón de búsqueda en nav */
/* Nav Search Button */
.nav-search-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 16px;
}

.nav-search-btn:hover {
    background: rgba(249, 115, 22, 0.1);
    transform: scale(1.1);
}

.nav-search-btn.active {
    background: var(--primary-color);
    color: #0f172a;
}

/* Search Overlay - Clean Modal Style */
.search-dropdown-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
}

.search-dropdown-bar.active {
    opacity: 1;
    visibility: visible;
}

.search-dropdown-bar-content {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-dropdown-bar input {
    flex: 1;
    height: 56px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0 24px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-dropdown-bar input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-dropdown-bar-close {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.search-dropdown-bar-close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Search Results */
.search-dropdown-results {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
    margin-top: 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.search-dropdown-results.active {
    max-height: 500px;
    overflow-y: auto;
    opacity: 1;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.search-dropdown-results.active::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.search-dropdown-results-inner {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 16px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    animation: slideUpFade 0.3s ease forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-dropdown-results-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.25s ease;
    position: relative;
}

.search-dropdown-results-item:last-of-type {
    border-bottom: none;
}

.search-dropdown-results-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f97316;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.search-dropdown-results-item:hover {
    background: #f8fafc;
    padding-left: 28px;
}

.search-dropdown-results-item:hover::before {
    transform: scaleY(1);
}

.search-dropdown-results-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 10px;
    padding: 6px;
}

.search-dropdown-results-item-info {
    flex: 1;
}

.search-dropdown-results-item-brand {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.search-dropdown-results-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    display: block;
}

.search-dropdown-results-item-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.search-dropdown-no-results {
    padding: 40px;
    text-align: center;
    color: #64748b;
    background: #ffffff;
    border-radius: 16px;
}

.search-dropdown-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-dropdown-view-all:hover {
    filter: brightness(1.1);
}

.nav-search-results-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.nav-search-results-item:last-child {
    border-bottom: none;
}

.nav-search-results-item:hover {
    background: #f8fafc;
}

.nav-search-results-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
}

.nav-search-results-item-info {
    flex: 1;
    min-width: 0;
}

.nav-search-results-item-brand {
    font-size: 0.7rem;
    color: #f97316;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-search-results-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search-results-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.nav-search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.nav-search-view-all {
    display: block;
    padding: 14px 16px;
    text-align: center;
    background: #f8fafc;
    color: #f97316;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nav-search-view-all:hover {
    background: #f1f5f9;
}

/* Botón hamburguesa verde - Estilo Nationex */
.menu-toggle-btn {
    width: 38px;
    height: 38px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.menu-toggle-btn span {
    width: 18px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle-btn.active span:first-child {
    transform: rotate(45deg) translateY(5.5px);
}

.menu-toggle-btn.active span:last-child {
    transform: rotate(-45deg) translateY(-5.5px);
}

/* Mobile Menu Button (oculto en desktop) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Mobile: Fixed position para evitar superposición con logo */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1005;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Fullscreen Menu - Style like designbyad.com.au
   ======================================== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1a1a;
    z-index: 99999;
    visibility: hidden;
    overflow: hidden;
    cursor: none;
    clip-path: inset(0 0 100% 0);
}

.fullscreen-menu.active {
    visibility: visible;
}

/* Hide WhatsApp button when menu is open */
.fullscreen-menu.active ~ .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
}

/* Custom Cursor - círculo pequeño que sigue el mouse */
.menu-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease, border 0.3s ease;
    opacity: 0;
}

.fullscreen-menu.active .menu-cursor {
    opacity: 1;
}

/* Cursor grows on hover - verde */
.menu-cursor.hover {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--primary-color);
}

.fullscreen-menu-content {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 50px 80px 60px 80px;
    position: relative;
}

/* Header del menú - Logo arriba izquierda */
.fullscreen-menu-header {
    position: fixed;
    top: 40px;
    left: 80px;
    z-index: 10000;
}

.fullscreen-menu-header .logo img {
    height: 140px;
    cursor: none;
    /* Logo en blanco */
    filter: brightness(0) invert(1);
}

/* Botón cerrar arriba derecha - X simple */
.fullscreen-menu-close {
    position: fixed;
    top: 40px;
    right: 80px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: none;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-menu-close:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

/* Contacto - Abajo izquierda - Estilo designbyad.com.au */
.fullscreen-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    max-width: 500px;
}

/* Dirección en MAYÚSCULAS - estilo designbyad */
.fullscreen-menu-contact .address {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Teléfono y correo con subrayado */
.fullscreen-menu-contact .contact-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fullscreen-menu-contact .contact-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
    cursor: none;
}

.fullscreen-menu-contact .contact-links a:hover {
    color: var(--primary-color);
}

/* Redes sociales */
.fullscreen-menu-contact .social-links {
    display: flex;
    gap: 18px;
    margin-top: 5px;
}

.fullscreen-menu-contact .social-links a {
    font-size: 1.3rem;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: none;
}

.fullscreen-menu-contact .social-links a:hover {
    color: var(--primary-color);
}

/* Navegación - Abajo derecha, alineada a la derecha */
.fullscreen-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.fullscreen-nav li {
    overflow: hidden;
    text-align: right;
}

.fullscreen-nav li a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #ffffff;
    padding: 5px 0;
    transition: all 0.3s ease;
    letter-spacing: 0;
    text-transform: uppercase;
    position: relative;
    line-height: 1.1;
    cursor: none;
}

/* Línea horizontal antes del texto - VERDE en hover */
.fullscreen-nav li a::before {
    content: '';
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.fullscreen-nav li a:hover::before,
.fullscreen-nav li a.active::before {
    width: 40px;
}

.fullscreen-nav li a:hover {
    color: #ffffff;
}

/* Responsive del menú fullscreen */
@media (max-width: 992px) {
    .fullscreen-menu-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 30px 40px 50px 40px;
        gap: 50px;
    }

    .fullscreen-menu-header {
        left: 40px;
        top: 30px;
    }

    .fullscreen-menu-close {
        right: 40px;
        top: 30px;
    }

    .fullscreen-nav {
        align-items: flex-start;
        width: 100%;
    }

    .fullscreen-nav li {
        text-align: left;
    }

    .fullscreen-nav li a {
        flex-direction: row-reverse;
    }

    .fullscreen-nav li a::before {
        order: 1;
    }

    .fullscreen-menu-contact {
        order: 2;
    }
}

@media (max-width: 768px) {
    .fullscreen-menu-content {
        padding: 30px 24px 40px 24px;
    }

    .fullscreen-menu-header {
        left: 24px;
    }

    .fullscreen-menu-header .logo img {
        height: 90px;
    }

    .fullscreen-menu-close {
        right: 24px;
    }

    .fullscreen-nav li a {
        font-size: 1.8rem;
        padding: 4px 0;
    }

    .fullscreen-menu-contact .address {
        font-size: 0.95rem;
    }

    .fullscreen-menu-contact .contact-links a {
        font-size: 0.9rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(223, 130, 35, 0.15);
    border-color: rgba(223, 130, 35, 0.3);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 16, 24, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    transform: rotate(90deg);
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(223, 130, 35, 0.2);
}

.search-form input {
    flex: 1;
    padding: 24px 28px;
    font-size: 1.25rem;
    border: none;
    outline: none;
    background: transparent;
}

.search-form input::placeholder {
    color: var(--gray-400);
}

.search-form button {
    padding: 24px 35px;
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--primary-dark);
    padding-left: 40px;
    padding-right: 40px;
}

/* Live Search Results */
.search-live-results {
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.search-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    padding: 20px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.search-no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.search-no-results p {
    margin-bottom: 20px;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.search-results-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.search-results-header a:hover {
    text-decoration: underline;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.search-result-img {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.search-result-brand {
    font-size: 0.7rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
}

.search-result-name {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 600px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .search-modal-content {
        padding: 15px;
    }

    .search-form input {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .search-form button {
        padding: 18px 25px;
        font-size: 1rem;
    }
}

/* ========================================
   Hero Section - Video Background Style
   Fullscreen con video de fondo
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: #0a1018;
    margin: 0;
    padding: 0;
}

/* Línea verde fina al final del hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    z-index: 10;
}


/* Video Container - Fullscreen Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: #0a1018;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    width: 100%;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    pointer-events: none;
    border: none;
    object-fit: cover;
}

/* Overlay sobre el video - MUY SUTIL estilo Nationex */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 16, 24, 0.85) 0%,
        rgba(10, 16, 24, 0.6) 50%,
        rgba(10, 16, 24, 0.4) 100%
    );
    z-index: 1;
}


.hero .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    padding: 0 50px;
    max-width: none;
    margin: 0;
}

.hero-content {
    color: var(--white);
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtitle - "El primer" */
.hero-subtitle {
    color: var(--white);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Title */
.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Línea verde decorativa */
.hero-line {
    width: 320px;
    height: 4px;
    background: var(--primary-color);
    margin: 30px 0;
    border-radius: 2px;
}

/* Hero Description */
.hero-description {
    color: var(--white);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin: 0 0 30px 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.hero-description i {
    color: var(--primary-color);
    margin-left: 8px;
    flex-shrink: 0;
}

/* Botón Hero */
.btn-hero {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 18px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(223, 130, 35, 0.4);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(223, 130, 35, 0.5);
}

/* Hero Stats - Estilo Nationex (más pequeñas y refinadas) */
.hero-stats {
    display: flex;
    gap: 80px;
    position: absolute;
    bottom: 50px;
    left: 30px;
    z-index: 10;
}

.hero-stat {
    text-align: left;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 10px;
    display: block;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   Hero Responsive - Video Background
   ======================================== */
@media (max-width: 1200px) {
    .hero .container {
        padding: 0 30px;
    }

    .hero-stats {
        left: 30px;
        gap: 45px;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 10px 20px;
    }

    .header.scrolled {
        padding: 8px 20px;
    }

    .header-logo {
        top: 18px;
        left: 20px;
    }

    .logo img {
        height: 45px;
    }

    .page-home .header-logo {
        top: 18px;
        left: 20px;
    }

    .page-home .logo img {
        height: 55px;
    }

    .nav-floating-menu {
        top: 18px;
        right: 20px;
    }

    .header.scrolled .header-logo {
        top: 12px;
        left: 15px;
    }

    .header.scrolled .logo img {
        height: 38px;
    }

    .header.scrolled .nav-floating-menu {
        top: 12px;
        right: 15px;
    }

    .page-home .header.scrolled .logo img {
        height: 42px;
    }

    .hero .container {
        padding: 0 25px;
    }

    .hero-stats {
        gap: 35px;
        bottom: 35px;
        left: 25px;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-stat-number {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .header.scrolled {
        padding: 6px 15px;
    }

    .header-logo {
        top: 12px;
        left: 12px;
    }

    .logo img {
        height: 40px;
    }

    .page-home .header-logo {
        top: 12px;
        left: 12px;
    }

    .page-home .logo img {
        height: 45px;
    }

    .nav-floating-menu {
        top: 12px;
        right: 12px;
        padding: 4px 4px 4px 12px;
        border-radius: 8px;
    }

    .header.scrolled .header-logo {
        top: 8px;
        left: 10px;
    }

    .header.scrolled .logo img {
        height: 32px;
    }

    .header.scrolled .nav-floating-menu {
        top: 8px;
        right: 10px;
    }

    .page-home .header.scrolled .logo img {
        height: 36px;
    }

    .nav-search-btn {
        width: 32px;
        height: 32px;
        margin-left: 8px;
        font-size: 0.8rem;
    }

    .menu-toggle-btn {
        width: 34px;
        height: 34px;
    }

    .menu-toggle-btn span {
        width: 16px;
    }

    .hero {
        min-height: 600px;
    }

    .hero .container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 50px;
        flex-wrap: wrap;
        gap: 20px;
        padding: 25px 20px;
        background: rgba(10, 16, 24, 0.85);
        border-radius: 12px;
    }

    .hero-stat {
        flex: 1 1 45%;
        min-width: 120px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 550px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 15px;
        padding: 20px 15px;
    }

    .hero-stat {
        flex: 1 1 100%;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }
}

/* ========================================
   Section Headers - Tipografía mejorada
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.section-header p {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(223, 130, 35, 0.15);
    color: var(--primary-text);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-text);
    font-weight: 600;
    margin-top: 16px;
}

.view-all:hover {
    gap: 12px;
}

/* ========================================
   Categories Section - Professional Clean Design
   ======================================== */
.categories {
    padding: 80px 0 100px;
    background: #f5f5f5;
}

.categories .section-header {
    margin-bottom: 48px;
    text-align: center;
}

.categories .section-header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.categories .section-header p {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Grid de 3 columnas centrado */
.categories-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: #ffffff;
    padding: 32px 28px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--motion-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.category-card:hover .category-icon {
    background: var(--primary-color, #df8223);
    transform: scale(1.05);
}

/* Iconos SVG */
.category-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
    transition: all 0.2s ease;
}

/* Iconos FontAwesome (fallback) */
.category-icon i {
    font-size: 1.3rem;
    color: #ffffff;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.category-card p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.category-link {
    color: var(--primary-color, #df8223);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(8px);
}

.category-link i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.category-card:hover .category-link {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-dark, #c67320);
}

.category-card:hover .category-link i {
    transform: translateX(4px);
}

/* Responsive 3 columnas */
@media (max-width: 992px) {
    .categories-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        max-width: 100%;
    }

    .category-card {
        padding: 24px 16px 20px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
    }

    .category-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .categories {
        padding: 60px 0 80px;
    }

    .categories .section-header p {
        font-size: 1.5rem;
    }

    .categories-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .category-card {
        padding: 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
        margin: 0;
        flex-shrink: 0;
    }

    .category-card h3 {
        margin-bottom: 4px;
    }

    .category-card p {
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .category-link {
        font-size: 0.8rem;
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Featured Products - Professional Clean Design
   ======================================== */
.featured-products {
    padding: 80px 0 100px;
    background: #ffffff;
}

.featured-products .section-header {
    margin-bottom: 48px;
    text-align: center;
}

.featured-products .section-header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.featured-products .section-header p {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.featured-products .view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.featured-products .view-all:hover {
    background: #1a1a1a;
    color: #ffffff;
}

.featured-products .view-all i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.featured-products .view-all:hover i {
    transform: translateX(4px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Card - Clean Professional Design */
.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.4s var(--motion-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #ddd;
}

.product-badge {
    position: absolute;
    z-index: 10;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #1a1a1a;
    color: white;
    font-size: 0.7rem;
    line-height: 1;
}

.product-badge.sale::after {
    content: ' OFF';
    font-size: 0.65rem;
    font-weight: 500;
}

.product-badge.new {
    top: 12px;
    right: 12px;
    left: auto;
    padding: 6px 10px;
    border-radius: 4px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.65rem;
}

.product-badge.out-of-stock {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #999;
    color: #ffffff;
    font-size: 0.65rem;
}

.product-image {
    position: relative;
    padding-top: 100%;
    background: #f8f8f8;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 1px solid #eee;
    text-decoration: none;
}

.product-action-btn:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.product-info {
    padding: 20px;
    background: #ffffff;
}

.product-category {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.6em;
}

.product-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #495057;
}

.product-brand {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.price-current {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    line-height: 1;
}

.price-original {
    font-size: 0.9rem;
    color: #bbb;
    text-decoration: line-through;
}

.product-footer {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.product-footer .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart {
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: #333;
}

.btn-view {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn-view:hover {
    border-color: #1a1a1a;
}

.btn-view:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Services Preview
   ======================================== */
.services-preview {
    padding: 80px 0;
    background: var(--gray-100);
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-text h2 {
    margin-bottom: 20px;
}

.services-text > p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
}

.services-list li i {
    color: var(--success);
    font-size: 1.125rem;
}

.services-image {
    position: relative;
}

.services-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.services-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, #c67320 0%, #a8611a 100%);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ========================================
   Brands Section - Logos más grandes
   ======================================== */
.brands {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.brands .section-header h2 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brands-slider {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.brands-track {
    display: flex;
    gap: 80px;
    animation: scroll 35s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 12px;
    background: transparent;
    padding: 20px;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
    background: rgba(223, 130, 35, 0.08);
}

.brand-item img {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.brand-item:hover img {
    transform: scale(1.1);
}

.brand-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
}

.brand-item:hover span {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* ========================================
   Stats Section - Diseño Moderno Premium
   ======================================== */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b3a4b 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23df8223' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #ffffff;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #df8223, #ff9800);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: all 0.4s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    display: inline-block;
}

.stat-suffix {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #df8223 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-left: 4px;
}

.stat-label {
    display: block;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

/* ========================================
   CTA Section - Diseño vibrante con gradiente verde
   ======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #df8223 0%, #c67320 50%, #a8611a 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-content {
    text-align: center;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Archivo Black', sans-serif;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(26, 26, 26, 0.8);
    line-height: 1.6;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta .btn-white {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 20px 50px;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta .btn-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.cta .btn-white:hover::before {
    left: 100%;
}

.cta .btn-white:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.cta .btn-white * {
    position: relative;
    z-index: 1;
}

.cta .btn-whatsapp {
    background: rgba(255, 255, 255, 0.2);
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.cta .btn-whatsapp:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.cta .btn-whatsapp i {
    font-size: 1.3rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 80px 0 0;
    border-top: 3px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(223, 130, 35, 0.4));
}

.footer-col > p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(223, 130, 35, 0.3);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-400);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.contact-list li {
    display: flex;
    gap: 12px;
    color: var(--gray-400);
}

.contact-list li i {
    color: var(--primary-color);
    width: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    gap: 12px;
}

.payment-methods img {
    height: 30px;
}

/* ========================================
   Cart Sidebar / Barra Lateral Cotizador - Premium Design
   ======================================== */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 95vw;
    height: 100vh;
    background: #fafafa;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b3a4b 100%);
    position: relative;
}

.cart-sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #df8223, #ff9800, #df8223);
}

.cart-sidebar-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    letter-spacing: -0.3px;
}

.cart-sidebar-header h3 i {
    color: #df8223;
    font-size: 1.4rem;
}

.cart-sidebar-header h3 .sidebar-header-icon {
    width: 26px;
    height: 26px;
    color: #df8223;
    flex-shrink: 0;
}

.cart-sidebar-header .cart-count-badge {
    background: linear-gradient(135deg, #df8223, #ff9800);
    color: #0d1b2a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

.cart-sidebar-close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-sidebar-close:hover {
    background: #df8223;
    border-color: #df8223;
    color: #0d1b2a;
    transform: scale(1.05);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #f8fafc;
}

.cart-sidebar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    color: var(--gray-500);
}

.cart-sidebar-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.cart-sidebar-empty .sidebar-empty-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0.85;
}

.cart-sidebar-empty p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cart-sidebar-items {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-sidebar-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-sidebar-item:hover {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.3);
}

.cart-sidebar-item-image {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.cart-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cart-sidebar-item-info {
    flex: 1;
    min-width: 0;
}

.cart-sidebar-item-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.cart-sidebar-item-brand {
    font-size: 0.75rem;
    color: #1565c0;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-sidebar-item-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #c45d00;
}

.cart-sidebar-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 10px;
    width: fit-content;
}

.cart-sidebar-item-qty .qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cart-sidebar-item-qty .qty-btn:hover {
    background: #f97316;
    color: #ffffff;
    transform: scale(1.05);
}

.cart-sidebar-item-qty span {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    min-width: 32px;
    text-align: center;
}

.cart-sidebar-item-remove {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-sidebar-item-remove:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #ef4444;
    transform: rotate(90deg);
}

.cart-sidebar-footer {
    padding: 0;
    background: #ffffff;
    border-top: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}

.cart-sidebar-totals {
    margin: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 24px 28px;
    border-radius: 0;
}

.cart-sidebar-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cart-sidebar-total-row .label {
    font-weight: 500;
}

.cart-sidebar-total-row .amount {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.cart-sidebar-total-row.total {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-top: 12px;
}

.cart-sidebar-total-row.total .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.cart-sidebar-total-row.total .amount {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cart-sidebar-total-row.savings {
    color: #4ade80;
    font-weight: 600;
    background: rgba(74, 222, 128, 0.1);
    padding: 10px 14px;
    border-radius: 8px;
    margin: 8px 0;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.cart-sidebar-total-row.savings .label {
    color: #4ade80;
}

.cart-sidebar-total-row.savings .amount {
    color: #4ade80;
    font-weight: 700;
}

/* Volume discount styles for cart items */
.cart-sidebar-item.has-volume-discount {
    border-left: 3px solid #43a047;
    background: linear-gradient(90deg, #f1f8e9 0%, #ffffff 20%);
}

.cart-sidebar-item-price .price-original {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.cart-sidebar-item-price .price-discounted {
    color: #2e7d32;
    font-weight: 700;
}

.cart-sidebar-item-discount {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 6px;
    font-weight: 600;
}

.cart-sidebar-item-discount i {
    font-size: 0.75rem;
}

.cart-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 28px;
    background: #ffffff;
}

.cart-sidebar-actions .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    font-weight: 700;
    border-radius: 14px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-view-quote {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-view-quote::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: left 0.5s ease;
}

.btn-view-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.45);
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.btn-view-quote:hover::before {
    left: 100%;
}

.btn-view-quote:active {
    transform: translateY(-1px);
}

.btn-continue-shopping,
.btn-clear-cart {
    background: #f8fafc;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-continue-shopping:hover,
.btn-clear-cart:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.btn-clear-cart i {
    font-size: 0.9rem;
}

/* Animación de nuevo item agregado */
.cart-sidebar-item.just-added {
    animation: itemAdded 0.6s ease;
}

@keyframes itemAdded {
    0% {
        background: rgba(223, 130, 35, 0.3);
        transform: scale(1.02);
    }
    100% {
        background: var(--gray-100);
        transform: scale(1);
    }
}

/* ========================================
   WhatsApp Float - Diseño Premium
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.08);
    background: #128C7E;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(1.02);
}

/* Tooltip de WhatsApp - Sin flecha */
.whatsapp-float::before {
    content: 'Contáctanos';
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--dark-color);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* ========================================
   Floating Cart Button - Premium Design
   ======================================== */
/* Floating Cart Button - Professional Minimal Design */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 100px;
    height: 48px;
    padding: 0 20px;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transition: all 0.3s var(--motion-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
}

.floating-cart-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-cart-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.floating-cart-btn:active {
    transform: translateY(0);
}

.floating-cart-btn .cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-cart-btn .cart-icon i {
    font-size: 1rem;
}

.floating-cart-btn .floating-cart-count {
    background: #df8223;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tooltip del carrito flotante - aparece a la izquierda */
.floating-cart-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    background: #ffffff;
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.25s ease;
}

.floating-cart-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-cart-btn {
        height: 44px;
        padding: 0 16px;
        bottom: 20px;
        right: 84px;
        font-size: 0.85rem;
    }

    .floating-cart-btn::before {
        display: none;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ========================================
   Toast Messages / Status Notifications
   ======================================== */
.toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    min-width: 300px;
    max-width: 450px;
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--success);
}

.toast.show {
    bottom: 30px;
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast.info {
    border-left-color: #17a2b8;
}

.toast i {
    font-size: 1.5rem;
    color: var(--success);
}

.toast.error i {
    color: var(--danger);
}

.toast.warning i {
    color: var(--warning);
}

.toast.info i {
    color: #17a2b8;
}

.toast span {
    flex: 1;
    color: var(--gray-800);
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toast-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* ========================================
   Breadcrumbs Enhancement
   ======================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0;
    margin-bottom: 16px;
}

.breadcrumb a,
.breadcrumb span {
    font-size: 0.9375rem;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-text);
}

.breadcrumb a:focus-visible {
    color: var(--primary-text);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--gray-800);
    font-weight: 500;
}

.breadcrumb i {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Rich Breadcrumb with Icons */
.breadcrumb-enhanced {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.breadcrumb-enhanced-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.breadcrumb-enhanced-item a {
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.breadcrumb-enhanced-item a:hover {
    color: var(--primary-text);
}

.breadcrumb-enhanced-item.active {
    color: var(--primary-text);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--gray-400);
    margin: 0 4px;
}

/* ========================================
   Form Enhancements
   ======================================== */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.form-group label.required::after {
    content: " *";
    color: var(--danger);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(223, 130, 35, 0.1);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--gray-400);
}

/* Form Validation States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--danger);
    background-color: rgba(255, 71, 87, 0.05);
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: var(--success);
    background-color: rgba(223, 130, 35, 0.05);
}

.form-group.success input:focus,
.form-group.success textarea:focus,
.form-group.success select:focus {
    box-shadow: 0 0 0 3px rgba(223, 130, 35, 0.1);
}

/* Form Feedback Messages */
.form-feedback {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-group.error .form-feedback,
.form-group.success .form-feedback,
.form-group.warning .form-feedback {
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.error {
    color: var(--danger);
}

.form-feedback.success {
    color: var(--success);
}

.form-feedback.warning {
    color: var(--warning);
}

.form-feedback i {
    font-size: 1rem;
}

/* Input Icons */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 44px;
}

.input-with-icon input:focus ~ i {
    color: var(--primary-text);
}

/* Character Counter */
.char-counter {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 4px;
}

.char-counter.warning {
    color: var(--warning);
}

.char-counter.error {
    color: var(--danger);
}

/* ========================================
   Button States & Loading
   ======================================== */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-primary.loading::after {
    border-top-color: var(--dark-color);
}

.btn-secondary.loading::after,
.btn-outline.loading::after {
    border-top-color: var(--white);
}

/* ========================================
   Alert Messages
   ======================================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid;
    animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: rgba(223, 130, 35, 0.1);
    border-left-color: var(--success);
    color: var(--success);
}

.alert-error {
    background-color: rgba(255, 71, 87, 0.1);
    border-left-color: var(--danger);
    color: var(--danger);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left-color: var(--warning);
    color: #856404;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-left-color: #17a2b8;
    color: #0c5460;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.alert-message {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* ========================================
   MOTION ANIMATIONS - Professional CSS Animations
   Inspired by Framer Motion spring physics
   ======================================== */

/* Base animation properties */
:root {
    --motion-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --motion-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --motion-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --motion-duration: 0.7s;
    --motion-duration-fast: 0.4s;
    --motion-duration-slow: 1s;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.scroll-reveal,
.scroll-reveal-scale,
.scroll-reveal-left,
.scroll-reveal-right,
.motion-fade-up,
.motion-fade-down,
.motion-fade-left,
.motion-fade-right,
.motion-scale,
.motion-blur {
    opacity: 0;
    will-change: opacity, transform;
}

.scroll-reveal,
.motion-fade-up {
    transform: translateY(40px);
}

.scroll-reveal-scale,
.motion-scale {
    transform: scale(0.9);
}

.scroll-reveal-left,
.motion-fade-left {
    transform: translateX(-50px);
}

.scroll-reveal-right,
.motion-fade-right {
    transform: translateX(50px);
}

.motion-fade-down {
    transform: translateY(-40px);
}

.motion-blur {
    transform: translateY(20px);
    filter: blur(10px);
}

/* Revealed state with spring animation */
.scroll-reveal.revealed,
.scroll-reveal-scale.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed,
.motion-fade-up.revealed,
.motion-fade-down.revealed,
.motion-fade-left.revealed,
.motion-fade-right.revealed,
.motion-scale.revealed,
.motion-blur.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0);
    transition: opacity var(--motion-duration) var(--motion-ease),
                transform var(--motion-duration) var(--motion-spring),
                filter var(--motion-duration) var(--motion-ease);
}

/* Staggered animation delays for children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }
.stagger-children > *:nth-child(7) { transition-delay: 480ms; }
.stagger-children > *:nth-child(8) { transition-delay: 560ms; }
.stagger-children > *:nth-child(9) { transition-delay: 640ms; }
.stagger-children > *:nth-child(10) { transition-delay: 720ms; }
.stagger-children > *:nth-child(11) { transition-delay: 800ms; }
.stagger-children > *:nth-child(12) { transition-delay: 880ms; }

/* Fast stagger */
.stagger-fast > *:nth-child(1) { transition-delay: 0ms; }
.stagger-fast > *:nth-child(2) { transition-delay: 50ms; }
.stagger-fast > *:nth-child(3) { transition-delay: 100ms; }
.stagger-fast > *:nth-child(4) { transition-delay: 150ms; }
.stagger-fast > *:nth-child(5) { transition-delay: 200ms; }
.stagger-fast > *:nth-child(6) { transition-delay: 250ms; }

/* Keyframe animations for page load */
@keyframes motionFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes motionFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes motionFadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes motionScaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes motionSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes motionSlideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes motionBlurIn {
    from {
        opacity: 0;
        filter: blur(20px);
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes motionBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes motionPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes motionShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Utility animation classes */
.animate-fade-in {
    animation: motionFadeIn var(--motion-duration) var(--motion-ease) both;
}

.animate-fade-up {
    animation: motionFadeUp var(--motion-duration) var(--motion-spring) both;
}

.animate-fade-down {
    animation: motionFadeDown var(--motion-duration) var(--motion-spring) both;
}

.animate-scale-in {
    animation: motionScaleIn var(--motion-duration) var(--motion-spring) both;
}

.animate-slide-left {
    animation: motionSlideInLeft var(--motion-duration) var(--motion-spring) both;
}

.animate-slide-right {
    animation: motionSlideInRight var(--motion-duration) var(--motion-spring) both;
}

.animate-blur-in {
    animation: motionBlurIn var(--motion-duration-slow) var(--motion-ease) both;
}

/* Animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* Hover animations */
.hover-lift {
    transition: transform 0.3s var(--motion-spring), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s var(--motion-spring);
}

.hover-scale:hover {
    transform: scale(1.03);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(223, 130, 35, 0.3);
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s var(--motion-spring), opacity 0.6s var(--motion-ease);
}

.text-reveal.revealed span {
    transform: translateY(0);
    opacity: 1;
}

/* Counter animation */
.counter-animate {
    display: inline-block;
    transition: transform 0.1s ease;
}

.counter-animate.counting {
    animation: motionBounce 0.3s ease;
}

/* Card enter animation */
.card-enter {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.card-enter.entered {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.5s var(--motion-ease),
                transform 0.5s var(--motion-spring);
}

/* Section header animation */
.section-header-animate .section-tag,
.section-header-animate .section-title,
.section-header-animate .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
}

.section-header-animate.revealed .section-tag {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--motion-spring);
}

.section-header-animate.revealed .section-title {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--motion-spring) 0.1s;
}

.section-header-animate.revealed .section-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--motion-spring) 0.2s;
}

/* ========================================
   PAGE LOADER - Diseño Premium Minimalista
   ======================================== */
/* ========================================
   Page Loader - Premium Design
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a1018;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow: hidden;
}

.page-loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(223, 130, 35, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-loader.hidden {
    pointer-events: none;
}

/* Loader Content */
.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Logo Wrapper */
.loader-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo {
    width: 180px;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
}

/* Animated Line */
.loader-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
    position: relative;
}

.loader-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    opacity: 0;
}

/* Text Wrapper */
.loader-text-wrapper {
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: 0;
    transform: translateY(10px);
}

.loader-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.loader-dots {
    display: flex;
    gap: 2px;
}

.loader-dots span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    opacity: 0;
}

/* Responsive */
@media (max-width: 575.98px) {
    .loader-logo {
        width: 140px;
    }

    .loader-text {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }
}


/* ========================================
   BUTTON RIPPLE EFFECT
   ======================================== */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    margin: 0;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */
/* Enable GPU acceleration for smooth animations */
.product-card,
.category-card,
.stat-item,
.hero-content,
.btn {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Remove will-change after animations complete to free up resources */
.product-card.revealed,
.category-card.revealed,
.stat-item.revealed {
    will-change: auto;
}

/* ========================================
   Páginas Internas - Header Dark
   ======================================== */
.header-dark {
    background: transparent;
    backdrop-filter: none;
}

/* Hacer que todas las páginas con banner tengan el mismo logo que homepage */
body:not(.page-home) .header-logo {
    top: 25px;
    left: 60px;
}

body:not(.page-home) .logo img {
    height: 70px;
}

body:not(.page-home) .header.scrolled .header-logo {
    top: 12px;
    left: 30px;
}

body:not(.page-home) .header.scrolled .logo img {
    height: 50px;
}

body:not(.page-home) .nav-floating-menu {
    top: 25px;
    right: 60px;
}

body:not(.page-home) .header.scrolled .nav-floating-menu {
    top: 12px;
    right: 30px;
}

/* Responsive para páginas internas */
@media (max-width: 992px) {
    body:not(.page-home) .header-logo {
        top: 18px;
        left: 20px;
    }

    body:not(.page-home) .logo img {
        height: 55px;
    }

    body:not(.page-home) .nav-floating-menu {
        top: 18px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    body:not(.page-home) .header-logo {
        top: 12px;
        left: 12px;
        z-index: 1001;
    }

    body:not(.page-home) .logo img {
        height: 38px;
    }

    body:not(.page-home) .nav-floating-menu {
        top: 12px;
        right: 12px;
    }

    /* Asegurar que el logo no tape el menú móvil */
    body:not(.page-home) .mobile-menu-btn {
        position: relative;
        z-index: 1002;
    }
}

@media (max-width: 480px) {
    body:not(.page-home) .header-logo {
        top: 10px;
        left: 10px;
    }

    body:not(.page-home) .logo img {
        height: 32px;
    }

    body:not(.page-home) .nav-floating-menu {
        top: 10px;
        right: 10px;
    }

    body:not(.page-home) .mobile-menu-btn {
        position: relative;
        z-index: 1002;
    }
}

/* ========================================
   Page Hero - Nosotros (Modern & Animated)
   ======================================== */
.page-hero-nosotros {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1018 0%, #1a2a3a 50%, #0a1018 100%);
    overflow: hidden;
    padding: 0;
}

.page-hero-nosotros .hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-hero-nosotros .shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.page-hero-nosotros .shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    filter: blur(80px);
}

.page-hero-nosotros .shape-2 {
    width: 600px;
    height: 600px;
    background: var(--primary-dark);
    bottom: -200px;
    left: -200px;
    filter: blur(100px);
}

.page-hero-nosotros .shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(90px);
}

.page-hero-nosotros .container {
    position: relative;
    z-index: 2;
}

.page-hero-nosotros .hero-content {
    text-align: center;
}

.page-hero-nosotros .hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

.page-hero-nosotros .title-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
}

.page-hero-nosotros .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(223, 130, 35, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ========================================
   About Section - Modern Layout
   ======================================== */
.about-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    /* opacity controlled by GSAP */
}

.about-text .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 40px;
    line-height: 1.2;
    position: relative;
}

.about-text .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.about-paragraphs {
    margin-bottom: 40px;
}

.about-p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-600);
    margin-bottom: 25px;
    /* opacity controlled by GSAP */
}

.about-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-symbol {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-left: -5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.about-image {
    position: relative;
    /* opacity controlled by GSAP */
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(223, 130, 35, 0.2), rgba(198, 115, 32, 0.2));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-wrapper:hover::before {
    opacity: 1;
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 16, 24, 0.8), transparent);
    z-index: 2;
}

/* ========================================
   Values Section - 3D Cards with Glassmorphism
   ======================================== */
.values-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
}

.section-title-center {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 70px;
    /* opacity controlled by GSAP */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 50px 35px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* opacity and transform controlled by GSAP */
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(223, 130, 35, 0.1), rgba(198, 115, 32, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(223, 130, 35, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(223, 130, 35, 0.4);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(223, 130, 35, 0.6);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(20px);
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    position: relative;
    z-index: 1;
}

/* ========================================
   CTA Section - Dark Background with Glow
   ======================================== */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1018 0%, #1a2a3a 50%, #0a1018 100%);
}

.cta-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(100px);
}

.cta-gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    /* opacity controlled by GSAP */
}

.cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cta span,
.btn-cta i {
    position: relative;
    z-index: 1;
}

.btn-primary.btn-cta {
    background: var(--white);
    color: var(--dark-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-primary.btn-cta:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(223, 130, 35, 0.3);
}

.btn-outline.btn-cta {
    background: transparent;
    border: 3px solid var(--white);
    color: var(--white);
}

.btn-outline.btn-cta:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Responsive - Páginas internas */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        order: -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-hero-nosotros {
        min-height: 80vh;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .about-section,
    .values-section,
    .cta-section {
        padding: 80px 0;
    }

    .about-stats {
        gap: 30px;
    }

    .stat-number,
    .stat-symbol {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .page-hero-nosotros {
        min-height: 70vh;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-section,
    .values-section,
    .cta-section {
        padding: 60px 0;
    }

    .about-content {
        gap: 40px;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Hero E-commerce - Estilo Venta Directa
   ======================================== */
.hero-ecommerce {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 16, 24, 0.97) 0%,
        rgba(10, 16, 24, 0.9) 30%,
        rgba(10, 16, 24, 0.7) 60%,
        rgba(10, 16, 24, 0.4) 100%
    );
    z-index: 1;
}

.hero-ecommerce .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-ecommerce-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* Panel de búsqueda */
.hero-search-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.hero-search-panel h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-search-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

/* Tabs de categoría */
.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px;
    border-radius: 12px;
}

.search-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-tab i {
    font-size: 1rem;
}

.search-tab:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.search-tab.active {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(223, 130, 35, 0.4);
}

/* Formulario de búsqueda - Hero E-commerce */
.hero-search-panel .search-form {
    margin-bottom: 20px;
    display: block;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.hero-search-panel .search-form.hidden {
    display: none;
}

.hero-search-panel .search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-search-panel .search-field {
    flex: 1;
}

.hero-search-panel .search-field.full {
    flex: 1 1 100%;
}

.hero-search-panel .search-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-search-panel .search-field select {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.hero-search-panel .search-field select:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-search-panel .search-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(223, 130, 35, 0.2);
}

.hero-search-panel .search-field select option {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px;
}

/* Botón de búsqueda - Enhanced */
.btn-search-product {
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 14px;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow:
        0 8px 25px rgba(223, 130, 35, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-search-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-search-product:hover::before {
    left: 100%;
}

.btn-search-product:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(223, 130, 35, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-search-product:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-search-product i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-search-product:hover i {
    transform: scale(1.1);
}

/* Botón Ver Catálogo Completo - ENHANCED */
.ver-catalogo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
    padding: 16px 28px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.ver-catalogo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.ver-catalogo-link:hover::before {
    width: 100%;
}

.ver-catalogo-link:hover {
    color: var(--dark-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(223, 130, 35, 0.35);
}

.ver-catalogo-link i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.ver-catalogo-link:hover i {
    transform: translateX(6px);
}

/* Destacados del hero */
.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 28px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.highlight-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Categorías rápidas en la parte inferior */
.hero-quick-categories {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 16, 24, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    z-index: 3;
}

.quick-category {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 40px;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quick-category:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-category:hover {
    background: rgba(223, 130, 35, 0.1);
}

.quick-cat-icon {
    width: 48px;
    height: 48px;
    background: rgba(223, 130, 35, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.quick-category:hover .quick-cat-icon {
    background: var(--primary-color);
    color: var(--dark-color);
}

.quick-cat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-cat-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.quick-cat-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* CTA WhatsApp */
.quick-category-cta {
    background: rgba(37, 211, 102, 0.1);
}

.quick-category-cta .quick-cat-icon {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.quick-category-cta:hover {
    background: rgba(37, 211, 102, 0.2);
}

.quick-category-cta:hover .quick-cat-icon {
    background: #25d366;
    color: var(--white);
}

/* Responsive Hero E-commerce */
@media (max-width: 1200px) {
    .hero-ecommerce-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-highlights {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .highlight-badge {
        padding: 14px 20px;
    }
}

@media (max-width: 992px) {
    .hero-ecommerce {
        min-height: auto;
        padding: 140px 0 180px;
    }

    .hero-overlay-gradient {
        background: linear-gradient(
            180deg,
            rgba(10, 16, 24, 0.95) 0%,
            rgba(10, 16, 24, 0.85) 100%
        );
    }

    .hero-search-panel {
        max-width: 100%;
    }

    .hero-quick-categories {
        flex-wrap: wrap;
    }

    .quick-category {
        flex: 1;
        min-width: 200px;
        justify-content: center;
        padding: 18px 20px;
    }
}

@media (max-width: 768px) {
    .hero-ecommerce {
        padding: 120px 0 160px;
    }

    .hero-search-panel {
        padding: 28px 20px;
    }

    .hero-search-panel h1 {
        font-size: 1.7rem;
    }

    /* Search Tabs en FILA para tablets */
    .search-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding: 8px !important;
        margin-bottom: 16px !important;
    }

    .search-tab {
        flex: 1 !important;
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
    }

    /* Search Form visible */
    .search-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-bottom: 12px !important;
    }

    .search-form.hidden {
        display: none !important;
    }

    .hero-search-panel .search-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .hero-search-panel .search-field {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 120px !important;
    }

    /* Botón de búsqueda visible - ENHANCED */
    .btn-search-product {
        width: 100% !important;
        padding: 16px 28px !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        margin-top: 8px !important;
    }

    /* Botón Ver Catálogo - TABLET */
    .ver-catalogo-link {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
        margin-top: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-highlights {
        display: none;
    }

    /* OCULTAR Quick Categories en tablets - duplican funcionalidad de tabs */
    .hero-quick-categories {
        display: none !important;
    }

    /* Hero Search Panel - evitar cortes */
    .hero-search-panel {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .hero-ecommerce .container {
        padding: 0 15px !important;
        overflow: visible !important;
    }
}

@media (max-width: 480px) {
    .hero-search-panel h1 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }

    .hero-search-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 16px !important;
    }

    /* Hero Search Panel - evitar cortes en mobile pequeño */
    .hero-search-panel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px 24px !important;
        margin: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .hero-ecommerce .container {
        padding: 0 10px !important;
    }

    /* Search Tabs en FILA horizontal para mobile */
    .search-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        padding: 6px !important;
        margin-bottom: 16px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .search-tab {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 10px 8px !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        gap: 4px !important;
    }

    .search-tab .tab-icon {
        width: 16px !important;
        height: 16px !important;
    }

    /* Search Form completo y visible */
    .search-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 !important;
        margin-bottom: 12px !important;
    }

    .search-form.hidden {
        display: none !important;
    }

    .search-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .search-field {
        width: 100% !important;
        flex: none !important;
    }

    .search-field label {
        font-size: 0.7rem !important;
        margin-bottom: 4px !important;
    }

    .search-field select {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        width: 100% !important;
    }

    /* Botón de búsqueda VISIBLE - ENHANCED */
    .btn-search-product {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        margin-top: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }

    /* Botón Ver Catálogo - ENHANCED MOBILE */
    .ver-catalogo-link {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin-top: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        border: 2px solid var(--primary-color) !important;
        border-radius: 12px !important;
        color: var(--primary-color) !important;
        background: rgba(223, 130, 35, 0.1) !important;
    }

    .ver-catalogo-link:hover {
        background: var(--primary-color) !important;
        color: var(--dark-color) !important;
    }

    /* OCULTAR Quick Categories en mobile - duplican funcionalidad de tabs */
    .hero-quick-categories {
        display: none !important;
    }

    .hero-search-panel .search-field {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

/* Tab Icons SVG */
.tab-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.quick-cat-icon svg {
    width: 24px;
    height: 24px;
}


/* ========================================
   Productos Destacados - Enhanced Section
   ======================================== */
.featured-products-enhanced {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.featured-products-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(223, 130, 35, 0.3), transparent);
}

.section-header-featured {
    text-align: center;
    margin-bottom: 50px;
}

.featured-title-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(223, 130, 35, 0.3);
}

.section-header-featured h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
}

.featured-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.btn-view-catalog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-color);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-view-catalog:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(223, 130, 35, 0.4);
}

.btn-view-catalog i {
    transition: transform 0.3s ease;
}

.btn-view-catalog:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .featured-products-enhanced {
        padding: 60px 0 80px;
    }

    .section-header-featured {
        margin-bottom: 40px;
    }

    .featured-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .featured-subtitle {
        font-size: 1rem;
    }

    .btn-view-catalog {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Botón Ver todos nuestros productos - PREMIUM
   ======================================== */
.ver-todos-productos-wrapper {
    text-align: center;
    margin-top: 70px;
    padding: 50px 20px 30px;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(223, 130, 35, 0.03) 100%);
}

.ver-todos-productos-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.btn-ver-todos-productos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e8882a 50%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: var(--dark-color);
    padding: 22px 56px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 10px 40px rgba(223, 130, 35, 0.4),
        0 4px 15px rgba(223, 130, 35, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-ver-todos-productos::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-ver-todos-productos:hover::before {
    left: 100%;
}

.btn-ver-todos-productos::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-color), #ffb366, var(--primary-dark));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-ver-todos-productos:hover::after {
    opacity: 1;
}

.btn-ver-todos-productos:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow:
        0 20px 50px rgba(223, 130, 35, 0.5),
        0 8px 25px rgba(223, 130, 35, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    color: #1a1a1a;
}

.btn-ver-todos-productos:active {
    transform: translateY(-2px) scale(1.01);
}

.btn-ver-todos-productos i {
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(0, 0, 0, 0.15);
    padding: 10px 12px;
    border-radius: 10px;
}

.btn-ver-todos-productos:hover i {
    transform: translateX(8px);
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .ver-todos-productos-wrapper {
        margin-top: 60px;
        padding: 45px 20px 25px;
    }

    .btn-ver-todos-productos {
        padding: 20px 48px;
        font-size: 1.1rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .ver-todos-productos-wrapper {
        margin-top: 50px;
        padding: 40px 15px 20px;
    }

    .ver-todos-productos-wrapper::before {
        width: 150px;
    }

    .btn-ver-todos-productos {
        padding: 18px 36px;
        font-size: 1rem;
        width: 100%;
        max-width: 360px;
        gap: 14px;
        border-radius: 14px;
    }

    .btn-ver-todos-productos i {
        padding: 8px 10px;
        border-radius: 8px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .btn-ver-todos-productos {
        padding: 16px 28px;
        font-size: 0.95rem;
        max-width: 100%;
    }
}
