/* 
    LAGUARTA BIKES - PREMIUM DESIGN SYSTEM
    Version: 3.0.0 (Complete Restoration)
    Aesthetic: Tech-Luxury, Outdoor-Mountain, High-Performance
    Master Architect: Antigravity
*/

/* ----------------------------------------------------------------
   1. DESIGN TOKENS (HSL SYSTEM)
------------------------------------------------------------------- */

:root {
    /* Brand Colors */
    --primary-h: 82;
    --primary-s: 39%;
    --primary-l: 30%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 45%);
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 20%);
    
    --secondary-h: 24;
    --secondary-s: 90%;
    --secondary-l: 55%;
    --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));

    /* Neutral Palette - Deep Space & Snow */
    --dark: #0a0a0a;
    --black: #000000;
    --white: #ffffff;
    
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    /* Layout */
    --container-xl: 1400px;
    --container-lg: 1200px;
    --container-md: 960px;
    --header-height: 140px;
    --header-scrolled-height: 130px;
    
    /* Effects */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 30px 60px -12px rgba(0, 0, 0, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------------
   2. BASE STYLES
------------------------------------------------------------------- */

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

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

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    selection-background: var(--primary);
    selection-color: var(--white);
}

::selection {
    background: var(--primary);
    color: var(--white);
}

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

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

ul {
    list-style: none;
}

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

button, input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

/* ----------------------------------------------------------------
   3. UTILITIES
------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-light { background-color: var(--gray-50); }
.bg-white { background-color: var(--white); }

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

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ----------------------------------------------------------------
   4. BUTTONS
------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.5);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-white:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-sm {
    padding: 0.8rem 1.8rem;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

/* ----------------------------------------------------------------
   5. TOP BAR
------------------------------------------------------------------- */

.top-bar {
    background: var(--dark);
    color: var(--gray-400);
    font-size: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: center; /* Centered as requested */
    align-items: center;
    gap: 4rem; /* Separation between items */
}

.weather-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.weather-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.weather-item i {
    width: 14px;
    color: var(--primary);
}

.weather-status {
    font-weight: 500;
    color: var(--gray-300);
}

/* ----------------------------------------------------------------
   6. HEADER (CENTRALIZED LOGO VERSION)
------------------------------------------------------------------- */

#main-header {
    position: fixed;
    top: 36px; /* Below top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    height: var(--header-height);
}

#main-header.header-scrolled {
    top: 0;
    height: var(--header-scrolled-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    position: relative;
    display: flex;
    justify-content: center; /* Center everything */
    align-items: center;
    gap: 2.5rem; /* Reduced gap to fit everything on one line */
    height: 100%;
}

/* Centralized Logo Logic */
.logo {
    /* Logo remains central but part of the layout flow or adjusted */
    flex-shrink: 0;
    z-index: 10;
    transition: var(--transition-smooth);
}

.logo-img {
    height: 140px; /* Increased from 110px */
    width: auto;
    transition: var(--transition-smooth);
    filter: brightness(0); /* Black by default for solid headers */
}

#main-header.header-scrolled .logo-img {
    height: 110px;
}

#main-header.header-transparent .logo-img { 
    filter: brightness(0) invert(1); /* Only white when transparent on dark background */
}

#main-header.header-scrolled .logo-img { 
    filter: brightness(0); /* Black when scrolled on white bg */
}

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

/* Navigation Links - Left of Center */
.nav-links-container {
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem; /* Slightly tighter links */
}

.nav-links a {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
}

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

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

#main-header.header-transparent .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

#main-header.header-scrolled .nav-links a {
    color: var(--dark);
}

/* Navigation Actions - Right of Center */
.nav-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

#main-header.header-transparent .mobile-menu-toggle { color: white; }
#main-header.header-scrolled .mobile-menu-toggle { color: var(--dark); }

/* Part 1 concludes here. Approx 350 lines of core foundation and header logic. */

/* ----------------------------------------------------------------
   7. HERO SECTION (MULTI-LAYER SLIDER)
------------------------------------------------------------------- */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--black);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out;
}

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

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 6s linear;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.2) 50%, 
        rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 9.5rem;
    padding-bottom: 6rem; /* Ensures content doesn't overlap the scroll indicator */
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    max-width: 1000px;
    margin-bottom: 2rem;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 700px;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

/* ----------------------------------------------------------------
   8. SECTIONS & COMPONENTS
------------------------------------------------------------------- */

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

.section-subtitle {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-premium);
    border-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section Premium */
.about-image-wrapper {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.about-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-premium {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img-premium {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

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

.experience-badge .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.value-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gray-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.about-stats-premium {
    display: flex;
    gap: 4rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 3rem;
}

.p-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-heading);
}

.p-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Marquee Brands */
.marquee-container {
    background: var(--dark);
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 6rem;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-item {
    color: rgba(255,255,255,0.2);
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.marquee-item:hover {
    color: var(--primary);
}

/* Part 2 concludes here. Approx 300 lines of main content sections. */

/* ----------------------------------------------------------------
   9. TESTIMONIALS & CARDS
------------------------------------------------------------------- */

.card-premium {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-100);
}

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

.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0 3rem; /* padding for box-shadows */
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding-right: 2rem; /* Important for seamless infinite loop */
    animation: marquee 45s linear infinite;
    align-items: stretch;
}

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

.marquee-track > div {
    flex: 0 0 380px;
    white-space: normal;
}

@media (max-width: 768px) {
    .marquee-track > div {
        flex: 0 0 300px;
    }
}

/* ----------------------------------------------------------------
   10. TALLER PAGE (PRICE ACCORDIONS)
------------------------------------------------------------------- */

.price-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.price-accordion-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.price-accordion-header {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.price-accordion-header:hover {
    background: var(--gray-50);
}

.price-accordion-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.price-accordion-item.active .price-accordion-header {
    background: var(--primary);
    color: var(--white);
}

.price-accordion-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.price-accordion-title h3 {
    font-size: 1.2rem;
    margin: 0;
}

.price-accordion-item.active .price-accordion-title h3 {
    color: var(--white);
}

.price-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-accordion-item.active .price-accordion-content {
    max-height: 1000px;
}

.price-list {
    padding: 2rem 2.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-weight: 600;
}

.price-value {
    font-weight: 800;
    color: var(--primary);
}

.price-accordion-item.active .price-value {
    color: var(--primary);
}

/* ----------------------------------------------------------------
   11. AI ASSISTANT (GLASSMORPHISM)
------------------------------------------------------------------- */

.ai-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.ai-toggle-btn {
    background: var(--dark);
    color: var(--white);
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.ai-toggle-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.ai-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.ai-icon-container svg {
    width: 28px;
    height: 28px;
}

.ai-toggle-btn span {
    display: none;
}

.ai-toggle-btn::after {
    content: "Experto Laguarta";
    position: absolute;
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: var(--dark);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-toggle-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.ai-chat-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 400px;
    height: 600px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 1000;
}

.ai-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ai-chat-header {
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-message {
    max-width: 85%;
    padding: 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
}

.ai-message-bot {
    background: var(--white);
    color: var(--dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.ai-message-user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-chat-input {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ai-chat-input input {
    flex: 1;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.ai-chat-input button {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.ai-chat-input button:hover {
    background: var(--primary-dark);
}

/* ----------------------------------------------------------------
   12. FOOTER PREMIUM
------------------------------------------------------------------- */

.footer-premium {
    background: var(--dark);
    color: var(--gray-400);
    padding: 10rem 0 4rem;
    margin-top: 5rem;
}

.footer-brand .logo-img {
    filter: brightness(0) invert(1); /* Ensure footer logo is white on dark bg */
    height: 150px !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 5rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    display: block;
    margin-bottom: 1.2rem;
    transition: var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact-item i {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 8rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

/* ----------------------------------------------------------------
   13. ANIMATIONS
------------------------------------------------------------------- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { transform: translate(-50%, 15px); opacity: 1; }
    100% { transform: translate(-50%, 30px); opacity: 0; }
}

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

@keyframes rotateY {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Part 3 concludes here. Approx 400 lines of complex components. */

/* ----------------------------------------------------------------
   14. MEDIA QUERIES (COMPREHENSIVE RESPONSIVENESS)
------------------------------------------------------------------- */

/* Large Desktops (1440px +) */
@media (min-width: 1440px) {
    :root {
        --container-lg: 1320px;
    }
    .hero-content h1 { font-size: 7rem; }
}

/* Standard Desktops (1200px) */
@media (max-width: 1280px) {
    :root {
        --container-lg: 1100px;
    }
    .grid-2 { gap: 3rem; }
    .grid-3 { gap: 2rem; }
    .about-img-premium { height: 500px; }
}

/* Small Desktops & Tablets Landscape (1024px) */
@media (max-width: 1024px) {
    :root {
        --container-lg: 900px;
    }
    
    .nav-links { gap: 1.5rem; }
    .nav-links a { font-size: 0.8rem; }
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .hero-content h1 { font-size: 4.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    
    .about-stats-premium { gap: 2rem; }
}

/* Tablets Portrait (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 100px;
    }
    
    .section-padding { padding: 4rem 0; }
    
    /* Header & Top Bar adjustments for Mobile */
    .top-bar { display: block; padding: 0.5rem 0; }
    .top-bar-content { justify-content: center; gap: 1rem; }
    .weather-status, .top-bar-links { display: none; }
    #main-header { top: 36px; }
    .nav-links-container { display: none; }
    .nav-actions .btn { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .nav-wrapper {
        justify-content: space-between;
    }
    
    .logo-img { height: 90px; }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-wrapper { padding-right: 0; padding-bottom: 2rem; }
    .about-img-premium { height: auto; aspect-ratio: 4/3; }
    
    .hero-content h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 1.5rem; }
    .hero-content p { font-size: 1.1rem; padding: 0 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 100%; gap: 1rem; margin-top: 2rem; }
    .hero-buttons .btn { width: 100%; display: flex; justify-content: center; }
    
    .experience-badge { padding: 1.2rem; bottom: 10px; right: 10px; }
    .experience-badge .years { font-size: 1.8rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .ai-chat-window {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
        height: 500px;
        bottom: 80px;
    }
}

/* Mobile Landscape (600px) */
@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .service-card { padding: 3rem 2rem; }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    
    .logo-img { height: 55px; }
    
    .hero-content h1 { font-size: 2.4rem; }
    
    .price-accordion-header { padding: 1.5rem; }
    .price-list { padding: 1.5rem; }
    
    .marquee-item { font-size: 2rem; }
}

/* Small Mobile (320px) */
@media (max-width: 320px) {
    .hero-content h1 { font-size: 2rem; }
}

/* ----------------------------------------------------------------
   15. MOBILE MENU (OVERLAY)
------------------------------------------------------------------- */

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.mobile-menu-close {
    background: none;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.mobile-cta-li {
    margin-top: 2rem;
}

/* ----------------------------------------------------------------
   16. CUSTOM CURSOR & ACCENTS
------------------------------------------------------------------- */

.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.3);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* ----------------------------------------------------------------
   17. SCROLLBAR CUSTOMIZATION
------------------------------------------------------------------- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ----------------------------------------------------------------
   18. INSTAGRAM SECTION (PREMIUM CTA)
------------------------------------------------------------------- */

.insta-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.insta-premium-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-100);
    gap: 3rem;
    text-align: left;
}

.insta-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.insta-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.insta-icon-wrapper svg {
    width: 50px;
    height: 50px;
}

.insta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--dark);
}

.insta-content p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .insta-premium-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
        gap: 1.5rem;
    }
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

.insta-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--gray-100);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.insta-item:hover img {
    transform: scale(1.05);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    color: var(--white);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* ----------------------------------------------------------------
   19. FINAL POLISH & OVERRIDES
------------------------------------------------------------------- */

.reveal {
    /* Mantenemos el sistema de revelado por opacidad solamente */
}

.reveal.active {
    /* Mantenemos el sistema de revelado por opacidad solamente */
}

/* Specific Taller Page tweaks */
.taller-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/hero_2.jpg');
    background-size: cover;
    background-position: center;
    padding: 15rem 0 10rem;
    text-align: center;
    color: var(--white);
}

/* Catalog Grid Adjustments */
.catalog-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-100);
}

.catalog-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* End of Master Stylesheet. Total approx 1800-2000 lines equivalent. */

/* ----------------------------------------------------------------
   19. TYPOGRAPHY SYSTEM (FLUID & PRECISE)
------------------------------------------------------------------- */

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.1em; }
h5 { font-size: 1.1rem; font-weight: 700; }
h6 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--gray-500); }

.lead { font-size: 1.25rem; color: var(--gray-600); font-weight: 400; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* ----------------------------------------------------------------
   20. CATALOG PAGE SPECIFIC
------------------------------------------------------------------- */

.catalog-header {
    background: var(--dark);
    padding: 12rem 0 8rem;
    text-align: center;
    color: var(--white);
    position: relative;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card-premium-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.card-premium:hover .card-premium-img img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card {
    text-align: center;
    padding: 3rem;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    background: white;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gray-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

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

.service-card-modern {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card-modern .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card-modern:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card-modern h4 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    color: var(--dark);
}

.service-card-modern p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.workshop-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-top: 3rem;
}

.w-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
}

.w-badge i {
    color: var(--primary);
    width: 20px;
}

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

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: zoom-in;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border-radius: var(--radius-md);
}

/* ----------------------------------------------------------------
   22. CONTACT PAGE SPECIFIC
------------------------------------------------------------------- */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-form {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 5rem;
    box-shadow: var(--shadow-md);
}

/* ----------------------------------------------------------------
   23. FAQ PAGE SPECIFIC
------------------------------------------------------------------- */

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

.faq-item {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 2rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    color: var(--gray-600);
    padding-top: 0;
}

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

.faq-item.active .faq-question {
    color: var(--primary);
}

/* ----------------------------------------------------------------
   24. WORKSHOP PRICE OVERRIDES (MATCHING HTML CLASSES)
------------------------------------------------------------------- */

.price-category-title {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    background: var(--white);
}

.price-accordion-item.active .price-category-title {
    background: var(--primary);
    color: var(--white);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}

.price-row:hover {
    background: var(--gray-50);
}

.service-name {
    font-weight: 500;
}

.price-val {
    font-weight: 800;
    color: var(--primary);
}

.price-accordion-item.active .price-val {
    color: var(--primary); /* Keep it primary even in active item if needed, or make it white/lighter */
}

/* ----------------------------------------------------------------
   25. EXTRA MICRO-ANIMATIONS
------------------------------------------------------------------- */

@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.4); }
    70% { box-shadow: 0 0 0 15px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0); }
    100% { box-shadow: 0 0 0 0 hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0); }
}

.pulse-btn {
    animation: pulse-primary 2s infinite;
}

/* Footer Schedule Image Crop */
.footer-schedule-container {
    width: 100%;
    height: 280px; /* Increased height to show hours */
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    background: #f0f0f0;
    margin-bottom: 1.5rem;
}

.footer-schedule-container img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: center 60%; /* Re-aligned to show the hours text clearly */
    filter: contrast(1.1);
}

/* End of Expanded Stylesheet. Total approx 1900-2000 lines equivalent. */

/* ----------------------------------------------------------------
   WhatsApp Floating Button
------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--dark);
    color: var(--white);
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #25d366;
    transform: scale(1.1);
    color: var(--white);
}

.whatsapp-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.whatsapp-icon-container svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float span {
    display: none;
}

.whatsapp-float::after {
    content: "WhatsApp Laguarta";
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--dark);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon-container svg {
        width: 24px;
        height: 24px;
    }
    .whatsapp-float::after {
        display: none;
    }
}

/* ----------------------------------------------------------------
   14. DARK BACKGROUND TEXT FIXES
------------------------------------------------------------------- */
.ai-chat-header h1,
.ai-chat-header h2,
.ai-chat-header h3,
.ai-chat-header h4,
.ai-chat-header h5,
.ai-chat-header h6,
.footer-premium h1,
.footer-premium h2,
.footer-premium h3,
.footer-premium h4,
.footer-premium h5,
.footer-premium h6,
[style*="background: var(--dark)"] h1,
[style*="background: var(--dark)"] h2,
[style*="background: var(--dark)"] h3,
[style*="background: var(--dark)"] h4,
[style*="background: var(--dark)"] h5,
[style*="background: var(--dark)"] h6 {
    color: var(--white) !important;
}

/* ----------------------------------------------------------------
   15. RESPONSIVE BRANDS IMAGES
------------------------------------------------------------------- */
.brands-image-container {
    padding: 4rem 1.5rem !important; /* Ensure lateral padding on mobile so logos don't touch screen edges */
    box-sizing: border-box;
}

.brands-image {
    max-width: 1024px; /* Limit size to its natural resolution to avoid pixelation on large viewports */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.brands-image:hover {
    opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 10000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
    font-family: var(--font-main);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}
.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 1rem;
}
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-banner-actions button {
        flex: 1;
    }
}

/* Fallback for bg-gray */
.bg-gray {
    background-color: var(--gray-50);
}
