/* ==========================================================================
   HEGEL MÜHENDİSLİK İKLİMLENDİRME & MEKANİK TESİSAT
   Architectural Precision Design System - Modern Minimalist & Mobile-Refined
   ========================================================================== */

:root {
    --color-primary: #b32d2e;
    --color-primary-dark: #871f22;
    --color-primary-light: #c53030;
    --color-primary-subtle: rgba(179, 45, 46, 0.08);

    --color-dark: #121417;
    --color-dark-alt: #181a1f;
    --color-dark-surface: #1f2228;

    --color-text-main: #121417;
    --color-text-muted: #475569;
    --color-text-light: #9ca3af;
    --color-text-white: #ffffff;

    --color-bg-light: #f7f8fa;
    --color-bg-white: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-subtle: #f0f2f5;

    --color-border: #e5e7eb;
    --color-border-dark: #2a2d35;
    --color-border-focus: #b32d2e;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --radius-sharp: 0px;
    --radius-subtle: 2px;
    --radius-sm: 4px;

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lift: 0 12px 24px -4px rgba(0, 0, 0, 0.12);

    --container-max: 1280px;
    --header-height: 72px;
    --topbar-height: 40px;
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

::selection {
    background-color: var(--color-primary);
    color: #ffffff;
}

::-moz-selection {
    background-color: var(--color-primary);
    color: #ffffff;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
    text-wrap: pretty;
}

p {
    text-wrap: pretty;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography & Badges
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .section-title, .cta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: var(--color-primary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 64ch;
    line-height: 1.65;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--radius-sharp);
    transition: var(--transition-smooth);
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden !important;
    isolation: isolate;
}

/* Also ensure boxed buttons have overflow:hidden and isolation */
.filter-btn,
.blog-filter-btn,
.slider-arrow-btn,
.tab-btn,
.article-share-btn {
    position: relative;
    overflow: hidden !important;
    isolation: isolate;
}

/* Ensure child texts and icons remain crisp and elevated above the expanding radial layer */
.btn > *,
.filter-btn > *,
.blog-filter-btn > *,
.slider-arrow-btn > *,
.tab-btn > *,
.article-share-btn > * {
    position: relative;
    z-index: 2;
    pointer-events: none;
    transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Circular Hover Wave (expands circularly from cursor entry point to 100% completely cover the whole button) */
.btn::before,
.filter-btn::before,
.blog-filter-btn::before,
.slider-arrow-btn::before,
.tab-btn::before,
.article-share-btn::before {
    content: '';
    position: absolute;
    top: var(--ripple-y, 50%);
    left: var(--ripple-x, 50%);
    width: var(--ripple-dia, 450%);
    height: var(--ripple-dia, 450%);
    min-width: var(--ripple-dia, 600px);
    min-height: var(--ripple-dia, 600px);
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    /* On mouse leave: smooth, elegant dissolve fade out without any sudden jumping or snapping */
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

/* Circular expansion on hover: overshoots all 4 corners to guarantee 100% complete coverage of the entire button */
.btn:hover::before,
.filter-btn:hover::before,
.blog-filter-btn:hover::before,
.slider-arrow-btn:hover::before,
.tab-btn:hover::before,
.article-share-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
}

/* Active / pressed state tactile response */
.btn:active::before,
.filter-btn:active::before,
.blog-filter-btn:active::before,
.slider-arrow-btn:active::before,
.tab-btn:active::before {
    transform: translate(-50%, -50%) scale(1.28);
    filter: brightness(0.92);
    transition: transform 0.08s ease, filter 0.08s ease;
}

.btn-sharp {
    border-radius: var(--radius-sharp);
}

/* Primary Crimson Button: deep solid wine crimson full coverage */
.btn-crimson {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    box-shadow: none;
}

.btn-crimson::before {
    background: #600d10;
}

.btn-crimson:hover {
    border-color: #600d10;
    transform: translateY(-1px);
    box-shadow: none;
}

/* Secondary Frosted Glass Button: solid pure white full coverage */
.btn-glass::before {
    background: #ffffff;
}

.btn-glass:hover {
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-glass:hover > * {
    color: var(--color-dark, #121417) !important;
}

/* Outline Crimson Button: solid brand crimson full coverage */
.btn-outline-crimson {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: none;
}

.btn-outline-crimson::before {
    background: var(--color-primary);
}

.btn-outline-crimson:hover {
    border-color: var(--color-primary);
    box-shadow: none;
}

.btn-outline-crimson:hover > * {
    color: var(--color-text-white) !important;
}

/* Dark Solid Button: brand crimson full coverage */
.btn-dark {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    border-color: var(--color-dark);
    box-shadow: none;
}

.btn-dark::before {
    background: var(--color-primary);
}

.btn-dark:hover {
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-dark:hover > * {
    color: var(--color-text-white) !important;
}

/* Outline Dark Button: dark carbon full coverage */
.btn-outline-dark {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-border-dark);
    box-shadow: none;
}

.btn-outline-dark::before {
    background: var(--color-dark);
}

.btn-outline-dark:hover {
    border-color: var(--color-dark);
    box-shadow: none;
}

.btn-outline-dark:hover > * {
    color: var(--color-text-white) !important;
}

/* Outline White Button: pure solid white full coverage */
.btn-outline-white {
    background-color: transparent;
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.btn-outline-white::before {
    background: #ffffff;
}

.btn-outline-white:hover {
    border-color: var(--color-text-white);
    box-shadow: none;
}

.btn-outline-white:hover > * {
    color: var(--color-dark) !important;
}

/* Filter & Tab Buttons: brand crimson full coverage */
.filter-btn::before,
.blog-filter-btn::before,
.tab-btn::before,
.slider-arrow-btn::before,
.article-share-btn::before {
    background: var(--color-primary);
}

.filter-btn:hover,
.blog-filter-btn:hover,
.tab-btn:hover,
.slider-arrow-btn:hover,
.article-share-btn:hover {
    border-color: var(--color-primary) !important;
}

.filter-btn:hover > *,
.blog-filter-btn:hover > *,
.tab-btn:hover > *,
.slider-arrow-btn:hover > *,
.article-share-btn:hover > * {
    color: #ffffff !important;
}

/* ==========================================================================
   Click / Touch Expanding Ripple Element (Mobile App Style)
   ========================================================================== */
.radial-click-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    transform: translate(-50%, -50%) scale(0);
    animation: radialClickRippleAnim 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-crimson .radial-click-ripple {
    background: rgba(255, 255, 255, 0.42);
}

.btn-glass .radial-click-ripple {
    background: rgba(18, 20, 23, 0.35);
}

.btn-dark .radial-click-ripple {
    background: rgba(255, 255, 255, 0.35);
}

.btn-outline-white .radial-click-ripple {
    background: rgba(179, 45, 46, 0.45);
}

.btn-outline-dark .radial-click-ripple,
.filter-btn .radial-click-ripple,
.blog-filter-btn .radial-click-ripple,
.slider-arrow-btn .radial-click-ripple,
.tab-btn .radial-click-ripple,
.article-share-btn .radial-click-ripple {
    background: rgba(255, 255, 255, 0.42);
}

@keyframes radialClickRippleAnim {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.7;
    }
    35% {
        opacity: 0.45;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.4);
        opacity: 0;
    }
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 0.9375rem;
}

.w-100 { width: 100%; }

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    font-size: 0.8125rem;
    font-family: var(--font-mono);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-item, .top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: 0.8125rem;
}

.top-link:hover {
    color: var(--color-text-white);
}

.badge-export-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(34, 197, 94, 0.4);
    box-shadow: none;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 clamp(16px, 2vw, 32px);
}

.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 32px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Scrolled State for Navigation Links */
.main-header.scrolled .nav-link {
    color: var(--color-text-main);
    text-shadow: none;
}

.main-header.scrolled .nav-link:hover,
.main-header.scrolled .nav-link.active {
    color: var(--color-primary);
}

/* Dropdown Caret Icon */
.dropdown-caret-icon {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    opacity: 0.8;
}

.nav-item-dropdown:hover .dropdown-caret-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Desktop Navigation Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

/* Hover bridge so mouse movement doesn't close dropdown */
.nav-item-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 0;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.18s;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 18px;
    color: #1e293b;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.nav-dropdown-item:hover {
    background: #f8fafc;
    color: var(--color-primary);
    padding-left: 22px;
}

.nav-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.nav-dropdown-item-all {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-dropdown-item-all:hover {
    color: var(--color-primary-dark, #991b1b);
    background: rgba(220, 38, 38, 0.08);
}

/* Explicit Light Mode Rules */
[data-theme="light"] .nav-dropdown-menu {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-dropdown-item {
    color: #1e293b;
}

[data-theme="light"] .nav-dropdown-item:hover {
    background: #f8fafc;
    color: var(--color-primary);
}

[data-theme="light"] .nav-dropdown-divider {
    background: #e2e8f0;
}

[data-theme="light"] .nav-dropdown-item-all {
    color: var(--color-primary);
}

[data-theme="light"] .nav-dropdown-item-all:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--color-primary-dark, #991b1b);
}

/* Dark Mode Overrides for Dropdown */
[data-theme="dark"] .nav-dropdown-menu {
    background: #181d24;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .nav-dropdown-item {
    color: #e2e8f0;
}

[data-theme="dark"] .nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-primary-light);
}

[data-theme="dark"] .nav-dropdown-divider {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-dropdown-item-all {
    color: var(--color-primary-light);
}

[data-theme="dark"] .nav-dropdown-item-all:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.18);
}

/* Mobile Submenu Styling */
.mobile-nav-item.has-sub .mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sub-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-sub-toggle.open {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.12);
}

.mobile-sub-menu {
    list-style: none;
    padding: 6px 0 6px 14px;
    margin: 6px 0 10px 0;
    border-left: 2px solid var(--color-primary);
    display: none;
    flex-direction: column;
    gap: 8px;
}

.mobile-sub-menu.open {
    display: flex;
}

.mobile-sub-menu a {
    color: #cbd5e1;
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    transition: color 0.18s ease;
}

.mobile-sub-menu a:hover {
    color: #ffffff;
}

/* Transparent Header Action Controls Over Hero */
.main-header:not(.scrolled) .lang-dropdown-trigger,
.main-header:not(.scrolled) .theme-toggle-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.main-header:not(.scrolled) .lang-dropdown-trigger:hover,
.main-header:not(.scrolled) .lang-dropdown.open .lang-dropdown-trigger,
.main-header:not(.scrolled) .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

.main-header:not(.scrolled) .mobile-toggle .bar {
    background-color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header Quote CTA Button - Standardized 38px height & harmonious padding */
.header-actions .btn-header-cta,
.header-actions .open-rfq-modal,
.header-actions .btn-primary-blue {
    height: 38px !important;
    max-height: 38px !important;
    padding: 0 16px !important;
    font-family: var(--font-heading) !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.header-actions .btn-header-cta span,
.header-actions .open-rfq-modal span {
    white-space: nowrap !important;
    line-height: 1 !important;
}

.header-actions .btn-header-cta .btn-arrow,
.header-actions .open-rfq-modal .btn-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-actions .btn-header-cta:hover .btn-arrow,
.header-actions .open-rfq-modal:hover .btn-arrow {
    transform: translateX(3px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    cursor: pointer;
    padding: 9px;
}

.mobile-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* Mobile Backdrop & Drawer */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 20, 26, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(330px, 86vw);
    height: 100vh;
    height: 100dvh;
    background-color: #0f1115;
    color: var(--color-text-white);
    z-index: 10000;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.75);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
    right: 0;
}

/* Hide floating WhatsApp when mobile drawer is open to prevent overlap */
body.menu-open .floating-whatsapp,
.mobile-menu.open ~ .floating-whatsapp {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.mobile-menu-inner {
    padding: 16px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-logo-link {
    display: flex;
    align-items: center;
}

.logo-img-mobile {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.mobile-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-white);
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-close:hover {
    background: rgba(179, 45, 46, 0.25);
    border-color: var(--color-primary);
    color: #ffffff;
}

/* Single-Line Sleek Utility Bar: Dil Seçimi & Tema */
.mobile-utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    gap: 10px;
}

.mobile-lang-pills {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #94a3b8;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.mobile-lang-pill.active {
    background: rgba(179, 45, 46, 0.25);
    border-color: rgba(179, 45, 46, 0.4);
    color: #ffffff;
}

.mobile-lang-pill:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-theme-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: #cbd5e1;
    font-size: 0.6875rem;
    font-weight: 700;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-theme-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="dark"] .mobile-theme-pill .theme-icon-moon { display: block; }
[data-theme="dark"] .mobile-theme-pill .theme-icon-sun { display: none; }
[data-theme="light"] .mobile-theme-pill .theme-icon-moon { display: none; }
[data-theme="light"] .mobile-theme-pill .theme-icon-sun { display: block; }

/* Navigation Links */
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 4px 0;
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e2e8f0;
    display: block;
    padding: 10px 12px;
    border-left: 2px solid transparent;
    background: rgba(255, 255, 255, 0.025);
    border-radius: 0 4px 4px 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--color-text-white);
    background: rgba(179, 45, 46, 0.15);
    border-left-color: var(--color-primary);
    padding-left: 15px;
}

/* Submenu Row with Seamless Chevron Toggle */
.mobile-nav-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.025);
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s ease;
}

.mobile-nav-row .mobile-nav-link {
    flex: 1;
    border-left: none;
    background: transparent;
    border-radius: 0;
}

.mobile-nav-row.active,
.mobile-nav-row:hover,
.mobile-nav-row.has-open-sub {
    background: rgba(179, 45, 46, 0.15);
    border-left-color: var(--color-primary);
}

.mobile-sub-toggle {
    width: 44px;
    height: 40px;
    background: transparent;
    border: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: color 0.2s ease;
}

.mobile-sub-toggle svg {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sub-toggle:hover {
    color: #ffffff;
}

.mobile-sub-toggle.open svg {
    transform: rotate(180deg);
    color: var(--color-primary-light, #f87171);
}

/* Accordion Submenu */
.mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, 0.35);
    border-left: 2px solid rgba(179, 45, 46, 0.35);
    margin-left: 4px;
    padding-left: 0;
    list-style: none;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin 0.25s ease;
}

.mobile-sub-menu.open {
    max-height: 380px;
    opacity: 1;
    margin-top: 2px;
    margin-bottom: 4px;
}

.mobile-sub-menu li a {
    display: block;
    padding: 8px 12px 8px 16px;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.35;
    transition: all 0.15s ease;
}

.mobile-sub-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    padding-left: 20px;
}

.mobile-sub-menu li.sub-all-link a {
    color: var(--color-primary-light, #f87171);
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
    padding-top: 8px;
}

/* Footer Section Inside Drawer */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-cta-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-cta-btns .btn {
    padding: 10px 14px;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.mobile-contact-pill-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.mobile-contact-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.78125rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mobile-contact-line:hover {
    color: #ffffff;
}

.mobile-contact-line svg {
    color: var(--color-primary-light, #f87171);
    flex-shrink: 0;
}

/* ==========================================================================
   Page Hero & Header Banner
   ========================================================================== */
.page-hero {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    padding: calc(var(--header-height, 72px) + 36px) 0 50px 0;
    position: relative;
    border-bottom: 1px solid var(--color-border-dark);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.breadcrumbs a:hover {
    color: #f87171;
}

.breadcrumbs-current,
.breadcrumbs span:last-child {
    color: #f87171 !important;
}

body.portal-construction .breadcrumbs a:hover,
body.portal-construction .breadcrumbs-current,
body.portal-construction .breadcrumbs span:last-child {
    color: #38bdf8 !important;
}

.breadcrumbs-sep {
    color: #64748b;
}

::placeholder,
.form-control::placeholder {
    color: #475569 !important;
    opacity: 1;
}

.page-hero-title {
    color: var(--color-text-white);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero-desc {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    max-width: 54ch;
    line-height: 1.6;
}

.rich-content p {
    max-width: 52ch;
    line-height: 1.7;
}

/* ==========================================================================
   Sections & Layout
   ========================================================================== */
.section {
    padding: 72px 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--color-bg-light);
}

.section-bg-dark {
    background-color: var(--color-dark);
    color: var(--color-text-white);
}

.section-bg-dark h2, .section-bg-dark h3 {
    color: var(--color-text-white);
}

.section-bg-dark .section-subtitle {
    color: var(--color-text-light);
}

.section-header {
    margin-bottom: 48px;
}

/* ==========================================================================
   Key Highlights / Metric Counter Strip
   ========================================================================== */
.metric-strip {
    background-color: var(--color-dark-alt);
    border-top: 1px solid var(--color-border-dark);
    border-bottom: 1px solid var(--color-border-dark);
    padding: 36px 0;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card {
    padding: 10px 16px;
    border-left: 2px solid var(--color-primary);
}

.metric-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-light);
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */
/* ==========================================================================
   Categories Grid — Tuğla (Brick Bond) Düzeni & Sıralı Giriş Animasyonu
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Tuğla Örgüsü (Running Bond): Sıra 1 -> 7 / 5 */
.categories-grid .category-card:nth-child(6n + 1) {
    grid-column: span 7;
}
.categories-grid .category-card:nth-child(6n + 2) {
    grid-column: span 5;
}

/* Tuğla Örgüsü: Sıra 2 -> 5 / 7 (Şaşırtmalı Tuğla Derzi) */
.categories-grid .category-card:nth-child(6n + 3) {
    grid-column: span 5;
}
.categories-grid .category-card:nth-child(6n + 4) {
    grid-column: span 7;
}

/* Tuğla Örgüsü: Sıra 3 -> 7 / 5 */
.categories-grid .category-card:nth-child(6n + 5) {
    grid-column: span 7;
}
.categories-grid .category-card:nth-child(6n + 6) {
    grid-column: span 5;
}

@media (min-width: 769px) and (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    .categories-grid .category-card {
        grid-column: span 1 !important;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .categories-grid .category-card {
        grid-column: span 1 !important;
        width: 100% !important;
        min-height: 310px;
        padding: 28px 24px;
    }
}

.category-card {
    background-color: #12151b;
    border: 1px solid #232731;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 310px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Sıralı Giriş Animasyonu — Başlangıç Konumu */
.category-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    will-change: opacity, transform;
}

/* Bölüm Ekrana Girdiğinde Sırayla Belirme (Staggered Reveal) */
.categories-grid.is-revealed .category-card.animate-on-scroll {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.categories-grid.is-revealed .category-card:nth-child(1) { transition-delay: 0.05s; }
.categories-grid.is-revealed .category-card:nth-child(2) { transition-delay: 0.16s; }
.categories-grid.is-revealed .category-card:nth-child(3) { transition-delay: 0.27s; }
.categories-grid.is-revealed .category-card:nth-child(4) { transition-delay: 0.38s; }
.categories-grid.is-revealed .category-card:nth-child(5) { transition-delay: 0.49s; }
.categories-grid.is-revealed .category-card:nth-child(6) { transition-delay: 0.60s; }

/* Failsafe Keyframe: Sayfa geçişlerinde veya observer gecikmelerinde kartların asla gizli kalmamasını garanti eder */
@keyframes autoRevealCategoryCards {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.categories-grid:not(.is-revealed) .category-card.animate-on-scroll {
    animation: autoRevealCategoryCards 0.45s ease 0.5s forwards;
}

@media (prefers-reduced-motion: reduce) {
    .category-card.animate-on-scroll,
    .categories-grid:not(.is-revealed) .category-card.animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

.categories-grid.is-revealed .category-card.animate-on-scroll:hover,
.category-card:hover {
    border-color: var(--color-primary-light, rgba(179, 45, 46, 0.65));
    transform: translateY(-6px) scale(1) !important;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Tuğla Kartı Üst Çubuğu & Numara Rozeti */
.category-card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 4;
}

.category-card-top-bar .category-icon-box {
    margin-bottom: 0 !important;
}

.category-brick-num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    transition: all 0.25s ease;
}

.category-card:hover .category-brick-num {
    color: #ffffff;
    background: var(--color-primary-subtle, rgba(179, 45, 46, 0.25));
    border-color: var(--color-primary, rgba(179, 45, 46, 0.5));
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: width 0.35s ease;
    z-index: 4;
}

.category-card:hover::before {
    width: 100%;
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.02);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(0.85) contrast(1.08);
}

.category-card:hover .category-card-bg {
    transform: scale(1.08);
    filter: brightness(0.95) contrast(1.12);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(15, 18, 24, 0.76) 0%,
        rgba(13, 15, 20, 0.88) 50%,
        rgba(9, 11, 15, 0.98) 100%
    );
    transition: background 0.35s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 18, 24, 0.65) 0%,
        rgba(13, 15, 20, 0.82) 50%,
        rgba(9, 11, 15, 0.96) 100%
    );
}

.category-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.category-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-subtle, rgba(179, 45, 46, 0.18));
    border: 1px solid var(--color-primary-subtle, rgba(179, 45, 46, 0.35));
    color: var(--color-primary-light, #e53935);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-icon-box {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff !important;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.category-desc {
    font-size: 0.925rem;
    color: #cbd5e1 !important;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}

.category-action-wrap {
    margin-top: auto;
}

.category-link {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary-light, #f87171);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.category-link svg {
    transition: transform 0.25s ease;
}

.category-card:hover .category-link {
    color: var(--color-primary-light, #ef4444);
    gap: 12px;
}

.category-card:hover .category-link svg {
    transform: translateX(3px);
}

.category-card--dark .btn-crimson,
.category-card .btn-crimson {
    background-color: var(--color-primary, #b32d2e) !important;
    color: #ffffff !important;
    border: 1px solid var(--color-primary, #b32d2e) !important;
    box-shadow: none !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 10px 18px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.category-card--dark .btn-crimson:hover,
.category-card .btn-crimson:hover {
    background-color: var(--color-primary-dark, #8f2122) !important;
    border-color: var(--color-primary-dark, #8f2122) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Product Cards & Grid (No Prices)
   ========================================================================== */
.product-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 769px) {
    .product-filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    border-color: var(--color-dark);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    background-color: var(--color-bg-white);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lift);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #f1f5f9;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-dark);
    color: var(--color-text-white);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.product-title a:hover {
    color: var(--color-primary);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-specs-preview {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.spec-preview-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.spec-preview-row:last-child {
    margin-bottom: 0;
}

.spec-preview-label {
    color: var(--color-text-muted);
}

.spec-preview-val {
    font-weight: 700;
    color: var(--color-text-main);
    text-align: right;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.product-gallery-main {
    border: 1px solid var(--color-border);
    background-color: #f8fafc;
    overflow: hidden;
}

.product-detail-hero-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-info-panel {
    display: flex;
    flex-direction: column;
}

.product-detail-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.product-detail-title {
    font-size: 2.15rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.product-detail-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.standards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.badge-standard {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.detail-actions-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.specs-table-box {
    border: 1px solid var(--color-border);
    margin-bottom: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.specs-table-title {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
}

.specs-table tr {
    border-bottom: 1px solid var(--color-border);
}

.specs-table tr:nth-child(even) {
    background-color: var(--color-bg-light);
}

.specs-table th {
    width: 35%;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.specs-table td {
    padding: 14px 20px;
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 0.875rem;
    font-family: var(--font-mono);
}

/* Feature Checkmarks List */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 48px;
}

.feature-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 14px;
}

.feature-check-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-main);
}

/* ==========================================================================
   About & Corporate Page
   ========================================================================== */
.about-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img-box {
    position: relative;
    border: 1px solid var(--color-border);
}

.about-img-main {
    width: 100%;
    display: block;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pillar-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 28px 22px;
}

.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Export & Logistics Page
   ========================================================================== */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.logistics-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 28px 22px;
}

.logistics-num {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.incoterms-table-box {
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    padding: 28px 22px;
}

.split-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.incoterms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    font-family: var(--font-mono);
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .incoterms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .split-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .incoterms-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Contact Page & Form
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.contact-info-panel {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
}

.contact-info-panel h3 {
    color: var(--color-text-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-card-entry {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-detail strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.contact-card-detail span, .contact-card-detail a {
    font-size: 0.9375rem;
    color: #e2e8f0;
    word-break: break-word;
    line-height: 1.5;
}

.contact-form-box {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 36px 28px;
}

.map-container {
    border: 1px solid var(--color-border);
    overflow: hidden;
    height: 380px;
    width: 100%;
    position: relative;
    background-color: #e2e8f0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    gap: 16px;
}

.form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px; /* 16px prevents iOS Safari automatic zoom */
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    border-radius: var(--radius-sharp);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    background-color: var(--color-bg-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(179, 45, 46, 0.12);
}

.form-select {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
}

.form-alert {
    padding: 12px 16px;
    font-size: 0.875rem;
    margin-bottom: 18px;
    border-left: 3px solid;
}

.form-alert.success {
    background-color: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.form-alert.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

/* ==========================================================================
   RFQ Modal Styles
   ========================================================================== */
.rfq-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 20, 26, 0.85);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.rfq-modal-backdrop.open {
    display: flex;
}

.rfq-modal-container {
    width: 100%;
    max-width: 740px;
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.rfq-modal-dialog {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-dark-surface);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.rfq-modal-header {
    background-color: var(--color-dark);
    color: var(--color-text-white);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-primary);
}

.rfq-pretitle {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-primary-light);
    margin-bottom: 2px;
}

.rfq-title {
    color: var(--color-text-white);
    font-size: 1.2rem;
    font-weight: 700;
}

.rfq-modal-close {
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.rfq-modal-close:hover {
    color: var(--color-text-white);
}

.rfq-modal-body {
    padding: 24px;
}

.rfq-intro {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.rfq-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.rfq-security-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    max-width: 360px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.footer-cta-banner {
    background-color: var(--color-dark-alt);
    border-top: 1px solid var(--color-border-dark);
    border-bottom: 1px solid var(--color-border-dark);
    padding: 44px 0;
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.cta-subtitle {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-light);
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.cta-title {
    color: var(--color-text-white);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.cta-desc {
    color: var(--color-text-light);
    max-width: 600px;
    font-size: 0.9375rem;
}

.footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.footer-main {
    padding: 32px 24px 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.35fr;
    gap: 32px;
    margin-bottom: 24px;
    align-items: start;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 8px;
}

.logo-footer-img {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.footer-company-legal {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.footer-bio {
    color: var(--color-text-light);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-cert {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    color: #cbd5e1;
}

.footer-heading {
    color: var(--color-text-white);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 6px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.8125rem;
    transition: color 0.2s ease, padding 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text-white);
    padding-left: 4px;
}

/* ==========================================================================
   Footer Locations & Direct Contact (Modern Refined)
   ========================================================================== */

.footer-branches-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-branch-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-branch-item:hover {
    background: rgba(179, 45, 46, 0.12);
    border-color: rgba(179, 45, 46, 0.4);
    transform: translateX(3px);
}

.footer-branch-marker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(179, 45, 46, 0.28);
    color: #fca5a5;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-branch-marker svg {
    flex-shrink: 0;
}

.footer-branch-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.footer-branch-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.footer-branch-addr {
    font-size: 0.71875rem;
    color: #94a3b8;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.footer-branch-item:hover .footer-branch-addr {
    color: #cbd5e1;
}

.footer-direct-comms {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 11px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

.footer-comm-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-comm-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f87171;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-comm-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.footer-comm-label {
    font-size: 0.65625rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.footer-comm-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8125rem;
}

.footer-comm-links a {
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-comm-links a:hover {
    color: #f87171;
}

.footer-comm-sep {
    color: #475569;
}

.footer-all-locations-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #f87171;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: gap 0.2s ease, color 0.2s ease;
}

.footer-all-locations-btn:hover {
    color: #ffffff;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-dark);
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: var(--font-mono);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-powered {
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.kodesil-link {
    color: #cbd5e1;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-color: var(--color-primary, #b32d2e) !important;
    font-weight: 700;
    transition: color 0.2s ease;
}

.kodesil-link:hover {
    color: #ffffff;
}

.incoterms-note {
    color: #94a3b8;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2500;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.04) translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #14171c !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    font-family: var(--font-main), sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    width: max-content !important;
    max-width: 280px !important;
    border-radius: 3px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid #2a2d35 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 999999 !important;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #121417;
}

.floating-whatsapp:hover .wa-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(-4px) !important;
}

/* ==========================================================================
   Responsive Breakpoints & Fine Mobile Tweaks
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .categories-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    .categories-grid .category-card {
        grid-column: span 1 !important;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .about-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --topbar-height: 0px;
    }
    
    body {
        padding-top: 0;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 50px 0;
    }

    .page-hero {
        padding: calc(var(--header-height, 60px) + 24px) 0 40px 0;
    }

    .hide-mobile { display: none !important; }
    .desktop-nav { display: none; }
    .mobile-toggle { display: flex; }

    /* Top Bar Mobile */
    .top-bar {
        display: none;
    }

    /* Fixed Main Header & Logo on Mobile (Transparent at top, solid on scroll) */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1500;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none;
        transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .main-header.scrolled {
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .header-inner {
        height: 60px;
    }

    .logo-img {
        height: 36px;
        max-width: 140px;
    }
    
    /* Hide clunky header quote button on mobile */
    .header-actions .btn-crimson {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .mobile-toggle .bar {
        height: 2.5px;
        width: 24px;
        background-color: var(--color-text-main);
        border-radius: 1px;
    }

    .mobile-toggle .bar:nth-child(2) {
        width: 18px;
    }

    .mobile-toggle .bar:nth-child(3) {
        width: 24px;
    }

    /* Typography & Headings */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.65rem; }
    h3 { font-size: 1.3rem; }
    .page-hero-title { font-size: 1.85rem; }
    .section-title { font-size: 1.65rem; }
    .section-header { margin-bottom: 32px; }

    /* Grids to 1 Column */
    .categories-grid, .products-grid, .pillars-grid, .logistics-grid, .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .categories-grid .category-card {
        grid-column: span 1 !important;
        width: 100% !important;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .metric-card {
        padding: 8px 12px;
    }
    .metric-number {
        font-size: 1.5rem;
    }

    /* Product Cards */
    .product-content {
        padding: 16px;
    }
    .product-title {
        font-size: 1.05rem;
    }
    .product-card-actions .btn {
        padding: 9px 8px;
        font-size: 0.6875rem;
    }

    /* Button mobile wrapping */
    .btn {
        white-space: normal;
        word-break: normal;
        text-align: center;
        line-height: 1.35;
    }

    /* Layouts */
    .product-detail-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }

    .specs-table-box {
        margin-bottom: 32px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }

    .specs-table th {
        width: 40%;
        padding: 10px 12px;
        font-size: 0.8125rem;
    }

    .specs-table td {
        padding: 10px 12px;
        font-size: 0.8125rem;
    }

    .contact-info-panel {
        padding: 24px 18px;
    }

    .contact-form-box {
        padding: 24px 18px;
    }

    .contact-card-list {
        gap: 18px;
        margin-bottom: 24px;
    }

    .map-container {
        height: 280px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .detail-actions-row {
        flex-direction: column;
        gap: 10px;
    }
    .detail-actions-row .btn {
        width: 100%;
    }

    /* Modal Mobile */
    .rfq-modal-body {
        padding: 16px;
    }
    .rfq-modal-header {
        padding: 14px 18px;
    }
    .rfq-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .rfq-modal-footer .btn {
        width: 100%;
    }

    /* Footer Mobile */
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .footer-cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-main {
        padding: 40px 16px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .metric-grid {
        grid-template-columns: 1fr;
    }
    .top-bar-right .top-link:last-child {
        display: none;
    }
}

/* ==========================================================================
   Header Logo Adaptive Switching (Transparent, Light & Dark Theme)
   ========================================================================== */
/* At top (transparent header over dark hero): show white logo */
.main-header:not(.scrolled) .brand-logo .logo-light {
    display: none !important;
}
.main-header:not(.scrolled) .brand-logo .logo-dark {
    display: block !important;
}

/* Scrolled in light mode: show dark logo */
.main-header.scrolled .brand-logo .logo-light {
    display: block !important;
}
.main-header.scrolled .brand-logo .logo-dark {
    display: none !important;
}

/* Dark mode: always show white logo */
[data-theme="dark"] .brand-logo .logo-light {
    display: none !important;
}
[data-theme="dark"] .brand-logo .logo-dark {
    display: block !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
}
.theme-toggle-btn:hover {
    background: var(--color-bg-subtle);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--color-primary);
    transform: translateY(-1px);
}
.theme-icon-sun {
    display: none;
}
.theme-icon-moon {
    display: block;
}
[data-theme="dark"] .theme-icon-sun {
    display: block !important;
    color: #fbbf24;
}
[data-theme="dark"] .theme-icon-moon {
    display: none !important;
}

/* Mobile Theme Switch */
.mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
}
.mobile-theme-label {
    font-size: 0.875rem;
    color: #e2e8f0;
    font-weight: 600;
}
.mobile-theme-btn {
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 38px;
    height: 38px;
}

/* Language Dropdown Selector (Exact Screenshot Style) */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text-main, #121417);
    box-sizing: border-box;
    line-height: 1;
}

.lang-dropdown-trigger:hover,
.lang-dropdown.open .lang-dropdown-trigger {
    background: var(--color-bg-subtle);
    border-color: rgba(0, 0, 0, 0.2);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-dropdown-trigger .dropdown-caret {
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.lang-dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}

/* Dropdown Menu Popup */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 135px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    padding: 6px 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown.open .lang-dropdown-menu,
.lang-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--color-primary, #b32d2e);
}

.lang-dropdown-item.active {
    font-weight: 700;
    color: var(--color-primary, #b32d2e);
    background-color: rgba(179, 45, 46, 0.05);
}

.lang-dropdown-item .lang-name {
    flex: 1;
}

.lang-dropdown-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 4px 0;
}

/* Mobile Language Row */
.mobile-lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
}
.mobile-lang-pills {
    display: flex;
    gap: 8px;
}
.mobile-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.2s ease;
}
.mobile-lang-btn.active {
    background: var(--color-primary, #b32d2e);
    border-color: var(--color-primary, #b32d2e);
    color: #ffffff;
}

/* Dark Theme Overrides */
[data-theme="dark"] .lang-dropdown-trigger,
[data-theme="dark"] .theme-toggle-btn {
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.14);
}
[data-theme="dark"] .lang-dropdown-trigger:hover,
[data-theme="dark"] .lang-dropdown.open .lang-dropdown-trigger,
[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
[data-theme="dark"] .lang-dropdown-menu {
    background: #14171c;
    border-color: #272b33;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .lang-dropdown-item {
    color: #e2e8f0;
}
[data-theme="dark"] .lang-dropdown-item:hover {
    background-color: #1c2027;
    color: #ffffff;
}
[data-theme="dark"] .lang-dropdown-item.active {
    background-color: rgba(179, 45, 46, 0.15);
    color: #ffffff;
}
[data-theme="dark"] .lang-dropdown-divider {
    background-color: #22262e;
}

/* ==========================================================================
   Comprehensive Dark Theme Mode - Pure Dark Neutral / Charcoal / Matte Black
   ========================================================================== */
[data-theme="dark"] {
    --color-dark: #0a0b0d;
    --color-dark-alt: #101216;
    --color-dark-surface: #16181d;

    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-text-light: #d1d5db;
    --color-text-white: #ffffff;

    --color-bg-light: #0d0f12;
    --color-bg-white: #101216;
    --color-bg-card: #15171c;
    --color-bg-subtle: #1c1e24;

    --color-border: #262930;
    --color-border-dark: #323640;

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 8px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] body {
    background-color: #0d0f12 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .top-bar {
    background-color: #0a0b0d !important;
    border-bottom: 1px solid #1a1c22 !important;
}

[data-theme="dark"] .main-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .main-header.scrolled {
    background-color: rgba(16, 18, 22, 0.97) !important;
    border-bottom: 1px solid #262930 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .desktop-nav .nav-link {
    color: #e5e7eb !important;
}

[data-theme="dark"] .desktop-nav .nav-link:hover,
[data-theme="dark"] .desktop-nav .nav-link.active {
    color: var(--color-primary-light) !important;
}

[data-theme="dark"] .section-bg-light {
    background-color: #0d0f12 !important;
}

[data-theme="dark"] .section {
    background-color: #0d0f12;
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .subcat-showcase-section,
[data-theme="dark"] .subcat-item-card,
[data-theme="dark"] .contact-form-box,
[data-theme="dark"] .specs-table-box,
[data-theme="dark"] .feature-check-item {
    background-color: #15171c !important;
    border-color: #262930 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .category-title,
[data-theme="dark"] .product-title,
[data-theme="dark"] .product-title a,
[data-theme="dark"] .subcat-showcase-title,
[data-theme="dark"] .subcat-item-title,
[data-theme="dark"] .section-title,
[data-theme="dark"] .subcat-items-count {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .category-desc,
[data-theme="dark"] .product-desc,
[data-theme="dark"] .subcat-showcase-desc,
[data-theme="dark"] .subcat-item-desc,
[data-theme="dark"] .section-subtitle {
    color: #9ca3af !important;
}

[data-theme="dark"] .subcat-toolbar {
    background-color: #1c1e24 !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .subcat-item-img-wrap,
[data-theme="dark"] .product-img-wrap {
    background-color: #0d0f12 !important;
    border-bottom: 1px solid #262930 !important;
}

[data-theme="dark"] .subcat-item-specs-badge {
    background-color: #1c1e24 !important;
    border-color: #262930 !important;
    color: #d1d5db !important;
}

[data-theme="dark"] .spec-preview-label {
    color: #9ca3af !important;
}

[data-theme="dark"] .spec-preview-val {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .subcat-sort-select,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .search-input {
    background-color: #0f1115 !important;
    border-color: #2d313a !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .search-input:focus {
    border-color: var(--color-primary-light) !important;
    background-color: #14171c !important;
    box-shadow: none !important;
}

[data-theme="dark"] .form-label {
    color: #d1d5db !important;
}

[data-theme="dark"] .btn-outline-dark {
    border-color: #323640 !important;
    color: #f3f4f6 !important;
    box-shadow: none !important;
}

[data-theme="dark"] .btn-outline-dark:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

[data-theme="dark"] .btn-crimson:hover {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .filter-btn {
    border-color: #262930 !important;
    color: #9ca3af !important;
    background-color: #15171c !important;
    box-shadow: none !important;
}

[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

[data-theme="dark"] .specs-table th {
    background-color: #0f1115 !important;
    color: #9ca3af !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .specs-table td {
    color: #f3f4f6 !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .specs-table tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

[data-theme="dark"] .specs-table-title {
    background-color: #1c1e24 !important;
    color: #f3f4f6 !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .feature-check-item {
    background-color: #15171c !important;
    border-color: #262930 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .feature-check-text {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .rfq-modal-dialog {
    background-color: #15171c !important;
    border: 1px solid #323640 !important;
}

[data-theme="dark"] .rfq-modal-header {
    border-bottom: 1px solid #262930 !important;
}

[data-theme="dark"] .rfq-modal-footer {
    border-top: 1px solid #262930 !important;
}

[data-theme="dark"] .rfq-title {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .rfq-intro {
    color: #9ca3af !important;
}

[data-theme="dark"] .rfq-modal-close {
    color: #9ca3af !important;
}

[data-theme="dark"] .rfq-modal-close:hover {
    color: #ffffff !important;
}

[data-theme="dark"] .breadcrumbs a {
    color: #9ca3af !important;
}

[data-theme="dark"] .breadcrumbs a:hover {
    color: var(--color-primary-light) !important;
}

[data-theme="dark"] .footer-cta-banner {
    background-color: #101216 !important;
    border-bottom: 1px solid #262930 !important;
}

[data-theme="dark"] .main-footer {
    background-color: #0a0b0d !important;
    border-top: 1px solid #1a1c22 !important;
}

[data-theme="dark"] .contact-info-panel {
    background-color: #15171c !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .contact-card-entry {
    border-bottom-color: #262930 !important;
}

[data-theme="dark"] .contact-card-icon {
    background-color: #1c1e24 !important;
    border-color: #262930 !important;
}

/* ==========================================================================
   BLOG & ENGINEERING INSIGHTS SYSTEM
   ========================================================================== */
.blog-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.blog-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-main);
    background: var(--color-bg-card);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.blog-search-box {
    position: relative;
    min-width: 260px;
}

.blog-search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.blog-search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.875rem;
    background: var(--color-bg-card);
    color: var(--color-text-main);
    outline: none;
    transition: border-color 0.2s ease;
}

.blog-search-input:focus {
    border-color: var(--color-primary);
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(179, 45, 46, 0.4);
}

.blog-card-img-link {
    display: block;
    text-decoration: none;
}

.blog-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0a0b0d;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.blog-card-date,
.blog-card-readtime {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-dot {
    color: var(--color-text-muted);
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.blog-card-title a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--color-primary);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: gap 0.2s ease;
}

.blog-read-more-link:hover {
    gap: 10px;
    color: var(--color-primary-dark);
}

.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.blog-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 36px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
}

.blog-cta-content {
    max-width: 720px;
}

.blog-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.blog-cta-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Article Detail Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}

.article-category-badge {
    background: var(--color-primary);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #cbd5e1;
}

.article-hero-title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
}

.article-featured-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 36px;
    max-height: 480px;
    background: #0a0b0d;
}

.article-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-main);
}

.article-body-content p {
    margin-bottom: 20px;
}

.article-body-content .blog-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 28px;
    border-left: 3px solid var(--color-primary);
    padding-left: 18px;
}

.article-body-content h2 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--color-text-main);
    font-family: var(--font-heading);
}

.article-body-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 12px;
    color: var(--color-text-main);
    font-family: var(--font-heading);
}

.article-body-content ul {
    margin-bottom: 24px;
    padding-left: 22px;
}

.article-body-content li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.blog-table-wrap {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.blog-table th {
    background: var(--color-bg-subtle);
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.blog-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.blog-callout {
    background: var(--color-primary-subtle);
    border: 1px solid rgba(179, 45, 46, 0.2);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.blog-callout-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.blog-callout-content h4 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.blog-callout-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.article-footer-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 40px 0;
}

.article-tags-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.article-tag-item {
    background: var(--color-bg-subtle);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.article-share-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.article-share-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.article-cta-box {
    background: var(--color-dark);
    color: #ffffff;
    padding: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 36px;
    border: 1px solid var(--color-border-dark);
}

.article-cta-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.article-cta-text {
    flex-grow: 1;
    max-width: 540px;
}

.article-cta-text h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.article-cta-text p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.55;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 24px;
}

.sidebar-widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
}

.sidebar-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-service-list li a {
    color: var(--color-text-main);
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    padding: 6px 0;
    border-bottom: 1px dashed var(--color-border);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-service-list li a:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

.sidebar-contact-card {
    background: var(--color-bg-subtle);
}

.sidebar-contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sidebar-contact-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.sidebar-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
}

/* Services Page Styling */
.services-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.services-filter-tab {
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-decoration: none;
    background: var(--color-bg-card);
    transition: var(--transition-smooth);
}

.services-filter-tab:hover,
.services-filter-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.service-category-block {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 56px;
}

.service-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.service-category-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.service-category-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 0;
}

.service-subcats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.service-subcat-card {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-bg-card);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-subcat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: rgba(179, 45, 46, 0.3);
}

.service-subcat-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #0a0b0d;
}

.service-subcat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-subcat-card:hover .service-subcat-img {
    transform: scale(1.05);
}

.service-subcat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
}

.service-subcat-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-subcat-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.service-subcat-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    flex-grow: 1;
}

.service-subcat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.service-meta-pill {
    background: var(--color-bg-subtle);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    color: #334155;
    border: 1px solid var(--color-border);
}

.service-quick-rfq-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0;
    position: relative;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-quick-rfq-btn::before,
.service-quick-rfq-btn::after {
    display: none !important;
    content: none !important;
}

.service-quick-rfq-btn:hover {
    gap: 9px;
    color: var(--color-primary-dark);
}

.services-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

/* Responsive Blog & Services */
@media (max-width: 991px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .services-pillars-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
    .blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-search-box {
        min-width: 100%;
    }
    .service-category-block {
        padding: 20px;
    }
    .service-category-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Dark Mode Overrides for Blog & Services */
[data-theme="dark"] .blog-filter-btn {
    background: #15171c !important;
    border-color: #262930 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .blog-filter-btn.active,
[data-theme="dark"] .blog-filter-btn:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .blog-search-input {
    background: #15171c !important;
    border-color: #262930 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .blog-card {
    background: #15171c !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .blog-card-title a {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .blog-card-footer {
    border-top-color: #262930 !important;
}

[data-theme="dark"] .blog-cta-box {
    background: #15171c !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .article-body-content {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .article-body-content .blog-lead {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .article-body-content h2,
[data-theme="dark"] .article-body-content h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .blog-table th {
    background: #1c1e24 !important;
    border-color: #262930 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .blog-table td {
    border-color: #262930 !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .article-footer-tags {
    border-color: #262930 !important;
}

[data-theme="dark"] .article-tag-item {
    background: #1c1e24 !important;
    color: #9ca3af !important;
}

[data-theme="dark"] .article-share-btn {
    background: #1c1e24 !important;
    border-color: #262930 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .sidebar-widget {
    background: #15171c !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .sidebar-widget-title {
    border-bottom-color: #262930 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .sidebar-service-list li a {
    color: #cbd5e1 !important;
    border-bottom-color: #262930 !important;
}

[data-theme="dark"] .sidebar-contact-card {
    background: #1c1e24 !important;
}

[data-theme="dark"] .services-filter-tab {
    background: #15171c !important;
    border-color: #262930 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .services-filter-tab.active,
[data-theme="dark"] .services-filter-tab:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .service-category-block {
    background: transparent !important;
    border: none !important;
}

[data-theme="dark"] .service-category-header {
    border-bottom-color: #262930 !important;
}

[data-theme="dark"] .service-category-title {
    color: #ffffff !important;
}

[data-theme="dark"] .service-subcat-card {
    background: #101216 !important;
    border-color: #262930 !important;
}

[data-theme="dark"] .service-subcat-title {
    color: #ffffff !important;
}

[data-theme="dark"] .service-meta-pill {
    background: #1c1e24 !important;
    border-color: #262930 !important;
    color: #cbd5e1 !important;
}

/* ==========================================================================
   MULTI-LAYER STAGGERED PAGE TRANSITION (RIGHT-TO-LEFT CASCADING PANELS)
   Zero glow / Flat matte brand colors / Smooth & cinematic
   ========================================================================== */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999999;
    pointer-events: none;
    overflow: hidden;
    visibility: hidden;
}

.page-transition-overlay.active {
    visibility: visible;
    pointer-events: all;
}

.page-transition-overlay .transition-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translateX(101%);
    will-change: transform;
}

/* 4 Harmonious, Deep Velvet Tones - Zero Flash, Zero Eye Strain */
.page-transition-overlay .panel-1 {
    background-color: #3b0a0c; /* 1. Ton: Derin Bordo-Şarap */
    z-index: 1;
}

.page-transition-overlay .panel-2 {
    background-color: #6e1618; /* 2. Ton: Zengin Bordo */
    z-index: 2;
}

.page-transition-overlay .panel-3 {
    background-color: #9e2225; /* 3. Ton: Hegel Kurumsal Kırmızı */
    z-index: 3;
}

.page-transition-overlay .panel-4 {
    background-color: #111317; /* 4. Ton: Sakinleştirici Mat Koyu Füme */
    z-index: 4;
}

/* COVER ANIMATION (Sağdan Sola Ekrana Sakin & İpeksi Yayılma) */
.page-transition-overlay.in .transition-panel {
    animation-duration: 0.62s;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
    animation-fill-mode: both;
    animation-name: panelSlideCover;
}

.page-transition-overlay.in .panel-1 { animation-delay: 0.00s; }
.page-transition-overlay.in .panel-2 { animation-delay: 0.08s; }
.page-transition-overlay.in .panel-3 { animation-delay: 0.16s; }
.page-transition-overlay.in .panel-4 { animation-delay: 0.24s; }

@keyframes panelSlideCover {
    from {
        transform: translateX(101%);
    }
    to {
        transform: translateX(0%);
    }
}

/* REVEAL ANIMATION (Sola Doğru Pürüzsüz & Dinlendirici Sayfa Açılışı) */
.page-transition-overlay.out .transition-panel {
    animation-duration: 0.62s;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
    animation-fill-mode: both;
    animation-name: panelSlideReveal;
}

.page-transition-overlay.out .panel-1 { animation-delay: 0.00s; }
.page-transition-overlay.out .panel-2 { animation-delay: 0.08s; }
.page-transition-overlay.out .panel-3 { animation-delay: 0.16s; }
.page-transition-overlay.out .panel-4 { animation-delay: 0.24s; }

@keyframes panelSlideReveal {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-101%);
    }
}

/* ==========================================================================
   HEGEL MODERN BRANCHES & MULTI-LOCATION ARCHITECTURE
   ========================================================================== */

.branches-section {
    padding: 60px 0 80px 0;
    background-color: var(--color-bg-light);
}

.branches-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 48px auto;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.branch-card {
    background: var(--color-bg-card, #ffffff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
    position: relative;
}

.branch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(179, 45, 46, 0.4);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
}

.branch-card-top-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #b32d2e, #871f22);
}

.branch-card-body {
    padding: 30px 24px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.branch-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main, #121417);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-border);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.branch-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
    flex-grow: 1;
}

.branch-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.branch-item-icon {
    width: 38px;
    height: 38px;
    background: rgba(179, 45, 46, 0.08);
    color: var(--color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.branch-item-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.branch-item-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.branch-item-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.45;
}

.branch-item-val a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.branch-item-val a:hover {
    color: var(--color-primary);
}

.branch-phone-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.branch-phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.branch-phone-type {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    background: var(--color-bg-subtle, #f1f5f9);
    border-radius: 2px;
    color: #334155;
}

.branch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.branch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.branch-btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.branch-btn-primary:hover {
    background: var(--color-primary-dark);
    color: #ffffff;
}

.branch-btn-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-main);
}

.branch-btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.branch-btn-kvkk {
    background: #b32d2e;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.05em;
    width: 100%;
    padding: 10px 14px;
}

.branch-btn-kvkk:hover {
    background: #871f22;
}

.branch-map-box {
    position: relative;
    width: 100%;
    height: 250px;
    background: #e2e8f0;
    border-top: 1px solid var(--color-border);
}

.branch-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.branch-map-overlay-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(18, 20, 23, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s ease;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.branch-map-overlay-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* KVKK Modal */
.kvkk-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    animation: kvkkFadeIn 0.25s ease;
}

.kvkk-modal-backdrop.active {
    display: flex;
}

.kvkk-modal-card {
    background: var(--color-bg-card, #ffffff);
    color: var(--color-text-main, #121417);
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.kvkk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-subtle, #f8fafc);
}

.kvkk-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.kvkk-modal-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 2px;
}

.kvkk-modal-close:hover {
    color: var(--color-primary);
}

.kvkk-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.kvkk-modal-body h4 {
    margin: 18px 0 8px 0;
    color: var(--color-primary);
    font-size: 0.98rem;
    font-weight: 700;
}

.kvkk-modal-body p {
    margin-bottom: 12px;
}

.kvkk-modal-body ul {
    margin: 8px 0 14px 20px;
}

.kvkk-modal-body li {
    margin-bottom: 6px;
}

.kvkk-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-subtle, #f8fafc);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@keyframes kvkkFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   COOKIE CONSENT BANNER & FORM KVKK NOTICE
   ========================================================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 460px;
    width: calc(100% - 48px);
    background: rgba(18, 20, 24, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 20px 22px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.55);
    z-index: 99990;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.cookie-consent-icon {
    width: 30px;
    height: 30px;
    background: rgba(179, 45, 46, 0.2);
    color: #f87171;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.cookie-consent-text {
    font-size: 0.825rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
}

.cookie-consent-text a {
    color: #f87171;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.cookie-btn-accept {
    background: var(--color-primary, #b32d2e);
    color: #ffffff;
    border-color: var(--color-primary, #b32d2e);
}

.cookie-btn-accept:hover {
    background: #871f22;
}

.cookie-btn-decline {
    background: transparent;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.25);
}

.cookie-btn-decline:hover {
    color: #ffffff;
    border-color: #ffffff;
}

@media (max-width: 640px) {
    .cookie-consent-banner {
        bottom: 14px;
        right: 14px;
        left: 14px;
        width: auto;
        padding: 16px 18px;
    }
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

.form-kvkk-notice {
    margin-top: 16px;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-kvkk-notice input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--color-primary, #b32d2e);
    cursor: pointer;
    flex-shrink: 0;
}

.form-kvkk-notice label {
    cursor: pointer;
    user-select: none;
}

.form-kvkk-notice a {
    color: var(--color-primary, #b32d2e);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* ==========================================================================
   EXECUTIVE DUAL PORTAL ARCHITECTURE (HEGEL MÜHENDİSLİK <-> HEGEL İNŞAAT)
   ========================================================================== */

/* ==========================================================================
   Harmonious Executive Dual-Portal Switcher Button
   Standardized 38px height, dark glass styling, and matching radius
   ========================================================================== */
.btn-portal-action {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    height: 38px !important;
    max-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

/* 1. Transparent Header (Over Dark Hero) */
.main-header:not(.scrolled) .btn-portal-action {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
}

/* 2. Scrolled Header on Construction Portal (Dark Navy Scrolled Bar) */
body.portal-construction .main-header.scrolled .btn-portal-action {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

/* 3. Scrolled Header on Engineering Portal (Light Mode) */
body.portal-engineering .main-header.scrolled .btn-portal-action {
    background: #0f172a !important;
    border: 1px solid #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

/* 4. Scrolled Header on Dark Theme (both portals) */
[data-theme="dark"] .main-header.scrolled .btn-portal-action {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Hover States with Target Brand Accent */
.btn-portal-action.to-construction:hover {
    background: rgba(2, 132, 199, 0.22) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

.btn-portal-action.to-engineering:hover {
    background: rgba(179, 45, 46, 0.22) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

.portal-action-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.portal-action-arrow {
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-portal-action:hover .portal-action-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.btn-portal-action:hover .portal-action-icon {
    transform: scale(1.1);
}

/* Responsive: hide 'Hegel ' prefix on mobile to keep button compact */
@media (max-width: 768px) {
    .portal-brand-prefix {
        display: none;
    }
    .btn-portal-action {
        padding: 0 10px !important;
        font-size: 0.75rem !important;
        gap: 5px;
    }
}
@media (max-width: 480px) {
    .btn-portal-action {
        padding: 0 8px !important;
    }
}

/* Section scroll margin for smooth navbar offset */
section[id], div[id] {
    scroll-margin-top: 85px;
}

/* Mobile Drawer Switcher Segment */
.mobile-portal-switcher {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

[data-theme="dark"] .mobile-portal-switcher {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
}

.mobile-portal-title {
    font-size: 0.6875rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mobile-portal-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mobile-portal-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

[data-theme="dark"] .mobile-portal-pill {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.mobile-portal-pill.active {
    border-color: var(--color-primary);
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
    font-weight: 800;
}

.portal-pill-badge {
    font-size: 0.625rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1;
}

.portal-pill-badge.badge-eng {
    background: rgba(179, 45, 46, 0.15);
    color: #b32d2e;
}

.portal-pill-badge.badge-const {
    background: rgba(2, 132, 199, 0.15);
    color: #0284c7;
}

.portal-pill-name {
    font-size: 0.8125rem;
    font-weight: 700;
}

/* ==========================================================================
   HEGEL İNŞAAT PORTALI - COMPLETE ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

/* Construction Portal Sapphire Blue Accent Overrides (Zero Red Artifacts) */
body.portal-construction {
    --color-primary: #0369a1;
    --color-primary-dark: #075985;
    --color-primary-light: #38bdf8;
    --color-primary-subtle: rgba(3, 105, 161, 0.15);
    --color-border-focus: #0369a1;
}

/* Category Cards & Icon Boxes in Construction */
body.portal-construction .category-icon-box {
    background-color: rgba(2, 132, 199, 0.18) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    color: #38bdf8 !important;
}

body.portal-construction .category-card:hover .category-icon-box {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

body.portal-construction .category-card:hover {
    border-color: rgba(2, 132, 199, 0.75) !important;
}

body.portal-construction .category-card::before {
    background-color: #0284c7 !important;
}

body.portal-construction .category-card:hover .category-brick-num {
    color: #ffffff !important;
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}

body.portal-construction .category-link {
    color: #38bdf8 !important;
}

body.portal-construction .category-card:hover .category-link {
    color: #7dd3fc !important;
}

body.portal-construction .category-card--dark .btn-crimson,
body.portal-construction .category-card .btn-crimson {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}

body.portal-construction .category-card--dark .btn-crimson:hover,
body.portal-construction .category-card .btn-crimson:hover {
    background-color: #075985 !important;
    border-color: #075985 !important;
}

body.portal-construction .btn-crimson {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}

body.portal-construction .btn-crimson::before {
    background: #075985 !important;
}

body.portal-construction .btn-crimson:hover {
    border-color: #075985 !important;
}

body.portal-construction .mep-badge {
    background: #0369a1 !important;
}

body.portal-construction .mep-mobile-tab-btn.active {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}

body.portal-construction .mep-dot.active {
    background: #0369a1 !important;
}

body.portal-construction .mep-collapsed-label svg {
    color: #38bdf8 !important;
}

body.portal-construction .mep-status-pill {
    background: rgba(2, 132, 199, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
}

body.portal-construction .mep-status-dot {
    background-color: #38bdf8 !important;
    box-shadow: 0 0 8px #38bdf8 !important;
}

body.portal-construction .section-tag {
    color: #0284c7 !important;
}

body.portal-construction .section-tag::before {
    background-color: #0284c7 !important;
}

body.portal-construction .mobile-nav-link.active,
body.portal-construction .mobile-nav-link:hover,
body.portal-construction .mobile-nav-row.active,
body.portal-construction .mobile-nav-row:hover {
    background: rgba(2, 132, 199, 0.15) !important;
    border-left-color: #0284c7 !important;
}

body.portal-construction .mobile-lang-pill.active {
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

body.portal-construction .mobile-close:hover {
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
}

/* Buttons */
.btn-primary-blue {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    color: #ffffff !important;
    border: 1px solid #0369a1 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.btn-primary-blue:hover {
    background: linear-gradient(135deg, #075985 0%, #0c4a6e 100%) !important;
    border-color: #075985 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-glass-blue {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.25s ease;
}

.btn-glass-blue:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px);
}

.btn-outline-blue {
    background: transparent !important;
    color: #0284c7 !important;
    border: 1.5px solid #0284c7 !important;
    transition: all 0.25s ease;
}

.btn-outline-blue:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.btn-wa-const {
    background: #128c7e !important;
    color: #ffffff !important;
    border: 1px solid #075e54 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-wa-const:hover {
    background: #075e54 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(18, 140, 126, 0.4);
}

.const-tag {
    color: #0284c7 !important;
}

/* 1. HERO SECTION */
.const-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #0b192c;
    overflow: hidden;
    padding: 120px 0 70px;
    color: #ffffff;
}

.const-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.const-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.94) 0%, rgba(15, 23, 42, 0.88) 50%, rgba(2, 132, 199, 0.35) 100%);
    z-index: 2;
}

.const-hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 3;
    pointer-events: none;
}

.const-hero-container {
    position: relative;
    z-index: 4;
}

.const-hero-content {
    max-width: 920px;
}

.const-hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 4px;
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.35);
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
}

.const-badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.const-hero-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #38bdf8;
}

.const-hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 18px;
}

.const-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 780px;
}

.const-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-lg {
    padding: 14px 26px !important;
    font-size: 0.9375rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
}

/* Stats Grid in Hero */
.const-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.const-stat-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 18px;
    transition: all 0.25s ease;
}

.const-stat-card:hover {
    background: rgba(2, 132, 199, 0.14);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.const-stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: var(--font-heading, inherit);
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 6px;
}

.const-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .const-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .const-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 2. ABOUT & VISION SECTION */
.const-about-section {
    padding: 90px 0;
    background: #ffffff;
}

.const-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.const-about-text-col .const-section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #0f172a;
}

.const-lead-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0369a1;
    line-height: 1.7;
    margin-bottom: 16px;
}

.const-rich-text p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 24px;
}

.const-feature-box {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border-left: 3px solid #0284c7;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 28px;
}

.const-feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.const-feature-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.const-feature-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.const-about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.const-img-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
}

.const-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.const-img-frame:hover .const-main-img {
    transform: scale(1.03);
}

.const-badge-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 18px 24px;
    border-radius: 10px;
    color: #ffffff;
    max-width: 280px;
}

.const-badge-overlay-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1;
    font-family: var(--font-heading, inherit);
}

.const-badge-overlay-text {
    display: block;
    font-size: 0.8125rem;
    color: #cbd5e1;
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .const-about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .const-main-img {
        height: 340px;
    }
}

/* 3. SERVICES SECTION */
.const-services-section {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.const-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.const-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.const-service-card:hover {
    transform: translateY(-6px);
    border-color: #0284c7;
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
}

.const-service-img-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.const-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.const-service-card:hover .const-service-img {
    transform: scale(1.08);
}

.const-service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 25, 44, 0.75) 0%, transparent 60%);
}

.const-service-icon-floating {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.const-service-card:hover .const-service-icon-floating {
    transform: scale(1.1);
    background: #0369a1;
}

.const-service-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.const-service-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.const-service-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
}

.const-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.const-service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #334155;
    margin-bottom: 7px;
}

.const-service-features li svg {
    color: #0284c7;
    flex-shrink: 0;
}

.const-service-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.const-service-footer .btn {
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .const-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .const-services-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. PROJECTS SECTION */
.const-projects-section {
    padding: 90px 0;
    background: #ffffff;
}

.const-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.const-projects-header .section-title {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 900;
    color: #0f172a;
}

.const-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.const-filter-btn {
    padding: 8px 18px;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.const-filter-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.const-filter-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.const-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.const-project-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.const-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.const-project-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.const-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.const-project-card:hover .const-project-img {
    transform: scale(1.08);
}

.const-project-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(11, 25, 44, 0.88);
    backdrop-filter: blur(6px);
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 700;
}

.const-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

.const-project-cat-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.06em;
}

.const-project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.const-project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: #64748b;
}

.const-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.const-project-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.const-project-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.const-project-action {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.const-project-action .btn {
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .const-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .const-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* 5. PROCESS SECTION */
.const-process-section {
    padding: 90px 0;
    background: #0b192c;
    color: #ffffff;
}

.const-process-section .section-title {
    color: #ffffff;
}

.const-process-section .section-subtitle {
    color: #94a3b8;
}

.const-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.const-process-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px 20px;
    transition: all 0.25s ease;
}

.const-process-card:hover {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
}

.const-process-num {
    font-family: var(--font-heading, inherit);
    font-size: 2rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 12px;
}

.const-process-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.const-process-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991px) {
    .const-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .const-process-grid {
        grid-template-columns: 1fr;
    }
}

/* 6. WHY US SECTION */
.const-why-section {
    padding: 90px 0;
    background: #ffffff;
}

.const-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.const-why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.const-why-card:hover {
    border-color: #0284c7;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.const-why-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.const-why-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.const-why-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .const-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .const-why-grid {
        grid-template-columns: 1fr;
    }
}

/* 7. QUOTE FORM SECTION */
.const-quote-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #0b192c 0%, #0f172a 100%);
    color: #ffffff;
}

.const-quote-box {
    max-width: 1080px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
}

.const-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
}

.const-quote-title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.const-quote-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 28px;
}

.const-quote-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.const-q-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.const-q-bullet svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.const-direct-wa-box {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.const-quote-form-wrap {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px;
}

.const-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.const-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.const-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #cbd5e1;
}

.const-input,
.const-select,
.const-textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.const-input:focus,
.const-select:focus,
.const-textarea:focus {
    outline: none;
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.const-select option {
    background: #0f172a;
    color: #ffffff;
}

.const-input::placeholder,
.const-textarea::placeholder {
    color: #64748b;
}

.const-textarea {
    resize: vertical;
}

@media (max-width: 991px) {
    .const-quote-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .const-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .const-quote-box {
        padding: 24px 16px;
    }
    .const-quote-form-wrap {
        padding: 20px 14px;
    }
}






/* ==========================================================================
   GLOBAL MARQUEE & INTERACTIVE ACCORDION (SHARED COMPONENT)
   ========================================================================== */

/* Single Row Infinite Marquee - Hardware Accelerated & Interactive Drag */
.logo-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    touch-action: pan-y;
}

.logo-marquee-wrapper.is-dragging {
    cursor: grabbing !important;
}

.logo-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.marquee-logo-card {
    flex: 0 0 170px;
    width: 170px;
    height: 88px;
    background: #ffffff !important;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    /* Completely remove all hover effects */
    transition: none !important;
    transform: none !important;
    cursor: grab;
}

.logo-marquee-wrapper.is-dragging .marquee-logo-card {
    cursor: grabbing !important;
}

.marquee-logo-card:hover {
    transform: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    border-color: var(--color-border) !important;
}

[data-theme="dark"] .marquee-logo-card {
    background: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .marquee-logo-card:hover {
    transform: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.marquee-logo-img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* No hover transform or scale */
    transition: none !important;
    transform: none !important;
    pointer-events: none;
    user-select: none;
}

.marquee-logo-card:hover .marquee-logo-img {
    transform: none !important;
}

@media (max-width: 768px) {
    .marquee-logo-card {
        flex: 0 0 140px;
        width: 140px;
        height: 76px;
        padding: 8px 12px;
    }
    .marquee-logo-img {
        max-height: 44px;
    }
}

/* ==========================================================================
   Interactive Architectural Visual Accordion (Saha Mühendisliği Vitrini)
   ========================================================================== */
.section-showcase-accordion {
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--color-bg-white, #ffffff);
    border-top: none;
}

[data-theme="dark"] .section-showcase-accordion {
    background: #0a0c10;
}

.section-showcase-accordion .container {
    max-width: 1340px;
}

.mep-accordion {
    display: flex;
    flex-direction: row;
    height: 540px;
    width: 100%;
    gap: 14px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.mep-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    transition: flex 0.55s cubic-bezier(0.25, 1, 0.35, 1);
    outline: none;
    user-select: none;
    background: #0d0f14;
    box-shadow: none;
}

.mep-panel.active {
    flex: 3.5;
    cursor: default;
}

.mep-panel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.35, 1), filter 0.5s ease;
    filter: brightness(0.72);
    z-index: 1;
}

.mep-panel:hover .mep-panel-bg,
.mep-panel.active .mep-panel-bg {
    transform: scale(1.06);
    filter: brightness(0.82);
}

.mep-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 10, 14, 0.96) 0%,
        rgba(8, 10, 14, 0.55) 45%,
        rgba(8, 10, 14, 0.25) 100%
    );
    z-index: 2;
    transition: opacity 0.4s ease;
}

.mep-panel:not(.active) .mep-panel-overlay {
    background: linear-gradient(
        to top,
        rgba(8, 10, 14, 0.95) 0%,
        rgba(8, 10, 14, 0.65) 60%,
        rgba(8, 10, 14, 0.4) 100%
    );
}

/* Top Strip */
.mep-panel-top {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mep-badge {
    display: inline-block;
    font-family: var(--font-mono, monospace);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: var(--color-primary, rgba(179, 45, 46, 0.88));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.mep-num {
    font-family: var(--font-mono, monospace);
    font-size: 1.15rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.02em;
}

/* Collapsed Title Label (visible when panel is narrow) */
.mep-collapsed-label {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.mep-collapsed-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    text-overflow: ellipsis;
}

.mep-collapsed-label svg {
    color: var(--color-primary-light, #ef4444);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mep-panel:hover .mep-collapsed-label svg {
    transform: translateX(4px);
}

.mep-panel.active .mep-collapsed-label {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    display: none;
}

/* Expanded Content Drawer */
.mep-expanded-content {
    position: relative;
    z-index: 3;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.12s, transform 0.4s cubic-bezier(0.25, 1, 0.35, 1) 0.12s;
    max-width: 620px;
}

.mep-panel.active .mep-expanded-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mep-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.mep-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

.mep-panel-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mep-panel-desc {
    font-size: 0.9125rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 540px;
}

.mep-action-wrap {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    flex-wrap: nowrap;
    margin-top: 18px;
}
.mep-action-wrap .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important;
    text-align: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    flex: 1 1 0;
    min-width: 0;
}
.mep-action-wrap .btn span {
    white-space: nowrap !important;
}

.mep-mobile-tabs,
.mep-mobile-dots {
    display: none !important;
}

/* Tablet & Mobile Responsiveness - Touch Carousel & Segmented Tabs */
@media (max-width: 991px) {
    .mep-mobile-tabs {
        display: flex !important;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-bottom: 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .mep-mobile-tabs::-webkit-scrollbar {
        display: none;
    }
    .mep-mobile-tab-btn {
        flex: 1 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        color: #94a3b8;
        font-family: var(--font-mono);
        font-size: 0.75rem;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s ease;
    }
    .mep-mobile-tab-btn.active {
        background: var(--color-primary, #b32d2e);
        border-color: var(--color-primary, #b32d2e);
        color: #ffffff;
        box-shadow: none;
    }
    .mep-mobile-tab-btn .mep-tab-num {
        opacity: 0.8;
        font-size: 0.6875rem;
    }

    .mep-accordion {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        height: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        scrollbar-width: none;
    }
    .mep-accordion::-webkit-scrollbar {
        display: none;
    }

    .mep-panel {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        scroll-snap-align: start;
        height: auto;
        min-height: 440px;
        padding: 24px 20px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: #0d0f14;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: none;
        cursor: default;
    }

    @media (min-width: 600px) and (max-width: 991px) {
        .mep-panel {
            flex: 0 0 calc(50% - 6px);
            min-width: calc(50% - 6px);
        }
    }

    /* All panels are full-sized, active cards on mobile — no collapsed strips! */
    .mep-collapsed-label {
        display: none !important;
    }
    .mep-expanded-content {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .mep-panel-title {
        font-size: 1.25rem;
        line-height: 1.35;
        margin-bottom: 8px;
    }
    .mep-panel-desc {
        font-size: 0.825rem;
        line-height: 1.5;
        margin-bottom: 14px;
        color: #cbd5e1;
    }
    .mep-action-wrap {
        display: flex;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        flex-wrap: nowrap;
        margin-top: 14px;
    }
    .mep-action-wrap .btn {
        flex: 1 1 0;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap !important;
        padding: 11px 6px;
        font-size: clamp(0.7rem, 2.7vw, 0.78125rem);
        letter-spacing: 0.02em;
        line-height: 1;
    }
    .mep-action-wrap .btn span {
        white-space: nowrap !important;
    }
    .mep-action-wrap .btn svg {
        flex-shrink: 0;
        width: 12px;
        height: 12px;
        margin-left: 2px;
    }

    .mep-mobile-dots {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 14px;
    }
    .mep-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.25s ease;
    }
    .mep-dot.active {
        width: 24px;
        border-radius: 4px;
        background: var(--color-primary, #b32d2e);
    }
}

@media (min-width: 992px) {
    .mep-mobile-tabs,
    .mep-mobile-dots {
        display: none !important;
    }
}


/* ==========================================================================
   Construction Portal - Scrolled Header Dark Navy Glass
   Preserves crisp contrast for uploaded PNG logo (white "HEGEL" + blue text)
   ========================================================================== */
body.portal-construction .main-header.scrolled {
    background-color: rgba(11, 25, 44, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}
body.portal-construction .main-header.scrolled .nav-link {
    color: #cbd5e1 !important;
}
body.portal-construction .main-header.scrolled .nav-link:hover,
body.portal-construction .main-header.scrolled .nav-link.active {
    color: #38bdf8 !important;
}
body.portal-construction .main-header.scrolled .theme-toggle-btn,
body.portal-construction .main-header.scrolled .lang-dropdown-trigger {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}
body.portal-construction .main-header.scrolled .btn-portal-action {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}
body.portal-construction .main-header.scrolled .mobile-toggle .bar {
    background-color: #ffffff !important;
}

/* Hide header quote CTA button on mobile so hamburger and utilities have ample space */
@media (max-width: 991px) {
    .header-actions .btn-header-cta,
    .header-actions .open-rfq-modal,
    .header-actions .btn-primary-blue {
        display: none !important;
    }
}

/* ==========================================================================
   Mobile Header Perfect Symmetry & Zero-Overflow Layout (<= 576px)
   ========================================================================== */
@media (max-width: 576px) {
    .main-header {
        height: 56px !important;
    }
    .header-inner {
        height: 56px !important;
        padding: 0 12px !important;
    }
    .brand-logo .logo-img,
    .brand-logo .logo-const-direct {
        max-height: 34px !important;
        width: auto !important;
    }
    .header-actions {
        gap: 6px !important;
    }
    .header-actions .lang-dropdown {
        display: none !important;
    }
    .header-actions .btn-header-cta {
        display: none !important;
    }
    .btn-portal-action {
        height: 34px !important;
        max-height: 34px !important;
        padding: 0 8px !important;
        font-size: 0.72rem !important;
        gap: 4px !important;
    }
    .btn-portal-action .portal-action-arrow {
        display: none !important;
    }
    .theme-toggle-btn {
        width: 34px !important;
        height: 34px !important;
        padding: 6px !important;
    }
    .mobile-toggle {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        padding: 6px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .mobile-toggle .bar {
        width: 20px !important;
        height: 2px !important;
    }
}

/* Construction Portal Button Aesthetics (Tailwind Sky-700 Blue #0369a1 - WCAG AA compliant 5.5:1) */
body.portal-construction .btn-crimson,
.portal-construction .btn-crimson,
.btn-primary-blue {
    background-color: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}

body.portal-construction .btn-crimson::before,
.portal-construction .btn-crimson::before,
.btn-primary-blue::before {
    background: #075985 !important;
}

body.portal-construction .btn-crimson:hover,
.portal-construction .btn-crimson:hover,
.btn-primary-blue:hover {
    border-color: #075985 !important;
}

body.portal-construction .btn-outline-crimson,
.portal-construction .btn-outline-crimson {
    color: #0369a1 !important;
    border-color: #0369a1 !important;
}

body.portal-construction .btn-outline-crimson::before,
.portal-construction .btn-outline-crimson::before {
    background: #0369a1 !important;
}

body.portal-construction .btn-outline-crimson:hover,
.portal-construction .btn-outline-crimson:hover {
    border-color: #0369a1 !important;
}

body.portal-construction .branch-card-top-bar,
.portal-construction .branch-card-top-bar {
    background: linear-gradient(90deg, #0369a1, #075985) !important;
}

body.portal-construction .branch-card:hover,
.portal-construction .branch-card:hover {
    border-color: rgba(3, 105, 161, 0.4) !important;
}
