/**
 * El Torito - Estilos Modernos con Animaciones
 * =============================================
 */

/* === Variables === */
:root {
    /* Colores principales - Paleta El Torito */
    --primary: #dc3545;          /* Rojo El Torito */
    --primary-dark: #c82333;
    --primary-light: #e85a68;
    --secondary: #1a3a5c;        /* Azul marino El Torito */
    --secondary-light: #2a4a6c;
    --secondary-dark: #0f2840;
    --accent: #1a3a5c;
    --dark: #1a3a5c;
    --darker: #0f2840;
    --light: #ffffff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Gradientes - Estilo Moderno 2026 */
    --gradient-primary: linear-gradient(135deg, #dc3545 0%, #1a3a5c 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a3a5c 25%, #2d5a87 50%, #1a3a5c 75%, #0a1628 100%);
    --gradient-dark: linear-gradient(160deg, #0a1628 0%, #1a3a5c 50%, #0f2840 100%);
    --gradient-modern: linear-gradient(135deg, #0f172a 0%, #1e3a5f 30%, #2563eb 70%, #1e40af 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, #1e3a5f 0px, transparent 50%), radial-gradient(at 80% 0%, #2563eb 0px, transparent 50%), radial-gradient(at 0% 50%, #0f172a 0px, transparent 50%), radial-gradient(at 80% 50%, #1e40af 0px, transparent 50%), radial-gradient(at 0% 100%, #1e3a5f 0px, transparent 50%), linear-gradient(135deg, #0a1628, #1a3a5c);
    --gradient-aurora: linear-gradient(135deg, #0c1929 0%, #1a365d 20%, #2563eb 40%, #3b82f6 60%, #1e40af 80%, #0f172a 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    --gradient-glass: linear-gradient(135deg, rgba(26,58,92,0.05), rgba(26,58,92,0.02));
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(220, 53, 69, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(26, 58, 92, 0.3);
    
    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaciado */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    min-height: 100%;
    overflow-x: hidden;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > .footer-modern,
body > footer {
    margin-top: auto;
}

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

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

ul {
    list-style: none;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::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: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #1e3a5f);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(30, 58, 95, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

/* Navbar sobre hero (fondo transparente, letras blancas) */
.navbar:not(.scrolled) {
    background: transparent;
}

.navbar:not(.scrolled) .navbar-menu a {
    color: white;
}

@media (hover: hover) and (pointer: fine) {
    .navbar:not(.scrolled) .navbar-menu a:hover,
    .navbar:not(.scrolled) .navbar-menu a.active {
        color: var(--primary);
    }
}
.navbar:not(.scrolled) .navbar-menu a.active {
    color: var(--primary);
}

.navbar:not(.scrolled) .cart-btn {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.navbar:not(.scrolled) .navbar-toggle span {
    background: white;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 10px 0;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .navbar-menu a {
    color: var(--secondary);
}

@media (hover: hover) and (pointer: fine) {
    .navbar.scrolled .navbar-menu a:hover,
    .navbar.scrolled .navbar-menu a.active {
        color: var(--primary);
    }
}
.navbar.scrolled .navbar-menu a.active {
    color: var(--primary);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.navbar-logo img {
    height: 55px;
    width: auto;
}

.navbar-logo span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-menu > li {
    position: relative;
}

.navbar-menu a {
    font-weight: 500;
    color: var(--secondary);
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-menu a i.fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition-normal);
}

@media (hover: hover) and (pointer: fine) {
    .navbar-menu > li:hover > a i.fa-chevron-down {
        transform: rotate(180deg);
    }
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

/* Hover effects only on devices with a mouse/pointer */
@media (hover: hover) and (pointer: fine) {
    .navbar-menu a:hover,
    .navbar-menu a.active {
        color: var(--primary);
    }

    .navbar-menu a:hover::after,
    .navbar-menu a.active::after {
        width: 100%;
    }
}

/* Active state always applies (for current page highlighting) */
.navbar-menu a.active {
    color: var(--primary);
}
.navbar-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

@media (hover: hover) and (pointer: fine) {
    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--secondary) !important;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a i {
    width: 20px;
    color: var(--primary);
}

@media (hover: hover) and (pointer: fine) {
    .dropdown-menu a:hover {
        background: var(--gray-light);
        color: var(--primary) !important;
        padding-left: 25px;
    }
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--gray-light);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-full);
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.cart-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: white;
}

.btn-whatsapp-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* === Navbar Search - Modern Expanding === */
.navbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.navbar.scrolled .search-toggle {
    color: var(--secondary);
}

.search-toggle:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.1);
}

.navbar.scrolled .search-toggle:hover {
    background: rgba(26, 58, 92, 0.1);
}

.search-toggle.active {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
}

.search-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #0f2942 100%);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 10px 60px rgba(0,0,0,0.3);
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box form {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 25px 20px;
    position: relative;
}

.search-box input {
    flex: 1;
    padding: 18px 25px;
    padding-left: 55px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    background: rgba(255,255,255,0.95);
    color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-box form::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 45px;
    color: var(--primary);
    font-size: 1.1rem;
    z-index: 1;
}

.search-box button[type="submit"] {
    position: absolute;
    right: 25px;
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.search-box button[type="submit"]:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.5);
}

.search-close {
    position: fixed;
    top: 25px;
    right: 20px;
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    max-width: 800px;
    margin: 0 auto 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.search-results:empty {
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

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

.search-result-item:hover {
    background: linear-gradient(90deg, #f8fafc 0%, #fff 100%);
    padding-left: 25px;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    background: #f1f5f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-result-item div {
    flex: 1;
}

.search-result-item strong {
    display: block;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 4px;
    font-weight: 600;
}

.search-result-item small {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.search-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary) 0%, #0f2942 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0 0 16px 16px;
    transition: all 0.3s;
}

.search-view-all:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    letter-spacing: 1px;
}

.search-view-all::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.search-view-all:hover::after {
    transform: translateX(5px);
}

.search-no-results {
    padding: 50px 30px;
    text-align: center;
    color: #64748b;
}

.search-no-results::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    font-size: 3rem;
    color: #e2e8f0;
    margin-bottom: 15px;
}

/* Overlay cuando está abierto */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9998;
}

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

@media (max-width: 768px) {
    .search-box form {
        padding: 20px 15px;
        padding-right: 60px; /* Espacio para el botón cerrar */
    }
    
    .search-box input {
        font-size: 1rem;
        padding: 15px 20px;
        padding-left: 45px;
        padding-right: 55px; /* Espacio para el botón submit */
    }
    
    .search-box form::before {
        left: 35px;
    }
    
    .search-box button[type="submit"] {
        right: 70px; /* Mover a la izquierda del botón cerrar */
        width: 40px;
        height: 40px;
    }
    
    .search-close {
        top: 23px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .search-result-item img {
        width: 50px;
        height: 50px;
    }
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-normal);
}

.navbar.scrolled .navbar-toggle span {
    background: var(--secondary);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #0a1525;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Video de fondo YouTube */
.hero-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: hidden;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 21, 37, 0.75) 0%, rgba(15, 40, 64, 0.65) 50%, rgba(26, 58, 92, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(220, 53, 69, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(77, 184, 217, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-particles {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.hero-scroll i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

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

/* === Sections === */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge.danger {
    border-color: rgba(239, 68, 68, 0.5);
    color: var(--danger);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === Nosotros Section === */
.section-nosotros {
    background: var(--gray-light);
}

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

.nosotros-text .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.nosotros-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
}

.feature-item i {
    color: var(--success);
}

.quality-box {
    padding: 25px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 53, 69, 0.2);
    box-shadow: var(--shadow-sm);
}

.quality-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
}

.quality-box p {
    color: var(--text-light);
    line-height: 1.7;
}

.nosotros-images {
    position: relative;
}

.image-stack {
    position: relative;
}

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

.image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
    color: white;
}

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

.image-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
}

.image-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* === Innovación Section === */
.section-innovacion {
    background: linear-gradient(135deg, #0a1525 0%, #0f2840 50%, #1a3a5c 100%);
    position: relative;
    overflow: hidden;
}

.section-innovacion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220, 53, 69, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(77, 184, 217, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.section-innovacion .section-header {
    position: relative;
    z-index: 2;
}

.section-innovacion .section-badge {
    background: rgba(220, 53, 69, 0.2);
    color: var(--primary);
}

.section-innovacion h2 {
    color: white;
}

.section-innovacion .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.innovacion-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition-normal);
    overflow: hidden;
}

.innovacion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #4db8d9);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.innovacion-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.innovacion-card:hover::before {
    transform: scaleX(1);
}

.innovacion-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #ff6b7a);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.innovacion-content h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.innovacion-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.innovacion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.innovacion-link:hover {
    color: #ff6b7a;
    gap: 12px;
}

.innovacion-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), #ff6b7a);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

@media (max-width: 992px) {
    .innovacion-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .innovacion-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .innovacion-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .innovacion-content h3 {
        font-size: 1.2rem;
    }
}

/* === Categorías Section === */
.section-categorias {
    background: white;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.categoria-card {
    position: relative;
    padding: 35px 30px;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.categoria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.categoria-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: var(--shadow-lg);
}

.categoria-card:hover::before {
    transform: scaleX(1);
}

.categoria-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.categoria-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.categoria-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.categoria-count {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(233, 69, 96, 0.15);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
}

.categoria-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-normal);
}

.categoria-card:hover .categoria-arrow {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

/* === Categorías - Tarjetas Premium Glassmorphism === */
.categorias-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- Tarjeta base --- */
.categ-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.45s cubic-bezier(.25,.46,.45,.94),
                box-shadow 0.45s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}

.categ-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 48px rgba(26, 58, 92, 0.25),
        0 0 0 1px rgba(255,255,255,0.1) inset;
}

/* --- Imagen de fondo --- */
.categ-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}

.categ-card:hover .categ-card__img {
    transform: scale(1.06);
}

/* Overlay degradado suave */
.categ-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 32, 52, 0.10) 0%,
        rgba(15, 32, 52, 0.35) 40%,
        rgba(15, 32, 52, 0.80) 100%
    );
    z-index: 1;
    transition: opacity 0.4s ease;
}

.categ-card:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(15, 32, 52, 0.05) 0%,
        rgba(15, 32, 52, 0.25) 40%,
        rgba(15, 32, 52, 0.75) 100%
    );
}

/* --- Badge NUEVO --- */
.categ-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 50px;
    animation: catPulse 2s infinite;
}

@keyframes catPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,53,69,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(220,53,69,0); }
}

/* --- Panel Glass inferior --- */
.categ-card__glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 32, 52, 0.40);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: background 0.4s ease, padding 0.4s ease;
}

.categ-card:hover .categ-card__glass {
    background: rgba(15, 32, 52, 0.65);
    padding: 22px 24px;
    align-items: flex-start;
}

/* --- Ícono --- */
.categ-card__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    transition: all 0.4s cubic-bezier(.25,.46,.45,.94);
    flex-shrink: 0;
    margin-top: 2px;
}

.categ-card:hover .categ-card__icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(220,53,69,0.4);
}

/* --- Body texto --- */
.categ-card__body {
    flex: 1;
    min-width: 0;
}

.categ-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: white;
    transition: transform 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.categ-card:hover .categ-card__title {
    transform: translateX(3px);
    white-space: normal;
}

.categ-card__desc {
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.8);
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(.25,.46,.45,.94),
                opacity 0.35s ease 0.05s,
                margin-top 0.4s ease;
}

.categ-card:hover .categ-card__desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 6px;
}

/* --- Flecha indicadora --- */
.categ-card__arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.35s ease;
    flex-shrink: 0;
    margin-top: 6px;
}

.categ-card:hover .categ-card__arrow {
    background: white;
    border-color: white;
    color: var(--dark);
    transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .categorias-modern-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .categ-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .categorias-modern-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .categ-card {
        height: 200px;
        flex-direction: row;
    }
    .categ-card__img {
        position: absolute;
        inset: 0;
    }
    .categ-card__glass {
        padding: 16px 20px;
        gap: 12px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .categ-card__title {
        font-size: 1rem;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    .categ-card__icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    .categ-card__arrow {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.65rem;
    }
    .categ-card__desc {
        display: none;
    }
}

/* === Productos Destacados === */
.section-destacados {
    background: var(--gray-light);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tarjeta de producto - Estilos unificados */
.producto-card {
    position: relative;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Link invisible que cubre toda la card */
.producto-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Botones/overlays encima del link */
.producto-card .producto-overlay,
.producto-card .producto-actions,
.producto-card .producto-badge {
    position: relative;
    z-index: 2;
}

.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(220, 53, 69, 0.2);
}

/* Imagen del producto */
.producto-image,
.producto-imagen {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.producto-image img,
.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.producto-card:hover .producto-image img,
.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

/* Placeholder cuando no hay imagen */
.producto-placeholder,
.placeholder-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px;
}

.placeholder-logo img {
    max-width: 60%;
    max-height: 45%;
    object-fit: contain;
    opacity: 0.4;
}

/* Badge destacado */
.producto-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Info del producto */
.producto-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Subcategoría / Categoría label */
.producto-subcategoria,
.producto-categoria {
    display: block;
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Nombre del producto */
.producto-nombre,
.producto-info h4,
.producto-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Descripción */
.producto-descripcion,
.producto-info p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer de la tarjeta */
.producto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    gap: 12px;
}

/* Botón Ver más */
.btn-ver {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.producto-card:hover .btn-ver {
    gap: 10px;
}

.btn-ver i {
    font-size: 0.75rem;
}

/* Botón Consultar WhatsApp */
.btn-consultar {
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-consultar:hover {
    background: var(--primary);
}

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

/* Acciones de producto alternativas */
.producto-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-ver-mas {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    text-decoration: none;
}

.btn-ver-mas:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* No productos */
.no-productos {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    grid-column: 1 / -1;
}

.no-productos i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-productos h3 {
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.no-productos p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Overlay para hover */
.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-card:hover .producto-overlay {
    opacity: 1;
}

.btn-add-cart {
    padding: 12px 24px;
    background: white;
    color: var(--dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.producto-card:hover .btn-add-cart {
    transform: translateY(0);
}

.btn-add-cart:hover {
    background: var(--primary);
    color: white;
}

/* No productos */
.no-productos {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.no-productos i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-productos h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.no-productos p {
    color: var(--text-light);
}

/* === Inclinómetro Section === */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatBg {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.section-inclinometro {
    background: linear-gradient(135deg, #0a1525 0%, #0f2840 25%, #1a3a5c 50%, #0f2840 75%, #0a1525 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.section-inclinometro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220, 53, 69, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(77, 184, 217, 0.25) 0%, transparent 50%);
    pointer-events: none;
    animation: pulseBg 8s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes dotPulse {
    0%, 100% { background-size: 40px 40px; opacity: 0.6; }
    50% { background-size: 45px 45px; opacity: 1; }
}

@keyframes dotColorShift {
    0%, 100% { background-image: radial-gradient(circle at center, rgba(77, 184, 217, 0.15) 2px, transparent 2px); }
    33% { background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 2px, transparent 2px); }
    66% { background-image: radial-gradient(circle at center, rgba(220, 53, 69, 0.12) 2px, transparent 2px); }
}

.section-inclinometro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(77, 184, 217, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: dotPulse 4s ease-in-out infinite, dotColorShift 8s ease-in-out infinite;
}

.section-inclinometro .section-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}

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

.inclinometro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.inclinometro-text {
    padding-right: 40px;
}

.inclinometro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.inclinometro-text .tagline {
    font-size: 1.2rem;
    color: #ffc107;
    margin-bottom: 30px;
}

.inclinometro-features {
    list-style: none;
    margin-bottom: 30px;
}

.inclinometro-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.inclinometro-features li i {
    color: var(--success);
}

.inclinometro-image {
    position: relative;
}

.inclinometro-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(239, 68, 68, 0.2);
}

.inclinometro-badge {
    position: absolute;
    bottom: -20px;
    left: 30px;
    padding: 15px 25px;
    background: var(--danger);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.inclinometro-badge span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

.inclinometro-badge small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* === Clientes Section - Confían en Nosotros === */
.section-clientes {
    background: var(--gray-light);
    overflow: hidden;
}

/* Grid de Clientes - 5 columnas */
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 100%;
    overflow: hidden;
}

/* Carrusel legacy (oculto) */
.clientes-carousel {
    position: relative;
    display: none;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.clientes-viewport {
    flex: 1;
    overflow: hidden;
}

.clientes-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    color: var(--secondary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--secondary);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.cliente-logo {
    padding: 8px;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cliente-logo:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cliente-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
    padding: 5px;
}

.cliente-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.cliente-logo span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
}

.cliente-logo-text {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.cliente-logo-text span {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.cliente-logo-text:hover span {
    opacity: 1;
}

@media (max-width: 1200px) {
    .clientes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .cliente-logo {
        aspect-ratio: 1;
        height: auto;
        padding: 10px;
        width: 100%;
        min-width: 0;
    }
    
    .cliente-logo img {
        max-height: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .cliente-logo {
        aspect-ratio: 1;
        height: auto;
        padding: 8px;
    }
    
    .cliente-logo img {
        max-height: 100%;
        max-width: 100%;
    }
}

.clientes-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cliente-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.08);
    transition: var(--transition-normal);
}

.cliente-cat:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.cliente-cat i {
    font-size: 2rem;
    color: var(--primary);
}

.cliente-cat span {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* === Trabaja con Nosotros Section === */
.section-trabaja {
    background: linear-gradient(135deg, #0a1525 0%, #0f2840 25%, #1a3a5c 50%, #0f2840 75%, #0a1525 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

.section-trabaja::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220, 53, 69, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(77, 184, 217, 0.25) 0%, transparent 50%);
    pointer-events: none;
    animation: pulseBg 8s ease-in-out infinite;
}

.section-trabaja::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(77, 184, 217, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: dotPulse 4s ease-in-out infinite, dotColorShift 8s ease-in-out infinite;
}

.trabaja-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.trabaja-text .section-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}

.trabaja-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.trabaja-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.trabaja-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trabaja-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.trabaja-benefits i {
    color: var(--success);
    font-size: 1.1rem;
}

.trabaja-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.trabaja-form-wrapper h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trabaja-form-wrapper h3 i {
    color: var(--primary);
}

.trabaja-form .form-group {
    margin-bottom: 15px;
}

.trabaja-form input,
.trabaja-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.trabaja-form input:focus,
.trabaja-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px dashed rgba(0,0,0,0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-light);
    font-weight: 500;
}

.file-upload:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.file-upload input[type="file"] {
    display: none;
}

.btn-block {
    width: 100%;
}

/* === Trabaja con Nosotros Page === */
.section-trabaja-page {
    background: var(--gray-light);
    padding: 80px 0;
}

.trabaja-intro {
    text-align: center;
    margin-bottom: 60px;
}

.trabaja-intro p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.trabaja-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.trabaja-info {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.trabaja-info h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trabaja-info h3 i {
    color: var(--primary);
}

.trabaja-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.trabaja-benefits-list li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trabaja-benefits-list li:last-child {
    border-bottom: none;
}

.trabaja-benefits-list li i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 3px;
}

.trabaja-benefits-list li strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.trabaja-benefits-list li p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.trabaja-location {
    background: var(--gray-light);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.trabaja-location h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trabaja-location h4 i {
    color: var(--primary);
}

.trabaja-location p {
    margin: 0;
    color: var(--text-light);
}

.trabaja-form-container {
    position: sticky;
    top: 100px;
}

.trabaja-form-container .trabaja-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.trabaja-form-container .form-intro {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.trabaja-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.9rem;
}

.trabaja-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: white;
    cursor: pointer;
}

.trabaja-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.trabaja-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 992px) {
    .trabaja-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trabaja-form-container {
        position: static;
    }
}

@media (max-width: 576px) {
    .trabaja-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .trabaja-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trabaja-text h2 {
        font-size: 2rem;
    }
    
    .clientes-categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .cliente-cat {
        min-width: 0;
        padding: 15px 10px;
    }
    
    .cliente-cat i {
        font-size: 1.6rem;
    }
    
    .cliente-cat span {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* === Marcas Section === */
.section-marcas {
    background: white;
}

.marcas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.marca-item {
    position: relative;
    padding: 30px 40px;
    background: var(--gray-light);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    min-width: 180px;
    text-align: center;
}

.marca-item:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: var(--shadow-md);
}

.marca-item.exclusivo {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), white);
}

.marca-item img {
    max-height: 50px;
    width: auto;
    margin: 0 auto;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.marca-item:hover img {
    opacity: 1;
}

.marca-item span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

.marca-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 12px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

@media (max-width: 1024px) {
    .marcas-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .marca-item {
        min-width: unset;
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .marcas-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .marca-item {
        min-width: unset;
        padding: 18px 12px;
    }
    
    .marca-item img {
        max-height: 35px;
    }
    
    .marca-badge {
        position: static;
        display: block;
        margin-top: 8px;
        padding: 3px 8px;
        font-size: 0.6rem;
        text-align: center;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .marcas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .marca-item {
        padding: 14px 10px;
    }
    
    .marca-item img {
        max-height: 30px;
    }
    
    .marca-item span {
        font-size: 1rem;
    }
}

/* === Equipo / Videos Section === */
.section-equipo {
    background: var(--gray-light);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-normal);
    color: white;
}

.video-thumbnail:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.video-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Contacto Section === */
.section-contacto {
    background: white;
}

/* Contacto Simplificado */
.contacto-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.contacto-card-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
    background: var(--gray-light);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    min-width: 180px;
    max-width: 220px;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.contacto-card-simple:hover {
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contacto-card-simple .contacto-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.contacto-card-simple h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.contacto-card-simple p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.contacto-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
}

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

/* Contacto Grid - para versión completa */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--gray-light);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.contacto-card:hover {
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contacto-icon {
    width: 55px;
    height: 55px;
    background: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    color: white;
}

.contacto-text h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contacto-text a,
.contacto-text p {
    font-size: 1rem;
    color: var(--text-dark);
}

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

.contacto-form-wrapper {
    padding: 40px;
    background: var(--gray-light);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select option {
    background: white;
}

.mapa-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* === Footer Moderno === */
.footer-modern {
    background: linear-gradient(180deg, #0a1628 0%, #0f172a 50%, #0a0f1a 100%);
    padding: 80px 0 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa, #3b82f6, #2563eb);
    background-size: 200% 100%;
    animation: gradientShift 5s ease infinite;
}

.footer-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Brand Column */
.footer-brand-col {
    padding-right: 40px;
}

.footer-logo-large {
    max-height: 55px;
    width: auto;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Products Column */
.footer-products-col h4,
.footer-contact-col h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
}

.footer-products-grid {
    display: flex;
    gap: 50px;
}

.footer-products-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-products-grid li {
    margin-bottom: 14px;
}

.footer-products-grid a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-products-grid a:hover {
    color: var(--primary);
}

/* Contact Column */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.footer-contact-info li:hover {
    transform: scale(1.08);
}

.footer-contact-info i {
    color: var(--primary);
    width: 18px;
    margin-top: 3px;
    font-size: 0.95rem;
}

.footer-contact-info a,
.footer-contact-info span {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-contact-info a::after,
.footer-contact-info span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-contact-info li:hover a,
.footer-contact-info li:hover span {
    color: white;
}

.footer-contact-info li:hover a::after,
.footer-contact-info li:hover span::after {
    width: 100%;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-copyright p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright a {
    color: var(--primary);
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand-col {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-products-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 60px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-brand-col {
        grid-column: span 1;
    }
    
    .footer-products-col h4,
    .footer-contact-col h4 {
        text-align: center;
    }
    
    .footer-products-grid {
        justify-content: center;
        gap: 40px;
    }
    
    .footer-contact-info li {
        justify-content: center;
        text-align: left;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 25px;
    }
}

/* === WhatsApp Float Button === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

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

/* === Cart Sidebar === */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: white;
    border-left: 1px solid rgba(0,0,0,0.1);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.cart-close {
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-full);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-normal);
}

.cart-close:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--gray-light);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h5 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.cart-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-normal);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.5);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* === Modals === */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 20px;
}

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

.modal {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

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

.modal-lg {
    max-width: 800px;
}

.modal-xl {
    max-width: 1000px;
}

.modal-video {
    max-width: 900px;
    background: transparent;
    border: none;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--secondary);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-full);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.modal-body {
    padding: 25px;
}

.modal-video .modal-close {
    position: absolute;
    top: -50px;
    right: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

/* === Animations - AOS-like === */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* === Text Helpers === */
.text-center {
    text-align: center;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .nosotros-grid,
    .inclinometro-content,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .inclinometro-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .nosotros-features {
        grid-template-columns: 1fr;
    }
    
    .image-badge {
        width: 90px;
        height: 90px;
        bottom: -10px;
        right: -10px;
    }
    
    .image-badge .number {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .producto-actions {
        flex-direction: column;
    }
    
    .inclinometro-badge {
        left: 15px;
    }
    
    .contacto-cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .contacto-card-simple {
        width: 100%;
        max-width: 100%;
    }
    
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* === Selection === */
::selection {
    background: var(--primary);
    color: white;
}

/* =============================================
   MOBILE MENU - REDESIGNED FROM SCRATCH
   ============================================= */
@media (max-width: 768px) {
    /* Logo más chico en mobile */
    .navbar-logo img {
        height: 38px;
    }
    
    /* Reset underline pseudo-elements for mobile links */
    .navbar-menu > li > a::before,
    .navbar-menu > li > a::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Ensure FontAwesome icons are visible in mobile menu */
    .navbar-menu i,
    .navbar-menu .fas,
    .navbar-menu .fab,
    .navbar-menu .fa,
    .dropdown-menu i,
    .dropdown-menu .fas,
    .dropdown-menu .fab {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
        font-style: normal;
        font-weight: 900;
    }
    
    .dropdown-menu .fab {
        font-weight: 400;
        font-family: "Font Awesome 6 Brands" !important;
    }
    
    /* Full screen overlay menu */
    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0f2137;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 80px 40px 40px;
        transform: scale(0.95);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .navbar-menu.active {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    /* Menu items */
    .navbar-menu > li {
        width: 100%;
        max-width: 300px;
        text-align: center;
        border: none !important;
        margin: 6px 0;
        padding: 0;
    }
    
    .navbar-menu > li > a {
        color: #ffffff !important;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 16px 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        text-decoration: none;
        border-radius: 50px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s ease;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    .navbar-menu > li > a:hover {
        background: #dc3545;
        border-color: #dc3545;
        color: #ffffff !important;
        transform: scale(1.02);
    }
    
    /* Dropdown arrow - ensure visibility */
    .navbar-menu > li > a i.fa-chevron-down {
        font-size: 0.7rem;
        transition: transform 0.3s;
        opacity: 1;
        margin-left: 5px;
    }
    
    .has-dropdown.active > a {
        background: rgba(220, 53, 69, 0.2);
        border-color: rgba(220, 53, 69, 0.4);
    }
    
    .has-dropdown.active > a i.fa-chevron-down {
        transform: rotate(180deg);
    }
    
    /* Dropdown container */
    .has-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(0,0,0,0.4);
        border-radius: 16px;
        margin-top: 10px;
        padding: 0;
        width: 100%;
        max-width: 300px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.4s ease;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.05);
    }
    
    .has-dropdown.active .dropdown-menu {
        max-height: 800px;
        padding: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-menu li {
        border: none !important;
        margin: 4px 0;
    }
    
    .dropdown-menu li a {
        color: #ffffff !important;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        gap: 14px;
        text-decoration: none;
        border-radius: 10px;
        background: rgba(255,255,255,0.05);
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dropdown-menu li a:hover {
        background: #dc3545;
        color: #ffffff !important;
        transform: translateX(4px);
    }
    
    .dropdown-menu li a:hover i {
        background: rgba(255,255,255,0.2);
        color: #ffffff;
    }
    
    .dropdown-menu li a i {
        color: #ffffff;
        width: 32px;
        height: 32px;
        min-width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        background: #dc3545;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    /* Toggle button */
    .navbar-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
    
    .navbar-toggle span {
        width: 24px;
        height: 2px;
        background: #1a3a5c;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .navbar-toggle.active span {
        background: #ffffff;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hide WhatsApp button in navbar */
    .btn-whatsapp-nav {
        display: none !important;
    }
    
    /* Navbar actions - show search only */
    .navbar-actions {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-right: 10px;
    }
    
    .navbar-actions .cart-btn {
        display: none;
    }
    
    .navbar-search {
        display: flex;
    }
    
    .search-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* =============================================
   FOOTER MOBILE - IMPROVED STYLES
   ============================================= */
.footer-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-products-list li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.footer-products-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-products-list li a:hover {
    color: white;
    transform: scale(1.08);
}

.footer-products-list li a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 50px 0 30px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand-col {
        order: 1;
    }
    
    .footer-products-col {
        order: 2;
    }
    
    .footer-contact-col {
        order: 3;
    }
    
    .footer-logo-large {
        margin: 0 auto 20px;
        max-width: 180px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-products-col h4,
    .footer-contact-col h4 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    
    .footer-products-list {
        align-items: center;
        gap: 12px;
    }
    
    .footer-products-list li a {
        font-size: 1rem;
        padding: 8px 20px;
        background: rgba(255,255,255,0.05);
        border-radius: 20px;
        display: inline-block;
    }
    
    .footer-products-list li a:hover {
        background: var(--primary);
        color: #fff;
        padding-left: 20px;
    }
    
    .footer-contact-info {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-contact-info li {
        justify-content: flex-start;
    }
    
    .footer-contact-info i {
        min-width: 30px;
        text-align: center;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        padding-top: 30px;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
    
    /* WhatsApp float smaller on mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}
