/* ==========================================================================
   Acil Usta Burada — Unified Calm & High-Performance Theme Stylesheet
   ========================================================================== */

/* Modern Design Tokens */
:root {
    --primary: #e02b20;
    --primary-hover: #c72016;
    --primary-active: #b31a11;
    --primary-subtle: #fef2f2;
    --primary-border: #fecaca;
    --primary-rgb: 224, 43, 32;

    --secondary: #0ea5e9;
    --secondary-hover: #0284c7;

    --success: #10b981;
    --success-subtle: #ecfdf5;
    --success-border: #a7f3d0;

    --warning: #f59e0b;
    --warning-subtle: #fffbeb;

    --bg-page: #f8fafc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --surface-muted: #f8fafc;

    --border: #e2e8f0;
    --border-subtle: #f1f5f9;
    --border-focus: #e02b20;

    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --text-inverse: #ffffff;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 5px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;

    --tab-height: 68px;
    --header-height: 64px;

    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.22s cubic-bezier(0.16, 1, 0.3, 1);

    --container-width: 1240px;
    --space-4: 24px;

    /* Legacy Aliases for Full Backward Compatibility */
    --red: var(--primary);
    --orange: var(--warning);
    --ink: var(--text-main);
    --muted: var(--text-muted);
    --line: var(--border);
    --shadow: var(--shadow-sm);
}

/* Base Reset & Core Setup */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-body);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Accessible focus ring */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
}

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

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
    touch-action: manipulation;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Container */
.container {
    width: min(1200px, calc(100% - 36px));
    margin-inline: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition-fast);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-main);
    flex-shrink: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
    flex-shrink: 0;
}

.brand-mark svg {
    width: 18px;
    height: 18px;
}

.brand b {
    color: var(--primary);
}

.brand small {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Navigation Links */
.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-body);
}

.site-nav a {
    position: relative;
    padding: 6px 2px;
    transition: color var(--transition-fast);
}

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

.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* VIP Abonelik Badge in Nav */
.nav-link-abonelik {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.nav-abonelik-content {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-mobile-text {
    display: none;
}

.nav-vip-badge {
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(217, 119, 6, 0.25);
}

/* ==========================================================================
   Navigation Dropdown (Services Mega Menu)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    color: var(--text-body);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.dropdown-caret {
    transition: transform var(--transition-fast);
    color: var(--text-muted);
}

.nav-item-dropdown:hover .dropdown-caret,
.nav-item-dropdown:focus-within .dropdown-caret {
    transform: rotate(180deg);
    color: var(--primary);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -12px;
    width: 480px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 38px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    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: 200;
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 36px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.dropdown-header strong {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
}

.dropdown-header p {
    font-size: 11.5px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.dropdown-all-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.dropdown-all-link:hover {
    transform: translateX(2px);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--surface-alt);
    transform: translateX(2px);
}

.dropdown-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.dropdown-item-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.dropdown-item-info span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 1px;
}

.dropdown-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.dropdown-cta-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-body);
    text-decoration: none;
    background: var(--primary-subtle);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-border);
    transition: background var(--transition-fast);
}

.dropdown-cta-link:hover {
    background: #fee2e2;
}

.cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    flex-shrink: 0;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 2px 6px 2px 14px;
    min-width: 200px;
    max-width: 290px;
    flex: 1;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.header-search:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.header-search input {
    width: 100%;
    min-width: 0;
    height: 34px;
    background: none;
    border: 0;
    outline: none;
    font-size: 13px;
    color: var(--text-main);
}

.header-search input::placeholder {
    color: var(--text-subtle);
}

.header-search button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.header-search button:hover {
    color: var(--primary);
}

/* Header Emergency Phone Pill */
.header-emergency-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-full);
    color: var(--primary) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
}

.header-emergency-pill:hover {
    background: #fee2e2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.emergency-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: emergency-live-pulse 2s infinite;
}

@keyframes emergency-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.mobile-nav-footer {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-cart {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    color: var(--text-body);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.header-cart:hover {
    background: var(--surface-alt);
    color: var(--primary);
}

.header-cart b,
.header-cart .cart-count,
[data-cart-count],
.js-cart-count {
    position: absolute;
    top: -2px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    background: var(--primary, #e02b20);
    color: #fff;
    border-radius: var(--radius-full, 999px);
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(224, 43, 32, 0.45);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s;
    pointer-events: none;
}

.header-cart .cart-count.is-empty,
[data-cart-count].is-empty,
.js-cart-count.is-empty {
    display: none !important;
}

.header-cart .cart-count.badge-pop,
[data-cart-count].badge-pop,
.js-cart-count.badge-pop {
    transform: scale(1.4);
}

.menu-button {
    display: none;
    font-size: 22px;
    padding: 6px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
}

/* ==========================================================================
   Buttons System
   ========================================================================== */
.button,
.solid-btn,
.outline-btn,
.soft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast), border-color var(--transition-fast);
}

.button:hover,
.solid-btn:hover,
.outline-btn:hover,
.soft-btn:hover {
    transform: translateY(-1px);
}

.button:active,
.solid-btn:active,
.outline-btn:active,
.soft-btn:active {
    transform: translateY(0);
}

/* Primary Button */
.button-primary,
.solid-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff !important;
    border: 1px solid var(--primary-hover);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2);
}

.button-primary:hover,
.solid-btn:hover {
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.28);
    filter: brightness(1.02);
}

/* Light / Soft Button */
.button-light,
.soft-btn {
    background: var(--surface-alt);
    color: var(--text-body) !important;
    border: 1px solid var(--border);
}

.button-light:hover,
.soft-btn:hover {
    background: #e9eef5;
    color: var(--text-main) !important;
    border-color: #cbd5e1;
}

/* Outline Button */
.outline-btn {
    background: #fff;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
}

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

/* White Button */
.button-white {
    background: #fff;
    color: var(--text-main) !important;
    border: 1px solid #fff;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.button-white:hover {
    background: #f8fafc;
    box-shadow: var(--shadow-md);
}

/* Text Button */
.text-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.text-button:hover {
    background: var(--primary-subtle);
}

/* ==========================================================================
   Cards, Panels & Shared Components
   ========================================================================== */
.card,
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

/* Form Fields */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.field input,
.field select,
.field textarea,
.search-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

/* Subpage Common Framework */
.subpage {
    background-color: var(--bg-page);
    min-height: 80vh;
}

.subpage .page-shell {
    padding: 32px 0 56px;
}

.breadcrumb,
.portal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a:hover,
.portal-breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb strong,
.portal-breadcrumb span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 36px 0 20px;
}

.section-title h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    color: var(--text-main);
}

.section-title p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   Vibrant App Banner (Matching Reference Images)
   ========================================================================== */
.app-banner {
    background: linear-gradient(90deg, #e52d27 0%, #ff5722 50%, #e02b20 100%);
    color: #ffffff;
    padding: 24px 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.08);
}

.banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.banner-phone-wrap {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-phone-img {
    height: 140px;
    width: auto;
    object-fit: cover;
    object-position: left center;
}

.banner-center-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.banner-copy h2 {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 4px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.banner-copy p {
    font-size: 13.5px;
    color: #ffffff;
    opacity: 0.95;
    margin: 0;
}

.banner-features-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.banner-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feat-bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.banner-btn-wrap {
    flex-shrink: 0;
}

.banner-btn {
    background: #ffffff !important;
    color: #e02b20 !important;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.banner-badge-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.banner-slogan-badge {
    background: #ffeb3b;
    color: #111827;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 20px;
    line-height: 1.2;
    text-align: center;
    transform: rotate(4deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .banner-phone-wrap, .banner-badge-wrap {
        display: none;
    }
    .banner-center-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ==========================================================================
   Calm Dark Footer (Matching Reference)
   ========================================================================== */
footer#iletisim,
footer {
    background: #0c1220;
    color: #94a3b8;
    padding: 48px 0 24px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.6fr 1.1fr 1.3fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-about .brand {
    color: #fff;
    margin-bottom: 14px;
}

.footer-about p {
    line-height: 1.6;
    margin: 0 0 16px;
    color: #94a3b8;
}

.footer-grid h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0 0 14px;
}

.footer-grid a:not(.brand) {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-grid a:not(.brand):hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-services {
    display: flex;
    gap: 28px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-contact-link:hover {
    color: #ffffff !important;
}

.footer-contact-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    margin: 8px 0;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 8px 20px;
    border: 1.5px solid var(--primary);
    border-radius: 9999px;
    color: #fff !important;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.contact-button:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: #cbd5e1;
}

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */
dialog {
    width: min(500px, calc(100% - 32px));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    background: #fff;
}

dialog::backdrop {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-close,
.page-dialog-close {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 24px;
    line-height: 1;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.modal-close:hover,
.page-dialog-close:hover {
    color: var(--text-main);
    background: var(--surface-alt);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    padding: 12px 20px;
    background: #0f172a;
    color: #fff;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 32px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.toast.toast-success {
    background: #064e3b;
    border-color: #059669;
    color: #ecfdf5;
}

.toast.toast-error {
    background: #7f1d1d;
    border-color: #dc2626;
    color: #fef2f2;
}

/* ==========================================================================
   Mobile Bottom Tabs
   ========================================================================== */
.bottom-tabs {
    display: none;
    position: fixed;
    inset: auto 0 0;
    height: calc(var(--tab-height) + env(safe-area-inset-bottom));
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 99;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.05);
}

.bottom-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 600;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

.bottom-tab .tab-icon,
.bottom-tab span:first-child {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    font-size: 19px;
    line-height: 1;
}

.bottom-tab .tab-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.bottom-tab:hover,
.bottom-tab.active {
    color: var(--primary);
}

.bottom-tab.active .tab-icon svg {
    stroke-width: 2.4;
}

.bottom-emergency {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff !important;
    border-radius: var(--radius-lg);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb, 224, 43, 32), 0.35);
}

.bottom-emergency .tab-icon,
.bottom-emergency span:first-child {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    font-size: 18px;
    line-height: 1;
}

.bottom-emergency .tab-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
    .header-emergency-pill .emergency-phone-num {
        display: none;
    }
    .header-emergency-pill {
        padding: 8px 10px;
    }
    .site-nav {
        gap: 14px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .header-search {
        max-width: 190px;
    }
    .site-nav {
        gap: 10px;
        font-size: 12px;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 24px;
    }
}

.mobile-menu-backdrop {
    display: none;
}

@media (max-width: 860px) {
    body.mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: var(--header-height) 0 0;
        z-index: 140;
        padding: 0;
        border: 0;
        background: rgba(8, 15, 26, .54);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .mobile-menu-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-emergency-pill {
        display: none;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: auto;
        width: min(88vw, 390px);
        bottom: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 6px;
        overflow-y: auto;
        z-index: 150;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 11px 14px;
        border-radius: var(--radius-md);
        font-size: 14px;
    }

    .site-nav a:hover,
    .site-nav a.active {
        background: var(--surface-alt);
    }

    .site-nav a.active::after {
        display: none;
    }

    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 1px solid var(--border-subtle);
        background: var(--surface-alt);
        margin: 6px 0 10px;
        display: none;
    }

    .nav-item-dropdown.mobile-expanded .mega-menu {
        display: block;
    }

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

    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .mobile-emergency-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--primary);
        color: #ffffff !important;
        padding: 12px;
        border-radius: var(--radius-md);
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    }

    .mobile-auth-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-auth-actions .button {
        text-align: center;
        padding: 10px 14px;
    }

    .menu-button {
        display: block;
        position: relative;
        z-index: 160;
    }

    .menu-button.is-open {
        color: var(--primary);
        background: #fff1ef;
    }

    .menu-button svg line {
        transform-origin: center;
        transition: transform .2s ease, opacity .15s ease;
    }

    .menu-button.is-open svg line:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-button.is-open svg line:nth-child(2) {
        opacity: 0;
    }

    .menu-button.is-open svg line:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .header-search {
        display: none;
    }

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

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(var(--tab-height) + env(safe-area-inset-bottom));
    }

    .bottom-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr 1.6fr 1fr 1fr;
        gap: 4px;
        align-items: center;
    }

    .header-actions .button-light {
        display: none;
    }

    .banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .app-banner ul {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   Cookie Consent & Preferences Modal
   ========================================================================== */
.cookie-consent-root {
    position: relative;
    z-index: 1090;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, calc(100% - 32px));
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 18px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 1090;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-copy {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cookie-banner-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.cookie-banner-copy h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--text-main);
}

.cookie-banner-copy p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.cookie-banner-copy a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-action-button {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-action-button:hover {
    background: #e2e8f0;
}

.cookie-action-button[data-cookie-action="accept-all"] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}

.cookie-action-button[data-cookie-action="accept-all"]:hover {
    background: var(--primary-hover);
}

.cookie-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1095;
    display: grid;
    place-items: center;
    padding: 16px;
}

.cookie-dialog-backdrop[hidden] {
    display: none !important;
}

.cookie-dialog {
    width: min(560px, 100%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.cookie-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cookie-dialog-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 4px 0 2px;
}

.cookie-dialog-header p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

.cookie-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.cookie-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.cookie-category-copy label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.cookie-category-copy p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.cookie-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.cookie-dialog-actions {
    display: flex;
    gap: 8px;
}

/* Enes / Policy Button Compatibility */
.btn-enes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-enes:hover {
    background: var(--primary-hover);
}

.btn-outline-enes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline-enes:hover {
    background: var(--primary-subtle);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: calc(var(--tab-height) + 16px);
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-banner-actions button {
        flex: 1;
    }
}

/* ==========================================================================
   Page Hero & Breadcrumbs (Standard content pages)
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 44px 0 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-hero .site-container,
.page-hero .page-shell {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin: 0 0 8px;
    color: #ffffff;
}

.page-hero p {
    color: #94a3b8;
    font-size: 15px;
    max-width: 720px;
    margin: 0;
    line-height: 1.5;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.page-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
    color: #ffffff;
}

.page-breadcrumb i {
    font-size: 11px;
    opacity: 0.7;
}

.page-breadcrumb span {
    color: #f1f5f9;
    font-weight: 600;
}

.section-space {
    padding: 44px 0;
}

.soft-bg {
    background: var(--surface-alt);
}

.site-container {
    width: 100%;
    max-width: var(--container-width, 1240px);
    margin: 0 auto;
    padding: 0 var(--space-4, 24px);
    box-sizing: border-box;
}

/* ==========================================================================
   Marketing Hero & Catalog Common Styles (Hizmetler & Magaza)
   ========================================================================== */
.marketing-hero {
    position: relative;
    background: #0f172a;
    overflow: hidden;
    color: #fff;
    min-height: 330px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.marketing-hero .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 1;
    opacity: 0.65;
}

.marketing-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.94) 42%, rgba(15, 23, 42, 0.6) 65%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.marketing-copy {
    position: relative;
    z-index: 3;
    max-width: 620px;
}

.marketing-copy h1 {
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin: 0 0 10px;
    color: #fff;
}

.marketing-copy h1 em,
.marketing-copy .em-red {
    font-style: normal;
    color: #ff523d;
    background: linear-gradient(135deg, #ff6b57, #e02b20);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-copy .lead {
    font-size: 15.5px;
    line-height: 1.45;
    color: #cbd5e1;
    margin: 0 0 20px;
}

.hero-search {
    display: flex;
    gap: 8px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 6px;
    max-width: 640px;
    box-shadow: var(--shadow-lg);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 8px 14px;
    font-size: 14.5px;
    color: var(--text-main);
}

.hero-search button {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-chips span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-chips b {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 11px;
}

.hero-speech-bubble {
    position: absolute;
    right: 30px;
    top: 30px;
    background: #ffffff;
    color: #111827;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    font-size: 13.5px;
    font-weight: 700;
    max-width: 230px;
    line-height: 1.35;
    z-index: 4;
    transform: rotate(2deg);
}

.hero-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 28px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #ffffff;
}

@media (max-width: 992px) {
    .hero-speech-bubble {
        display: none;
    }
}

/* Catalog Sidebar & Toolbar */
.catalog-toolbar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-sidebar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px 16px;
    box-shadow: var(--shadow-xs);
    align-self: start;
}

.catalog-sidebar h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--text-main);
}

.catalog-sidebar button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-body);
    transition: all var(--transition-fast);
}

.catalog-sidebar button:hover {
    background: var(--surface-alt);
    color: var(--text-main);
}

.catalog-sidebar button.active {
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 700;
}

.catalog-sidebar small {
    background: var(--surface-alt);
    border-radius: var(--radius-full);
    padding: 2px 8px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Hizmetler Page Components */
.hizmetler-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 25px 0 35px;
}

.hizmetler-benefits .benefit-item,
.hizmetler-benefits > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hizmetler-benefits .benefit-item:hover,
.hizmetler-benefits > div:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hizmetler-benefits strong,
.hizmetler-benefits b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.hizmetler-benefits span {
    font-size: 12px;
    color: var(--text-muted);
}

.hizmetler-catalog {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    align-items: start;
}

.catalog-toolbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.catalog-sort-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    background: #ffffff;
    font-size: 13px;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.catalog-view-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.catalog-view-toggle button {
    background: #ffffff;
    color: var(--text-muted);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.catalog-view-toggle button.active {
    background: var(--primary);
    color: #ffffff;
}

.hizmetler-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-list-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-list-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.service-media-wrap {
    height: 155px;
    position: relative;
    overflow: hidden;
    background: var(--surface-alt);
}

.service-media-wrap.tint-orange { background: #fed7aa; }
.service-media-wrap.tint-yellow { background: #fef08a; }
.service-media-wrap.tint-blue { background: #bfdbfe; }

.service-center-emoji {
    font-size: 55px;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.service-photo {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}

.service-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.service-card-body {
    padding: 14px;
}

.service-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-main);
}

.service-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 10px;
    min-height: 36px;
}

.service-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 12px;
}

.service-rating {
    color: #f59e0b;
    font-weight: 700;
}

.service-rating small {
    color: var(--text-muted);
    font-weight: 400;
}

.service-distance {
    color: var(--primary);
    font-weight: 600;
}

.service-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
}

.service-card-actions .soft-btn {
    background: var(--surface-alt);
    color: var(--text-main);
    border: none;
    border-radius: var(--radius-md);
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.service-card-actions .soft-btn:hover {
    background: #e2e8f0;
}

.service-card-actions .solid-btn {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background var(--transition-fast);
}

.service-card-actions .solid-btn:hover {
    background: var(--primary-hover);
}

.hizmetler-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0 20px;
}

.hizmetler-stats .stat-item,
.hizmetler-stats > div {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 70px;
    box-shadow: var(--shadow-xs);
}

.stat-icon {
    font-size: 32px;
    line-height: 1;
}

.stat-icon.red { color: var(--primary); }
.stat-icon.amber { color: #f59e0b; }

.hizmetler-stats p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.hizmetler-stats strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.hizmetler-stats span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Magaza (Shop) Page Components */
.shop-catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 16px;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.shop-benefits-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 48px 0 24px;
}

.shop-benefits-strip > div {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-xs);
}

.shop-category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shop-category-tabs::-webkit-scrollbar {
    display: none;
}

/* Contact (Iletisim) Page Components */
.contact-cards-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: -36px 0 40px;
    position: relative;
    z-index: 4;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-card > b {
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.contact-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 56px;
}

.contact-names-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.map-preview {
    height: 340px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid var(--border);
}

.map-pin {
    position: absolute;
    top: 45%;
    left: 48%;
    font-size: 38px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

/* About (Hakkimizda) Page Components */
.about-hero {
    position: relative;
    background: #0f172a;
    overflow: hidden;
    color: #fff;
    min-height: 320px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 1;
    opacity: 0.5;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.94) 45%, rgba(15, 23, 42, 0.6) 65%, transparent 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 620px;
}

.about-content-section {
    padding: 56px 0 40px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

.about-intro-text h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.about-intro-text p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0 0 16px;
}

.about-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 11;
    background: var(--surface-alt);
}

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

.about-experience-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-experience-badge strong {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.about-experience-badge span {
    font-size: 12px;
    line-height: 1.3;
    color: #e2e8f0;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.pillar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 20px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.pillar-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px;
}

.pillar-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.about-stats-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin-bottom: 56px;
}

.about-stat-item strong {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1.1;
    margin-bottom: 6px;
}

.about-stat-item span {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.about-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-cta-text h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #ffffff;
}

.about-cta-text p {
    font-size: 14px;
    margin: 0;
    color: #cbd5e1;
    max-width: 520px;
    line-height: 1.5;
}

.about-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-white {
    background: #ffffff;
    color: #0f172a !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast);
}

.btn-white:hover {
    transform: translateY(-1px);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition-fast);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Policy & Legal Pages (Gizlilik, Kvkk, Cerez, MesafeliSatis)
   ========================================================================== */
.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.content-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.policy-nav {
    padding: 24px 20px;
    position: sticky;
    top: 90px;
}

.policy-nav strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.policy-nav a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 4px;
    transition: all var(--transition-fast);
}

.policy-nav a:hover {
    background: var(--surface-alt);
    color: var(--primary);
    transform: translateX(3px);
}

.policy-nav a.active {
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 800;
}

.policy-content {
    padding: 40px;
}

.policy-content h2 {
    font-size: 26px;
    font-weight: 850;
    color: var(--text-main);
    margin: 0 0 20px;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.policy-content h3 {
    font-size: 19px;
    font-weight: 750;
    color: var(--text-main);
    margin: 32px 0 14px;
}

.policy-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-body);
    margin: 0 0 16px;
}

.policy-content hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 28px 0;
}

.policy-content ol, .policy-content ul {
    padding-left: 22px;
    margin-bottom: 22px;
}

.policy-content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 8px;
}

.policy-content .alert-warning {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: #9a3412;
    font-size: 14px;
    line-height: 1.6;
    margin: 22px 0;
}

.policy-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.policy-content a:hover {
    color: var(--primary-hover);
}

/* Responsive Rules for About & Policy Pages */
@media (max-width: 991px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .about-stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 30px 20px;
    }
    .about-cta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 32px 24px;
    }
    .about-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .about-cta-actions a {
        width: 100%;
        justify-content: center;
    }

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .policy-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px;
    }
    .policy-nav strong {
        width: 100%;
        margin-bottom: 8px;
    }
    .policy-nav a {
        margin-bottom: 0;
        font-size: 13px;
        padding: 8px 12px;
    }
    .policy-content {
        padding: 26px 20px;
    }
}

@media (max-width: 580px) {
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-stats-banner {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-experience-badge {
        padding: 10px 14px;
        bottom: 12px;
        left: 12px;
    }
    .about-experience-badge strong {
        font-size: 22px;
    }
    .policy-content h2 {
        font-size: 22px;
    }
    .policy-content h3 {
        font-size: 17px;
    }
}

/* Blog Single Components */
.blog-single-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.article-container {
    max-width: 840px;
    margin-inline: auto;
}

.blog-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.blog-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
}

.blog-body blockquote {
    background: var(--surface-alt);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    margin: 1.8rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Cart Page Components */
.cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
    padding-block: 24px;
}

.cart-table-head {
    display: grid;
    grid-template-columns: 30px 74px 1fr 100px 110px 100px 36px;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 30px 74px 1fr 100px 110px 100px 36px;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-recs-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* Auth Pages (Login & Register) */
.auth-page-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 40px;
    align-items: center;
    padding: 40px 20px;
}

.auth-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0 40px;
}

.auth-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* Legal & Policy Pages */
.distance-contract h2 {
    margin-top: 2rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.distance-contract h3 {
    margin-top: 1.25rem;
    color: var(--text-main);
}

.contract-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
}

.contract-data-grid {
    display: grid;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.8fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.contract-data-grid > * {
    padding: .75rem .9rem;
    border-bottom: 1px solid var(--border);
}

.contract-data-grid > :nth-last-child(-n+2) {
    border-bottom: 0;
}

.contract-data-grid span {
    background: var(--surface-alt);
    color: var(--text-muted);
}

.contract-field-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0;
}

.contract-field-list span {
    position: relative;
    padding: .75rem .85rem .75rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-alt);
}

.contract-field-list span::before {
    content: "✓";
    position: absolute;
    left: .8rem;
    color: #10b981;
    font-weight: 700;
}

.content-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-transform: uppercase;
}

/* ==========================================================================
   Responsive Adaptations for Subpages
   ========================================================================== */
@media (max-width: 1100px) {
    .shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hizmetler-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    .hizmetler-catalog {
        grid-template-columns: 1fr;
    }
    .hizmetler-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hizmetler-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-catalog-layout {
        grid-template-columns: 1fr;
    }
    .shop-catalog-layout .catalog-sidebar {
        display: none;
    }
    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shop-benefits-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-cards-wrap {
        grid-template-columns: 1fr;
        margin: 15px 0 25px;
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-page-layout {
        grid-template-columns: 1fr;
    }
    .cart-recs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .auth-page-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0;
    }
}

@media (max-width: 580px) {
    .hizmetler-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .hizmetler-grid {
        grid-template-columns: 1fr;
    }
    .hizmetler-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .contact-names-row {
        grid-template-columns: 1fr;
    }
    .contact-info-boxes {
        grid-template-columns: 1fr;
    }
    .hero-search {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    .hero-search input {
        background: #fff;
        border-radius: var(--radius-md);
        padding: 12px;
    }
    .hero-search button {
        width: 100%;
    }
    .cart-table-head {
        display: none;
    }
    .cart-item-row {
        grid-template-columns: 24px 64px 1fr auto;
        gap: 8px 10px;
    }
}

/* Compact reference header: key commerce links and search stay prominent. */
@media (min-width: 861px) {
    .header-inner {
        gap: 14px;
    }

    .site-nav {
        gap: 17px;
        flex-shrink: 0;
    }

    .header-search {
        min-width: 165px;
        max-width: 235px;
    }

    .header-actions {
        gap: 7px;
    }

    .header-actions .button {
        padding-inline: 14px;
    }
}

@media (max-width: 580px) {
    .header-actions .btn-usta-ol {
        display: none;
    }

    .header-inner {
        gap: 8px;
    }

    .brand {
        font-size: 17px;
    }

    .brand small {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .header-inner {
        gap: 6px;
    }

    .brand {
        font-size: 15px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .btn-kaydol {
        padding: 6px 10px;
        font-size: 11.5px;
        min-height: 36px;
    }
}

@media (max-width: 768px) {
    footer#iletisim,
    footer {
        padding-bottom: calc(var(--tab-height, 68px) + 28px + env(safe-area-inset-bottom));
    }
}


