/* ==========================================================================
   DESIGN SYSTEM & CSS RESET
   ========================================================================== */

:root {
    --bg-color: #020204;
    --card-bg: rgba(6, 6, 10, 0.45); /* 45% opacity so background vehicle is visible through cards */
    --card-border: rgba(255, 255, 255, 0.12); /* Increased border contrast */
    --card-border-glow: rgba(189, 0, 255, 0.45); /* Intense purple glow on hover */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.92); /* Highly intense text color for readability */
    
    /* Premium Colors & Gradients */
    --accent-primary: #00f2fe;
    --accent-secondary: #4facfe;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%); /* Replicates header CTA button */
    
    --glow-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
    --neon-purple: #bd00ff;
    --neon-purple-glow: 0 0 25px rgba(189, 0, 255, 0.45);
    
    /* Layout */
    --header-height: 80px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
}

/* Bilingual content switching */
body.lang-es [lang="en"] {
    display: none !important;
}
body.lang-en [lang="es"] {
    display: none !important;
}

/* ==========================================================================
   BACKGROUND CANVAS (FIXED & FULLSCREEN)
   ========================================================================== */

.canvas-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* fallback for older browsers */
    height: 100dvh; /* real visible viewport height on mobile, ignores URL bar */
    z-index: 0;
    background-color: var(--bg-color);
    overflow: hidden;
}

#bugatti-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.8) contrast(1.05); /* Slightly darker image background for better card contrast */
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Vignette effect + gradient shadow for card readability */
    background: radial-gradient(circle at center, rgba(2, 2, 4, 0.15) 0%, rgba(2, 2, 4, 0.85) 100%);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    background-color: rgba(3, 3, 6, 0.75);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative; /* Added to support absolute centering of the menu */
}

/* Brand Logo Layout */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 44px; /* Proportional to header height */
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.logo-purple {
    color: #c084fc;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

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

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

/* Hamburger Button Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Hamburger animations when active */
.hamburger-menu.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.2rem 0.4rem;
}

.lang-btn:hover, .lang-btn.active {
    color: #ffffff;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

/* Rounded Pill Header CTA Button (Replicated from screenshot) */
.btn-header-cta {
    background: var(--purple-gradient) !important;
    color: #ffffff !important;
    border-radius: 100px !important;
    padding: 0.65rem 1.4rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.55);
}

/* ==========================================================================
   PROGRESS BAR LOADER
   ========================================================================== */

#loader-bar-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 99;
}

#loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    box-shadow: var(--glow-shadow);
    transition: width 0.3s ease;
}

#loader-text {
    position: absolute;
    top: 10px;
    right: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    display: flex;
    gap: 0.5rem;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loader-text.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   SCROLL STRUCTURE & CONTENT SECTIONS
   ========================================================================== */

.scroll-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.content-section {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    padding: 100px 10% 60px 10%;
    box-sizing: border-box;
    position: relative;
}

.hero-section {
    padding-top: 0;
    padding-bottom: 0;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: calc(var(--header-height) + 2rem);
    height: auto;
    min-height: calc(100vh - var(--header-height) - 4rem);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   GLASSMORPHIC INFO CARDS
   ========================================================================== */

.info-card {
    width: 100%;
    max-width: 560px;
    padding: 3rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Only interact when visible */
}

/* Active card trigger from Scroll JS */
.content-section.active-section .info-card {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(189, 0, 255, 0.15);
}

.card-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(189, 0, 255, 0.12); /* Purple themed badge */
    border: 1px solid rgba(189, 0, 255, 0.25);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #c084fc; /* Bright violet/purple */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.card-header-with-icon {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(189, 0, 255, 0.15);
    border: 1px solid rgba(189, 0, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(189, 0, 255, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.section-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Bullet list (Replicated from services screenshot) */
.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.check-icon {
    color: #c084fc; /* Vibrant purple checkmark */
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.bullet-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #030306;
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   FORM
   ========================================================================== */

.contact-card {
    max-width: 600px;
}

.premium-form {
    width: 100%;
    margin-top: 1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

.premium-form input,
.premium-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.premium-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
    cursor: pointer;
    padding-right: 2.5rem;
}

.premium-form input:focus,
.premium-form select:focus {
    outline: none;
    border-color: #bd00ff;
    background: rgba(189, 0, 255, 0.03);
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.15);
}

.premium-form select option {
    background-color: #0d0c1d;
    color: #ffffff;
}

.required-asterisk {
    color: #c084fc;
    margin-left: 0.2rem;
    font-weight: bold;
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
    width: 100%;
}

.success-checkmark-box {
    width: 64px;
    height: 64px;
    background: #22c55e;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    margin-bottom: 1.5rem;
}

.checkmark-svg {
    width: 32px;
    height: 32px;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.success-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 2rem;
}

.btn-whatsapp {
    background: #22c55e;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
    background: #1cb050;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-top: 1.5rem;
    text-align: center;
}

.error-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   FOOTER (Quivael Customization Replica)
   ========================================================================== */

.main-footer {
    position: relative;
    z-index: 10;
    background-color: rgba(1, 1, 3, 0.45); /* 45% opacity so background vehicle is visible */
    border-top: 1px solid var(--card-border);
    padding: 2.5rem 0 1.5rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.brand-col {
    max-width: 320px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.social-icon-box {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon-box:hover {
    border-color: #bd00ff;
    background: rgba(189, 0, 255, 0.08);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.footer-links-list a:hover {
    color: #c084fc;
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVENESS & ANIMATION KEYS
   ========================================================================== */

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-anchor {
    position: absolute;
    top: 50%;
    height: 1px;
    width: 1px;
    pointer-events: none;
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .content-section {
        padding: 90px 5% 50px 5%;
    }
    .info-card {
        padding: 2rem;
        max-width: 450px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -280px; /* Hide on the right */
        width: 280px;
        height: 100vh;
        background: rgba(3, 3, 6, 0.98);
        padding: 90px 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--card-border);
        z-index: 105;
        /* Reset absolute positioning from desktop */
        left: auto;
        transform: none;
    }
    
    .nav-links.active {
        right: 0; /* Slide in */
    }
    
    .nav-link {
        font-size: 1.1rem !important;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .header-right {
        gap: 0.75rem;
    }
    
    .btn-header-cta {
        padding: 0.5rem 1rem !important;
        font-size: 0.78rem !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 80px 1rem 40px 1rem;
        justify-content: center !important;
    }
    
    .section-content {
        justify-content: center !important;
    }
    
    .info-card {
        max-width: 100%;
        text-align: center !important;
        align-items: center !important;
    }
    
    .feature-bullet {
        text-align: left;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .btn-header-cta {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.75rem !important;
    }
}

/* ==========================================================================
   ADDED HERO STATS & PROCESS TIMELINE STYLES
   ========================================================================== */

.flex-column {
    flex-direction: column !important;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 16px;
    background: rgba(5, 5, 8, 0.5); /* Reduced opacity so background vehicle is visible */
    border: 1px solid var(--card-border);
}

.stat-icon {
    font-size: 1.5rem;
    background: rgba(189, 0, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(189, 0, 255, 0.2);
    margin-bottom: 0.5rem;
}

.stat-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--text-primary);
}

.stat-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Process Timeline (Horizontal steps) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2.5rem;
    margin-top: 2rem;
}

.timeline-step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: left;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    border-color: var(--card-border-glow);
    background: rgba(255, 255, 255, 0.04);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.4rem;
}

.timeline-step h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-step p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Media Queries for New Elements */
@media (max-width: 968px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 580px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 1.5rem 1rem !important;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .card-badge {
        margin-bottom: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .contact-card {
        padding: 1.5rem 1rem !important;
    }
}

/* ==========================================================================
   GRID LAYOUTS FOR PARA QUIÉN, FAQ, AND BLOG SECTIONS
   ========================================================================== */

.section-card-wide {
    max-width: 960px !important;
}

.grid-layout {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

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

.grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.grid-card:hover {
    border-color: var(--neon-purple-glow);
    background: rgba(189, 0, 255, 0.04);
    box-shadow: 0 10px 30px rgba(189, 0, 255, 0.05);
}

.grid-card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.grid-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.grid-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Blog specific card tweaks */
.blog-card {
    justify-content: space-between;
}

.mini-badge {
    align-self: flex-start;
    padding: 0.25rem 0.65rem !important;
    font-size: 0.65rem !important;
    margin-bottom: 0.5rem !important;
    background: rgba(189, 0, 255, 0.15) !important;
    border-color: rgba(189, 0, 255, 0.3) !important;
}

.blog-link {
    color: #c084fc;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 0.8rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #ffffff;
}

/* Responsiveness for grids */
@media (max-width: 968px) {
    .section-card-wide {
        max-width: 100% !important;
        padding: 2rem 1.5rem !important;
    }
    .grid-2x2 {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .grid-3col {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Service cards styled like stat-cards (compact: icon + title + description) */
.service-stat-card {
    max-width: 420px;
    padding: 1.8rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-stat-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--text-primary);
}

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