/* ==========================================================================
   Taller Ecilda — Sistema de Diseño Ultra-Premium Industrial (2026/2030)
   ========================================================================== */

:root {
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Paleta Corporativa de Alta Precisión */
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-bg-alt: #f1f5f9;
    --color-bg-dark: #07111e;
    --color-primary-navy: #0b2239;
    --color-primary-royal: #123458;
    --color-primary-light: #1e4976;

    --color-text-dark: #0b172a;
    --color-text-gray: #475569;
    --color-text-light: #f8fafc;
    --color-text-muted: #64748b;

    /* Acentos Metálicos / Dorado Taller Ecilda */
    --color-yellow-accent: #eab308;
    --color-yellow-bright: #facc15;
    --color-yellow-hover: #ca8a04;
    --color-yellow-light: #fef9c3;

    /* Canales WhatsApp */
    --color-wa-green: #16a34a;
    --color-wa-green-dark: #15803d;
    --color-admin-blue: #1d4ed8;

    /* Semánticos & Bordes */
    --color-success: #10b981;
    --color-error: #ef4444;
    --border-light: #e2e8f0;
    --border-subtle: rgba(15, 34, 57, 0.08);
    --border-gray: #cbd5e1;

    /* Sistema de Sombras Multicapa */
    --shadow-xs: 0 1px 2px rgba(7, 17, 30, 0.04);
    --shadow-sm: 0 2px 6px -1px rgba(7, 17, 30, 0.05), 0 1px 3px -1px rgba(7, 17, 30, 0.03);
    --shadow-md: 0 8px 20px -4px rgba(7, 17, 30, 0.06), 0 4px 8px -2px rgba(7, 17, 30, 0.04);
    --shadow-lg: 0 16px 32px -6px rgba(7, 17, 30, 0.08), 0 6px 12px -3px rgba(7, 17, 30, 0.04);
    --shadow-xl: 0 24px 48px -10px rgba(7, 17, 30, 0.12), 0 10px 20px -5px rgba(7, 17, 30, 0.05);
    --shadow-premium: 0 30px 60px -15px rgba(7, 17, 30, 0.25);
    --shadow-card-hover: 0 22px 44px -10px rgba(11, 34, 57, 0.14);

    /* Transiciones */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    /* Radios */
    --border-radius-sm: 10px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

/* ==========================================================================
   Reset & Regla Estricta Cero Subrayados No Deseados
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-light);
    color: var(--color-text-gray);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    overflow-x: hidden;
    line-height: 1.7;
    padding-top: 84px;
}

a,
a:link,
a:visited,
a:hover,
a:focus,
a:active,
.btn,
.nav-link,
.whatsapp-channel-btn,
.footer-links-group a,
.mobile-cta-item {
    text-decoration: none !important;
    color: inherit;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--border-gray);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-navy);
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 840px;
}

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

/* ==========================================================================
   Tipografía de Precisión
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-decoration: none;
}

h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    line-height: 1.72;
}

p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Botones & Acciones Ultra-Premium
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.92rem 1.85rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1.5px solid transparent;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn i, .btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn:hover i, .btn:hover svg {
    transform: translateX(2px);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-yellow-bright) 0%, var(--color-yellow-accent) 60%, #d97706 100%);
    color: #07111e !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background-color: var(--color-bg-white);
    color: var(--color-primary-navy) !important;
    border-color: var(--border-gray);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background-color: var(--color-primary-navy);
    color: var(--color-text-light) !important;
    border-color: var(--color-primary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--color-text-light) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-yellow-accent);
    transform: translateY(-2px);
}

.btn-dark {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, #061322 100%);
    color: var(--color-text-light) !important;
    box-shadow: 0 4px 14px rgba(11, 34, 57, 0.22);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 34, 57, 0.34);
}

.btn-wa-agenda {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

.btn-wa-agenda:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.4);
}

.btn-wa-admin {
    background: linear-gradient(135deg, #1e40af 0%, #0f2942 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.btn-wa-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.38);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.95rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-gray);
    letter-spacing: 0.02em;
}

.badge-yellow {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    border-color: rgba(234, 179, 8, 0.35);
    color: #713f12;
    font-weight: 700;
}

/* ==========================================================================
   Header / Navegación Glassmorphism
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--color-text-dark);
    border-bottom: 2px solid rgba(234, 179, 8, 0.65);
    box-shadow: 0 2px 20px rgba(7, 17, 30, 0.05);
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

.navbar.navbar-scrolled {
    height: 74px;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(7, 17, 30, 0.1);
    border-bottom-color: var(--color-yellow-accent);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 54px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 54px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    background: rgba(241, 245, 249, 0.7);
    padding: 0.3rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-gray);
    transition: all var(--transition-fast);
    padding: 0.5rem 0.95rem;
    border-radius: 9px;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary-navy);
    background-color: rgba(255, 255, 255, 0.8);
}

.nav-link.active {
    color: var(--color-primary-navy);
    background-color: var(--color-bg-white);
    font-weight: 700;
    box-shadow: var(--shadow-xs);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Indicador de Estado en Tiempo Real */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.9rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: help;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    flex-shrink: 0;
}

.status-indicator.open {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.status-indicator.open .status-dot {
    background-color: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.status-indicator.closed {
    background-color: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.status-indicator.closed .status-dot {
    background-color: var(--color-error);
}

.mobile-toggle {
    display: none;
    background: var(--color-bg-alt);
    border: 1px solid var(--border-light);
    color: var(--color-primary-navy);
    cursor: pointer;
    padding: 0.55rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Secciones, Layouts y Hero Principal
   ========================================================================== */
.section-padding {
    padding: 96px 0;
}

.section-bg-alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    margin-bottom: 3.75rem;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-yellow-hover);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: 99px;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.section-title {
    margin-bottom: 0.85rem;
}

.section-subtitle {
    color: var(--color-text-gray);
    font-size: 1.1rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.72;
}

/* Hero Principal Ultra-Premium */
.hero-section {
    --spot-x: 78%;
    --spot-y: 25%;
    background:
        radial-gradient(620px circle at var(--spot-x) var(--spot-y), rgba(234, 179, 8, 0.16) 0%, rgba(30, 73, 118, 0.12) 40%, transparent 72%),
        radial-gradient(circle at 85% 18%, rgba(234, 179, 8, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 12% 85%, rgba(30, 73, 118, 0.45) 0%, transparent 50%),
        linear-gradient(135deg, #091d34 0%, #071322 60%, #040b14 100%);
    color: var(--color-text-light);
    padding: 96px 0 92px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(234, 179, 8, 0.35);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.14) 0%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
    animation: ambient-orb 11s ease-in-out infinite alternate;
}

@keyframes ambient-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, 45px) scale(1.14); }
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Entrada escalonada (Staggered Entrance) en el Hero */
@keyframes hero-fade-up {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(234, 179, 8, 0.14);
    border: 1px solid rgba(234, 179, 8, 0.38);
    color: var(--color-yellow-bright);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 24px rgba(234, 179, 8, 0.12);
    animation: hero-fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-section .section-title {
    color: var(--color-text-light);
    font-size: clamp(2.45rem, 4.3vw, 3.65rem);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

/* Destello Metálico Dorado (Gold Shimmer) */
.hero-section .section-title span {
    background: linear-gradient(
        110deg,
        #fde047 0%,
        #eab308 35%,
        #fffbeb 50%,
        #eab308 65%,
        #fde047 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shimmer 6.5s linear infinite;
}

@keyframes gold-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

.hero-section .hero-subtitle {
    color: rgba(248, 250, 252, 0.84);
    font-size: 1.12rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 94%;
    animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
    animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-badges-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero-badges-strip .badge {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(6px);
    transition: all var(--transition-fast);
}

.hero-badges-strip .badge:hover {
    background-color: rgba(234, 179, 8, 0.18);
    border-color: rgba(234, 179, 8, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Visor Cinematográfico Ken Burns + Tilt 3D Sutil */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 65px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
    background-color: var(--color-primary-navy);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.25s ease-out, box-shadow 0.35s ease;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-cinema-stage {
    position: relative;
    width: 100%;
    height: 445px;
    overflow: hidden;
    background: #050d18;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 5.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active img {
    transform: scale(1.075);
}

.hero-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(380px circle at var(--glare-x, 50%) var(--glare-y, 30%), rgba(255, 255, 255, 0.14), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.hero-image-wrapper:hover .hero-glare {
    opacity: 1;
}

.hero-floating-badge {
    position: absolute;
    bottom: 18px;
    left: 16px;
    right: 16px;
    background: rgba(7, 17, 30, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid var(--color-yellow-accent);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    color: var(--color-text-light);
    z-index: 4;
}

.hero-badge-copy {
    min-width: 0;
    flex: 1;
}

.hero-floating-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.92rem;
    color: var(--color-yellow-bright);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-floating-badge span {
    display: block;
    font-size: 0.78rem;
    color: rgba(248, 250, 252, 0.82);
    transition: opacity 0.25s ease;
}

.hero-badge-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.hero-slide-dots {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: none;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
    background: rgba(254, 240, 138, 0.75);
}

.hero-dot.active {
    width: 22px;
    background: var(--color-yellow-accent);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.55);
}

.hero-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 5;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-yellow-accent) 0%, #fde047 100%);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
}

/* Cinta Infinita de Marcas (Infinite Marquee) */
.brands-marquee-bar {
    background: linear-gradient(90deg, #050e1a 0%, #091b32 50%, #050e1a 100%);
    border-bottom: 3px solid var(--color-yellow-accent);
    padding: 0.95rem 0;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.brands-marquee-bar::before,
.brands-marquee-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.brands-marquee-bar::before {
    left: 0;
    background: linear-gradient(90deg, #050e1a 0%, transparent 100%);
}

.brands-marquee-bar::after {
    right: 0;
    background: linear-gradient(-90deg, #050e1a 0%, transparent 100%);
}

.brands-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 34s linear infinite;
}

.brands-marquee-bar:hover .brands-marquee-track {
    animation-play-state: paused;
}

.brands-marquee-group {
    display: flex;
    align-items: center;
    gap: 1.65rem;
    padding-right: 1.65rem;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: rgba(248, 250, 252, 0.9);
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-item i,
.marquee-item svg {
    width: 15px;
    height: 15px;
    color: var(--color-yellow-bright);
    flex-shrink: 0;
}

.marquee-sep {
    color: rgba(234, 179, 8, 0.45);
    font-size: 0.65rem;
}

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

/* Header de Páginas Internas */
.page-header {
    --spot-x: 75%;
    --spot-y: 25%;
    background:
        radial-gradient(500px circle at var(--spot-x) var(--spot-y), rgba(234, 179, 8, 0.15) 0%, transparent 65%),
        radial-gradient(circle at 75% 25%, rgba(234, 179, 8, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-primary-navy) 0%, #061220 100%);
    color: var(--color-text-light);
    padding: 68px 0;
    border-bottom: 4px solid var(--color-yellow-accent);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--color-text-light);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: rgba(248, 250, 252, 0.82);
    font-size: 1.08rem;
}

/* ==========================================================================
   Contadores Animados + Banda de Confianza & KPIs
   ========================================================================== */
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    margin-bottom: 2.25rem;
}

.stat-counter-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 1.65rem 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.stat-counter-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(234, 179, 8, 0.45);
}

.stat-counter-value {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary-navy);
    margin-bottom: 0.45rem;
    display: flex;
    align-items: baseline;
    gap: 0.08rem;
}

.stat-counter-value .counter-prefix,
.stat-counter-value .counter-suffix {
    color: #ca8a04;
    font-weight: 800;
    font-size: 0.75em;
}

.stat-counter-label {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
}

.stat-counter-desc {
    font-size: 0.83rem;
    color: var(--color-text-gray);
    line-height: 1.48;
    margin: 0;
}

.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.trust-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Spotlight reactivo al cursor en tarjetas */
.trust-card::after,
.service-card-clean::after,
.stat-counter-card::after,
.parts-catalog-card::after,
.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        340px circle at var(--card-x, 50%) var(--card-y, 0%),
        rgba(234, 179, 8, 0.09),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.trust-card:hover::after,
.service-card-clean:hover::after,
.stat-counter-card:hover::after,
.parts-catalog-card:hover::after,
.value-card:hover::after {
    opacity: 1;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-navy) 0%, var(--color-primary-light) 100%);
    transition: all var(--transition-normal);
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.trust-card:hover::before {
    background: linear-gradient(90deg, var(--color-yellow-accent) 0%, #d97706 100%);
}

.trust-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.trust-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-yellow-light);
    color: #854d0e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.94rem;
    color: var(--color-text-gray);
}

/* ==========================================================================
   Sección Doble Canal de WhatsApp (Agenda vs. Administración)
   ========================================================================== */
.dual-wa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.dual-wa-card {
    background: var(--color-bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.35rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dual-wa-card.wa-card-agenda {
    border-top: 4px solid var(--color-wa-green);
}

.dual-wa-card.wa-card-admin {
    border-top: 4px solid var(--color-primary-navy);
}

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

.dual-wa-top {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.dual-wa-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-card-agenda .dual-wa-icon {
    background: #dcfce7;
    color: #15803d;
}

.wa-card-admin .dual-wa-icon {
    background: #dbeafe;
    color: #1e40af;
}

.dual-wa-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.65rem;
    border-radius: 99px;
    margin-bottom: 0.4rem;
}

.wa-card-agenda .dual-wa-tag {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.wa-card-admin .dual-wa-tag {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.dual-wa-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.dual-wa-card p {
    font-size: 0.94rem;
    color: var(--color-text-gray);
}

.dual-wa-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.86rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.dual-wa-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dual-wa-list li i, .dual-wa-list li svg {
    width: 15px;
    height: 15px;
    color: var(--color-yellow-hover);
    flex-shrink: 0;
}

/* ==========================================================================
   Grilla de Servicios & Tarjetas
   ========================================================================== */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.75rem;
}

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

.service-card-clean {
    background-color: var(--color-bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2.35rem 2rem;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.service-card-clean:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(234, 179, 8, 0.45);
    transform: translateY(-5px);
}

.service-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #e2e8f0 100%);
    color: var(--color-primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: all var(--transition-normal);
}

.service-card-icon i, .service-card-icon svg {
    width: 24px;
    height: 24px;
}

.service-card-clean:hover .service-card-icon {
    background: linear-gradient(135deg, var(--color-yellow-bright) 0%, var(--color-yellow-accent) 100%);
    color: #07111e;
    transform: scale(1.06) rotate(-3deg);
}

.service-card-clean h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}

.service-card-clean p {
    font-size: 0.94rem;
    color: var(--color-text-gray);
    line-height: 1.68;
    flex-grow: 1;
}

.service-card-link {
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Galería Real de Instalaciones (Fotos Reales del Servidor)
   ========================================================================== */
.real-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.real-gallery-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--color-primary-navy);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 16 / 10;
}

.real-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.real-gallery-card:hover img {
    transform: scale(1.07);
}

.real-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(7, 17, 30, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: var(--color-text-light);
}

.real-gallery-overlay span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-yellow-bright);
    font-weight: 700;
}

.real-gallery-overlay h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 0.15rem;
}

/* Lightbox Modal */
.premium-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.premium-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 11, 20, 0.88);
    backdrop-filter: blur(10px);
}

.lightbox-Dialog {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 92%;
    background: var(--color-bg-dark);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-premium);
}

.lightbox-img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    background: #000;
}

.lightbox-caption {
    padding: 1rem 1.5rem;
    color: var(--color-text-light);
    font-family: var(--font-display);
    font-size: 0.98rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(7, 17, 30, 0.75);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Sección Flotas & Marcas
   ========================================================================== */
.fleets-section {
    background:
        radial-gradient(circle at 90% 50%, rgba(234, 179, 8, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-primary-navy) 0%, #061220 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.fleets-section h2 {
    color: var(--color-text-light);
}

.fleets-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.fleets-content h3 {
    color: var(--color-yellow-accent);
    margin-bottom: 1.15rem;
}

.fleets-content p {
    color: rgba(248, 250, 252, 0.84);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.fleets-list {
    list-style: none;
    margin-bottom: 2rem;
}

.fleets-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    color: inherit;
    font-weight: 500;
}

.fleets-section .fleets-list li {
    color: var(--color-text-light);
}

.fleets-list li i, .fleets-list li svg {
    color: var(--color-yellow-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.brands-strip {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 3.5rem 0;
}

.brands-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.15rem;
}

.brand-logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-primary-navy);
    background: var(--color-bg-alt);
    border: 1px solid var(--border-light);
    padding: 0.65rem 1.4rem;
    border-radius: 12px;
    letter-spacing: 0.01em;
    transition: all var(--transition-normal);
}

.brand-logo-text:hover {
    background: var(--color-primary-navy);
    color: var(--color-yellow-bright);
    border-color: var(--color-primary-navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Historia & Repuestos
   ========================================================================== */
.history-home-grid,
.parts-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-home-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.parts-catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-top: 3rem;
}

.parts-catalog-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.parts-catalog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.parts-catalog-card h3 {
    border-bottom: 3px solid var(--color-yellow-accent);
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
}

.parts-list-items {
    list-style: none;
    margin-top: 1rem;
}

.parts-list-items li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    font-size: 0.94rem;
    color: var(--color-text-dark);
}

.parts-list-items li i, .parts-list-items li svg {
    width: 17px;
    height: 17px;
    color: var(--color-wa-green);
    flex-shrink: 0;
}

/* Historia Completa */
.history-full-grid {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

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

.history-row:nth-child(even) {
    direction: rtl;
}

.history-row:nth-child(even) .history-text {
    direction: ltr;
}

.history-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.history-image-frame {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    direction: ltr;
}

.history-image-frame img {
    width: 100%;
    display: block;
    max-height: 370px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.history-image-frame:hover img {
    transform: scale(1.03);
}

.photo-vintage {
    position: relative;
    border: 5px solid #ffffff;
    box-shadow: 0 14px 34px rgba(7, 17, 30, 0.14);
    background: #f4f4f4;
}

.photo-vintage img {
    filter: sepia(0.16) contrast(1.06);
}

.photo-caption {
    padding: 0.8rem 1rem;
    background: #ffffff;
    color: var(--color-text-gray);
    font-size: 0.88rem;
    text-align: center;
    font-style: italic;
    border-top: 1px solid var(--border-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-smooth);
}

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

.value-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-yellow-light) 0%, #fef08a 100%);
    color: #854d0e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem auto;
}

/* ==========================================================================
   Contacto, Canales de WhatsApp e Inputs
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-group > i,
.contact-info-group > svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary-navy);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-info-group h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-info-group p {
    font-size: 0.92rem;
    color: var(--color-text-gray);
}

.whatsapp-channels-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.whatsapp-channel-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.05rem 1.25rem;
    background-color: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--border-radius-sm);
    color: #14532d !important;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.whatsapp-channel-btn:hover {
    background-color: #dcfce7;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.whatsapp-channel-btn.btn-admin-channel {
    background-color: #eff6ff;
    border-color: #93c5fd;
    color: #1e3a8a !important;
}

.whatsapp-channel-btn.btn-admin-channel:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.whatsapp-channel-btn-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.whatsapp-channel-subtitle {
    font-size: 0.78rem;
    font-weight: 500;
    display: block;
    color: var(--color-text-gray);
    margin-top: 2px;
}

/* Formulario */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--color-bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.82rem 1rem;
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-size: 0.93rem;
    transition: all var(--transition-fast);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-navy);
    box-shadow: 0 0 0 4px rgba(11, 34, 57, 0.08);
    background-color: var(--color-bg-white);
}

.form-feedback {
    margin-top: 1.15rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #f0fdf4;
    color: #14532d;
    border: 1px solid #bbf7d0;
}

.feedback-wa-actions {
    margin-top: 0.85rem;
}

.map-container-clean {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
    height: 420px;
}

.map-container-clean iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   CTA Banner & Quote Box
   ========================================================================== */
.cta-banner {
    background:
        radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.09) 0%, transparent 60%),
        linear-gradient(135deg, var(--color-primary-navy) 0%, #061220 100%);
    color: var(--color-text-light);
    padding: 5.25rem 0;
    text-align: center;
    border-top: 4px solid var(--color-yellow-accent);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(248, 250, 252, 0.84);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 2.25rem auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.premium-quote-wrapper {
    display: flex;
    justify-content: center;
}

.premium-quote-box {
    position: relative;
    max-width: 880px;
    padding: 2.5rem 3rem;
    border-radius: var(--border-radius-md);
    background: var(--color-bg-white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 1;
}

.premium-quote-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent,
        var(--color-yellow-accent),
        var(--color-primary-navy),
        transparent
    );
    animation: rotateGlow 7s linear infinite;
    z-index: -2;
}

.premium-quote-box::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--color-bg-white);
    border-radius: 14px;
    z-index: -1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.premium-quote-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 500;
    font-style: italic;
    color: var(--color-primary-navy);
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   Widget Flotante Doble Canal de WhatsApp (wa-dual-dock)
   ========================================================================== */
.wa-dual-dock {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.wa-dock-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.42);
    transition: all var(--transition-normal);
    position: relative;
}

.wa-dock-trigger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 34px rgba(22, 163, 74, 0.52);
}

.wa-trigger-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.wa-trigger-label strong {
    background: rgba(0, 0, 0, 0.22);
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    font-size: 0.75rem;
    margin-left: 0.2rem;
}

.wa-dock-panel {
    width: 350px;
    background: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.96);
    transform-origin: bottom right;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.wa-dual-dock.is-open .wa-dock-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wa-dock-header {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, #071322 100%);
    color: var(--color-text-light);
    padding: 1.25rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px solid var(--color-yellow-accent);
}

.wa-dock-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-yellow-bright);
    margin-bottom: 0.2rem;
}

.wa-dock-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.wa-dock-header p {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.78);
    margin: 0;
}

.wa-dock-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-dock-options {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wa-dock-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-light);
    transition: all var(--transition-fast);
}

.wa-option-agenda {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.wa-option-agenda:hover {
    background: #dcfce7;
    transform: translateX(3px);
}

.wa-option-admin {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.wa-option-admin:hover {
    background: #dbeafe;
    transform: translateX(3px);
}

.wa-option-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-option-agenda .wa-option-icon {
    background: #16a34a;
    color: #ffffff;
}

.wa-option-admin .wa-option-icon {
    background: var(--color-primary-navy);
    color: var(--color-yellow-bright);
}

.wa-option-body {
    flex-grow: 1;
}

.wa-option-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-text-dark);
}

.wa-option-desc {
    display: block;
    font-size: 0.76rem;
    color: var(--color-text-gray);
}

.wa-option-arrow {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.wa-dock-footer {
    padding: 0.75rem 1.25rem;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--border-light);
    font-size: 0.78rem;
    color: var(--color-text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.wa-dock-footer a {
    font-weight: 700;
    color: var(--color-primary-navy);
}

/* ==========================================================================
   Footer Corporativo
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, var(--color-primary-navy) 0%, #050d18 100%);
    color: var(--color-text-light);
    padding: 5rem 0 2rem 0;
    border-top: 4px solid var(--color-yellow-accent);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 1fr 1.2fr;
    gap: 2.75rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    background-color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
}

.footer-desc {
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.9rem;
    line-height: 1.65;
}

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

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248, 250, 252, 0.8);
    transition: all var(--transition-normal);
}

.social-btn:hover {
    background-color: var(--color-yellow-accent);
    color: #07111e;
    border-color: var(--color-yellow-accent);
    transform: translateY(-2px);
}

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

.footer-links-group h4 {
    color: var(--color-yellow-accent);
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.footer-links-group a {
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links-group a:hover {
    color: var(--color-yellow-bright);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.78);
}

/* ==========================================================================
   Barra Móvil Fija (3 Canales: Llamar | WA Agenda | WA Admin)
   ========================================================================== */
.mobile-fixed-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    background-color: var(--color-primary-navy);
    border-top: 2px solid var(--color-yellow-accent);
    z-index: 9998;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
}

.mobile-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.mobile-cta-grid.mobile-cta-grid-3 {
    grid-template-columns: 0.9fr 1.05fr 1.05fr;
}

.mobile-cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #ffffff !important;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.84rem;
}

.mobile-cta-item i, .mobile-cta-item svg {
    width: 17px;
    height: 17px;
}

.mobile-cta-item.call-mob {
    background-color: #071322;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-item.whatsapp-mob {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-cta-item.admin-mob {
    background: linear-gradient(135deg, #1e40af 0%, #0f2942 100%);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    body {
        padding-top: 76px;
        padding-bottom: 62px;
    }

    .navbar,
    .navbar.navbar-scrolled {
        height: 76px;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .logo-container {
        height: 50px;
        flex-shrink: 0;
    }

    .logo-img {
        height: 50px;
        width: auto;
        max-width: none;
    }

    .nav-actions {
        gap: 0.55rem;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.25rem;
        gap: 0.3rem;
        border-radius: 0;
        border-bottom: 3px solid var(--color-yellow-accent);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .hero-container,
    .fleets-grid,
    .history-home-grid,
    .parts-hero,
    .history-row,
    .contact-layout,
    .dual-wa-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .trust-cards-grid,
    .parts-catalog-grid,
    .values-grid,
    .real-gallery-grid,
    .grid-services-2x2 {
        grid-template-columns: 1fr;
    }

    .trust-cards-grid {
        margin-top: 0;
    }

    .hero-cinema-stage {
        height: 360px;
    }

    .history-row:nth-child(even) {
        direction: ltr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .mobile-fixed-cta-bar {
        display: block;
    }

    .wa-dual-dock {
        bottom: 76px;
        right: 16px;
    }

    .wa-trigger-label {
        display: none;
    }

    .wa-dock-trigger {
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
    }

    .wa-dock-panel {
        width: calc(100vw - 32px);
        max-width: 340px;
    }
}

@media (max-width: 576px) {
    .logo-container {
        height: 48px;
    }

    .logo-img {
        height: 48px;
        width: auto;
        max-width: none;
    }

    .status-indicator {
        padding: 0.34rem 0.68rem;
        font-size: 0.72rem;
    }

    .status-sub {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-counter-grid,
    .form-row-2,
    .dual-wa-list {
        grid-template-columns: 1fr;
    }

    .hero-cinema-stage {
        height: 300px;
    }

    .hero-floating-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .hero-badge-controls {
        width: 100%;
        justify-content: space-between;
    }

    .contact-info-card,
    .contact-form-card,
    .dual-wa-card {
        padding: 1.5rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
