/* ============================================================
   TALLERES SANFER — DESIGN SYSTEM
   Inspired by Modern Volvo Trucks Aesthetic
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    /* Colors — Dark Volvo Palette */
    --volvo-dark: #0a0a0a;
    --volvo-deep: #111111;
    --volvo-surface: #161616;
    --volvo-steel: #1a1f2e;
    --volvo-card: #1c1c1e;
    --volvo-border: rgba(255, 255, 255, 0.06);
    --volvo-border-hover: rgba(255, 255, 255, 0.12);

    /* Brand Colors */
    --volvo-blue: #003057;
    --volvo-blue-mid: #14517a;
    --volvo-blue-light: #1a7fd4;
    --volvo-blue-glow: rgba(26, 127, 212, 0.15);
    --volvo-accent: #c45e3e;
    --volvo-accent-hover: #d97a5e;
    --volvo-accent-glow: rgba(196, 94, 62, 0.2);

    /* Text Colors */
    --text-primary: #f0f0f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --max-width: 1280px;
    --nav-height: 80px;
    --nav-height-scrolled: 64px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 30px rgba(26, 127, 212, 0.15);
    --shadow-glow-accent: 0 0 30px rgba(196, 94, 62, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-bg-strong: rgba(10, 10, 10, 0.85);
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--text-primary);
    background-color: var(--volvo-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background: var(--volvo-blue-light);
    color: white;
}

/* ============================================================
   UTILITY: HIDDEN COMPONENT TITLES (legacy cleanup)
   ============================================================ */
.titulocomponente {
    display: none !important;
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================================
   NAVIGATION — Glassmorphism Sticky Nav
   ============================================================ */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.nav-wrapper.scrolled {
    border-bottom: var(--glass-border);
}

.nav-wrapper.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: -1;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    transition: height var(--transition-base);
}

.nav-wrapper.scrolled .nav-inner {
    height: var(--nav-height-scrolled);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
    z-index: 1001;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: height var(--transition-base);
    filter: brightness(0) invert(1);
}

.nav-wrapper.scrolled .nav-logo img {
    height: 40px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--volvo-blue-light);
    transition: width var(--transition-base);
}

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

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

/* CTA Button in Nav */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px !important;
    background: var(--volvo-accent);
    color: white !important;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.nav-cta::after {
    display: none !important;
}

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    transform-origin: center;
}

.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(5px, -5px);
}

/* ============================================================
   HERO SECTION — Cinematic Full-Screen
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero.visible .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 48, 87, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--volvo-blue-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.hero.visible .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.hero.visible .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-title span {
    background: linear-gradient(135deg, var(--volvo-blue-light), var(--volvo-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: var(--font-weight-light);
    color: #e2e8f0  ;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.hero.visible .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

.hero.visible .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.7rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(8px);
    }
}

/* ============================================================
   BUTTONS — Premium Volvo Style
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 36px;
    background: var(--volvo-accent);
    color: white;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ============================================================
   SECTION STYLES — Global Section System
   ============================================================ */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-dark {
    background: var(--volvo-deep);
}

.section-gradient {
    background: linear-gradient(180deg, var(--volvo-dark) 0%, var(--volvo-deep) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--volvo-blue-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--volvo-blue-light);
    opacity: 0.4;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.1rem;
    font-weight: var(--font-weight-light);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   STATS SECTION — Animated Counters
   ============================================================ */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--volvo-border);
    border-bottom: 1px solid var(--volvo-border);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--text-primary), var(--volvo-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   SERVICE CARDS — Premium Glassmorphism
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    background: var(--volvo-card);
    border: 1px solid var(--volvo-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
    group: true;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--volvo-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--volvo-card) 0%, transparent 60%);
}

.service-card-body {
    padding: var(--space-xl) var(--space-xl) var(--space-2xl);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 280px;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--volvo-blue-glow);
    border-radius: var(--radius-md);
    color: var(--volvo-blue-light);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
    background: var(--volvo-blue-light);
    color: white;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--volvo-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition-base);
}

.service-card-link i,
.service-card-link svg {
    transition: transform var(--transition-base);
}

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

.service-card:hover .service-card-link i,
.service-card:hover .service-card-link svg {
    transform: translateX(4px);
}

/* ============================================================
   PARALLAX BANNER
   ============================================================ */
.parallax-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-banner-bg {
    position: absolute;
    inset: -20%;
    z-index: 0;
}

.parallax-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 48, 87, 0.85) 0%,
            rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.parallax-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 var(--space-xl);
}

.parallax-banner-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.parallax-banner-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    padding-right: var(--space-2xl);
}

.contact-info-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.contact-info-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--volvo-border);
    transition: all var(--transition-base);
}

.contact-item:hover {
    padding-left: var(--space-md);
    border-color: var(--volvo-blue-light);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--volvo-blue-glow);
    border-radius: var(--radius-md);
    color: var(--volvo-blue-light);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.contact-item:hover .contact-item-icon {
    background: var(--volvo-blue-light);
    color: white;
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-item-value a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-item-value a:hover {
    color: var(--volvo-blue-light);
}

.contact-maps-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-maps-stack .contact-map {
    height: 285px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--volvo-border);
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.5) contrast(1.1);
}

/* ============================================================
   FOOTER — Ultra Dark Premium
   ============================================================ */
.footer {
    background: var(--volvo-deep);
    border-top: 1px solid var(--volvo-border);
    padding: var(--space-4xl) 0 0;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: var(--space-lg);
}

.footer-brand-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--volvo-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--volvo-blue-light);
    border-color: var(--volvo-blue-light);
    color: white;
    transform: translateY(-2px);
}

.footer-column h3 {
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xl);
}

.footer-column li {
    margin-bottom: var(--space-md);
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-column a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--volvo-border);
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-dim);
}

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

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-dim);
    transition: color var(--transition-fast);
}

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

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================================
   LINK FOOTER (legacy compat)
   ============================================================ */
.link-footer {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.link-footer:hover {
    color: var(--volvo-blue-light) !important;
}

/* ============================================================
   RESPONSIVE — Mobile First
   ============================================================ */

/* Mobile (<768px) */
@media screen and (max-width: 767px) {
    :root {
        --nav-height: 70px;
        --nav-height-scrolled: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 999;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

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

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-primary);
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 0 var(--space-lg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

    .contact-info {
        padding-right: 0;
    }

    .contact-info-title {
        font-size: 1.5rem;
    }

    .contact-map {
        height: 260px;
        border-radius: var(--radius-md);
    }

    .contact-maps-stack .contact-map {
        height: 220px;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .parallax-banner {
        height: 350px;
    }

    .parallax-banner-title {
        font-size: 1.6rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding: 0 var(--space-lg);
    }
}

/* Tablet (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 999;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

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

    .nav-links a {
        font-size: 1.1rem;
    }

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

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

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

    .contact-info {
        padding-right: 0;
    }

    .contact-maps-stack {
        flex-direction: row;
    }

    .contact-maps-stack .contact-map {
        height: 250px;
    }

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

/* Large Desktop (>1440px) */
@media screen and (min-width: 1440px) {
    :root {
        --max-width: 1400px;
    }
}

/* ============================================================
   PREHEADER / OLD COMPONENTS OVERRIDE
   ============================================================ */
.preheader,
.contenedor-header,
.separadorfino,
.contenedorgrande,
.contenedorgrande2,
.subhero,
.subhero2,
.info-last,
.vfs,
.header-hero,
.textos-hero,
.svg-hero,
.menu-navegacion,
.subfooter1,
.postfooter {
    /* Legacy components hidden — replaced by new design */
}

/* Keep legacy .activa for compatibility */
.activa {
    color: var(--text-primary) !important;
}

/* ============================================================
   EMERGENCY 24H BADGE
   ============================================================ */
.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: rgba(196, 94, 62, 0.1);
    border: 1px solid rgba(196, 94, 62, 0.3);
    border-radius: var(--radius-full);
    color: var(--volvo-accent);
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    animation: emergencyPulse 2s ease-in-out infinite;
}

@keyframes emergencyPulse {

    0%,
    100% {
        border-color: rgba(196, 94, 62, 0.3);
    }

    50% {
        border-color: rgba(196, 94, 62, 0.6);
        box-shadow: 0 0 20px rgba(196, 94, 62, 0.1);
    }
}

/* ============================================================
   ABOUT SECTION (Quiénes Somos)
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--volvo-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--volvo-border);
    transition: all var(--transition-base);
}

.about-feature:hover {
    border-color: var(--volvo-blue-light);
    background: rgba(26, 127, 212, 0.05);
}

.about-feature i {
    color: var(--volvo-blue-light);
    font-size: 1.1rem;
    min-width: 24px;
}

.about-feature span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--volvo-border);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 48, 87, 0.2), transparent);
}

@media screen and (max-width: 767px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image img {
        height: 300px;
    }
}