/* =========================================================================
   INGENIO TEXTIL — Premium Design System v5.0
   ========================================================================= */

/* =========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================= */
:root {
    /* Brand Colors */
    --red:            #BD0E0D;
    --red-hover:      #9C0B0A;
    --red-dark:       #7A0808;
    --red-alpha:      rgba(189, 14, 13, 0.12);
    --red-glow:       rgba(189, 14, 13, 0.35);

    --dark:           #0F0F0E;
    --dark-mid:       #1A1A18;
    --dark-card:      #1E1E1C;
    --dark-hover:     #252523;

    --gold:           #C9A84C;
    --gold-light:     #DFC06A;
    --gold-alpha:     rgba(201, 168, 76, 0.2);

    /* Neutral Scale */
    --n-50:  #FAFAF8;
    --n-100: #F4F4F2;
    --n-150: #EAEAE8;
    --n-200: #DEDEDE;
    --n-300: #C4C4C2;
    --n-400: #A0A09E;
    --n-500: #787876;
    --n-600: #565654;
    --n-700: #383836;
    --n-800: #242422;
    --n-900: #111110;

    /* Semantic Aliases */
    --primary-color:   var(--red);
    --primary-hover:   var(--red-hover);
    --secondary-color: var(--dark-mid);
    --secondary-hover: var(--dark-hover);
    --accent-color:    var(--gold);
    --text-dark:       var(--n-900);
    --text-light:      var(--n-500);
    --bg-light:        var(--n-50);
    --bg-white:        #FFFFFF;

    /* Fluid Typography */
    --fs-xs:   clamp(0.68rem,  0.65rem + 0.15vw, 0.75rem);
    --fs-sm:   clamp(0.82rem,  0.78rem + 0.2vw,  0.9rem);
    --fs-base: clamp(0.95rem,  0.88rem + 0.35vw, 1.05rem);
    --fs-lg:   clamp(1.1rem,   1rem    + 0.5vw,  1.3rem);
    --fs-xl:   clamp(1.3rem,   1.1rem  + 1vw,    1.7rem);
    --fs-2xl:  clamp(1.6rem,   1.3rem  + 1.5vw,  2.2rem);
    --fs-3xl:  clamp(2rem,     1.6rem  + 2vw,    3rem);
    --fs-4xl:  clamp(2.5rem,   1.8rem  + 3.5vw,  4.2rem);
    --fs-hero: clamp(2.8rem,   1.5rem  + 6.5vw,  6.5rem);

    /* Spacing */
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Border Radius */
    --r-sm:   6px;
    --r-md:   12px;
    --r-lg:   20px;
    --r-xl:   28px;
    --r-full: 9999px;

    /* Shadows */
    --sh-xs: 0 2px 6px  rgba(0,0,0,0.05);
    --sh-sm: 0 4px 16px rgba(0,0,0,0.08);
    --sh-md: 0 8px 28px rgba(0,0,0,0.11);
    --sh-lg: 0 16px 48px rgba(0,0,0,0.15);
    --sh-xl: 0 28px 72px rgba(0,0,0,0.2);
    --sh-red:  0 10px 32px rgba(189,14,13,0.30);
    --sh-gold: 0 10px 32px rgba(201,168,76,0.25);

    /* Transitions */
    --ease-out:    cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-io:     cubic-bezier(0.645, 0.045, 0.355, 1);
    --t-fast: 0.22s var(--ease-out);
    --t-med:  0.42s var(--ease-out);
    --t-slow: 0.65s var(--ease-out);

    /* Legacy aliases */
    --shadow-sm: var(--sh-sm);
    --shadow-md: var(--sh-md);
    --shadow-lg: var(--sh-lg);
    --transition-fast: var(--t-fast);
    --transition-med:  var(--t-med);
}

/* =========================================================================
   GLOBAL RESET & BASE
   ========================================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--sp-4);
}

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: var(--sp-20) 0; }
.text-center     { text-align: center; }
.bg-light        { background-color: var(--bg-light); }

/* Section Labels */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: var(--sp-3);
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--red);
    flex-shrink: 0;
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--sp-6);
    position: relative;
    padding-bottom: var(--sp-5);
    line-height: 1.1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--red);
    border-radius: var(--r-full);
    transition: width var(--t-med);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title:hover::after { width: 80px; }

/* =========================================================================
   SCROLL PROGRESS BAR
   ========================================================================= */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), padding var(--t-fast);
}

.header.scrolled {
    border-bottom-color: var(--n-150);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-5) 0;
    transition: padding var(--t-fast);
}

.header.scrolled .nav-container { padding: var(--sp-3) 0; }

.logo { display: flex; align-items: center; }
.logo img {
    height: 58px;
    object-fit: contain;
    transition: height var(--t-fast);
}
.header.scrolled .logo img { height: 48px; }

.nav-list {
    display: flex;
    gap: var(--sp-8);
    align-items: center;
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--n-700);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--t-fast);
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--red);
    border-radius: var(--r-full);
    transition: width var(--t-fast);
}

.nav-link:hover,
.nav-link.active { color: var(--red); }

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

/* CTA in nav */
.nav-link.nav-cta {
    background: var(--red);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--r-full);
    transition: all var(--t-fast);
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--red-hover); transform: translateY(-1px); }

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--n-100);
    border-radius: var(--r-md);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    color: var(--red);
    transition: background var(--t-fast);
}
.mobile-toggle:hover { background: var(--n-200); }

/* =========================================================================
   FLOATING WHATSAPP
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: all 0.4s var(--ease-bounce);
    animation: wa-pulse 2.5s infinite;
    text-decoration: none;
    overflow: hidden;
    gap: var(--sp-3);
    padding: 0 var(--sp-4);
}

.whatsapp-text {
    display: none;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1) translateY(-4px);
    animation: none;
    box-shadow: 0 16px 48px rgba(18, 140, 126, 0.45);
}

@keyframes wa-pulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-8px) scale(1.02); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        left: auto;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border-top: none;
        animation: wa-pulse 2.5s infinite;
        padding: 0;
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.15);
        justify-content: center;
    }
    .whatsapp-text { display: none; }
    .whatsapp-float i { font-size: 1.8rem; }
    .whatsapp-float:hover { transform: scale(1.1) translateY(-4px); }
    .footer { padding-bottom: 0 !important; }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-primary,
.btn-secondary,
.btn-submit,
.btn-cotizar,
.btn-hero,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 0.85rem 2rem;
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--t-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
}

/* Primary — Dark */
.btn-primary {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    box-shadow: var(--sh-sm);
}
.btn-primary:hover {
    background: var(--dark-hover);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

/* Secondary — White */
.btn-secondary {
    background: white;
    color: var(--red);
    border-color: white;
}
.btn-secondary:hover {
    background: var(--n-100);
    transform: translateY(-2px);
}

/* Hero — Red vivid */
.btn-hero {
    background: linear-gradient(135deg, var(--red), #E31313);
    color: white !important;
    border-color: rgba(255,255,255,0.2);
    box-shadow: var(--sh-red);
    animation: pulse-hero 3s infinite;
}
.btn-hero:hover {
    background: linear-gradient(135deg, white, var(--n-100));
    color: var(--red) !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(189,14,13,0.4);
    animation: none;
}

/* Hero Outline */
.btn-hero-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
    transform: translateY(-2px);
}

/* Cotizar — Dark gradient */
.btn-cotizar {
    background: linear-gradient(135deg, var(--dark), var(--dark-hover));
    color: white;
    width: 100%;
    justify-content: center;
    box-shadow: var(--sh-sm);
}
.btn-cotizar:hover {
    background: linear-gradient(135deg, var(--dark-hover), var(--red-hover));
    transform: translateY(-2px);
    box-shadow: var(--sh-red);
}

/* Submit */
.btn-submit {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    width: 100%;
    justify-content: center;
    font-size: var(--fs-base);
    padding: 1rem 2rem;
}
.btn-submit:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}

.btn-large { padding: 1rem 2.5rem; font-size: var(--fs-base); }

@keyframes pulse-hero {
    0%   { box-shadow: var(--sh-red), 0 0 0 0 rgba(189,14,13,0.4); }
    70%  { box-shadow: var(--sh-red), 0 0 0 16px rgba(189,14,13,0); }
    100% { box-shadow: var(--sh-red), 0 0 0 0 rgba(189,14,13,0); }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 10, 9, 0.92) 0%,
        rgba(15, 15, 14, 0.78) 45%,
        rgba(30, 10, 10, 0.55) 75%,
        rgba(189, 14, 13, 0.3) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--sp-16)) 0 var(--sp-10);
}

.hero-content {
    text-align: left;
    max-width: 720px;
    color: white;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: var(--sp-6);
    opacity: 0;
    animation: reveal-up 0.7s 0.2s var(--ease-out) forwards;
}

.hero-eyebrow i { font-size: 0.7rem; }

.hero-content h1 {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.0;
    margin-bottom: var(--sp-3);
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    opacity: 0;
    animation: reveal-up 0.8s 0.4s var(--ease-out) forwards;
}

.hero-content h1 .highlight {
    color: var(--red);
    position: relative;
    display: block;
    text-shadow: 0 0 40px rgba(189, 14, 13, 0.5);
}

.hero-tagline {
    font-size: var(--fs-2xl);
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
    margin-bottom: var(--sp-5);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    opacity: 0;
    animation: reveal-up 0.8s 0.55s var(--ease-out) forwards;
}

.hero-tagline strong {
    font-weight: 800;
    color: white;
}

.hero-content .subtitle {
    font-size: var(--fs-lg);
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--sp-10);
    max-width: 560px;
    line-height: 1.7;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    opacity: 0;
    animation: reveal-up 0.8s 0.65s var(--ease-out) forwards;
}

.hero-ctas {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    opacity: 0;
    animation: reveal-up 0.8s 0.8s var(--ease-out) forwards;
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 9, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: var(--sp-6) 0;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-4);
    text-align: center;
    position: relative;
}

.hero-stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.hero-stat-item:last-child::after { display: none; }

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
    margin-bottom: var(--sp-2);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
}

/* =========================================================================
   SERVICE SUMMARY CARDS
   ========================================================================= */
.services-summary {
    position: relative;
    background: var(--n-50);
    padding: var(--sp-16) 0;
    border-bottom: 1px solid var(--n-150);
}

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

.service-card {
    background: white;
    padding: var(--sp-10) var(--sp-8);
    border-radius: var(--r-md);
    text-align: center;
    box-shadow: var(--sh-sm);
    transition: all var(--t-med);
    border: 1px solid var(--n-200);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med);
}

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

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

.service-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: var(--r-md);
    background: var(--red-alpha);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-6);
    transition: all var(--t-med);
}

.service-card:hover .service-icon-wrap {
    background: var(--red);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--sh-red);
}

.service-icon {
    font-size: 1.8rem;
    color: var(--red);
    transition: color var(--t-fast);
}

.service-card:hover .service-icon { color: white; }

.service-card h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-3);
    transition: color var(--t-fast);
}

.service-card:hover h3 { color: var(--red); }

.service-card p {
    font-size: var(--fs-sm);
    color: var(--text-light);
    line-height: 1.7;
}

/* =========================================================================
   CTA STRIP
   ========================================================================= */
.cta-strip {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-hover) 50%, var(--red-dark) 100%);
    color: white;
    padding: var(--sp-12) 0;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-8);
    position: relative;
}

.cta-flex h2 {
    margin: 0;
    font-size: var(--fs-2xl);
    font-weight: 800;
    flex: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* =========================================================================
   CATALOG PREVIEW
   ========================================================================= */
.catalog-preview { background: var(--bg-white); }

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: var(--sp-10);
}

.preview-card {
    background: white;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--n-150);
    transition: all var(--t-med);
}

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

.preview-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
    display: block;
}

.preview-card:hover img { transform: scale(1.08); }

.preview-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,9,0.85) 0%,
        rgba(10,10,9,0.2) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: var(--sp-6);
    opacity: 0;
    transition: opacity var(--t-med);
}

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

.preview-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: white;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateY(8px);
    transition: transform var(--t-med);
}

.preview-card:hover .preview-overlay-btn { transform: translateY(0); }

.preview-card-info {
    padding: var(--sp-5) var(--sp-6);
}

.preview-card h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-2);
}

.preview-card .btn-text {
    color: var(--red);
    font-weight: 700;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    transition: gap var(--t-fast);
}

.preview-card:hover .btn-text { gap: var(--sp-3); }

/* =========================================================================
   STATS SECTION (dark — numbers animated)
   ========================================================================= */
.stats-section .section-tag {
    color: var(--gold);
}
.stats-section .section-tag::before {
    background: var(--gold);
}
.stats-section .section-title {
    color: white;
}
.stats-section .section-title::after {
    background: var(--gold);
}

.stats-section {
    background: var(--dark);
    padding: var(--sp-20) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--red), var(--gold), var(--red));
}

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

.stat-card {
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background var(--t-fast);
}

.stat-card:last-child { border-right: none; }

.stat-card:hover { background: var(--dark-card); }

.stat-card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: var(--sp-4);
    display: block;
}

.stat-card-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--sp-3);
}

.stat-card-num {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-card-suffix {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}

.stat-card-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--n-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================================================
   SERVICES HOME (dark section — visually differentiated from stats)
   ========================================================================= */
.services-preview-home {
    background: var(--bg-white);
    color: var(--dark);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--red);
}

.services-preview-home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,14,13,0.04) 0%, transparent 65%);
    pointer-events: none;
    transform: translate(120px, -120px);
}

.services-preview-home .section-tag { color: var(--red); }
.services-preview-home .section-tag::before { background: var(--red); }
.services-preview-home .section-title { color: var(--dark); }
.services-preview-home .section-title::after { background: var(--red); }
.services-preview-home > .container > .fade-in > p { color: var(--text-light); }

.services-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
    margin-top: var(--sp-10);
}

.service-home-item {
    display: flex;
    gap: var(--sp-6);
    align-items: flex-start;
    padding: var(--sp-8);
    background: var(--n-50);
    border-radius: var(--r-md);
    border: 1px solid var(--n-200);
    transition: all var(--t-med);
    cursor: pointer;
}

.service-home-item:hover {
    background: white;
    border-color: var(--red);
    transform: translateX(4px);
    box-shadow: var(--sh-md);
}

.service-home-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--r-sm);
    background: var(--red-alpha);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--t-fast);
}

.service-home-item:hover .service-home-icon-wrap {
    background: var(--red);
    box-shadow: var(--sh-red);
}

.service-home-icon {
    font-size: 1.5rem;
    color: var(--red);
    transition: color var(--t-fast);
}

.service-home-item:hover .service-home-icon { color: white; }

.service-home-info h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-3);
}

.service-home-info p {
    font-size: var(--fs-sm);
    color: var(--text-light);
    line-height: 1.7;
}

/* =========================================================================
   CLIENTS SECTION
   ========================================================================= */
.clients-section {
    background: var(--n-50);
    padding: var(--sp-16) 0;
    overflow: hidden;
}

.clients-section .section-tag { color: var(--n-600); }
.clients-section .section-tag::before { background: var(--n-300); }

.clients-track-wrap {
    overflow: hidden;
    margin-top: var(--sp-8);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-slider {
    display: flex;
    width: max-content;
    animation: scroll-clients 40s linear infinite;
}

.clients-slider:hover { animation-play-state: paused; }

.slide {
    width: 200px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--sp-8);
    flex-shrink: 0;
}

.slide img {
    max-width: 140px;
    max-height: 55px;
    filter: grayscale(100%) opacity(0.4);
    transition: filter var(--t-fast);
    object-fit: contain;
}

.slide img:hover {
    filter: grayscale(0%) opacity(1);
}

.client-logo-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 170px;
    background: var(--bg-white);
    border: 1px solid var(--n-200);
    border-radius: var(--r-sm);
    color: var(--n-500);
    font-weight: 700;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    user-select: none;
    box-shadow: var(--sh-xs);
    transition: all var(--t-fast);
}

.client-logo-mock:hover {
    color: var(--red);
    border-color: var(--red-alpha);
    box-shadow: var(--sh-sm);
    transform: translateY(-2px);
}

@keyframes scroll-clients {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 8)); }
}

/* =========================================================================
   FAQ SECTION
   ========================================================================= */
.faq-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: var(--sp-24) 0;
}

.faq-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189,14,13,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: var(--sp-24);
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 100px;
}

.faq-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--sp-4);
}

.faq-tag::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
    flex-shrink: 0;
}

.faq-header h2 {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    margin-bottom: var(--sp-5);
}

.faq-header p {
    color: var(--n-400);
    font-size: var(--fs-base);
    line-height: 1.75;
    margin-bottom: var(--sp-8);
}

.faq-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: var(--sp-6) 0;
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    cursor: pointer;
    text-align: left;
    transition: background var(--t-fast);
}

.faq-question:hover { padding-left: var(--sp-3); }

.faq-num {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.05em;
    min-width: 28px;
    flex-shrink: 0;
    transition: transform var(--t-fast);
}

.faq-q-text {
    flex: 1;
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--n-300);
    transition: color var(--t-fast);
    line-height: 1.4;
}

.faq-question:hover .faq-q-text,
.faq-item.active .faq-q-text { color: white; }

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--n-400);
    font-size: 0.8rem;
    transition: all var(--t-med);
    background: transparent;
}

.faq-item.active .faq-num { transform: translateX(4px); }

.faq-item.active .faq-icon {
    background: var(--red);
    border-color: var(--red);
    color: white;
    transform: rotate(45deg);
    box-shadow: var(--sh-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-io), padding 0.3s ease;
    padding: 0 0 0 2.5rem;
}

.faq-answer[aria-hidden="false"] {
    max-height: 300px;
    padding: 0 0 var(--sp-6) 2.5rem;
}

.faq-answer p {
    color: var(--n-500);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--red);
    text-decoration: underline;
    transition: color var(--t-fast);
}
.faq-answer a:hover { color: var(--gold); }

@media (max-width: 920px) {
    .faq-layout { grid-template-columns: 1fr; gap: var(--sp-10); }
    .faq-header { position: static; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: var(--dark);
    color: white;
}

.footer-main {
    padding: var(--sp-20) 0 var(--sp-12);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-12);
}

.footer-logo {
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-bottom: var(--sp-5);
}

.footer-tagline {
    color: var(--n-400);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
    max-width: 260px;
}

.social-links {
    display: flex;
    gap: var(--sp-3);
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255,255,255,0.07);
    transition: all var(--t-fast);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--sh-red);
}

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav ul li,
.footer-services ul li {
    margin-bottom: var(--sp-3);
}

.footer-nav a,
.footer-services a {
    color: var(--n-400);
    font-size: var(--fs-sm);
    transition: color var(--t-fast);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.footer-nav a::before,
.footer-services a::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--t-fast);
}

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

.footer-nav a:hover::before,
.footer-services a:hover::before { opacity: 1; }

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--n-400);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-4);
}

.footer-contact-list li i {
    color: var(--red);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    padding: var(--sp-5) 0;
}

.copyright {
    color: var(--n-600);
    font-size: var(--fs-xs);
    text-align: center;
}

/* =========================================================================
   ANIMATIONS & FADE-IN
   ========================================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* =========================================================================
   PAGE HERO BANNER (inner pages)
   ========================================================================= */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 60%, rgba(189,14,13,0.3) 100%);
    padding: calc(80px + var(--sp-16)) 0 var(--sp-16);
    position: relative;
    overflow: hidden;
}

.contact-page-hero,
.services-page-hero,
.about-page-hero,
.catalog-page-hero {
    background-size: cover;
}

.contact-page-hero {
    background-image: url('image-web/contacto-hero.png');
    background-position: center 35%;
}

.services-page-hero {
    background-image: url('image-web/servicios-hero.png');
    background-position: center 50%;
}

.about-page-hero {
    background-image: url('image-web/nosotros-hero.png');
    background-position: center 50%;
}

.catalog-page-hero {
    background-image: url('image-web/catalogo-hero.png');
    background-position: center 50%;
}

.contact-page-hero .hero-overlay,
.services-page-hero .hero-overlay,
.about-page-hero .hero-overlay,
.catalog-page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 10, 9, 0.94) 0%,
        rgba(15, 15, 14, 0.82) 55%,
        rgba(30, 10, 10, 0.5) 100%
    );
    z-index: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: var(--sp-4);
}

.page-hero-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
}

.page-hero h1 {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    margin-bottom: var(--sp-5);
}

.page-hero h1 span { color: var(--red); }

.page-hero p {
    font-size: var(--fs-lg);
    color: var(--n-400);
    font-weight: 300;
    max-width: 560px;
}

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */
.about-section { padding-top: 0; }

.about-top {
    display: flex;
    gap: var(--sp-16);
    align-items: center;
    margin-bottom: var(--sp-16);
}

.about-text { flex: 1.2; }

.about-text .section-tag { color: var(--red); }

.about-text p {
    margin-bottom: var(--sp-6);
    font-size: var(--fs-base);
    color: var(--text-light);
    line-height: 1.8;
}

.about-image-real {
    flex: 1;
    height: 480px;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-xl);
    position: relative;
}

.about-image-real::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

.about-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-16);
}

.mv-box {
    background: white;
    padding: var(--sp-10) var(--sp-8);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    text-align: center;
    border: 1px solid var(--n-150);
    transition: all var(--t-med);
    position: relative;
    overflow: hidden;
}

.mv-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.mv-box:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-4px);
}

.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--r-md);
    background: var(--red-alpha);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
    font-size: 1.6rem;
    color: var(--red);
    transition: all var(--t-fast);
}

.mv-box:hover .mv-icon {
    background: var(--red);
    color: white;
    box-shadow: var(--sh-red);
}

.mv-box h3 {
    font-size: var(--fs-xl);
    color: var(--dark);
    margin-bottom: var(--sp-4);
}

.mv-box p {
    color: var(--text-light);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.values-section h3 {
    font-size: var(--fs-2xl);
    font-weight: 800;
    text-align: center;
    color: var(--dark);
    margin-bottom: var(--sp-8);
    position: relative;
    padding-bottom: var(--sp-5);
}

.values-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--red);
    border-radius: var(--r-full);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-5);
}

.value-item {
    background: white;
    padding: var(--sp-6) var(--sp-8);
    border-radius: var(--r-md);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-5);
    box-shadow: var(--sh-sm);
    border: 1px solid var(--n-150);
    border-left: 4px solid var(--red);
    transition: all var(--t-med);
}

.value-item:hover {
    background: var(--dark);
    border-color: var(--dark);
    border-left-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--red);
    margin-top: 3px;
    flex-shrink: 0;
    transition: color var(--t-fast);
}

.value-item:hover i { color: var(--gold); }

.value-content h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--sp-2);
    transition: color var(--t-fast);
}

.value-item:hover .value-content h4 { color: white; }

.value-content p {
    font-size: var(--fs-sm);
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
    transition: color var(--t-fast);
}

.value-item:hover .value-content p { color: var(--n-400); }

/* Layout asymmetric */
.layout-asymmetric {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--sp-12);
    align-items: center;
}

/* =========================================================================
   CATALOG PAGE
   ========================================================================= */
.catalog-section { padding-top: 0; }

.catalog-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
}

.product-showcase {
    background: white;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
    padding: var(--sp-10) 0;
    border: 1px solid var(--n-150);
    transition: box-shadow var(--t-med);
}

.product-showcase:hover { box-shadow: var(--sh-lg); }

.product-showcase.bg-light { background: var(--n-50); }

.catalog-grid {
    display: grid;
    grid-template-columns: 260px 1fr 360px;
    gap: var(--sp-8);
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    padding: 0 var(--sp-6);
}

/* Col Left — colors & sizes */
.col-left { padding: var(--sp-5); }

.col-left h4 {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--n-500);
    margin-bottom: var(--sp-4);
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.color-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
}

.color-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: all var(--t-fast);
    position: relative;
}

.color-circle::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color var(--t-fast);
}

.color-circle.active::after { border-color: var(--red); }

.color-circle:hover { transform: scale(1.15); }

.color-name {
    font-size: var(--fs-xs);
    color: var(--n-500);
    text-align: center;
}

/* Dense swatches (tooltip) */
.color-swatches.dense {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.color-swatches.dense .color-wrapper {
    position: relative;
    gap: 0;
}

.color-swatches.dense .color-circle {
    width: 28px;
    height: 28px;
}

.color-swatches.dense .color-name {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s, visibility 0.18s;
    z-index: 10;
}

.color-swatches.dense .color-name::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--dark);
}

.color-swatches.dense .color-wrapper:hover .color-name {
    opacity: 1;
    visibility: visible;
}

.sizing-info h4, .tallas-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--n-500);
    margin-bottom: var(--sp-2);
}

.sizes {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.15em;
}

/* Col Center */
.col-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-container {
    width: 100%;
    max-width: 400px;
    height: 460px;
    background: var(--n-50);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--n-150);
    box-shadow: var(--sh-sm);
}

.product-image {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.4s ease;
    mix-blend-mode: multiply;
}

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

/* Col Right */
.col-right { padding: var(--sp-5) var(--sp-8); }

.product-banner h3 {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-4);
    border-bottom: 2px solid var(--red);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-description p {
    color: var(--text-light);
    margin-bottom: var(--sp-5);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.product-description ul { margin-bottom: var(--sp-8); }

.product-description ul li {
    margin-bottom: var(--sp-3);
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--fs-sm);
}

.product-description ul li i {
    color: var(--red);
    margin-top: 3px;
    flex-shrink: 0;
}

/* =========================================================================
   SERVICES PAGE
   ========================================================================= */
.split-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--sp-10) !important;
    align-items: center;
}

.split-grid.reverse .col-image { order: 1; }
.split-grid.reverse .col-text  { order: 2; }

.col-text { padding: var(--sp-8) var(--sp-10); }

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

.full-img {
    width: 100%;
    height: auto;
    border-radius: var(--r-md);
    object-fit: cover;
    max-height: 450px;
}

.bg-shadow { box-shadow: var(--sh-lg); }

/* Service Carousel (.srv-slider) */
.srv-slider {
    position: relative;
    width: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    background: var(--dark);
    aspect-ratio: 4 / 3;
}

.srv-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.srv-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.srv-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.srv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.srv-slide figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: var(--sp-8) var(--sp-5) var(--sp-4);
    text-align: center;
}

.srv-prev,
.srv-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(189, 14, 13, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    transition: all var(--t-fast);
    backdrop-filter: blur(4px);
}

.srv-prev { left: 12px; }
.srv-next { right: 12px; }

.srv-prev:hover,
.srv-next:hover {
    background: var(--red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--sh-red);
}

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

.srv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--t-fast);
    border: 1px solid rgba(255,255,255,0.4);
}

.srv-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Service Techniques Cards */
.service-techniques {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
    margin: var(--sp-5) 0;
}

.technique-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--n-50);
    border-radius: var(--r-sm);
    border: 1px solid var(--n-150);
    transition: all var(--t-fast);
}

.technique-item:hover {
    background: var(--red-alpha);
    border-color: var(--red);
    transform: translateX(4px);
}

.technique-item i {
    color: var(--red);
    margin-top: 2px;
    flex-shrink: 0;
}

.technique-item strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 2px;
}

.technique-item span {
    font-size: var(--fs-xs);
    color: var(--n-500);
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-section { background: var(--n-50); padding-top: 0; }

.contact-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-light);
    margin-bottom: var(--sp-10);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--sp-10);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xl), 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: transform var(--t-med), box-shadow var(--t-med);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}

.contact-form-container h3 {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-5);
    border-bottom: 2px solid rgba(189,14,13,0.08);
    position: relative;
}

.form-group { margin-bottom: var(--sp-5); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
}

.floating-label-group {
    position: relative;
    margin-bottom: var(--sp-5);
}

.floating-label-group input,
.floating-label-group textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.6rem;
    border: 1px solid var(--n-200);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.65);
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--dark);
    outline: none;
    transition: all var(--t-med);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.floating-label-group input:focus,
.floating-label-group textarea:focus {
    border-color: var(--red);
    background: white;
    box-shadow: 0 8px 20px var(--red-alpha), inset 0 1px 2px rgba(0,0,0,0.01);
    transform: translateY(-1px);
}

.floating-label-group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--n-400);
    font-size: var(--fs-base);
    font-weight: 500;
    pointer-events: none;
    transition: all var(--t-med);
    background: transparent;
}

.floating-label-group textarea ~ label { top: 1.3rem; transform: none; }

.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label,
.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not(:placeholder-shown) ~ label {
    top: 0.35rem;
    font-size: 0.7rem;
    color: var(--red);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: none;
}

label {
    display: block;
    margin-bottom: var(--sp-2);
    font-weight: 600;
    color: var(--red);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

input, textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--n-200);
    border-radius: var(--r-sm);
    background: var(--n-50);
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--dark);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--red);
    background: white;
    box-shadow: 0 0 0 3px rgba(189,14,13,0.08);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.direct-actions { display: flex; flex-direction: column; gap: var(--sp-4); }

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    background: white;
    padding: var(--sp-5) var(--sp-6);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    border: 1px solid var(--n-150);
    transition: all var(--t-fast);
    text-decoration: none;
}

.action-btn:hover {
    transform: translateX(6px);
    box-shadow: var(--sh-md);
    border-color: var(--red);
}

.action-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    transition: all var(--t-fast);
}

.tel-btn  .action-icon-wrap { background: rgba(189,14,13,0.1);  color: var(--red); }
.wa-btn   .action-icon-wrap { background: rgba(37,211,102,0.1); color: #25D366; }
.mail-btn .action-icon-wrap { background: var(--red-alpha);      color: var(--dark); }

.action-btn:hover .action-icon-wrap { transform: scale(1.1); }

.text-contact { display: flex; flex-direction: column; }
.text-contact span { font-size: var(--fs-xs); color: var(--n-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.text-contact strong { font-size: var(--fs-base); color: var(--dark); }

.map-placeholder {
    flex: 1;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-md);
    min-height: 200px;
    position: relative;
    background: var(--n-100);
}

.office-img { width: 100%; height: 100%; object-fit: cover; }

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,10,9,0.85);
    color: white;
    padding: var(--sp-4);
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* =========================================================================
   SECURITY (anti-copy)
   ========================================================================= */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* =========================================================================
   MISC UTILITIES
   ========================================================================= */
.animate-hover {
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.animate-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.icon-contact { font-size: 2rem; }

.fade-image { transition: opacity 0.3s ease; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-5);
        padding: 0 var(--sp-5);
    }

    .col-left  { order: 2; padding-top: 0; }
    .col-center { order: 1; }
    .col-right { order: 3; padding-top: 0; }

    .split-grid { grid-template-columns: 1fr !important; gap: var(--sp-8) !important; }
    .split-grid.reverse .col-image { order: -1; }

    .contact-grid { grid-template-columns: 1fr; }
    .about-top { flex-direction: column; }
    .mission-vision { grid-template-columns: 1fr; }
    .layout-asymmetric { grid-template-columns: 1fr; }
    .services-home-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }

    .nav-list {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        text-align: center;
        transition: left 0.4s var(--ease-out);
        box-shadow: var(--sh-lg);
        padding: var(--sp-4) 0;
    }

    .nav-list.active { left: 0; }

    .nav-link {
        display: block;
        padding: var(--sp-5) var(--sp-6);
        border-bottom: 1px solid var(--n-100);
        font-size: var(--fs-base);
        color: var(--dark);
    }

    .nav-link::after { display: none; }
    .nav-link.nav-cta { margin: var(--sp-3) var(--sp-6); display: block; text-align: center; }

    .hero-section { min-height: 100svh; }
    .hero-content h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
    .hero-content .subtitle { font-size: var(--fs-base); }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-hero,
    .hero-ctas .btn-hero-outline { width: 100%; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
    .services-summary { padding: var(--sp-12) 0; }

    .section-padding { padding: var(--sp-16) 0; }
    .section-title { font-size: var(--fs-2xl); }

    .cta-flex { flex-direction: column; text-align: center; }
    .cta-flex h2 { font-size: var(--fs-xl); }

    .preview-grid { grid-template-columns: 1fr 1fr; }

    .hero-stats-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-card:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-card:last-child, .stat-card:nth-last-child(2):nth-child(odd) { border-bottom: none; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }

    .contact-form-container { padding: var(--sp-6); }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .about-image-real { height: 280px; }
    .values-grid { grid-template-columns: 1fr; }

    .product-showcase { padding: var(--sp-6) 0; }
    .product-image-container { height: 320px; }
}

@media (max-width: 480px) {
    .preview-grid { grid-template-columns: 1fr; }
    .hero-stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
    .page-hero h1 { font-size: var(--fs-3xl); }
}

/* =========================================================================
   CONTACT PAGE RE-DESIGN (INTERACTIVE & MODERN)
   ========================================================================= */
.product-selector-group {
    margin-bottom: var(--sp-6);
}

.selector-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--n-700);
    margin-bottom: var(--sp-3);
    font-family: 'Montserrat', sans-serif;
}

.product-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-chip {
    background: var(--bg-light);
    border: 1px solid var(--n-200);
    color: var(--n-700);
    padding: 0.5rem 1rem;
    border-radius: var(--r-sm);
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--t-fast);
    font-family: inherit;
}

.product-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: white;
}

.product-chip.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    box-shadow: var(--sh-sm);
}

/* Horario Interactivo Premium */
.schedule-card-premium {
    background: var(--dark);
    border-radius: var(--r-md);
    padding: 2rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-med), box-shadow var(--t-med);
}

.schedule-card-premium.bq-open {
    border-color: rgba(37, 211, 102, 0.25);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.05);
}

.live-status-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-5);
    border: 1px solid rgba(255,255,255,0.03);
}

.live-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.live-indicator-dot.open {
    background: #25D366;
    box-shadow: 0 0 10px #25D366;
}

.live-indicator-dot.open::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-dot 1.8s infinite ease-out;
}

.live-indicator-dot.closed {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.live-status-text {
    font-size: var(--fs-xs);
    color: var(--n-100);
    letter-spacing: 0.02em;
    font-family: 'Montserrat', sans-serif;
}

@keyframes pulse-dot {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}
