/**
 * MAHAL GÜZELLİK — TASARIM SİSTEMİ
 * Kurumsal, sakin ve premium wellness estetiği. Tek font ailesi, lacivert/mavi palet, kontrollü hareket.
 */

/* ==========================================================================
   1. TOKEN'LAR
   ========================================================================== */
:root {
    --mahal-navy: #142238;
    --mahal-navy-deep: #0c1626;
    --mahal-navy-soft: #1d3150;
    --mahal-blue: #235ebd;
    --mahal-blue-hover: #1c4fa3;
    --mahal-blue-bright: #6a9bec;
    --mahal-soft: #eaf2fb;
    --mahal-surface: #f5f8fc;
    --mahal-white: #ffffff;
    --mahal-ink: #111318;
    --mahal-muted: #586377;
    --mahal-border: #e4e9f0;
    --mahal-wa: #0b7a44;
    --mahal-wa-bright: #0f9d58;

    --mahal-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --mahal-container: 1240px;
    --mahal-gutter: clamp(20px, 4vw, 32px);
    --mahal-header-h: 76px;
    --mahal-section-y: clamp(44px, 6vw, 80px);

    --mahal-radius-sm: 10px;
    --mahal-radius: 14px;
    --mahal-radius-lg: 20px;
    --mahal-radius-xl: 26px;

    --mahal-shadow-sm: 0 2px 10px rgba(20, 34, 56, 0.05);
    --mahal-shadow: 0 8px 30px rgba(20, 34, 56, 0.08);
    --mahal-shadow-lg: 0 18px 50px rgba(20, 34, 56, 0.14);

    --mahal-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 767px) {
    :root { --mahal-header-h: 68px; }
}

/* ==========================================================================
   2. TEMEL
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--mahal-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--mahal-ink);
    background: var(--mahal-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.mahal-menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
    outline: 3px solid var(--mahal-blue-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

section[id] { scroll-margin-top: var(--mahal-header-h); }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 3000;
    padding: 12px 18px;
    background: var(--mahal-navy);
    color: #fff;
    border-radius: var(--mahal-radius-sm);
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.mahal-container {
    width: min(100% - (var(--mahal-gutter) * 2), var(--mahal-container));
    margin-inline: auto;
}

.mahal-section {
    position: relative;
    padding-block: var(--mahal-section-y);
}

/* ==========================================================================
   3. ORTAK BİLEŞENLER
   ========================================================================== */
.mahal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mahal-blue);
}
.mahal-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.mahal-eyebrow.is-light { color: var(--mahal-blue-bright); }

.mahal-section-header { margin-bottom: clamp(26px, 4vw, 40px); max-width: 720px; }
.mahal-section-header.is-center { margin-inline: auto; text-align: center; }
.mahal-section-header.is-center .mahal-eyebrow::after {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.mahal-section-title {
    margin-top: 16px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mahal-navy);
}
.mahal-section-desc {
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--mahal-muted);
    max-width: 62ch;
}
.is-center .mahal-section-desc { margin-inline: auto; }
.is-light .mahal-section-title { color: #fff; }
.is-light .mahal-section-desc { color: rgba(255, 255, 255, 0.76); }
.is-light .mahal-eyebrow { color: var(--mahal-blue-bright); }

.mahal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.mahal-badge i { color: var(--mahal-blue-bright); font-size: 15px; line-height: 1; }

/* Butonlar */
.mahal-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--mahal-radius-sm);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.35s var(--mahal-ease), background-color 0.25s, border-color 0.25s, box-shadow 0.35s var(--mahal-ease), color 0.25s;
}
.mahal-btn i { font-size: 1.1em; line-height: 1; display: inline-flex; }
.mahal-btn:hover { transform: translateY(-2px); }
.mahal-btn:active { transform: translateY(0); }

.mahal-btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; white-space: normal; }

.mahal-btn-primary { background: var(--mahal-blue); color: #fff; box-shadow: 0 8px 22px rgba(35, 94, 189, 0.32); }
.mahal-btn-primary:hover { background: var(--mahal-blue-hover); box-shadow: 0 12px 28px rgba(35, 94, 189, 0.4); }

.mahal-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.mahal-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.mahal-btn-white { background: #fff; color: var(--mahal-navy); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); }
.mahal-btn-white:hover { background: var(--mahal-soft); }

.mahal-btn-wa { background: var(--mahal-wa); color: #fff; box-shadow: 0 8px 22px rgba(11, 122, 68, 0.3); }
.mahal-btn-wa:hover { background: #096a3a; }

.mahal-social { display: flex; gap: 10px; flex-wrap: wrap; }
.mahal-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    transition: background-color 0.25s, transform 0.35s var(--mahal-ease), border-color 0.25s;
}
.mahal-social a i { line-height: 1; display: block; }
.mahal-social a:hover { background: var(--mahal-blue); border-color: var(--mahal-blue); transform: translateY(-3px); }

/* Reveal animasyonu */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--mahal-ease), transform 0.9s var(--mahal-ease);
    transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.mahal-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 1100;
    pointer-events: none;
}
.mahal-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--mahal-blue), var(--mahal-blue-bright));
    transform: scaleX(0);
    transform-origin: left;
}

.mahal-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--mahal-header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.35s, box-shadow 0.35s, border-color 0.35s, height 0.35s var(--mahal-ease);
}
.mahal-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--mahal-border);
    box-shadow: 0 6px 24px rgba(20, 34, 56, 0.06);
}
.mahal-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Marka */
.mahal-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: #fff; }
.mahal-brand-logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.mahal-header:not(.is-scrolled) .mahal-brand-logo { filter: brightness(0) invert(1); }
.mahal-brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mahal-blue), var(--mahal-blue-bright));
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 16px rgba(35, 94, 189, 0.35);
}
.mahal-brand-text { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; transition: color 0.3s; }
.mahal-header.is-scrolled .mahal-brand-text { color: var(--mahal-navy); }

/* Masaüstü menü */
.mahal-desktop-nav { display: none; align-items: center; gap: 6px; }
.mahal-nav-link {
    position: relative;
    padding: 10px 11px;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.25s;
}
.mahal-nav-link::after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--mahal-blue-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--mahal-ease);
}
.mahal-nav-link:hover, .mahal-nav-link.is-active { color: #fff; }
.mahal-nav-link:hover::after, .mahal-nav-link.is-active::after { transform: scaleX(1); }
.mahal-header.is-scrolled .mahal-nav-link { color: var(--mahal-muted); }
.mahal-header.is-scrolled .mahal-nav-link:hover,
.mahal-header.is-scrolled .mahal-nav-link.is-active { color: var(--mahal-navy); }
.mahal-header.is-scrolled .mahal-nav-link::after { background: var(--mahal-blue); }

@media (min-width: 1100px) {
    .mahal-desktop-nav { display: flex; }
    .mahal-menu-toggle { display: none !important; }
}

/* Header butonları */
.mahal-header-actions { display: flex; align-items: center; gap: 10px; }
.mahal-btn-header-call, .mahal-btn-header-wa { min-height: 44px; padding: 0 16px; font-size: 14px; }
.mahal-btn-header-call { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.mahal-btn-header-call:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.mahal-header.is-scrolled .mahal-btn-header-call { border-color: var(--mahal-border); color: var(--mahal-navy); }
.mahal-header.is-scrolled .mahal-btn-header-call:hover { background: var(--mahal-soft); border-color: var(--mahal-soft); }
.mahal-btn-header-wa { background: var(--mahal-wa); color: #fff; }
.mahal-btn-header-wa:hover { background: #096a3a; }

@media (max-width: 1399px) { .mahal-hide-md { display: none; } }
@media (max-width: 639px) {
    .mahal-hide-sm { display: none; }
    .mahal-btn-header-call, .mahal-btn-header-wa { width: 44px; padding: 0; }
}

/* Hamburger */
.mahal-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--mahal-radius-sm);
    transition: border-color 0.25s, background-color 0.25s;
}
.mahal-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: background-color 0.25s, transform 0.3s var(--mahal-ease);
}
.mahal-menu-toggle:hover span:nth-child(2) { transform: scaleX(0.7); }
.mahal-header.is-scrolled .mahal-menu-toggle { border-color: var(--mahal-border); }
.mahal-header.is-scrolled .mahal-menu-toggle span { background: var(--mahal-navy); }

/* ==========================================================================
   5. MOBİL DRAWER
   ========================================================================== */
.mahal-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(12, 22, 38, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.mahal-drawer-backdrop.is-active { opacity: 1; visibility: visible; }

.mahal-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2001;
    width: min(100%, 440px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--mahal-ease), visibility 0.5s;
    box-shadow: -20px 0 60px rgba(12, 22, 38, 0.25);
}
.mahal-drawer.is-active { transform: none; visibility: visible; }

.mahal-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--mahal-border);
}
.mahal-brand-drawer { color: var(--mahal-navy); }
.mahal-brand-drawer .mahal-brand-text { color: var(--mahal-navy); }
.mahal-drawer-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mahal-border);
    border-radius: 50%;
    background: #fff;
    color: var(--mahal-navy);
    font-size: 16px;
    transition: background-color 0.25s, transform 0.4s var(--mahal-ease);
}
.mahal-drawer-close:hover { background: var(--mahal-soft); transform: rotate(90deg); }
.mahal-drawer-close i { line-height: 1; }

.mahal-drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }

.mahal-drawer-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--mahal-border);
    color: var(--mahal-navy);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s var(--mahal-ease), transform 0.5s var(--mahal-ease), color 0.25s;
}
.mahal-drawer.is-active .mahal-drawer-link {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 55ms + 150ms);
}
.mahal-drawer-index { font-size: 12px; font-weight: 700; color: var(--mahal-blue); letter-spacing: 0.08em; }
.mahal-drawer-label { flex: 1; font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; }
.mahal-drawer-link i { font-size: 24px; color: var(--mahal-muted); line-height: 1; transition: transform 0.35s var(--mahal-ease), color 0.25s; }
.mahal-drawer-link:hover { color: var(--mahal-blue); }
.mahal-drawer-link:hover i { transform: translateX(4px); color: var(--mahal-blue); }

.mahal-drawer-actions-wrap { margin-top: 28px; }
.mahal-drawer-actions-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mahal-muted); margin-bottom: 12px; }
.mahal-drawer-actions-list { display: grid; gap: 8px; }
.mahal-drawer-action-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--mahal-surface);
    border: 1px solid var(--mahal-border);
    border-radius: var(--mahal-radius);
    transition: border-color 0.25s, background-color 0.25s;
}
.mahal-drawer-action-item:hover { border-color: var(--mahal-blue); background: var(--mahal-soft); }
.mahal-drawer-action-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: var(--mahal-blue);
    font-size: 17px;
}
.mahal-drawer-action-icon i { line-height: 1; display: block; }
.mahal-drawer-action-text { display: flex; flex-direction: column; min-width: 0; }
.mahal-drawer-action-text strong { font-size: 14.5px; color: var(--mahal-navy); line-height: 1.3; }
.mahal-drawer-action-text small { font-size: 12.5px; color: var(--mahal-muted); line-height: 1.4; }

.mahal-drawer-footer {
    display: flex;
    gap: 10px;
    padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--mahal-border);
    background: #fff;
}
.mahal-drawer-trial { flex: 1; white-space: normal; }
.mahal-drawer-round {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
    transition: transform 0.35s var(--mahal-ease);
}
.mahal-drawer-round i { line-height: 1; display: block; }
.mahal-drawer-round:hover { transform: translateY(-3px); }
.mahal-drawer-round-call { background: var(--mahal-navy); }
.mahal-drawer-round-wa { background: var(--mahal-wa); }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.mahal-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: max(560px, calc(100svh - 110px));
    padding: calc(var(--mahal-header-h) + 32px) 0 clamp(120px, 12vw, 150px);
    background: var(--mahal-navy-deep);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.mahal-hero-bg { position: absolute; inset: 0; z-index: -1; }
.mahal-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}
img.mahal-hero-media { animation: mahal-kenburns 28s ease-in-out infinite alternate; transform-origin: 65% 50%; }

.mahal-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(12, 22, 38, 0.92) 0%, rgba(12, 22, 38, 0.74) 42%, rgba(12, 22, 38, 0.3) 100%),
        linear-gradient(0deg, rgba(12, 22, 38, 0.6) 0%, rgba(12, 22, 38, 0) 38%);
}
.mahal-hero-bg.is-fallback .mahal-hero-shade { background: linear-gradient(0deg, rgba(12, 22, 38, 0.5) 0%, transparent 45%); }

/* Medya yokken kullanılan marka arka planı */
.mahal-hero-bg.is-fallback { background: radial-gradient(120% 90% at 85% 10%, #1d3a6b 0%, var(--mahal-navy) 45%, var(--mahal-navy-deep) 100%); }
.mahal-orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.mahal-orb-1 { width: 620px; height: 620px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(79, 134, 224, 0.42) 0%, rgba(79, 134, 224, 0) 68%); animation: mahal-float 16s ease-in-out infinite alternate; }
.mahal-orb-2 { width: 480px; height: 480px; right: 18%; bottom: -160px; background: radial-gradient(circle, rgba(35, 94, 189, 0.5) 0%, rgba(35, 94, 189, 0) 68%); animation: mahal-float 20s ease-in-out -6s infinite alternate-reverse; }
.mahal-orb-3 { width: 360px; height: 360px; left: -100px; top: 30%; background: radial-gradient(circle, rgba(106, 155, 236, 0.22) 0%, rgba(106, 155, 236, 0) 70%); animation: mahal-float 18s ease-in-out -3s infinite alternate; }
.mahal-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

.mahal-hero-inner { position: relative; }
.mahal-hero-copy { max-width: 700px; }

.mahal-hero-title {
    margin-top: 20px;
    font-size: clamp(2.5rem, 5.4vw, 4.5rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.022em;
    color: #fff;
    text-wrap: balance;
}
.mahal-hero-lead {
    margin-top: 18px;
    max-width: 56ch;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}
.mahal-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mahal-hero-notes { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.mahal-hero-notes li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.mahal-hero-notes i { color: var(--mahal-blue-bright); font-size: 17px; line-height: 1; }

.mahal-hero-rise { animation: mahal-rise 1s var(--mahal-ease) both; animation-delay: var(--d, 0ms); }

/* ==========================================================================
   7. HIZLI İŞLEMLER
   ========================================================================== */
.mahal-quick-bar {
    position: relative;
    z-index: 5;
    margin-top: -72px;
    padding-bottom: clamp(36px, 5vw, 56px);
    background: linear-gradient(180deg, transparent 0, transparent 72px, var(--mahal-surface) 72px);
}
.mahal-quick-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mahal-quick-card {
    position: relative;
    flex: 1 1 calc(20% - 14px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px 20px;
    background: #fff;
    border: 1px solid var(--mahal-border);
    border-radius: var(--mahal-radius-lg);
    box-shadow: var(--mahal-shadow);
    transition: transform 0.45s var(--mahal-ease), border-color 0.3s, box-shadow 0.45s var(--mahal-ease), background-color 0.3s;
}
.js .mahal-quick-card[data-reveal] { transition: opacity 0.9s var(--mahal-ease), transform 0.45s var(--mahal-ease), border-color 0.3s, box-shadow 0.45s var(--mahal-ease), background-color 0.3s; }
.mahal-quick-card:hover { transform: translateY(-6px); border-color: var(--mahal-blue); box-shadow: var(--mahal-shadow-lg); }
.mahal-quick-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--mahal-soft);
    color: var(--mahal-blue);
    font-size: 20px;
    transition: background-color 0.3s, color 0.3s, transform 0.45s var(--mahal-ease);
}
.mahal-quick-icon i { line-height: 1; display: block; }
.mahal-quick-card:hover .mahal-quick-icon { background: var(--mahal-blue); color: #fff; transform: scale(1.06) rotate(-4deg); }
.mahal-quick-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mahal-quick-text strong { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--mahal-navy); letter-spacing: -0.01em; }
.mahal-quick-text small { font-size: 13px; line-height: 1.5; color: var(--mahal-muted); }
.mahal-quick-arrow { position: absolute; right: 18px; top: 22px; font-size: 16px; color: var(--mahal-muted); transition: transform 0.4s var(--mahal-ease), color 0.3s; }
.mahal-quick-card:hover .mahal-quick-arrow { transform: translateX(4px); color: var(--mahal-blue); }

/* Birincil aksiyon: Tek Tuşla Ara */
.mahal-quick-card-call { background: var(--mahal-blue); border-color: var(--mahal-blue); }
.mahal-quick-card-call .mahal-quick-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.mahal-quick-card-call .mahal-quick-text strong { color: #fff; }
.mahal-quick-card-call .mahal-quick-text small { color: rgba(255, 255, 255, 0.82); }
.mahal-quick-card-call .mahal-quick-arrow { color: rgba(255, 255, 255, 0.8); }
.mahal-quick-card-call:hover { background: var(--mahal-blue-hover); border-color: var(--mahal-blue-hover); }
.mahal-quick-card-call:hover .mahal-quick-icon { background: #fff; color: var(--mahal-blue); }
.mahal-quick-card-call:hover .mahal-quick-arrow { color: #fff; }

@media (max-width: 1099px) {
    .mahal-hero { min-height: max(520px, calc(100svh - 300px)); }
    .mahal-quick-card { flex-basis: calc(33.333% - 14px); }
}
@media (max-width: 719px) {
    .mahal-quick-bar { margin-top: -56px; background: linear-gradient(180deg, transparent 0, transparent 56px, var(--mahal-surface) 56px); }
    .mahal-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .mahal-quick-card { min-width: 0; flex-direction: row; align-items: center; gap: 12px; padding: 14px; border-radius: var(--mahal-radius); }
    .mahal-quick-card-call { grid-column: 1 / -1; }
    .mahal-quick-icon { width: 42px; height: 42px; font-size: 18px; flex-shrink: 0; }
    .mahal-quick-text small, .mahal-quick-arrow { display: none; }
    .mahal-quick-card-call .mahal-quick-text small { display: block; }
    .mahal-quick-card-call .mahal-quick-arrow { display: block; position: static; margin-left: auto; }
    .mahal-quick-text strong { font-size: 13.5px; }
    .mahal-quick-card:not(.mahal-quick-card-call) { padding: 12px; gap: 10px; }
}

/* ==========================================================================
   8. HİZMETLER
   ========================================================================== */
.mahal-services { background: var(--mahal-surface); padding-top: 0; }

.mahal-trial-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
    padding: clamp(20px, 3vw, 30px) clamp(22px, 4vw, 40px);
    border-radius: var(--mahal-radius-xl);
    background: linear-gradient(120deg, var(--mahal-navy) 0%, var(--mahal-navy-soft) 100%);
    color: #fff;
    overflow: hidden;
}
.mahal-trial-glow {
    position: absolute;
    right: -80px;
    top: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 155, 236, 0.4) 0%, rgba(106, 155, 236, 0) 68%);
    pointer-events: none;
}
.mahal-trial-copy { position: relative; display: flex; align-items: center; gap: 20px; }
.mahal-trial-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 26px;
    color: var(--mahal-blue-bright);
}
.mahal-trial-icon i { line-height: 1; display: block; }
.mahal-trial-copy h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.mahal-trial-copy p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.mahal-trial-band .mahal-btn { position: relative; flex-shrink: 0; }

@media (max-width: 899px) {
    .mahal-trial-band { flex-direction: column; align-items: flex-start; }
    .mahal-trial-band .mahal-btn { width: 100%; }
}
@media (max-width: 479px) {
    .mahal-trial-copy { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.mahal-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1023px) { .mahal-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .mahal-services-grid { grid-template-columns: 1fr; gap: 18px; } }

.mahal-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--mahal-border);
    border-radius: var(--mahal-radius-lg);
    overflow: hidden;
    transition: transform 0.5s var(--mahal-ease), box-shadow 0.5s var(--mahal-ease), border-color 0.3s, opacity 0.9s var(--mahal-ease);
}
.mahal-service-card:hover { transform: translateY(-8px); box-shadow: var(--mahal-shadow-lg); border-color: rgba(35, 94, 189, 0.4); }

.mahal-service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mahal-soft); }
.mahal-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--mahal-ease); }
.mahal-service-card:hover .mahal-service-media img { transform: scale(1.07); }
.mahal-service-media.is-empty {
    background:
        radial-gradient(circle at 20% 15%, rgba(106, 155, 236, 0.35), transparent 55%),
        linear-gradient(135deg, var(--mahal-navy) 0%, var(--mahal-blue) 100%);
}
.mahal-service-bgicon {
    position: absolute;
    right: -14px;
    bottom: -24px;
    font-size: 170px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    transition: transform 0.9s var(--mahal-ease);
}
.mahal-service-card:hover .mahal-service-bgicon { transform: scale(1.12) rotate(-6deg); }
.mahal-service-number {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--mahal-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.mahal-service-icon {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff;
    color: var(--mahal-blue);
    font-size: 23px;
    box-shadow: 0 8px 22px rgba(12, 22, 38, 0.2);
    transition: background-color 0.3s, color 0.3s, transform 0.5s var(--mahal-ease);
}
.mahal-service-icon i { line-height: 1; display: block; }
.mahal-service-card:hover .mahal-service-icon { background: var(--mahal-blue); color: #fff; transform: translateY(-4px); }

.mahal-service-body { padding: 26px 26px 8px; }
.mahal-service-title { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--mahal-navy); }
.mahal-service-text { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--mahal-muted); }

.mahal-service-footer { margin-top: auto; padding: 18px 26px 26px; }
.mahal-service-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--mahal-blue); }
.mahal-service-link::after { content: ''; position: absolute; inset: 0; }
.mahal-service-link i { transition: transform 0.4s var(--mahal-ease); }
.mahal-service-card:hover .mahal-service-link i { transform: translateX(6px); }
.mahal-service-link:focus-visible { outline-offset: -4px; }

/* ==========================================================================
   9. HAKKIMIZDA
   ========================================================================== */
.mahal-about { background: #fff; }
.mahal-about-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.mahal-about-visual { position: relative; padding: 0 0 28px 28px; }
.mahal-about-visual::before {
    content: '';
    position: absolute;
    inset: 28px 28px 0 0;
    border-radius: var(--mahal-radius-xl);
    background: var(--mahal-soft);
    transform: translate(-28px, 28px);
    z-index: 0;
}
.mahal-about-frame {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    border-radius: var(--mahal-radius-xl);
    overflow: hidden;
    background: linear-gradient(160deg, var(--mahal-soft) 0%, #fff 100%);
    box-shadow: var(--mahal-shadow-lg);
}
.mahal-about-frame img, .mahal-about-frame video { width: 100%; height: 100%; object-fit: cover; }
.mahal-about-frame.is-empty { display: flex; align-items: center; justify-content: center; color: rgba(35, 94, 189, 0.28); font-size: 150px; }
.mahal-about-frame.is-empty i { line-height: 1; }

.mahal-about-card {
    position: absolute;
    z-index: 2;
    right: -20px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 16px 16px;
    background: #fff;
    border: 1px solid var(--mahal-border);
    border-radius: var(--mahal-radius-lg);
    box-shadow: var(--mahal-shadow-lg);
    animation: mahal-bob 7s ease-in-out infinite;
}
.mahal-about-card-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--mahal-blue);
    color: #fff;
    font-size: 22px;
}
.mahal-about-card-icon i { line-height: 1; display: block; }
.mahal-about-card strong { display: block; font-size: 15px; color: var(--mahal-navy); line-height: 1.3; }
.mahal-about-card small { display: block; font-size: 13px; color: var(--mahal-muted); }

.mahal-about-lead { margin-top: 20px; font-size: 1.0625rem; line-height: 1.8; color: var(--mahal-muted); }

.mahal-feature-list { display: grid; gap: 18px; margin: 24px 0 28px; }
.mahal-feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.mahal-feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--mahal-soft);
    color: var(--mahal-blue);
    font-size: 22px;
}
.mahal-feature-icon i { line-height: 1; display: block; }
.mahal-feature-list strong { display: block; font-size: 1.05rem; color: var(--mahal-navy); letter-spacing: -0.01em; }
.mahal-feature-list p { margin-top: 2px; font-size: 15px; color: var(--mahal-muted); }

@media (max-width: 899px) {
    .mahal-about-layout { grid-template-columns: 1fr; }
    .mahal-about-visual { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 479px) {
    .mahal-about-card { right: 8px; }
}

/* ==========================================================================
   10. NEDEN MAHAL (koyu)
   ========================================================================== */
.mahal-why { background: var(--mahal-navy-deep); color: #fff; overflow: hidden; }
.mahal-orb-why { width: 720px; height: 720px; left: 50%; top: -260px; margin-left: -360px; background: radial-gradient(circle, rgba(35, 94, 189, 0.35) 0%, rgba(35, 94, 189, 0) 66%); }
.mahal-why .mahal-container { position: relative; }
.mahal-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mahal-why-card {
    position: relative;
    padding: 30px 28px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--mahal-radius-xl);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--mahal-ease), opacity 0.9s var(--mahal-ease);
}
.mahal-why-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(106, 155, 236, 0.55); transform: translateY(-6px); }
.mahal-why-num {
    position: absolute;
    right: 24px;
    top: 14px;
    font-size: 74px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}
.mahal-why-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--mahal-blue);
    color: #fff;
    font-size: 25px;
    box-shadow: 0 10px 26px rgba(35, 94, 189, 0.4);
}
.mahal-why-icon i { line-height: 1; display: block; }
.mahal-why-card h3 { margin-top: 22px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.mahal-why-card p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.74); }

@media (max-width: 899px) { .mahal-why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. RANDEVU SÜRECİ
   ========================================================================== */
.mahal-process { background: #fff; }
.mahal-process-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.mahal-process-grid::before {
    content: '';
    position: absolute;
    left: calc(100% / 6);
    right: calc(100% / 6);
    top: 31px;
    height: 2px;
    background: var(--mahal-border);
}
.mahal-process-grid::after {
    content: '';
    position: absolute;
    left: calc(100% / 6);
    right: calc(100% / 6);
    top: 31px;
    height: 2px;
    background: linear-gradient(90deg, var(--mahal-blue), var(--mahal-blue-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.6s var(--mahal-ease) 0.3s;
}
.mahal-process-grid.is-in::after { transform: scaleX(1); }
html:not(.js) .mahal-process-grid::after { transform: scaleX(1); }

.mahal-process-step { position: relative; text-align: center; padding: 0 12px; }
.mahal-process-num {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--mahal-blue);
    color: var(--mahal-blue);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 0 0 8px #fff;
    transition: background-color 0.4s, color 0.4s, transform 0.5s var(--mahal-ease);
}
.mahal-process-step:hover .mahal-process-num { background: var(--mahal-blue); color: #fff; transform: scale(1.08); }
.mahal-process-step h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--mahal-navy); }
.mahal-process-step p { margin: 8px auto 0; max-width: 32ch; font-size: 15px; color: var(--mahal-muted); }
.mahal-process-action { margin-top: clamp(28px, 4vw, 40px); text-align: center; }

@media (max-width: 799px) {
    .mahal-process-grid { grid-template-columns: 1fr; gap: 34px; }
    .mahal-process-grid::before, .mahal-process-grid::after { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
    .mahal-process-grid::after { transform: scaleY(0); transform-origin: top; }
    .mahal-process-grid.is-in::after { transform: scaleY(1); }
    html:not(.js) .mahal-process-grid::after { transform: scaleY(1); }
    .mahal-process-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; text-align: left; padding: 0; }
    .mahal-process-num { margin: 0; grid-row: 1 / span 2; }
    .mahal-process-step p { margin: 6px 0 0; max-width: none; }
}

/* ==========================================================================
   12. GALERİ
   ========================================================================== */
.mahal-gallery { background: var(--mahal-surface); }
.mahal-gallery-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 21vw, 280px)); gap: 16px; }
.mahal-gallery-item {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: var(--mahal-radius-lg);
    overflow: hidden;
    background: var(--mahal-soft);
    transition: opacity 0.9s var(--mahal-ease), transform 0.9s var(--mahal-ease);
}
.mahal-gallery-item:first-child { grid-row: span 2; }
.mahal-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--mahal-ease); }
.mahal-gallery-item:hover img { transform: scale(1.06); }
.mahal-gallery-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--mahal-navy);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s, transform 0.45s var(--mahal-ease);
}
.mahal-gallery-zoom i { line-height: 1; display: block; font-size: 15px; }
.mahal-gallery-item:hover .mahal-gallery-zoom, .mahal-gallery-item:focus-visible .mahal-gallery-zoom { opacity: 1; transform: none; }

.mahal-gallery-count-1 { grid-template-columns: 1fr; grid-template-rows: clamp(260px, 36vw, 480px); max-width: 920px; margin-inline: auto; }
.mahal-gallery-count-1 .mahal-gallery-item:first-child { grid-row: auto; }
.mahal-gallery-count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(260px, 32vw, 440px); }
.mahal-gallery-count-2 .mahal-gallery-item:first-child { grid-row: auto; }
.mahal-gallery-count-3 { grid-template-columns: 1.15fr 1fr; }
.mahal-gallery-count-4 .mahal-gallery-item:nth-child(4) { grid-column: span 2; }

@media (max-width: 799px) {
    .mahal-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: clamp(150px, 38vw, 240px); gap: 12px; }
    .mahal-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
    .mahal-gallery-count-4 .mahal-gallery-item:nth-child(4) { grid-column: auto; }
    .mahal-gallery-count-1, .mahal-gallery-count-2 { grid-auto-rows: clamp(200px, 55vw, 320px); }
}

.mahal-lightbox {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 24px;
    border: 0;
    background: transparent;
    color: #fff;
    align-items: center;
    justify-content: center;
}
.mahal-lightbox[open] { display: flex; }
.mahal-lightbox::backdrop { background: rgba(12, 22, 38, 0.94); }
.mahal-lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: var(--mahal-radius); animation: mahal-rise 0.5s var(--mahal-ease) both; }
.mahal-lightbox-close, .mahal-lightbox-nav {
    position: absolute;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    transition: background-color 0.25s;
}
.mahal-lightbox-close i, .mahal-lightbox-nav i { line-height: 1; display: block; }
.mahal-lightbox-close:hover, .mahal-lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.mahal-lightbox-close { right: 20px; top: 20px; }
.mahal-lightbox-nav { top: 50%; margin-top: -24px; }
.mahal-lightbox-nav.is-prev { left: 20px; }
.mahal-lightbox-nav.is-next { right: 20px; }

/* ==========================================================================
   13. SSS
   ========================================================================== */
.mahal-faq { background: #fff; }
.mahal-faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.mahal-faq-side { position: sticky; top: calc(var(--mahal-header-h) + 32px); }
.mahal-faq-help { margin-top: 24px; padding: 24px; border: 1px solid var(--mahal-border); border-radius: var(--mahal-radius-lg); background: var(--mahal-surface); }
.mahal-faq-help strong { display: block; font-size: 1.1rem; color: var(--mahal-navy); letter-spacing: -0.01em; line-height: 1.3; }
.mahal-faq-help p { margin: 8px 0 20px; font-size: 15px; color: var(--mahal-muted); }

.mahal-faq-list { display: grid; gap: 12px; }
.mahal-faq-item { border: 1px solid var(--mahal-border); border-radius: var(--mahal-radius); background: #fff; transition: border-color 0.3s, box-shadow 0.4s var(--mahal-ease); }
.mahal-faq-item:hover { border-color: rgba(35, 94, 189, 0.4); }
.mahal-faq-item.is-open { border-color: var(--mahal-blue); box-shadow: var(--mahal-shadow); }
.mahal-faq-item h3 { font-size: inherit; }
.mahal-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--mahal-navy);
}
.mahal-faq-trigger i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mahal-soft);
    color: var(--mahal-blue);
    font-size: 14px;
    transition: transform 0.45s var(--mahal-ease), background-color 0.3s, color 0.3s;
}
.mahal-faq-item.is-open .mahal-faq-trigger i { transform: rotate(135deg); background: var(--mahal-blue); color: #fff; }
.mahal-faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--mahal-ease); }
.mahal-faq-item.is-open .mahal-faq-panel { grid-template-rows: 1fr; }
.mahal-faq-panel-inner { overflow: hidden; }
.mahal-faq-panel-inner p { padding: 0 24px 24px; font-size: 15.5px; line-height: 1.75; color: var(--mahal-muted); max-width: 64ch; }
html:not(.js) .mahal-faq-panel { grid-template-rows: 1fr; }

@media (max-width: 899px) {
    .mahal-faq-layout { grid-template-columns: 1fr; }
    .mahal-faq-side { position: static; }
}

/* ==========================================================================
   14. İLETİŞİM VE RANDEVU (arka plan görseli sabit, içerik üzerinden kayar)
   ========================================================================== */
.mahal-final {
    position: relative;
    padding-block: var(--mahal-section-y);
    background: radial-gradient(110% 120% at 20% 0%, #1b3560 0%, var(--mahal-navy) 52%, var(--mahal-navy-deep) 100%);
    color: #fff;
    /* clip-path, sabit konumlu arka planı yalnızca bu bölümün sınırları içinde gösterir. */
    clip-path: inset(0);
    isolation: isolate;
}
.mahal-final-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.mahal-final-media { width: 100%; height: 100%; object-fit: cover; }
.mahal-final-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 22, 38, 0.8), rgba(12, 22, 38, 0.9)); }

.mahal-final-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.mahal-final-copy h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.mahal-final-copy p { margin-top: 16px; max-width: 52ch; font-size: 1.0625rem; color: rgba(255, 255, 255, 0.82); }
.mahal-final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.mahal-contact-card { padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--mahal-radius-xl); background: rgba(12, 22, 38, 0.55); }
.mahal-contact-card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.mahal-contact-list { display: grid; gap: 16px; margin: 20px 0 22px; }
.mahal-contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.mahal-contact-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--mahal-blue);
    color: #fff;
    font-size: 17px;
}
.mahal-contact-icon i { line-height: 1; display: block; }
.mahal-contact-list small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.mahal-contact-list a, .mahal-contact-list span:not(.mahal-contact-icon) { font-size: 1rem; font-weight: 600; color: #fff; word-break: break-word; }
.mahal-contact-list a { transition: color 0.25s; }
.mahal-contact-list a:hover { color: var(--mahal-blue-bright); }

.mahal-contact-map { height: 180px; margin-bottom: 20px; border-radius: var(--mahal-radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: var(--mahal-navy-soft); }
.mahal-contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }

.mahal-contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }

@media (max-width: 899px) {
    .mahal-final-inner { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
    .mahal-final-actions .mahal-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.mahal-footer { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #0b1527 0%, #080f1c 100%); color: rgba(255, 255, 255, 0.72); }
.mahal-footer-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.mahal-footer-art-lines { animation: mahal-drift 40s ease-in-out infinite alternate; }
.mahal-footer-top { position: relative; padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.mahal-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(32px, 4vw, 56px); }
.mahal-footer .mahal-brand { color: #fff; }
.mahal-footer .mahal-brand-text { color: #fff; }

/* Footer Marka & Büyütülmüş Beyaz Logo */
.mahal-brand-footer {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 6px;
    text-decoration: none;
}
.mahal-brand-footer .mahal-brand-logo {
    width: min(100%, 300px);
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
    transition: transform 0.3s var(--mahal-ease), opacity 0.3s;
}
.mahal-brand-footer:hover .mahal-brand-logo {
    transform: translateY(-2px);
    opacity: 0.95;
}
.mahal-brand-footer .mahal-brand-mark {
    width: 52px;
    height: 52px;
    font-size: 26px;
}
.mahal-brand-footer .mahal-brand-text {
    font-size: 28px;
    font-weight: 700;
}

.mahal-footer-intro {
    margin: 18px 0 24px;
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}
.mahal-footer-brand-col .mahal-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.mahal-footer-heading { margin-bottom: 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.mahal-footer-links { display: grid; gap: 12px; }
.mahal-footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; transition: color 0.25s, transform 0.35s var(--mahal-ease); }
.mahal-footer-links i { font-size: 11px; color: var(--mahal-blue-bright); line-height: 1; transition: transform 0.35s var(--mahal-ease); }
.mahal-footer-links a:hover { color: #fff; transform: translateX(4px); }
.mahal-footer-contact-list { display: grid; gap: 14px; }
.mahal-footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.mahal-footer-contact-list i { margin-top: 4px; color: var(--mahal-blue-bright); line-height: 1; }
.mahal-footer-contact-list a { transition: color 0.25s; word-break: break-word; }
.mahal-footer-contact-list a:hover { color: #fff; }

.mahal-footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; font-size: 14px; }
.mahal-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.mahal-developer-credit { color: rgba(255, 255, 255, 0.6); }
.mahal-developer-credit a { font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: border-color 0.25s, color 0.25s; }
.mahal-developer-credit a:hover { color: var(--mahal-blue-bright); border-color: var(--mahal-blue-bright); }

@media (max-width: 1023px) {
    .mahal-footer-grid { grid-template-columns: 1fr 1fr; }
    .mahal-footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
    .mahal-footer-grid { grid-template-columns: 1fr; }
    .mahal-brand-footer .mahal-brand-logo { width: min(100%, 250px); max-height: 82px; }
    .mahal-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   17. 404
   ========================================================================== */
.mahal-404 { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--mahal-header-h) + 40px) 0 80px; background: var(--mahal-surface); }
.mahal-404-card { max-width: 620px; margin-inline: auto; padding: clamp(32px, 5vw, 56px); text-align: center; background: #fff; border: 1px solid var(--mahal-border); border-radius: var(--mahal-radius-xl); box-shadow: var(--mahal-shadow); }
.mahal-404-code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--mahal-blue); }
.mahal-404-card h1 { margin-top: 12px; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; color: var(--mahal-navy); }
.mahal-404-card p { margin: 12px 0 28px; color: var(--mahal-muted); }
.mahal-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mahal-404 .mahal-btn-ghost { border-color: var(--mahal-border); color: var(--mahal-navy); }
.mahal-404 .mahal-btn-ghost:hover { background: var(--mahal-soft); border-color: var(--mahal-soft); }

/* Header, koyu hero olmayan sayfalarda her zaman dolu görünür */
.mahal-header.is-solid { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--mahal-border); }

/* ==========================================================================
   17b. MOBİL ANASAYFA YERLEŞİMİ (logo ortada, geniş CTA, 3x2 hızlı işlem)
   ========================================================================== */
.mahal-hero-cta-m { display: none; }
@media (min-width: 1100px) {
    .mahal-quick-card-services { display: none; }
}

@media (min-width: 720px) {
    /* Masaüstü header: büyük logo, scroll'da biraz küçülür */
    .mahal-header { height: 96px; }
    .mahal-header.is-scrolled { height: 76px; }
    .mahal-header-inner > .mahal-brand .mahal-brand-logo { height: 68px; max-width: 260px; transition: height 0.35s var(--mahal-ease); }
    .mahal-header.is-scrolled .mahal-brand-logo { height: 52px; }
    .mahal-header-inner > .mahal-brand .mahal-brand-text { font-size: 24px; transition: font-size 0.35s var(--mahal-ease), color 0.3s; }
    .mahal-header.is-scrolled .mahal-brand-text { font-size: 20px; }

    /* Masaüstü hero: notlar yan yana tek satırda */
    .mahal-hero { padding-top: calc(var(--mahal-header-h) + 44px); }
    .mahal-hero-copy { max-width: 840px; }
    .mahal-hero-title { margin-top: 14px; font-size: clamp(2.1rem, 3.6vw, 3.2rem); max-width: 640px; }
    .mahal-hero-lead { margin-top: 14px; max-width: 52ch; font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.65; }
    .mahal-hero-actions { margin-top: 22px; gap: 10px; }
    .mahal-hero .mahal-btn-lg { min-height: 48px; padding: 0 22px; font-size: 14.5px; }
    .mahal-hero-notes {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(12px, 1.8vw, 24px);
        margin-top: 24px;
        padding-top: 18px;
        width: 100%;
        max-width: 100%;
    }
    .mahal-hero-notes li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .mahal-hero-notes i { font-size: 15px; flex-shrink: 0; }
}

@media (min-width: 1100px) {
    .mahal-hero-copy { max-width: 900px; }
    .mahal-hero-notes { gap: clamp(18px, 2.2vw, 30px); }
    .mahal-hero-notes li { font-size: 13.5px; gap: 9px; }
    .mahal-hero-notes i { font-size: 16px; }
}

@media (max-width: 719px) {
    /* Header: sol telefon, ortada büyük logo, sağda hamburger */
    :root { --mahal-qh: 226px; }
    .mahal-header { height: 108px; }
    .mahal-header.is-scrolled { height: 62px; }
    .mahal-header-inner { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; }
    .mahal-header-actions { display: contents; }
    .mahal-header-inner > .mahal-brand { grid-column: 2; grid-row: 1; justify-self: center; }
    .mahal-btn-header-call { grid-column: 1; grid-row: 1; justify-self: start; }
    .mahal-menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
    .mahal-btn-header-wa { display: none; }
    .mahal-btn-header-call { border-color: transparent; background: transparent; }
    .mahal-header-inner > .mahal-brand .mahal-brand-logo { height: 78px; max-width: 260px; transition: height 0.35s var(--mahal-ease); }
    .mahal-header-inner > .mahal-brand .mahal-brand-text { font-size: 28px; transition: font-size 0.35s var(--mahal-ease), color 0.3s; }
    .mahal-header-inner > .mahal-brand .mahal-brand-mark { transition: transform 0.35s var(--mahal-ease); }
    .mahal-header.is-scrolled .mahal-brand-logo { height: 38px; }
    .mahal-header.is-scrolled .mahal-brand-text { font-size: 18px; }
    .mahal-header.is-scrolled .mahal-brand-mark { transform: scale(0.85); }

    /* Hero: metin altta, görsel üstte kalır */
    .mahal-hero { min-height: 0; align-items: flex-end; padding: calc(var(--mahal-header-h) + 64px) 0 calc(var(--mahal-qh) + 22px); }
    /* 16:9 video dikey alana sığarken kadın (videoda ~%77 x, ~%42 y) metnin sağında kalır */
    .mahal-hero .mahal-hero-media { object-position: 80% center; }
    .mahal-hero-shade {
        background:
            linear-gradient(90deg, rgba(12, 22, 38, 0.9) 0%, rgba(12, 22, 38, 0.66) 42%, rgba(12, 22, 38, 0.08) 100%),
            linear-gradient(0deg, #0c1626 0%, rgba(12, 22, 38, 0.7) 32%, rgba(12, 22, 38, 0) 60%),
            linear-gradient(180deg, rgba(12, 22, 38, 0.45) 0%, rgba(12, 22, 38, 0) 22%);
    }
    .mahal-hero-notes, .mahal-hero-actions { display: none; }
    .mahal-hero-title { margin-top: 0; font-size: clamp(2rem, 9.6vw, 2.7rem); max-width: 62%; }
    .mahal-hero-lead { margin-top: 14px; font-size: 0.88rem; line-height: 1.6; max-width: 80%; }

    /* Geniş CTA */
    .mahal-hero-cta-m {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 22px;
        padding: 14px 16px;
        border-radius: var(--mahal-radius-lg);
        background: linear-gradient(135deg, var(--mahal-blue), var(--mahal-blue-bright));
        color: #fff;
        box-shadow: 0 12px 30px rgba(35, 94, 189, 0.38);
        transition: transform 0.35s var(--mahal-ease), box-shadow 0.35s var(--mahal-ease);
    }
    .mahal-hero-cta-m:active { transform: scale(0.985); }
    .mahal-hero-cta-m-icon {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.28);
        font-size: 21px;
    }
    .mahal-hero-cta-m-text { flex: 1; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
    .mahal-hero-cta-m-arrow { flex-shrink: 0; font-size: 22px; }

    /* Hızlı işlemler: hero'nun devamı, koyu, 3x2 */
    .mahal-quick-bar { margin-top: calc(var(--mahal-qh) * -1); padding: 0 0 28px; background: linear-gradient(180deg, transparent 0, transparent var(--mahal-qh), var(--mahal-navy-deep) var(--mahal-qh)); }
    .mahal-quick-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .mahal-quick-card,
    .mahal-quick-card:not(.mahal-quick-card-call),
    .mahal-quick-card-call {
        grid-column: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 9px;
        min-height: 108px;
        padding: 12px 6px 10px;
        text-align: center;
        background: linear-gradient(160deg, rgba(35, 94, 189, 0.28), rgba(12, 22, 38, 0.58));
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(106, 155, 236, 0.45);
        border-radius: var(--mahal-radius);
        box-shadow: 0 8px 22px rgba(12, 22, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    .mahal-quick-card:hover, .mahal-quick-card-call:hover { transform: none; background: linear-gradient(160deg, rgba(35, 94, 189, 0.35), rgba(12, 22, 38, 0.95)); border-color: var(--mahal-blue-bright); box-shadow: none; }
    .mahal-quick-card:active { transform: scale(0.97); }
    .mahal-quick-icon,
    .mahal-quick-card-call .mahal-quick-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--mahal-blue), var(--mahal-blue-bright)); border-radius: 14px; color: #fff; font-size: 22px; box-shadow: 0 6px 16px rgba(35, 94, 189, 0.45); }
    .mahal-quick-card:hover .mahal-quick-icon,
    .mahal-quick-card-call:hover .mahal-quick-icon { background: linear-gradient(135deg, var(--mahal-blue), var(--mahal-blue-bright)); color: #fff; transform: none; }
    .mahal-quick-text { flex: 0 0 auto; align-items: center; }
    .mahal-quick-text strong,
    .mahal-quick-card-call .mahal-quick-text strong { font-size: 12px; font-weight: 700; line-height: 1.3; color: #fff; }
    .mahal-quick-text small,
    .mahal-quick-card-call .mahal-quick-text small,
    .mahal-quick-arrow,
    .mahal-quick-card-call .mahal-quick-arrow { display: none; }
}

/* ==========================================================================
   18. ANİMASYONLAR
   ========================================================================== */
@keyframes mahal-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes mahal-kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes mahal-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
@keyframes mahal-drift { from { transform: translateX(0); } to { transform: translateX(-60px); } }
@keyframes mahal-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .mahal-process-grid::after { transform: scaleX(1); }
}
