/* ============================================
   MOTORMECLB - Racing-Inspired Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1a1a1a;
    --accent: #F5C518;
    --accent-dark: #D4A90E;
    --accent-glow: rgba(245, 197, 24, 0.3);
    --accent-secondary: #1B1464;
    --accent-secondary-glow: rgba(27, 20, 100, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border: #222222;
    --border-light: #333333;
    --whatsapp: #25D366;
    --instagram-gradient: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: cubic-bezier(0.33, 1, 0.68, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--accent);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.loader-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
}

.loader-ring:nth-child(1) {
    width: 120px;
    height: 120px;
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 90px;
    height: 90px;
    border-bottom-color: var(--accent);
    animation: spin 0.7s linear infinite reverse;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--text-primary);
}

.loader-text span {
    color: var(--accent);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--transition);
}

#navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: #0a0a0a;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Racing lines animation */
.racing-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.15;
    animation: raceLine 4s linear infinite;
}

.line-1 {
    top: 30%;
    width: 100%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    width: 80%;
    left: 10%;
    animation-delay: 1.3s;
}

.line-3 {
    top: 70%;
    width: 60%;
    left: 20%;
    animation-delay: 2.6s;
}

@keyframes raceLine {
    0% { transform: translateX(-100%); opacity: 0; }
    20% { opacity: 0.2; }
    80% { opacity: 0.2; }
    100% { transform: translateX(100vw); opacity: 0; }
}

/* Grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Particle field */
.particle-field {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

/* Hero background photo */
.hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    filter: grayscale(1) contrast(1.2);
    z-index: 0;
}

/* Section background photos */
.section-bg-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    filter: grayscale(1) contrast(1.3);
    z-index: 0;
    pointer-events: none;
}

.section-bg-photo.right {
    background-position: right center;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

#hero h1 {
    font-family: var(--font-display);
    line-height: 0.95;
    margin-bottom: 28px;
}

.hero-line {
    display: block;
}

.hero-line:first-child {
    font-size: clamp(3rem, 8vw, 6.5rem);
    letter-spacing: 8px;
    color: var(--text-primary);
}

.hero-line.accent {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    letter-spacing: 10px;
    color: var(--accent);
    text-shadow: 0 0 60px var(--accent-glow);
}

.hero-line.small {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    letter-spacing: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0a;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
    letter-spacing: 2px;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 25px; }
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Sections Common --- */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

.section-tag::before {
    right: 100%;
}

.section-tag::after {
    left: 100%;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Services Section --- */
#servicios {
    background: var(--bg-secondary);
    overflow: hidden;
}

#nosotros {
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    overflow: hidden;
    transition: all 0.5s var(--transition);
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition);
}

.service-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--border);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
    transition: color 0.4s ease;
}

.service-card:hover .card-number {
    color: rgba(245, 197, 24, 0.15);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--accent);
    transition: transform 0.4s var(--transition);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin-top: 24px;
    transition: all 0.4s var(--transition);
}

.service-card:hover .card-line {
    width: 60px;
    background: var(--accent);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tachometer {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.tacho-svg {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(245, 197, 24, 0.2));
}

.tacho-needle {
    transform-origin: 150px 170px;
    transition: transform 2s var(--transition);
}

.tachometer.animated .tacho-needle {
    transform: rotate(75deg);
}

.tachometer.animated .tacho-value {
    stroke-dashoffset: 80;
    transition: stroke-dashoffset 2s var(--transition);
}

.about-floating-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatBadge 3s ease-in-out infinite;
    box-shadow: 0 10px 40px var(--accent-secondary-glow);
}

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

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

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: white;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

.about-content .section-tag {
    padding-left: 0;
}

.about-content .section-tag::before {
    display: none;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: var(--bg-card);
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Process Section --- */
#proceso {
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--accent);
    transition: height 1.5s var(--transition);
}

.process-timeline.animated .timeline-line::after {
    height: 100%;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 24px 0;
    position: relative;
}

.step-marker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: all 0.5s var(--transition);
}

.process-step:hover .step-number {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h3 {
    color: var(--accent);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Experiencia / Sala de Espera Section --- */
#experiencia {
    overflow: hidden;
}

.experiencia-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.experiencia-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

.experiencia-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--transition);
}

.experiencia-img-wrapper:hover img {
    transform: scale(1.03);
}

.experiencia-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(245, 197, 24, 0.08) 0%,
        transparent 50%,
        rgba(10, 10, 10, 0.3) 100%
    );
    pointer-events: none;
}

.experiencia-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.experiencia-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.experiencia-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exp-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.exp-feature:hover {
    background: var(--bg-card);
}

.exp-feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.exp-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.exp-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.5s var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 24px;
    transition: all 0.4s var(--transition);
}

.whatsapp-card .contact-icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
}

.whatsapp-card:hover .contact-icon {
    background: rgba(37, 211, 102, 0.2);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.2);
}

.instagram-card .contact-icon {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.instagram-card:hover .contact-icon {
    background: rgba(225, 48, 108, 0.2);
    box-shadow: 0 0 30px rgba(225, 48, 108, 0.2);
}

.location-card .contact-icon {
    background: rgba(245, 197, 24, 0.1);
    color: var(--accent);
}

.location-card:hover .contact-icon {
    background: rgba(245, 197, 24, 0.2);
    box-shadow: 0 0 30px var(--accent-glow);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--transition);
}

.whatsapp-btn {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background: var(--whatsapp);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.instagram-btn {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.instagram-btn:hover {
    background: #E1306C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.3);
}

.location-btn {
    background: rgba(245, 197, 24, 0.1);
    color: var(--accent);
    border: 1px solid rgba(245, 197, 24, 0.2);
}

.location-btn:hover {
    background: var(--accent);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.phone-card .contact-icon {
    background: rgba(27, 20, 100, 0.15);
    color: #7B78FF;
}

.phone-card:hover .contact-icon {
    background: rgba(27, 20, 100, 0.25);
    box-shadow: 0 0 30px rgba(27, 20, 100, 0.3);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-btn {
    background: rgba(27, 20, 100, 0.1);
    color: #9B99FF;
    border: 1px solid rgba(27, 20, 100, 0.25);
}

.phone-btn:hover {
    background: var(--accent-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-secondary-glow);
}

/* --- Location & Schedule Block --- */
.location-schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    margin-top: 48px;
}

.schedule-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.schedule-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.schedule-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-day {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.schedule-dots {
    flex: 1;
    border-bottom: 2px dotted var(--border-light);
    min-width: 20px;
    margin-bottom: 2px;
}

.schedule-time {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--accent);
    white-space: nowrap;
}

.schedule-row.closed .schedule-time {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.schedule-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.schedule-address svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.schedule-address span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.map-block {
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid var(--border);
    position: relative;
}

.map-block iframe {
    display: block;
    filter: grayscale(0.6) brightness(0.8) contrast(1.1);
    transition: filter 0.5s ease;
}

.map-block:hover iframe {
    filter: grayscale(0) brightness(0.9) contrast(1);
}

@media (max-width: 768px) {
    .location-schedule-grid {
        grid-template-columns: 1fr;
    }

    .map-block {
        min-height: 280px;
    }
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(245, 197, 24, 0.08) 50%, var(--bg-primary) 100%);
}

.cta-racing-stripe {
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(245, 197, 24, 0.03) 40px,
        rgba(245, 197, 24, 0.03) 80px
    );
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
}

/* --- Footer --- */
#footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-section li {
    margin-bottom: 10px;
}

.footer-links-section a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links-section a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

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

.footer-line {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Animations (Intersection Observer) --- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .experiencia-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-line:first-child {
        font-size: 2.8rem;
    }

    .hero-line.accent {
        font-size: 3.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-step {
        gap: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-line {
        left: 24px;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 16px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    #hero {
        padding: 100px 16px 60px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

/* --- Carbon Fiber Pattern (decorative) --- */
.carbon-pattern {
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 4px 4px;
}

/* --- Selection Color --- */
::selection {
    background: var(--accent);
    color: #0a0a0a;
}
