/* ==========================================================================
   DISEÑO DE BÁSCULAS Y MÁQUINAS DE COLOMBIA - HOJA DE ESTILOS PRINCIPAL
   ========================================================================== */

/* Variables del Sistema de Diseño */
:root {
    /* Paleta de Colores */
    --color-primary: #1E40AF;       /* Azul Royal */
    --color-primary-dark: #1E3A8A;  /* Azul Oscuro */
    --color-accent: #00D2FF;        /* Azul Eléctrico / Celeste */
    --color-dark: #0F172A;          /* Charcoal (Negro suave) */
    --color-darker: #020617;        /* Negro profundo */
    --color-light: #F8FAFC;         /* Blanco grisáceo */
    --color-grey-light: #E2E8F0;    /* Gris de borde */
    --color-grey: #64748B;          /* Gris medio */
    --color-success: #10B981;      /* Verde WhatsApp / Éxito */
    
    /* Degradados Premium */
    --gradient-primary: linear-gradient(135deg, #020617 0%, #1E40AF 100%);
    --gradient-accent: linear-gradient(135deg, #1E40AF 0%, #00D2FF 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #020617 100%);
    --gradient-card: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(2, 6, 23, 0.05) 100%);
    
    /* Tipografía */
    --font-titles: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Sombras y Efectos */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-accent: 0 10px 20px -5px rgba(0, 210, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 700;
    line-height: 1.2;
}

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

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

li {
    list-style: none;
}

/* ==========================================================================
   ESTILOS DE DISEÑO COMUNES / UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--color-darker);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0.75rem auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-darker);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 210, 255, 0.6);
    background-color: #00b8e6;
    color: var(--color-darker);
}

/* Shimmer Shine Effect (Brillo Sutil) */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(30deg);
    transition: none;
    animation: shine 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

.hero-phone-link {
    color: var(--color-light);
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
    margin-left: 1rem;
}

.hero-phone-link:hover {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-light);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--color-darker);
    color: var(--color-light);
}

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

/* ==========================================================================
   HEADER (Navegación)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 0.7rem 0;
    background: rgba(2, 6, 23, 0.95);
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo SVG y Texto */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-light);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Menú de Navegación */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item.dropdown {
    position: static !important;
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    font-family: var(--font-titles);
    font-weight: 500;
    color: var(--color-light);
    opacity: 0.85;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Ocultar botones de flecha en desktop */
.dropdown-toggle-btn, .submenu-toggle-btn {
    display: none;
}

/* Contenedor Mega Menú */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--color-accent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
    z-index: 999;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

/* Estilos de barra de scroll para el Mega Menú */
.mega-menu::-webkit-scrollbar {
    width: 6px;
}
.mega-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.mega-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.mega-menu::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Mostrar Mega Menú al pasar el cursor (Desktop) */
@media (min-width: 769px) {
    .nav-item.dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.25rem;
}

/* Reajuste para pantallas de laptops y tablets en horizontal */
@media (max-width: 1200px) and (min-width: 769px) {
    .mega-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
}

.category-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-category-title {
    font-family: var(--font-titles);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-category-title:hover {
    color: var(--color-light);
}

.mega-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-family-item {
    margin-bottom: 0.25rem;
}

.mega-family-link {
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.mega-family-link:hover {
    color: var(--color-accent);
}

.mega-product-sublist {
    list-style: none;
    padding-left: 0.75rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-product-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
    padding: 0.15rem 0;
}

.mega-product-link:hover {
    color: var(--color-accent);
    padding-left: 0.25rem;
}

.mega-product-link-direct {
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-light);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.mega-product-link-direct:hover {
    color: var(--color-accent);
}

/* Hamburguesa Menú Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION (Home)
   ========================================================================== */
.hero {
    background: var(--gradient-primary);
    position: relative;
    padding: 11rem 0 8rem 0;
    color: var(--color-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(30, 64, 175, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Escudo/Grafico de Maquinaria SVG */
.hero-svg-wrapper {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

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

/* ==========================================================================
   PRODUCTOS / SERVICIOS DESTACADOS (Home Grid)
   ========================================================================== */
.services-section {
    background-color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-grey-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.4rem;
    color: var(--color-darker);
    margin-bottom: 1rem;
}

.service-card-desc {
    color: var(--color-grey);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-link {
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   SECCIÓN SOBRE NOSOTROS (Home CTA)
   ========================================================================== */
.about-teaser {
    background: var(--gradient-dark);
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.about-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-teaser-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-teaser-desc {
    opacity: 0.85;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-grey-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-teaser-visual {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.about-teaser-visual img {
    width: 100%;
    transition: var(--transition);
}

.about-teaser-visual:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-section {
    background: #FFFFFF;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--color-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--color-grey-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-stars {
    color: #F59E0B; /* Dorado */
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--color-grey-light);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-titles);
}

.testimonial-name {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--color-darker);
    font-size: 1rem;
}

.testimonial-company {
    font-size: 0.8rem;
    color: var(--color-grey);
}

/* ==========================================================================
   PAGINAS DE SERVICIO (Tostadoras, Molinos, Basculas, Procesamiento)
   ========================================================================== */
.service-hero {
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 10rem 0 5rem 0;
    position: relative;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.service-hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-hero-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--font-titles);
    font-weight: 600;
}

/* Cuadrícula de modelos / catálogo */
.catalog-section {
    background: var(--color-light);
}

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

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-grey-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    height: 250px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-grey-light);
}

.product-image-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.product-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.3rem;
    color: var(--color-darker);
    margin-bottom: 0.75rem;
}

.product-card-desc {
    color: var(--color-grey);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Fichas Técnicas */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.specs-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-grey-light);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--color-dark);
}

.specs-table td:last-child {
    text-align: right;
    color: var(--color-grey);
}

/* ==========================================================================
   PÁGINA QUIÉNES SOMOS
   ========================================================================== */
.about-hero {
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 10rem 0 5rem 0;
    text-align: center;
}

.about-features {
    background: #FFFFFF;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.about-feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-grey-light);
    transition: var(--transition);
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.about-feature-card .icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 1.5rem auto;
    color: var(--color-primary);
}

.about-values-section {
    background: var(--color-light);
}

.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-grey-light);
}

.value-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--color-accent);
}

.value-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--color-darker);
}

.value-item p {
    color: var(--color-grey);
    font-size: 0.9rem;
}

/* ==========================================================================
   PÁGINA CONTACTO
   ========================================================================== */
.contact-hero {
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 10rem 0 5rem 0;
    text-align: center;
}

.contact-section {
    background: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

/* Datos de contacto */
.contact-info-card {
    background: var(--gradient-dark);
    color: var(--color-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info-desc {
    opacity: 0.8;
    font-size: 0.95rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.contact-detail-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-detail-content p, .contact-detail-content a {
    color: var(--color-grey-light);
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-detail-content a:hover {
    color: var(--color-accent);
}

/* Formulario Moderno */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-grey-light);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--color-darker);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--color-grey-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    background: var(--color-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

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

.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border: 1px solid var(--color-success);
    display: block;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid #EF4444;
    display: block;
}

/* ==========================================================================
   PAGINAS LEGALES (Políticas)
   ========================================================================== */
.legal-hero {
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 10rem 0 4rem 0;
    text-align: center;
}

.legal-content {
    background: white;
}

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

.legal-text-wrapper h2 {
    font-size: 1.6rem;
    color: var(--color-darker);
    margin: 2rem 0 1rem 0;
}

.legal-text-wrapper p {
    color: var(--color-grey);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.legal-text-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-text-wrapper li {
    list-style: disc;
    color: var(--color-grey);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   FOOTER (Pie de página)
   ========================================================================== */
.site-footer {
    background: var(--color-darker);
    color: var(--color-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    padding: 5rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr 1.3fr;
    gap: 4rem;
}

.footer-brand-logo {
    margin-bottom: 1.5rem;
}

.footer-brand-desc {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-darker);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-titles);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--color-grey-light);
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 0.25rem;
}

/* Columna de Ubicación y Mapa */
.footer-map-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-info {
    font-size: 0.9rem;
    color: var(--color-grey-light);
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-map-container {
    width: 100%;
    height: 150px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--color-grey);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    color: var(--color-grey);
}

.footer-legal-link:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   WIDGET FLOTANTE DE WHATSAPP (Diseño Premium)
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial de WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.4;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

.whatsapp-floating:hover {
    transform: scale(1.1) translateY(-3px) rotate(8deg);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

.whatsapp-floating svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ==========================================================================
   MERCADO LIBRE TRUST SECTION
   ========================================================================== */
.meli-trust-section {
    background-color: var(--color-light);
    border-top: 1px solid var(--color-grey-light);
    border-bottom: 1px solid var(--color-grey-light);
    position: relative;
    overflow: hidden;
}

.meli-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.meli-trust-info .badge {
    background: rgba(30, 64, 175, 0.08); 
    color: var(--color-primary); 
    border: 1px solid rgba(30, 64, 175, 0.25); 
    font-weight: 700; 
    font-size: 0.85rem; 
    padding: 0.35rem 1rem; 
    border-radius: 50px; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-bottom: 1.5rem;
}

/* Insignia Meli en fondo oscuro (Hero) */
.badge-meli {
    background: rgba(0, 210, 255, 0.1) !important;
    color: #00D2FF !important;
    border: 1px solid rgba(0, 210, 255, 0.3) !important;
}
.badge-meli svg {
    color: #00D2FF !important;
}

/* Insignia Meli en el Footer */
.footer-meli-badge {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.12) !important;
    border: 1px solid rgba(30, 64, 175, 0.3) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--color-light) !important;
    text-decoration: none;
}
.footer-meli-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-light) !important;
    font-family: var(--font-titles);
}
.footer-meli-badge .meli-badge-dot {
    background-color: #00D2FF !important;
}

/* Imágenes de producto cargadas dinámicamente */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}


.meli-badge-dot {
    width: 8px; 
    height: 8px; 
    background-color: var(--color-success); 
    border-radius: 50%; 
    display: inline-block;
}

.meli-trust-info p {
    color: var(--color-grey); 
    margin-bottom: 1.5rem; 
    font-size: 1.05rem; 
    line-height: 1.7;
}

.meli-trust-buttons {
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap;
    margin-top: 2rem;
}

.meli-cards-container {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem;
}

.meli-card {
    background: white; 
    border-radius: var(--border-radius); 
    padding: 2rem; 
    border: 1px solid var(--color-grey-light); 
    box-shadow: var(--shadow-sm); 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    position: relative; 
    overflow: hidden;
}

.meli-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 64, 175, 0.2);
}

.meli-card-indicator-green {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 5px; 
    background: var(--color-success);
}

.meli-card-indicator-accent {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 5px; 
    background: var(--color-accent);
}

.meli-card-num-blue {
    color: #2D3277; 
    font-weight: 800; 
    font-size: 2.8rem; 
    font-family: var(--font-titles); 
    line-height: 1; 
    margin-bottom: 0.5rem;
}

.meli-card-num-primary {
    color: var(--color-primary); 
    font-weight: 800; 
    font-size: 2.8rem; 
    font-family: var(--font-titles); 
    line-height: 1; 
    margin-bottom: 0.5rem;
}

.meli-card-title {
    font-weight: 700; 
    color: var(--color-darker); 
    font-size: 1.1rem; 
    margin-bottom: 0.5rem; 
    font-family: var(--font-titles);
}

.meli-card-text {
    color: var(--color-grey); 
    font-size: 0.85rem; 
    line-height: 1.4;
}

.meli-card-badge-row {
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-bottom: 0.5rem;
}

.meli-card-badge-text {
    font-weight: 800; 
    color: var(--color-success); 
    font-size: 1.3rem; 
    font-family: var(--font-titles);
}


/* ==========================================================================
   CARRUSEL DE IMÁGENES DE PRODUCTO
   ========================================================================== */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-carousel img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background: white;
    padding: 10px;
}

.product-carousel img.active {
    opacity: 1;
    z-index: 1;
}

.product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(2, 6, 23, 0.55);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
}

.product-carousel .carousel-btn:hover {
    background: rgba(30, 64, 175, 0.85);
}

.product-carousel .carousel-btn.prev { left: 8px; }
.product-carousel .carousel-btn.next { right: 8px; }

.product-carousel .carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
}

.product-carousel .carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.product-carousel .carousel-dots span.active {
    background: var(--color-accent);
}

/* ==========================================================================
   RESPONSIVO (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-map-col { grid-column: span 2; }
    .about-teaser-grid { grid-template-columns: 1fr; gap: 3rem; }
    .meli-trust-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    
    /* Menú hamburguesa */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-darker);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 4rem 2rem;
        gap: 1.2rem;
        z-index: 1050;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.15rem;
        width: auto;
        padding: 0;
    }

    .dropdown-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        color: var(--color-light);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    
    .dropdown-toggle-btn:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .nav-item.active .dropdown-toggle-btn {
        transform: rotate(180deg);
        background: var(--color-accent);
        color: var(--color-darker);
    }
    
    .submenu-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        color: var(--color-light);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    
    .mega-menu-col.active .submenu-toggle-btn {
        transform: rotate(180deg);
        background: var(--color-accent);
        color: var(--color-darker);
    }

    /* Mega Menú en Móvil */
    .mega-menu {
        position: static;
        width: 100%;
        background: transparent;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        transition: none;
    }
    
    .nav-item.active .mega-menu {
        display: block;
    }
    
    .mega-menu-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: none;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem 0.5rem 0.5rem 1rem;
        border-left: 2px solid rgba(255, 255, 255, 0.05);
    }
    
    .category-header-wrapper {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
        border-bottom: none;
    }
    
    .mega-category-title {
        font-size: 1rem;
    }
    
    .mega-submenu {
        display: none;
        padding-left: 1rem;
        border-left: 1px dashed rgba(255, 255, 255, 0.1);
        margin-bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .mega-menu-col.active .mega-submenu {
        display: flex;
    }
    
    .mega-family-link {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .mega-product-sublist {
        padding-left: 0.5rem;
    }
    
    .mega-product-link {
        font-size: 0.8rem;
    }
    
    .mega-product-link-direct {
        font-size: 0.9rem;
    }
    
    .nav-menu .nav-cta-item {
        width: 100%;
        margin-top: 1rem;
    }
    
    .nav-menu .nav-cta-item .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Hamburger animada al abrir */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Layouts en móvil */
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hero-ctas { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-visual { order: 1; }
    
    .service-hero-grid { grid-template-columns: 1fr; text-align: center; }
    
    .about-features-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-map-col { grid-column: span 1; }
    
    .footer-bottom-container { flex-direction: column; gap: 1rem; text-align: center; }
    
    .whatsapp-floating { bottom: 1.5rem; right: 1.5rem; width: 50px; height: 50px; }
    .whatsapp-floating svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .meli-cards-container { grid-template-columns: 1fr; }
}

/* Helper para ruta de imagen local */
.img-path-helper {
    font-size: 0.75rem;
    color: var(--color-grey);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(30, 64, 175, 0.05);
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px dashed rgba(30, 64, 175, 0.15);
    align-self: flex-start;
}
.img-path-helper strong {
    color: var(--color-primary);
    font-family: monospace;
    font-size: 0.8rem;
}


.product-image svg {
    color: var(--color-primary) !important;
}
.product-carousel img {
    background: #ffffff;
    padding: 10px;
}

/* ==========================================================================
   HERO CAROUSEL STYLE
   ========================================================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 350px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border: 4px solid rgba(255,255,255,0.15);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: block; /* Force override for helper rules */
}

.hero-carousel img.active {
    opacity: 1;
    z-index: 2;
}

.hero-carousel svg.fallback-svg {
    position: absolute;
    width: 60%;
    height: 60%;
    color: var(--color-primary) !important;
    display: block;
    z-index: 1;
}

.hero-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(2, 6, 23, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.hero-carousel .carousel-btn:hover {
    background: var(--color-primary);
}

.hero-carousel .carousel-btn.prev { left: 12px; }
.hero-carousel .carousel-btn.next { right: 12px; }

.hero-carousel .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-carousel .carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-carousel .carousel-dots span.active {
    background: var(--color-primary);
}

/* ==========================================================================
   BARRA STICKY DE CATEGORÍAS Y CLUSTERS DE PRODUCTOS (HOME)
   ========================================================================== */

.category-sticky-bar {
    position: sticky;
    top: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-grey-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    z-index: 100;
    transition: var(--transition);
}

.sticky-bar-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.sticky-bar-wrapper::-webkit-scrollbar {
    display: none;
}

.sticky-bar-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sticky-bar-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--color-light);
    color: var(--color-darker);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-grey-light);
}

.sticky-bar-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .category-sticky-bar {
        top: 60px;
    }
    .sticky-bar-wrapper {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    .sticky-bar-link {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/* --- Cluster Cards (Home) --- */
.clusters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.cluster-card {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-grey-light);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.cluster-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--color-primary-light);
}

.cluster-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-grey-light);
}

.cluster-card-icon {
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-grey-light);
    flex-shrink: 0;
}

.cluster-card-title {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0;
}

.cluster-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cluster-product-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.cluster-product-list li:last-child {
    border-bottom: none;
}

.cluster-product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.5rem;
    color: var(--color-darker);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border-radius: 6px;
}

.cluster-product-link::after {
    content: '→';
    font-size: 1rem;
    color: var(--color-grey);
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateX(-6px);
}

.cluster-product-link:hover {
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding-left: 1rem;
}

.cluster-product-link:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .clusters-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .cluster-card {
        padding: 1.25rem;
    }
    .cluster-card-title {
        font-size: 1.15rem;
    }
    .cluster-product-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.25rem;
    }
}
