/* ==========================================================================
   DoBIM Coworking - Master Design System
   Audited & Crafted with Emil Kowalski Design Engineering, Apple Design & Mobile-Native
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Reset & Variables
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand & Color Palette (DoBIM Corporate Colors extracted from logodobim.png) */
    --dobim-red: #e62c23;
    --dobim-red-hover: #c83023;
    --dobim-red-dark: #ae2b20;
    --dobim-red-soft: rgba(230, 44, 35, 0.08);
    --dobim-red-glow: rgba(230, 44, 35, 0.18);
    
    --dobim-gray: #4a4a49;
    --dobim-gray-dark: #424241;
    --dobim-gray-medium: #565656;
    --dobim-gray-light: #e5e7eb;
    
    --dobim-green: #729d92;
    --dobim-green-dark: #56786f;
    --dobim-green-soft: rgba(114, 157, 146, 0.12);

    --brand-accent: var(--dobim-red);
    --brand-accent-hover: var(--dobim-red-hover);
    --brand-accent-active: var(--dobim-red-dark);
    --brand-accent-soft: var(--dobim-red-soft);
    --brand-accent-glow: var(--dobim-red-glow);
    
    --text-primary: #111827;       /* Deep slate graphite */
    --text-secondary: #4b5563;     /* Contrast ratio > 5.5:1 */
    --text-muted: #6b7280;
    --text-white: #ffffff;
    
    --bg-page: #ffffff;
    --bg-subtle: #f9fafb;         /* Studio light neutral */
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --border-subtle: #e5e7eb;
    --border-card: #e5e7eb;
    --border-card-hover: #cbd5e1;
    --border-accent: #dd3333;
    
    --success-dot: #10b981;

    /* Architectural Directional Elevation Shadows */
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.06);
    --shadow-lg: 0 12px 24px -4px rgba(17, 24, 39, 0.08);
    --shadow-xl: 0 20px 32px -8px rgba(17, 24, 39, 0.10);
    --shadow-specular: inset 0 1px 0 rgba(255, 255, 255, 0.8);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Emil Kowalski & Apple Design Easing Curves */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);         /* High-punch UI responsive ease */
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);     /* Smooth morphing curve */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15); /* Controlled tactile overshoot */
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);      /* iOS sheet curve */

    /* Snappy Durations (All under 300ms for optimal perceived speed) */
    --duration-micro: 120ms;
    --duration-fast: 180ms;
    --duration-normal: 260ms;
    --duration-reveal: 280ms;
}

/* Mobile-Native Core Fixes */
html {
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent; /* Kill mobile tap flash */
    scroll-behavior: smooth;
}

/* Prevent auto-zoom on mobile input focus */
input, select, textarea, button {
    font-family: inherit;
    font-size: 16px; /* 16px minimum prevents iOS zoom */
}

/* Body & Viewport */
body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.65;
    position: relative;
    min-height: 100svh; /* Small viewport unit avoids overflow under mobile URL bar */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

/* Lenis Butter-Smooth Inertial Scrolling */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Scroll reading progress indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 1100;
    transition: transform 0.08s linear;
}

/* --------------------------------------------------------------------------
   2. Layout & Typography Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    background: var(--brand-accent-soft);
    color: var(--brand-accent);
    border: 1px solid rgba(230, 44, 35, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    user-select: none;
    transition: all var(--duration-fast) var(--ease-out);
}

.section-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Corporate Color Alternate Badges */
.section-badge.badge-red {
    background: var(--dobim-red-soft);
    color: var(--dobim-red);
    border-color: rgba(230, 44, 35, 0.22);
}

.section-badge.badge-green {
    background: var(--dobim-green-soft);
    color: var(--dobim-green-dark);
    border-color: rgba(114, 157, 146, 0.32);
}

.section-badge.badge-gray {
    background: rgba(74, 74, 73, 0.08);
    color: var(--dobim-gray-dark);
    border-color: rgba(74, 74, 73, 0.22);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. Header Navigation (Apple Glass Frosted Material)
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    padding-top: max(1.1rem, env(safe-area-inset-top));
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: var(--shadow-specular);
    transition: padding var(--duration-fast) var(--ease-out), 
                background-color var(--duration-fast) var(--ease-out), 
                border-color var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out);
}

.header.scrolled {
    padding: 0.75rem 0;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(229, 231, 235, 0.9);
    box-shadow: var(--shadow-sm), var(--shadow-specular);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    user-select: none;
    touch-action: manipulation;
    transition: transform var(--duration-micro) var(--ease-out);
}

.logo:active {
    transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
    .logo:hover {
        transform: translateY(-1px);
    }
}

.logo-img {
    height: 40px;
    width: auto;
    max-height: 40px;
    display: block;
    object-fit: contain;
}

@media (max-width: 480px) {
    .logo-img {
        height: 36px;
        max-height: 36px;
    }
}

.logo-accent {
    color: var(--brand-accent);
    font-weight: 600;
}

.logo-accent-green {
    color: var(--dobim-green);
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 0.4rem 0;
    touch-action: manipulation;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--duration-fast) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .nav-link:hover {
        color: var(--text-primary);
    }
    .nav-link:hover::after {
        transform: scaleX(1);
    }
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Language Switcher Segmented Control (ESP / CAT) */
.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(243, 244, 246, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    padding: 3px 5px;
    gap: 3px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.6rem;
    border-radius: 9999px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    letter-spacing: 0.04em;
    font-size: 0.75rem;
    font-weight: 600;
}

.lang-divider {
    color: var(--border-subtle);
    font-size: 0.75rem;
    user-select: none;
    padding: 0 1px;
}

@media (hover: hover) and (pointer: fine) {
    .lang-btn:hover {
        color: var(--text-primary);
    }
}

.lang-btn.active {
    background: #ffffff;
    color: var(--brand-accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.mobile-lang-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-lang-wrapper .lang-switch {
    padding: 4px 6px;
    font-size: 0.85rem;
    background: var(--bg-alt);
}

.mobile-lang-wrapper .lang-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
}

/* Tactile Buttons with Zero Latency & Press Physics */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.45rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    user-select: none;
    touch-action: manipulation;
    transition: transform var(--duration-micro) var(--ease-out), 
                background-color var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
}

/* Apple design pointer-down press feedback */
.cta-button:active {
    transform: scale(0.965);
    transition-duration: var(--duration-micro);
}

.cta-primary {
    background-color: var(--dobim-green);
    color: var(--text-white);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (hover: hover) and (pointer: fine) {
    .cta-primary:hover {
        background-color: var(--dobim-green-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.cta-secondary {
    background-color: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
    .cta-secondary:hover {
        border-color: var(--border-card-hover);
        color: var(--brand-accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.cta-small {
    padding: 0.55rem 1.15rem;
    font-size: 0.875rem;
}

.cta-large {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.cta-button.cta-dobim {
    background-color: var(--dobim-gray);
    color: #ffffff !important;
    border: 1px solid var(--dobim-gray);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (hover: hover) and (pointer: fine) {
    .cta-button.cta-dobim:hover {
        background-color: var(--dobim-gray-dark);
        border-color: var(--dobim-gray-dark);
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    user-select: none;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--duration-fast) var(--ease-drawer), 
                opacity var(--duration-fast) var(--ease-drawer);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Sheet */
.mobile-menu-drawer {
    display: none;
}

@media (max-width: 820px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu, 
    .nav-actions .cta-secondary,
    .nav-actions .lang-switch {
        display: none;
    }
    .mobile-menu-drawer {
        display: block;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(17, 24, 39, 0.45);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--duration-normal) var(--ease-drawer), 
                    visibility var(--duration-normal) var(--ease-drawer);
    }
    .mobile-menu-drawer.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-menu-content {
        background: #ffffff;
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.8rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        transform: translateY(-16px);
        transition: transform var(--duration-normal) var(--ease-drawer);
        box-shadow: var(--shadow-xl);
    }
    .mobile-menu-drawer.is-open .mobile-menu-content {
        transform: translateY(0);
    }
    .mobile-menu-content .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    .mobile-menu-content .nav-link::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    padding: 7.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    user-select: none;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success-dot);
    position: relative;
}

.status-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--success-dot);
    animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 1; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
    font-size: clamp(2.3rem, 3.8vw, 3.3rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 1.35rem;
}

.hero-title-highlight {
    color: var(--brand-accent);
}

.hero-highlight-red {
    color: var(--dobim-red);
}

.hero-highlight-green {
    color: var(--dobim-green);
}

.hero-highlight-gray {
    color: var(--dobim-gray);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.8rem;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-subtle);
    max-width: 520px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-number {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.65rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    white-space: nowrap;
}

.trust-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Hero Image Card (Natural elevation) */
.hero-visual {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    transition: transform var(--duration-normal) var(--ease-out), 
                box-shadow var(--duration-normal) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .hero-image-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px -12px rgba(17, 24, 39, 0.14);
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.02);
    pointer-events: none;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* Hero Slider Navigation Arrows */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    color: var(--text-primary);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: transform var(--duration-fast) var(--ease-spring),
                background-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}

.hero-slider-prev {
    left: 0.85rem;
}

.hero-slider-next {
    right: 0.85rem;
}

.hero-slider-nav:hover {
    background: #ffffff;
    color: var(--dobim-green);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hero-slider-nav:active {
    transform: translateY(-50%) scale(0.92);
}

.hero-slider-nav:focus-visible {
    outline: 2px solid var(--dobim-green);
    outline-offset: 2px;
}

/* Hotspots on image */
.hotspot {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dobim-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    z-index: 20;
    user-select: none;
    touch-action: manipulation;
    font-size: 0.78rem;
    transition: transform var(--duration-micro) var(--ease-spring),
                background-color var(--duration-fast) var(--ease-out);
}

.hotspot .hotspot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--dobim-green);
    opacity: 0.55;
    animation: hotspot-pulse-anim 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes hotspot-pulse-anim {
    0% { transform: scale(0.85); opacity: 0.75; }
    70% { transform: scale(1.85); opacity: 0; }
    100% { transform: scale(1.85); opacity: 0; }
}

.hotspot:active {
    transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
    .hotspot:hover {
        transform: scale(1.15);
        background: var(--dobim-green-dark);
    }
}

.hotspot-1 { top: 28%; left: 24%; }
.hotspot-2 { top: 62%; left: 74%; }
.hotspot-3 { top: 30%; left: 70%; }

.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    transform-origin: bottom center;
    background: rgba(17, 24, 39, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-fast) var(--ease-out), 
                transform var(--duration-fast) var(--ease-out),
                visibility var(--duration-fast);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(17, 24, 39, 0.94) transparent transparent transparent;
}

.hotspot:hover .hotspot-tooltip,
.hotspot:focus .hotspot-tooltip,
.hotspot:focus-visible .hotspot-tooltip,
.hotspot.active .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hero-floating-tag {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(229, 231, 235, 0.8);
    z-index: 10;
}

.tag-icon {
    color: var(--brand-accent);
    font-size: 1.1rem;
}

.tag-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.tag-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. Bento Grid Benefits Section
   -------------------------------------------------------------------------- */
.benefits {
    padding: 6.5rem 0;
    position: relative;
    background-color: var(--bg-subtle);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* Interactive Spotlight Card */
.spotlight-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out), 
                border-color var(--duration-fast) var(--ease-out);
}

/* Alternating subtle DoBIM brand themes: Red, Gray, Green */
.spotlight-card:nth-child(3n+1) {
    --card-spotlight-color: rgba(230, 44, 35, 0.08);
    --card-badge-bg: rgba(230, 44, 35, 0.08);
    --card-badge-color: var(--dobim-red);
}

.spotlight-card:nth-child(3n+2) {
    --card-spotlight-color: rgba(74, 74, 73, 0.07);
    --card-badge-bg: rgba(74, 74, 73, 0.08);
    --card-badge-color: var(--dobim-gray);
}

.spotlight-card:nth-child(3n) {
    --card-spotlight-color: rgba(114, 157, 146, 0.12);
    --card-badge-bg: rgba(114, 157, 146, 0.12);
    --card-badge-color: var(--dobim-green-dark);
}

/* Spotlight radial glow on mouse tracking */
.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        450px circle at var(--mouse-x, -200px) var(--mouse-y, -200px),
        var(--card-spotlight-color, rgba(230, 44, 35, 0.08)),
        transparent 65%
    );
    opacity: var(--spotlight-opacity, 0);
    transition: opacity var(--duration-fast) var(--ease-out);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .spotlight-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--border-card-hover);
    }
}

.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

.bento-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.bento-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--card-badge-bg, var(--brand-accent-soft));
    color: var(--card-badge-color, var(--brand-accent));
    font-size: 1.35rem;
    transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.spotlight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

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

/* --------------------------------------------------------------------------
   6. Interactive Spaces Showcase
   -------------------------------------------------------------------------- */
.spaces {
    padding: 6.5rem 0;
    background-color: var(--bg-page);
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2.5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    align-items: center;
}

.space-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.space-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: left;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    transition: border-color var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out), 
                transform var(--duration-micro) var(--ease-out);
}

.space-tab-btn:active {
    transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
    .space-tab-btn:hover {
        border-color: var(--border-card-hover);
        box-shadow: var(--shadow-sm);
    }
}

.space-tab-btn[data-index="0"] { --tab-color: var(--dobim-green); --tab-shadow: var(--dobim-green-soft); }
.space-tab-btn[data-index="1"] { --tab-color: var(--dobim-gray); --tab-shadow: rgba(74, 74, 73, 0.12); }
.space-tab-btn[data-index="2"] { --tab-color: var(--dobim-red); --tab-shadow: var(--dobim-red-soft); }

.space-tab-btn.active {
    border-color: var(--tab-color, var(--brand-accent));
    box-shadow: 0 4px 16px var(--tab-shadow, rgba(221, 51, 51, 0.12));
    background: #ffffff;
    position: relative;
}

.space-tab-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--tab-color, var(--brand-accent));
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.space-tab-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.space-tab-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.space-tab-arrow {
    color: var(--text-muted);
    transition: transform var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
    font-size: 0.95rem;
}

.space-tab-btn.active .space-tab-arrow {
    color: var(--tab-color, var(--brand-accent));
    transform: translateX(4px);
}

.showcase-view {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #111827;
    aspect-ratio: 16/10;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity var(--duration-normal) var(--ease-out), 
                transform var(--duration-normal) var(--ease-out);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.4) 60%, transparent 100%);
    color: #ffffff;
}

.showcase-overlay h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.showcase-overlay p {
    color: #e5e7eb;
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
    max-width: 520px;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.showcase-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   7. Photographic Gallery Section
   -------------------------------------------------------------------------- */
.gallery {
    padding: 6.5rem 0;
    background-color: var(--bg-subtle);
}

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

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    aspect-ratio: 4/3;
    transition: transform var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-normal) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .gallery-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    .gallery-card:hover img {
        transform: scale(1.04);
    }
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.85), transparent);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. Services Strip (Architectural Micro-Chips)
   -------------------------------------------------------------------------- */
.services-strip {
    padding: 2.5rem 0;
    background-color: var(--bg-page);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.services-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: border-color var(--duration-fast) var(--ease-out), 
                color var(--duration-fast) var(--ease-out), 
                transform var(--duration-micro) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .service-chip:hover {
        color: var(--text-primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }
}

/* Alternate 3 corporate colors on icons and subtle hover border */
.service-chip:nth-child(3n + 1) i {
    color: var(--dobim-red);
}

.service-chip:nth-child(3n + 1):hover {
    border-color: rgba(230, 44, 35, 0.35);
}

.service-chip:nth-child(3n + 2) i {
    color: var(--dobim-green);
}

.service-chip:nth-child(3n + 2):hover {
    border-color: rgba(114, 157, 146, 0.45);
}

.service-chip:nth-child(3n + 3) i {
    color: var(--dobim-gray-dark);
}

.service-chip:nth-child(3n + 3):hover {
    border-color: rgba(74, 74, 73, 0.35);
}

/* --------------------------------------------------------------------------
   9. Pricing Plans Section & Interactive Cost Calculator
   -------------------------------------------------------------------------- */
.pricing {
    padding: 6.5rem 0;
    background-color: var(--bg-page);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 3.5rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out), 
                border-color var(--duration-fast) var(--ease-out),
                background-color var(--duration-fast) var(--ease-out);
}

.pricing-card[data-color="green"] {
    background-color: rgba(114, 157, 146, 0.05);
    border-color: rgba(114, 157, 146, 0.25);
}

.pricing-card[data-color="gray"] {
    background-color: rgba(74, 74, 73, 0.035);
    border-color: rgba(74, 74, 73, 0.2);
}

.pricing-card[data-color="red"] {
    background-color: rgba(230, 44, 35, 0.035);
    border-color: rgba(230, 44, 35, 0.22);
}

@media (hover: hover) and (pointer: fine) {
    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card[data-color="green"]:hover {
        background-color: rgba(114, 157, 146, 0.09);
        border-color: var(--dobim-green);
        box-shadow: 0 14px 34px var(--dobim-green-soft);
    }
    
    .pricing-card[data-color="gray"]:hover {
        background-color: rgba(74, 74, 73, 0.07);
        border-color: var(--dobim-gray);
        box-shadow: 0 14px 34px rgba(74, 74, 73, 0.12);
    }
    
    .pricing-card[data-color="red"]:hover {
        background-color: rgba(230, 44, 35, 0.075);
        border-color: var(--dobim-red);
        box-shadow: 0 14px 34px var(--dobim-red-soft);
    }
}

.pricing-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 2rem;
    margin-bottom: 2.25rem;
}

.pricing-title {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-height: 2.6rem;
    line-height: 1.45;
}

.pricing-cost {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 1.5rem;
}

.cost-amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.cost-period {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pricing-card[data-color="green"] .pricing-list li i {
    color: var(--dobim-green-dark);
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.pricing-card[data-color="gray"] .pricing-list li i {
    color: var(--dobim-gray);
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.pricing-card[data-color="red"] .pricing-list li i {
    color: var(--dobim-red);
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.pricing-cta {
    width: 100%;
}

/* Interactive Calculator Widget */
.calc-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.calc-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.calc-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.calc-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.calc-pill-btn {
    padding: 0.6rem 1.1rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    transition: all var(--duration-fast) var(--ease-out);
}

.calc-pill-btn:active {
    transform: scale(0.96);
}

.calc-pill-btn.active {
    background: var(--brand-accent);
    color: #ffffff;
    border-color: var(--brand-accent);
    box-shadow: 0 4px 12px rgba(221, 51, 51, 0.2);
}

.calc-addons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-addon-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    cursor: pointer;
    user-select: none;
    transition: border-color var(--duration-fast) var(--ease-out);
}

.calc-addon-check:hover {
    border-color: var(--border-card-hover);
}

.calc-addon-check input {
    accent-color: var(--brand-accent);
    width: 18px;
    height: 18px;
}

.calc-result-card {
    background: #ffffff;
    border: 2px solid var(--brand-accent);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.calc-result-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.calc-price-display {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.calc-price-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-footer-note a {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   10. FAQ Section (CSS Grid Zero-Thrash Accordion)
   -------------------------------------------------------------------------- */
.faq {
    padding: 6.5rem 0;
    background-color: var(--bg-subtle);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--duration-fast) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out);
}

.faq-item.is-open {
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-md);
}

.faq-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    user-select: none;
    touch-action: manipulation;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: transform var(--duration-fast) var(--ease-spring), 
                background-color var(--duration-fast) var(--ease-out), 
                color var(--duration-fast) var(--ease-out);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    background: var(--brand-accent-soft);
    color: var(--brand-accent);
}

/* Zero Layout Thrash CSS Grid Drawer */
.faq-drawer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--duration-normal) var(--ease-out);
}

.faq-item.is-open .faq-drawer {
    grid-template-rows: 1fr;
}

.faq-body {
    overflow: hidden;
}

.faq-content {
    padding: 0 1.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity var(--duration-fast) var(--ease-out), 
                transform var(--duration-fast) var(--ease-out);
}

.faq-item.is-open .faq-content {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. Direct Contact & Map Section
   -------------------------------------------------------------------------- */
.contact {
    padding: 6.5rem 0;
    background-color: var(--bg-page);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-map-panel {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.map-frame {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
}

.map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.map-footer-address {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.map-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-accent);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.map-ext-link:hover {
    text-decoration: underline;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    user-select: none;
    touch-action: manipulation;
    transition: transform var(--duration-micro) var(--ease-out), 
                box-shadow var(--duration-fast) var(--ease-out), 
                border-color var(--duration-fast) var(--ease-out);
}

.method-card:active {
    transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
    .method-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--border-card-hover);
    }
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.method-icon-map {
    background: var(--dobim-green-soft);
    color: var(--dobim-green);
}

.method-icon-phone {
    background: var(--brand-accent-soft);
    color: var(--brand-accent);
}

.method-icon-email {
    background: #eff6ff;
    color: #2563eb;
}

.method-details {
    flex-grow: 1;
}

.method-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.method-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.method-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   12. CTA Final Banner
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   12. CTA Final Banner (Corporate Gray & Tactile Design)
   -------------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--dobim-gray-dark) 0%, #353534 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 4.5rem 2.5rem;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
}

.cta-banner-content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.cta-banner p {
    color: #ffffff;
    opacity: 0.92;
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 2.2rem;
}

/* --------------------------------------------------------------------------
   13. Semantic Footer (Crisp White High-Contrast Typography)
   -------------------------------------------------------------------------- */
.footer {
    background-color: #1c1d1f;
    color: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer .logo {
    color: #ffffff;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-col p {
    color: #ffffff !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
    color: var(--dobim-green);
    text-decoration: underline;
}

.footer-col span {
    color: #ffffff !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--duration-fast) var(--ease-out);
}

.social-btn:hover {
    background: var(--dobim-green);
    color: #ffffff;
    border-color: var(--dobim-green);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
    color: #ffffff;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p, 
.footer-bottom a {
    color: #ffffff !important;
}

/* Floating WhatsApp Action Beacon */
.floating-wa {
    position: fixed;
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    right: max(1.5rem, env(safe-area-inset-right));
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 900;
    text-decoration: none;
    user-select: none;
    touch-action: manipulation;
    transition: transform var(--duration-micro) var(--ease-spring), 
                box-shadow var(--duration-fast) var(--ease-out);
}

.floating-wa:active {
    transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
    .floating-wa:hover {
        transform: scale(1.08) translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }
}

/* --------------------------------------------------------------------------
   14. Snappy Scroll Reveal Classes (Sub-300ms)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--duration-reveal) var(--ease-out), 
                transform var(--duration-reveal) var(--ease-out);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity var(--duration-reveal) var(--ease-out), 
                transform var(--duration-reveal) var(--ease-out);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity var(--duration-reveal) var(--ease-out), 
                transform var(--duration-reveal) var(--ease-out);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity var(--duration-reveal) var(--ease-out), 
                transform var(--duration-reveal) var(--ease-out);
    will-change: opacity, transform;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.stagger-parent > *:nth-child(1) { transition-delay: 0.03s; }
.stagger-parent > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-parent > *:nth-child(3) { transition-delay: 0.13s; }
.stagger-parent > *:nth-child(4) { transition-delay: 0.18s; }
.stagger-parent > *:nth-child(5) { transition-delay: 0.23s; }
.stagger-parent > *:nth-child(6) { transition-delay: 0.28s; }

/* --------------------------------------------------------------------------
   15. Accessibility: Prefers-Reduced-Motion (Emil Kowalski Mandatory Standard)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
    .status-pulse::after {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-col-8, .bento-col-6, .bento-col-4 {
        grid-column: span 1;
    }
    .showcase-container {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured {
        transform: none;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 5.8rem;
        padding-bottom: 3.5rem;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }
    .hero-ctas .cta-button {
        width: 100%;
        text-align: center;
    }
    .hero-trust {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding-top: 1.4rem;
    }
    .trust-number {
        font-size: 1.25rem;
    }
    .trust-label {
        font-size: 0.75rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .showcase-container {
        padding: 1.25rem;
    }
    .pricing-grid {
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
    }
    .pricing-card {
        padding: 2.2rem 1.6rem;
    }
    .social-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .cta-banner {
        padding: 3rem 1.5rem;
    }
    .cta-banner .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.15rem;
    }
    .hero-title {
        font-size: 1.95rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.65rem;
    }
    .pricing-card {
        padding: 1.85rem 1.25rem;
    }
    .space-tab-btn {
        padding: 1rem 1.15rem;
    }
    .method-card {
        padding: 1rem 1.15rem;
    }
}

/* --------------------------------------------------------------------------
   Propuesta 2: Technical Software Ecosystem Strip
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Technical Software & Synergies Ecosystem Strip
   -------------------------------------------------------------------------- */
.tech-software-strip {
    padding: 4rem 0 3.5rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(249, 250, 251, 0.85) 50%, #ffffff 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.software-strip-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.software-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 780px;
}

.software-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    background: rgba(114, 157, 146, 0.12);
    color: var(--dobim-green-dark);
    border: 1px solid rgba(114, 157, 146, 0.28);
}

.software-intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.software-intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.software-logos-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1140px;
    justify-content: center;
}

.software-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.1rem 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: transform var(--duration-fast) var(--ease-spring),
                box-shadow var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                background-color var(--duration-fast) var(--ease-out);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.software-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
}

.software-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform var(--duration-fast) var(--ease-spring),
                filter var(--duration-fast) var(--ease-out);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.software-item:hover .software-logo-img {
    transform: scale(1.12) translateY(-2px);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16));
}

.software-name {
    font-size: 0.86rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-primary);
    white-space: nowrap;
}

.software-category {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    background: var(--bg-subtle);
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .software-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.9rem;
    }
}

@media (max-width: 600px) {
    .tech-software-strip {
        padding: 3rem 0;
    }
    .software-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .software-item {
        padding: 0.9rem 0.5rem;
    }
    .software-name {
        font-size: 0.82rem;
    }
}

/* --------------------------------------------------------------------------
   Propuesta 3: Scarcity Notice & Micro-Badges on Pricing
   -------------------------------------------------------------------------- */
.pricing-scarcity-notice {
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    padding: 0.9rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(114, 157, 146, 0.35);
    border-left: 4px solid var(--dobim-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 4px 16px rgba(114, 157, 146, 0.08);
}

.scarcity-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dobim-green-dark);
    white-space: nowrap;
    background: rgba(114, 157, 146, 0.14);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.scarcity-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--dobim-green);
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(114, 157, 146, 0.6);
    animation: scarcity-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes scarcity-pulse {
    to {
        box-shadow: 0 0 0 8px rgba(114, 157, 146, 0);
    }
}

.scarcity-notice-text {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0;
}

.pricing-card-badge-scarcity {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(114, 157, 146, 0.12);
    color: var(--dobim-green-dark);
    border: 1px solid rgba(114, 157, 146, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pricing-card-badge-scarcity.highlight {
    background: rgba(230, 44, 35, 0.08);
    color: var(--dobim-red-dark);
    border-color: rgba(230, 44, 35, 0.25);
}

.badge-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--dobim-green);
}

.badge-dot-red {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--dobim-red);
}

@media (max-width: 680px) {
    .pricing-scarcity-notice {
        padding: 1rem 1.1rem;
    }
}

/* --------------------------------------------------------------------------
   Direct Contact Interactive Modal
   -------------------------------------------------------------------------- */
/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    padding: 2.2rem;
    box-shadow: 0 24px 48px -12px rgba(17, 24, 39, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
    color: var(--text-secondary);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--border-card-hover);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 1.25rem;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dobim-green-dark);
    background: var(--dobim-green-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(114, 157, 146, 0.25);
}

.modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.modal-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-plan-selected {
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.plan-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.plan-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.modal-direct-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--duration-fast) var(--ease-spring),
                box-shadow var(--duration-fast) var(--ease-out),
                background-color var(--duration-fast) var(--ease-out);
}

.modal-direct-btn.phone-btn {
    background: var(--dobim-green);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(114, 157, 146, 0.35);
}

.modal-direct-btn.phone-btn:hover {
    background: var(--dobim-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(114, 157, 146, 0.45);
}

.modal-direct-btn.email-btn {
    background: #ffffff;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.modal-direct-btn.email-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--border-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-direct-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.phone-btn .modal-direct-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.email-btn .modal-direct-btn-icon {
    background: var(--dobim-red-soft);
    color: var(--dobim-red);
}

.modal-direct-btn-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.modal-direct-btn-main {
    font-size: 0.98rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.modal-direct-btn-sub {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
}

.modal-direct-btn-arrow {
    font-size: 0.95rem;
    transition: transform var(--duration-fast) var(--ease-out);
}

.modal-direct-btn:hover .modal-direct-btn-arrow {
    transform: translateX(4px);
}

.modal-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1.4rem;
    text-align: center;
}

@media (max-width: 500px) {
    .modal-card {
        padding: 1.6rem 1.25rem;
        border-radius: 16px;
    }
    .modal-direct-btn {
        padding: 0.95rem 1rem;
    }
}

/* ==========================================================================
   Cookie Banner & Binding Preferences Management (RGPD / ePrivacy compliant)
   ========================================================================== */

.cookie-banner-wrapper {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-spring);
    opacity: 0;
    transform: translateY(24px);
    visibility: hidden;
}

.cookie-banner-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.cookie-banner-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-card-hover);
    border-radius: 18px;
    box-shadow: 0 16px 40px -8px rgba(17, 24, 39, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .cookie-banner-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding: 1.4rem 2rem;
    }
}

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--dobim-red-soft);
    color: var(--dobim-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cookie-banner-text h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.cookie-banner-text a {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 42px;
    border: none;
}

.cookie-btn-primary {
    background: var(--dobim-red);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(230, 44, 35, 0.25);
}

.cookie-btn-primary:hover {
    background: var(--dobim-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 44, 35, 0.35);
}

.cookie-btn-secondary {
    background: var(--bg-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.cookie-btn-secondary:hover {
    background: #ffffff;
    border-color: var(--border-card-hover);
    color: var(--text-primary);
}

.cookie-btn-link {
    background: transparent;
    color: var(--text-muted);
    text-decoration: underline;
    padding: 0.65rem 0.75rem;
}

.cookie-btn-link:hover {
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .cookie-banner-wrapper {
        bottom: 1rem;
        left: 0.75rem;
        right: 0.75rem;
    }
    .cookie-banner-card {
        padding: 1.25rem 1.1rem;
    }
    .cookie-banner-content {
        gap: 0.75rem;
    }
    .cookie-banner-icon {
        display: none;
    }
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .cookie-btn {
        width: 100%;
        min-height: 44px;
        font-size: 0.92rem;
    }
}

/* Cookie Preferences Modal */
.cookie-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 24px 48px -12px rgba(17, 24, 39, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.cookie-modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-cat-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
}

.cookie-cat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.cookie-cat-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-cat-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Custom Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.25s var(--ease-out);
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.25s var(--ease-spring);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--dobim-green);
}

.cookie-switch input:focus + .cookie-slider {
    box-shadow: 0 0 1px var(--dobim-green);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* Floating Cookie Trigger Button */
.cookie-floating-trigger {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 990;
    transition: all var(--duration-fast) var(--ease-spring);
}

.cookie-floating-trigger:hover {
    color: var(--brand-accent);
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
}

@media (max-width: 600px) {
    .cookie-floating-trigger {
        bottom: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Unified Legal Pages Styling (With Full Header & Footer Preserved)
   ========================================================================== */

.legal-section {
    padding: 7.5rem 0 5rem;
    min-height: 85vh;
    background: linear-gradient(180deg, var(--bg-subtle) 0%, #ffffff 280px);
}

.legal-box {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3.5rem 3rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-box h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-subtle);
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
}

.legal-box h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-box p, 
.legal-box li {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-box ul {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-box li {
    margin-bottom: 0.5rem;
}

.legal-box strong {
    color: var(--text-primary);
}

.legal-back-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dobim-gray-dark);
    margin-bottom: 1.75rem;
    text-decoration: none;
    transition: color var(--duration-micro) ease;
}

.legal-back-nav:hover {
    color: var(--brand-accent);
}

@media (max-width: 768px) {
    .legal-section {
        padding: 6rem 0 3.5rem;
    }
    .legal-box {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }
    .legal-box h1 {
        font-size: 1.75rem;
    }
    .legal-box h2 {
        font-size: 1.2rem;
    }
}

