/* ==========================================================================
   Design System Variables (OWL System Architecture)
   ========================================================================== */
:root {
    /* ── Colors: Brand ── */
    --color-bg-main: #000000;
    --color-primary: #ffd319;
    --color-primary-hover: #ffc700;
    --color-secondary: #4da6ff;
    
    /* ── Colors: Text ── */
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    
    /* ── Colors: Glass & UI ── */
    --color-glass-bg: rgba(20, 20, 20, 0.6);
    --color-glass-border: rgba(255, 255, 255, 0.08);

    /* ── Typography: Families ── */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* ── Typography: Sizes (Major Second Ratio) ── */
    --text-2xs: 0.65rem;
    --text-xs: 0.8rem;
    --text-sm: 0.9rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.4rem;
    --text-2xl: 1.6rem;
    --text-3xl: 1.8rem;
    --text-4xl: 2.0rem;
    --text-5xl: 2.25rem;

    /* ── Layout & Breakpoints ── */
    /* Reference: sm: 576px, md: 768px, lg: 992px, xl: 1200px */
    --layout-container-max: 1440px;
    --layout-header-height: 80px;

    /* ── Spacing (Base 4px/8px) ── */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* ── Shadows & Effects ── */
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glass-hover: 0 15px 30px rgba(0, 0, 0, 0.4);
    
    /* ── Border Radii ── */
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 296px;
    
    /* ── Transitions ── */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-24) var(--space-5) var(--space-10);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: 72%;
    /* Incrementado un 30% (de 55% a 72%) */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}


/* Capa de oscurecimiento y difuminado de fondo */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(20, 20, 20, 0.35) 0%, #000000 100%);
    z-index: 0;
    /* Colocado detrás de la marca de agua */
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    position: relative;
    z-index: 2;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Encabezado */
.header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

/* Contenedor del Logo con Efecto de Resplandor */
.logo-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 211, 25, 0.25) 0%, rgba(255, 211, 25, 0) 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 12px 24px rgba(255, 211, 25, 0.4));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text-main);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.brand-name span {
    color: var(--color-primary);
    margin-left: var(--space-2);
    position: relative;
    display: inline-block;
}

/* Indicador de Estado En Construcción */
.badge-status {
    background: rgba(255, 211, 25, 0.1);
    border: 1px solid rgba(255, 211, 25, 0.25);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: 0 4px 15px rgba(255, 211, 25, 0.05);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulseDot 1.5s infinite ease-in-out;
}

/* Tarjeta Principal (Glassmorphic) */
.main-card {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-16) var(--space-12);
    box-shadow: var(--shadow-premium);
    transform: translateZ(0);
    will-change: transform, backdrop-filter;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    position: relative;
    overflow: hidden;
}

/* Línea decorativa superior */
.main-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Sección Introductoria */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-section h2 {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Grid de Misión y Visión */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.mv-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: var(--space-10) var(--space-8);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mv-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 211, 25, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 211, 25, 0.1);
    color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-2xl);
    box-shadow: inset 0 2px 5px rgba(255, 211, 25, 0.1);
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: #ffffff;
    font-weight: 600;
}

.mv-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: var(--text-md);
    text-align: justify;
}

/* Sección Pilares */
.pillars-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    text-align: center;
    position: relative;
    padding-bottom: var(--space-3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.pillar-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: var(--transition-smooth);
}

.pillar-item:hover {
    transform: translateY(-3px);
    border-color: rgba(77, 166, 255, 0.3);
    /* Acopla un sutil tono azul */
    background: rgba(255, 255, 255, 0.03);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-secondary);
    opacity: 0.9;
}

.pillar-item h4 {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: 600;
}

.pillar-item p {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Sección de Contacto */
.contact-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--space-10);
}

.contact-section h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
}

.contact-subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    max-width: 600px;
    margin-bottom: var(--space-2);
}

.contact-links {
    display: flex;
    gap: var(--space-5);
    width: 100%;
    max-width: 750px;
    justify-content: center;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn i {
    font-size: var(--text-5xl);
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: var(--space-1);
}

.btn-text strong {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
}

.btn-text span {
    font-size: var(--text-base);
    font-weight: 600;
}

/* Estilo botón Email */
.email-btn {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

.email-btn i {
    color: var(--color-secondary);
}

.email-btn:hover {
    background: rgba(77, 166, 255, 0.08);
    border-color: rgba(77, 166, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(77, 166, 255, 0.1);
}

/* Estilo botón Whatsapp */
.phone-btn {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

.phone-btn i {
    color: #25d366;
    /* Verde Whatsapp */
}

.phone-btn:hover {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.1);
}

/* Pie de Página (Footer) Profesional */
.footer {
    border-top: 1px solid var(--color-glass-border);
    padding-top: var(--space-12);
    margin-top: var(--space-8);
    color: var(--color-text-muted);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-size: var(--text-md);
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-text-main);
}

.footer-desc {
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #000;
    transform: translateY(-3px);
}

.links-col ul,
.contact-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.links-col a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: var(--transition-smooth);
}

.links-col a:hover {
    color: var(--color-primary);
    padding-left: var(--space-2);
}

.contact-col li {
    font-size: var(--text-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.contact-col i {
    color: var(--color-primary);
    margin-top: var(--space-1);
}

.badge-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: var(--text-xs);
}

.footer-legal {
    display: flex;
    gap: var(--space-5);
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--color-text-main);
}

.sello-badge {
    height: 205px;
    /* Agrandado otro 40% adicional (de 147px a 205px) */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transition: var(--transition-smooth);
    animation: hoverFloat 4s infinite alternate ease-in-out;
}

.sello-badge:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   Animaciones Keyframes
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    from {
        transform: scale(0.9);
        opacity: 0.4;
    }

    to {
        transform: scale(1.1);
        opacity: 0.75;
    }
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 211, 25, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 211, 25, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 211, 25, 0);
    }
}

@keyframes hoverFloat {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-6px);
    }
}

/* ==========================================================================
/* ==========================================================================
   Menú de Navegación Fijo (Navbar) y Secciones
   ========================================================================== */

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-glass-border);
    transform: translateZ(0);
    will-change: transform, backdrop-filter;
    z-index: 100;
    padding: var(--space-4) 0;
    transition: var(--transition-smooth);
}

.nav-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.nav-brand-link:hover {
    transform: scale(1.05);
}

.nav-logo-small {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 211, 25, 0.3));
}

.nav-brand-link span {
    color: var(--color-primary);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: var(--space-6);
}

.nav-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    padding: var(--space-3) var(--space-5);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(255, 211, 25, 0.05);
    border-color: rgba(255, 211, 25, 0.3);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 211, 25, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 211, 25, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(255, 211, 25, 0.2);
}

.page-section {
    padding-top: var(--space-20);
    /* Offset para el navbar fijo al scrollear */
    margin-top: calc(var(--space-10) * -1);
    /* Compensación visual */
    margin-bottom: var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: var(--space-10);
}

.page-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* Estilos de la Pestaña de Productos y Clientes */
.products-section,
.clients-section {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, #ffffff 40%, #ffd319 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-10);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid,
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.client-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.client-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 211, 25, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Nuevas cartas de productos - Estilo premium e interactivo */
.product-card {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 211, 25, 0.35); /* Dorado de OWL */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.product-card-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.product-card-category-top {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin-top: 2px;
}

.product-card-image-box {
    width: 100%;
    height: 190px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-image-box {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 211, 25, 0.15);
}

.product-card-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: var(--space-3);
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-image-box img {
    transform: scale(1.04);
}

.product-card-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-3);
}

.info-grid-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-1);
    min-height: 58px;
    transition: var(--transition-smooth);
}

.product-card:hover .info-grid-item {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.06);
}

.info-label {
    font-size: var(--text-2xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.info-value {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-value {
    color: var(--color-primary) !important;
}

.delivery-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
}

.delivery-value {
    color: #00ff88 !important;
}

/* Indicador de velocidad de entrega */
.delivery-indicator {
    display: flex;
    gap: var(--space-1);
    align-items: flex-end;
    height: 10px;
    flex-shrink: 0;
}

.delivery-indicator .bar {
    width: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.delivery-indicator .bar:nth-child(1) { height: 4px; }
.delivery-indicator .bar:nth-child(2) { height: 7px; }
.delivery-indicator .bar:nth-child(3) { height: 10px; }

/* Asignaciones de velocidad */
.delivery-indicator.speed-1 .bar:nth-child(1) { background: #00ff88; }
.delivery-indicator.speed-2 .bar:nth-child(1),
.delivery-indicator.speed-2 .bar:nth-child(2) { background: #00ff88; }
.delivery-indicator.speed-3 .bar:nth-child(1),
.delivery-indicator.speed-3 .bar:nth-child(2),
.delivery-indicator.speed-3 .bar:nth-child(3) { background: #00ff88; }

.client-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
}

.product-desc {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.product-badge {
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-1) var(--space-3);
    border-radius: 50px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.client-card p {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Adaptabilidad Móvil (Responsive)
   ========================================================================== */

@media (max-width: 992px)  {
    body::before {
        background-size: 90%;
        /* Ajuste proporcional para tabletas */
    }

    .main-card {
        padding: var(--space-10) var(--space-8);
    }

    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }

    .products-grid,
    .clients-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .contact-links {
        flex-direction: column;
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 576px)  {
    body::before {
        background-size: cover;
        background-position: center top;
    }

    body {
        padding: var(--space-20) var(--space-3) var(--space-4);
    }

    .nav-container {
        flex-direction: column;
        gap: var(--space-3);
    }

    .nav-menu {
        gap: var(--space-4);
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        gap: var(--space-5);
    }

    .brand-name {
        font-size: var(--text-2xl);
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.2;
    }

    .brand-name span {
        margin-left: 0;
    }

    .badge-status {
        font-size: var(--text-2xs);
        padding: var(--space-2) var(--space-3);
        text-align: center;
    }

    .logo-wrapper {
        width: 90px;
        height: 90px;
    }

    .main-card {
        padding: var(--space-6) var(--space-4);
        gap: var(--space-8);
        border-radius: var(--radius-md);
    }

    .intro-section h2 {
        font-size: var(--text-xl);
    }

    .subtitle {
        font-size: var(--text-md);
    }

    .tab-title {
        font-size: var(--text-2xl);
    }

    .tab-subtitle {
        font-size: var(--text-md);
        margin-bottom: var(--space-6);
    }

    .product-card,
    .client-card,
    .mv-card,
    .pillar-item {
        padding: var(--space-6) var(--space-5);
    }

    .contact-btn {
        padding: var(--space-3) var(--space-4);
        gap: var(--space-3);
        flex-direction: column;
        text-align: center;
    }

    .contact-btn i {
        font-size: var(--text-2xl);
    }

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

    .btn-text span {
        font-size: var(--text-sm);
        word-break: break-word;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-col li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .sello-badge {
        height: 140px;
    }
}

/* ==========================================================================
   Container Harmony Fixes (Equal Heights & Alignment)
   ========================================================================== */

/* Ensures full height in grid tracks */
.product-card, .client-card, .mv-card, .pillar-item {
    height: 100%; 
}

/* Ensure product info grids always align at the bottom of the card */
.product-card-info-grid {
    margin-top: auto;
}

/* Ensures text expands to push any bottom elements down */
.client-card p, .mv-card p, .pillar-item p {
    flex-grow: 1;
}

/* Ensure no overflow breaks out of the card by truncating long titles */
.product-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(var(--text-xl) * 1.25 * 2); /* Reserve space for exactly 2 lines based on line-height */
}

/* For image boxes, ensure images don't overflow */
.product-card-image-box {
    flex-shrink: 0;
}
