/*
Theme Name: Wheels Performance Madrid Custom Landing
Description: Estilos profesionales de alta conversión estilo JR Alloy Wheel Repair para WordPress Astra.
Version: 2.0
Author: Kenelix.net
*/

:root {
    /* Paleta Principal */
    --primary-cyan: #00d2ff;
    --primary-cyan-hover: #00b7df;
    --primary-cyan-glow: rgba(0, 210, 255, 0.35);
    --secondary-red: #ff3b30;
    --secondary-red-hover: #e62e24;
    --secondary-red-glow: rgba(255, 59, 48, 0.35);
    
    /* Fondos */
    --bg-dark: #0a0c10;
    --bg-dark-card: #121620;
    --bg-dark-accent: #191f2d;
    --bg-light: #ffffff;
    --bg-light-gray: #f8fafc;
    --bg-light-card: #ffffff;
    
    /* Textos */
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light-gray: #64748b;
    
    /* Bordes & Sombras */
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 10px 30px rgba(0, 210, 255, 0.25);
    
    /* Tipografías */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. RESET Y BASE */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

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

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

.section-tag {
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    color: #008eb0;
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

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

.text-cyan {
    color: var(--primary-cyan);
}

/* 2. HEADER Y NAVEGACIÓN FIJA (STICKY NAVBAR) */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 12, 0.82);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#site-header.header-scrolled {
    background: rgba(5, 7, 10, 0.95);
    border-bottom-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 84px;
    transition: height 0.3s ease;
}

#site-header.header-scrolled .nav-container {
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.5px;
    color: #ffffff;
    transition: var(--transition);
}

.brand-logo-img {
    height: 56px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    transition: var(--transition);
}

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

/* Logo Opción B (Solo Isotipo Icono) */
.brand-logo-single {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.brand-logo-img-icon {
    height: 52px;
    width: 52px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.brand-logo-single:hover .brand-logo-img-icon {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
    border-color: var(--primary-cyan);
}

/* Logo Combo (Isotipo + Nombre de marca) */
.brand-logo-combo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-icon-img {
    height: 46px;
    width: 46px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.brand-logo-combo:hover .brand-icon-img {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 210, 255, 0.35);
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}

.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-cyan);
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.9;
    white-space: nowrap;
    display: block;
}

.logo .blue {
    color: #ffffff;
    -webkit-text-stroke: 1.2px var(--primary-cyan);
    paint-order: stroke fill;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.45);
    display: inline-block;
}

.logo .red {
    color: #ffffff;
    -webkit-text-stroke: 1.2px var(--secondary-red);
    paint-order: stroke fill;
    text-shadow: 0 0 12px rgba(255, 59, 48, 0.45);
    display: inline-block;
}

.logo:hover .blue {
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
}

.logo:hover .red {
    text-shadow: 0 0 20px rgba(255, 59, 48, 0.8);
}

.logo .city {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    font-family: var(--font-heading);
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    box-shadow: 0 0 8px var(--primary-cyan);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-left: 1.75rem;
    flex-shrink: 0;
    height: 100%;
}

.nav-phone {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    line-height: 1;
    transition: var(--transition);
}

.nav-phone i {
    color: var(--primary-cyan);
    font-size: 1.05rem;
    display: inline-block;
}

.nav-phone:hover {
    color: var(--primary-cyan);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-cyan), #009dbf);
    color: #000000;
    padding: 0.5rem 1.35rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
}

.nav-cta span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.nav-cta strong {
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 210, 255, 0.55);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3. HERO SECTION WITH FULLSCREEN BACKGROUND VIDEO */
.hero-section {
    position: relative;
    isolation: isolate;
    min-height: min(900px, 100vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 90px;
    color: #ffffff;
    background-color: #07090c;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -3;
    filter: saturate(0.9) contrast(1.05) brightness(0.75);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: 
        linear-gradient(90deg, rgba(3, 5, 7, 0.94) 0%, rgba(3, 5, 7, 0.72) 48%, rgba(3, 5, 7, 0.3) 85%),
        linear-gradient(180deg, transparent 40%, rgba(3, 5, 7, 0.85) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.hero-content {
    max-width: 820px;
}

.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.75rem;
    font-size: 0.88rem;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-rating-badge:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.25);
    color: #ffffff;
}

.hero-rating-badge .stars {
    color: #f59e0b;
    display: flex;
    gap: 3px;
}

.hero-title-shimmer {
    font-size: clamp(3rem, 6.2vw, 5.4rem) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    
    /* EFECTO ESPEJO TRASLÚCIDO CON MÁSCARA DE TEXTO Y DESTELLO */
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.95) 25%,
        #00d2ff 45%,
        #ffffff 50%,
        #00d2ff 55%,
        rgba(255, 255, 255, 0.95) 75%,
        rgba(255, 255, 255, 0.4) 100%
    );
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    
    /* ANIMACIÓN CONTINUA EN BUCLE (LIGHT SWEEP / DESTELLO EN LOOP) */
    animation: mirrorShineSweep 3.5s linear infinite;
    
    /* REFLEJO Y RESPLANDOR METÁLICO TIPO ESPEJO */
    filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.4));
}

@keyframes mirrorShineSweep {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.hero-title {
    font-size: clamp(3.2rem, 6.5vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
}

.highlight-wrapper em {
    font-style: normal;
    background: linear-gradient(90deg, var(--primary-cyan), #ffffff 58%, var(--secondary-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 640px;
    color: #c0c5cb;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), #009dbf);
    color: #000000;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
}

.btn-secondary-translucent {
    background: rgba(8, 10, 13, 0.35);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary-translucent:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-3px);
    color: #ffffff;
}

.hero-proof-pills {
    display: flex;
    gap: 0.75rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.proof-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e2e8f0;
}

.proof-pill i {
    color: var(--primary-cyan);
    font-size: 0.95rem;
}

.hero-side-note {
    position: absolute;
    right: 25px;
    bottom: 42px;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 0.22em;
    color: #8c959f;
    font-weight: 800;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 3;
}
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.hero-floating-badge {
    position: absolute;
    background: rgba(18, 22, 32, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-dark);
    padding: 0.85rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.hero-floating-badge i {
    font-size: 1.8rem;
    color: var(--primary-cyan);
}

.hero-floating-badge div strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}

.hero-floating-badge div span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.top-badge {
    top: -20px;
    right: -20px;
    border-color: rgba(0, 210, 255, 0.3);
}

.bottom-badge {
    bottom: -20px;
    left: -20px;
    border-color: rgba(255, 59, 48, 0.3);
}

.bottom-badge i {
    color: var(--secondary-red);
}

/* 4. OEM BRANDS BAR */
.brands-bar {
    background: #0f1218;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    text-align: center;
}

.brands-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.brand-item {
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
    color: var(--primary-cyan);
}

/* 5. SOBRE NOSOTROS (TRANSICIÓN A LIGHT MODE) */
.about-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

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

.about-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    color: #ffffff;
}

.about-experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-cyan);
    display: block;
    line-height: 1;
}

.about-experience-badge .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.about-content .lead-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-box i {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    background: rgba(0, 210, 255, 0.1);
    padding: 0.85rem;
    border-radius: 12px;
}

.highlight-box h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.highlight-box p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* 5.1 BANNER SERVICIO NEUMÁTICOS */
.tyre-banner {
    padding: 0 0 70px 0;
    background-color: var(--bg-light);
}

.tyre-banner-box {
    background: linear-gradient(135deg, #0a0c10 0%, #151922 100%);
    border: 1px solid var(--border-dark);
    border-left: 5px solid var(--primary-cyan);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
}

.tyre-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.12);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.tyre-text h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.tyre-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 6. GRID DE SERVICIOS */
.services-section {
    padding: 90px 0;
    background-color: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.service-box {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 210, 255, 0.4);
}

.featured-service {
    border: 2px solid var(--secondary-red);
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: var(--secondary-red);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(0, 210, 255, 0.1);
    color: #008eb0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.featured-service .service-box-icon {
    background: rgba(255, 59, 48, 0.1);
    color: var(--secondary-red);
}

.service-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.75rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-features li i {
    color: #10b981;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    color: #008eb0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.service-btn:hover {
    color: var(--text-dark);
    gap: 0.75rem;
}

/* 7. GALERÍA DE TRABAJOS REALES */
.gallery-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

/* Layout con Vídeos Laterales en la Galería */
.gallery-with-side-videos .container {
    max-width: 1440px;
}

.gallery-wrapper-flex {
    display: flex;
    align-items: stretch;
    gap: 1.75rem;
    position: relative;
}

.gallery-main-content {
    flex: 1;
    min-width: 0;
}

.side-video-panel {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    padding-top: 75px;
}

.side-video-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 580px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #0f172a;
}

.side-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-video-card:hover video {
    transform: scale(1.05);
}

.side-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.side-video-card:hover .side-video-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.side-video-overlay span {
    background: rgba(0, 210, 255, 0.95);
    color: #0a0c10;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.work-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 12, 16, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
    transition: var(--transition);
}

.work-overlay span {
    color: var(--primary-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.work-overlay h4 {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.25;
}

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

.work-card:hover .work-overlay {
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.15) 0%, rgba(10, 12, 16, 0.96) 100%);
}

/* 8. PROCESO EN 4 PASOS */
.process-section {
    padding: 90px 0;
    background: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.process-step {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0, 210, 255, 0.4);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.process-step p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 9. ANTES Y DESPUÉS (SLIDER) */
.comparison-section {
    padding: 90px 0;
    background: #0a0c10;
    color: #ffffff;
}

.comparison-section h2 {
    color: #ffffff;
}

.comparison-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-img.before {
    filter: grayscale(70%) contrast(90%);
}

.slider-img.after {
    clip-path: inset(0 0 0 50%);
    width: 100%;
    height: 100%;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffffff;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--primary-cyan);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
}

.label-before, .label-after {
    position: absolute;
    bottom: 20px;
    padding: 0.5rem 1rem;
    background: rgba(10, 12, 16, 0.85);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.label-before {
    left: 20px;
    border-left: 3px solid var(--secondary-red);
}

.label-after {
    right: 20px;
    border-right: 3px solid var(--primary-cyan);
}

/* 10. RESEÑAS GOOGLE */
.reviews-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.reviews-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.google-badge-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light-gray);
    border: 1px solid var(--border-light);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.google-badge-box i {
    font-size: 1.8rem;
    color: #4285f4;
}

.google-badge-box strong {
    display: block;
    font-size: 0.95rem;
}

.google-badge-box span {
    font-size: 0.8rem;
    color: var(--text-light-gray);
}

.google-badge-box:hover {
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.review-card {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.review-stars {
    color: #f59e0b;
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.review-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.reviewer strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.reviewer span {
    color: var(--text-light-gray);
    font-size: 0.8rem;
}

/* 11. FORMULARIO DE PRESUPUESTO INTERACTIVO */
.quote-section {
    padding: 90px 0;
    background: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: flex-start;
}

.quote-info h2 {
    font-size: 2.3rem;
    margin-bottom: 1.25rem;
}

.quote-info p {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    font-size: 1.3rem;
    color: #008eb0;
    background: rgba(0, 210, 255, 0.1);
    padding: 0.85rem;
    border-radius: 12px;
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.benefit-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.quote-form-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-label-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.selector-card {
    border: 2px solid var(--border-light);
    border-radius: 14px;
    padding: 0.9rem 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 96px;
    background: #ffffff;
    box-sizing: border-box;
}

.selector-card input[type="radio"] {
    display: none;
}

.selector-card i {
    font-size: 1.45rem;
    color: var(--text-light-gray);
    transition: var(--transition);
}

.selector-card span {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-gray);
    line-height: 1.25;
    display: block;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
}

.selector-card.active, .selector-card:hover {
    border-color: #008eb0;
    background: rgba(0, 210, 255, 0.07);
}

.selector-card.active i, .selector-card.active span {
    color: #008eb0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #ffffff;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input {
    height: 48px;
    padding: 0 1rem;
}

.form-group select {
    height: 48px;
    padding: 0 2.5rem 0 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    line-height: normal;
}

.form-group textarea {
    padding: 0.85rem 1rem;
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #008eb0;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}

.form-privacy-note {
    font-size: 0.8rem;
    color: var(--text-light-gray);
    text-align: center;
    margin-top: 1rem;
}

/* 10. ZONAS QUE CUBRIMOS (SEO LOCAL) */
.areas-section {
    padding: 80px 0;
    background: #ffffff;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    max-width: 900px;
    margin: 0 auto;
}

.area-pill {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-light);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.area-pill i {
    color: var(--secondary-red);
}

.area-pill:hover {
    border-color: var(--primary-cyan);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* 11. FAQ ACORDEÓN */
.faq-section {
    padding: 90px 0;
    background: var(--bg-light-gray);
    border-top: 1px solid var(--border-light);
}

.faq-container {
    max-width: 800px;
}

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

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.35rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
}

.faq-question i {
    color: var(--primary-cyan);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* 12. FOOTER CORPORATIVO */
.site-footer {
    background: #07090d;
    color: var(--text-muted);
    padding-top: 70px;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 50px;
}

.footer-desc {
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 380px;
    line-height: 1.6;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-cyan);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

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

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

/* 13. WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(8deg);
    background-color: #20ba5a;
}

/* 14. RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .hero-section {
        min-height: 720px;
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-side-note {
        display: none;
    }
    
    .hero-cta-group {
        justify-content: flex-start;
    }
    
    .hero-title {
        font-size: clamp(2.6rem, 8vw, 3.6rem);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100% !important;
        height: calc(100vh - 80px) !important;
        background: rgba(15, 23, 42, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 2.5rem 0 !important;
        margin: 0 !important;
        gap: 1.5rem !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        overflow-y: auto !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
    }

    .nav-links.active li {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .nav-links.active a {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        color: #ffffff !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        transition: color 0.2s ease !important;
        padding: 0.5rem 0 !important;
        margin: 0 auto !important;
    }

    .nav-links.active a:hover {
        color: var(--primary-cyan) !important;
    }
    
    .hero-title {
        font-size: clamp(2.3rem, 9vw, 3.1rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .before-after-slider {
        height: 320px;
    }

    .hero-proof-pills {
        gap: 0.5rem;
    }

    .proof-pill {
        padding: 0.65rem 0.95rem;
        font-size: 0.72rem;
    }
    
    .quote-form-card {
        padding: 1.75rem;
    }
    
    .tyre-banner-box {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    /* FOOTER RESPONSIVE CENTRADO PERFECTO DE TEXTOS E ICONOS */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center !important;
        justify-items: center !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-col h4 {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-desc {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }

    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        list-style: none !important;
    }

    .footer-links li {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0.75rem !important;
        padding: 0 !important;
    }

    .footer-links a {
        display: inline-block !important;
        text-align: center !important;
    }

    .footer-col p {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-socials {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 1.25rem !important;
    }

    .footer-bottom-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }

    .footer-bottom-flex p {
        text-align: center !important;
        width: 100% !important;
    }

    .brand-icon-img {
        height: 38px;
        width: 38px;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .brand-subtitle {
        font-size: 0.58rem;
        letter-spacing: 2px;
    }
}

.mobile-floating-quote-btn {
    display: none;
}

@media (max-width: 992px) {
    #presupuesto-form {
        scroll-margin-top: 90px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .about-content .section-tag {
        display: inline-block;
        margin: 0 auto 1.25rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .highlight-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .quote-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .whatsapp-float {
        position: fixed !important;
        bottom: 20px !important;
        right: 15px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
        z-index: 9998 !important;
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    }

    .mobile-floating-quote-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 9999;
        background: linear-gradient(135deg, #00d2ff, #008eb0);
        color: #ffffff !important;
        padding: 10px 7px;
        border-radius: 8px 0 0 8px;
        box-shadow: -3px 3px 15px rgba(0, 210, 255, 0.4), -1px 0 8px rgba(0, 0, 0, 0.3);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.72rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    .mobile-floating-quote-btn i {
        transform: rotate(90deg);
        font-size: 0.95rem;
    }

    .mobile-floating-quote-btn:hover,
    .mobile-floating-quote-btn:active {
        background: linear-gradient(135deg, #00e1ff, #00a4cc);
        box-shadow: -5px 5px 20px rgba(0, 210, 255, 0.6);
        color: #ffffff !important;
    }
}

@media (max-width: 1100px) {
    .gallery-wrapper-flex {
        flex-direction: column;
    }
    
    .side-video-panel {
        display: none !important;
    }
}

/* ==========================================================================
   CARRUSEL AUTO-FADE 1-15 & GALERÍA LIGHTBOX DE LLANTAS
   ========================================================================== */

.rims-carousel-section {
    padding: 80px 0;
    background: var(--bg-dark-accent);
    color: var(--text-white);
    position: relative;
}

.rims-carousel-section .section-header h2 {
    color: #ffffff;
    font-weight: 800;
    text-transform: none;
}

.rims-carousel-section .section-header p {
    color: #cbd5e1;
    font-weight: 500;
}

.rims-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    background: #0a0c10;
}

.rims-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.rims-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.rims-slide.active {
    opacity: 1;
    visibility: visible;
}

.rims-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rims-carousel-wrapper:hover .rims-slide.active img {
    transform: scale(1.03);
}

.rims-carousel-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.rims-carousel-badge i {
    color: var(--primary-cyan);
}

.rims-carousel-wrapper:hover .rims-carousel-badge {
    background: rgba(0, 210, 255, 0.95);
    color: #0a0c10;
}

.rims-carousel-wrapper:hover .rims-carousel-badge i {
    color: #0a0c10;
}

.rims-carousel-counter {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(8px);
    color: var(--primary-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rims-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 12, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(8px);
}

.rims-nav-btn:hover {
    background: var(--primary-cyan);
    color: #0a0c10;
    border-color: var(--primary-cyan);
    transform: translateY(-50%) scale(1.1);
}

.rims-nav-prev { left: 20px; }
.rims-nav-next { right: 20px; }

/* MODAL GALERÍA CUADRÍCULA */
.rims-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(15px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.rims-modal-content {
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    padding: 30px;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

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

.rims-modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rims-modal-header h3 i {
    color: var(--primary-cyan);
}

.rims-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.rims-modal-close:hover {
    color: var(--secondary-red);
}

.rims-modal-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.rims-grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.rims-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.rims-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rims-grid-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
}

.rims-grid-item:hover img {
    transform: scale(1.08);
}

.grid-badge {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.85) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 12px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.grid-badge i {
    color: var(--primary-cyan);
    font-size: 1rem;
}

/* VISOR AMPLIADO LIGHTBOX */
.rims-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.rims-lightbox-body {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rims-lightbox-body img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rims-lightbox-caption {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.rims-lightbox-num {
    background: var(--primary-cyan);
    color: #0a0c10;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.rims-lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.rims-lightbox-close:hover {
    background: var(--secondary-red);
}

.rims-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.rims-lightbox-nav:hover {
    background: var(--primary-cyan);
    color: #0a0c10;
    transform: translateY(-50%) scale(1.1);
}

.rims-lightbox-prev { left: 30px; }
.rims-lightbox-next { right: 30px; }

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
    .rims-carousel-wrapper {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 16px;
    }

    .rims-carousel-badge {
        bottom: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .rims-carousel-counter {
        top: 15px;
        right: 15px;
        font-size: 0.75rem;
    }

    .rims-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .rims-nav-prev { left: 10px; }
    .rims-nav-next { right: 10px; }

    .rims-grid-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .rims-grid-item {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .rims-lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .rims-lightbox-prev { left: 10px; }
    .rims-lightbox-next { right: 10px; }
}
