/* ===================================================
   KÜTAHYA TAMİRCİ - MODERN TURKUAZ TEMA
   =================================================== */

:root {
    --primary: #0891b2;
    --primary-light: #ecfeff;
    --primary-border: #a5f3fc;
    --primary-hover: #0e7490;
    --primary-dark: #083344;
    --cyan: #06b6d4;
    --whatsapp: #25D366;
    --whatsapp-hover: #20ba59;
    --dark: #0f172a;
    --slate: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(8, 145, 178, 0.08);
    --shadow-md: 0 10px 30px rgba(8, 145, 178, 0.12);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    z-index: 99999;
    border-radius: var(--radius-sm);
    transition: top 0.2s;
}
.skip-link:focus {
    top: 20px;
}

.container, .home-container, .footer-container {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===================================================
   SITE MARQUEE (KAYAN DUYURU BANDI)
   =================================================== */
.site-marquee {
    background: linear-gradient(90deg, #083344 0%, #0e7490 50%, #0891b2 100%);
    color: #ecfeff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
}

.site-marquee__track:hover {
    animation-play-state: paused;
}

.site-marquee__group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
}

.site-marquee__group span {
    display: inline-flex;
    align-items: center;
}

.site-marquee__group span::after {
    content: "•";
    margin-left: 28px;
    color: #22d3ee;
    opacity: 0.8;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.site-header__main {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header--scrolled {
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.08);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    height: auto;
    padding: 8px 0;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__brand img {
    height: 56px;
    max-height: 84px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.site-header__brand:hover img {
    transform: scale(1.02);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav > a, .site-nav__dropdown-btn {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--slate);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.site-nav .nav-icon {
    font-size: 0.95em;
    color: var(--primary);
    opacity: 0.95;
    display: inline-block;
    vertical-align: middle;
    transform-origin: center center;
    transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.site-nav > a:hover .nav-icon,
.site-nav__dropdown:hover .nav-icon {
    color: var(--primary-hover);
    filter: drop-shadow(0 2px 6px rgba(8, 145, 178, 0.45));
}

.site-nav .nav-icon-emoji,
.mobile-nav .nav-icon-emoji {
    font-size: 1.1em;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav .nav-icon {
    margin-right: 8px;
    color: var(--primary);
    width: 20px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    transform-origin: center center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

/* ===================================================
   MENÜ İKONLARI MİKRO-ETKİLEŞİM ANİMASYONLARI (SADECE HOVER)
   =================================================== */

/* 1. Yedek Parça İkonu (Çapraz Tornavida & Anahtar / Parça Deposu) */
.site-nav .nav-icon.fa-screwdriver-wrench {
    color: var(--primary);
}

.site-nav > a:hover .nav-icon.fa-screwdriver-wrench {
    animation: navToolWiggle 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--primary-hover) !important;
}

/* SADECE MOBİL GÖRÜNÜMDE: Yedek Parça İkonu Sürekli Dikkat Çekici Hareketli */
.mobile-nav a[href*="yedek-parca"] .nav-icon,
.mobile-nav .nav-icon.fa-screwdriver-wrench {
    animation: mobilePartsAttention 2.6s ease-in-out infinite !important;
    color: #0284c7 !important;
    display: inline-block;
}

@keyframes mobilePartsAttention {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0 rgba(2, 132, 199, 0));
    }
    12% {
        transform: scale(1.26) rotate(-20deg);
        filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.5));
    }
    24% {
        transform: scale(1.22) rotate(16deg);
        filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.5));
    }
    36% {
        transform: scale(1.15) rotate(-8deg);
    }
    48% {
        transform: scale(1.08) rotate(4deg);
    }
    60% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0 rgba(2, 132, 199, 0));
    }
}

.site-nav > a:hover .nav-icon.fa-boxes-stacked,
.mobile-nav a:hover .nav-icon.fa-boxes-stacked,
.mobile-nav a:active .nav-icon.fa-boxes-stacked {
    animation: navBoxBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-nav > a:hover .nav-icon.fa-gears,
.site-nav > a:hover .nav-icon.fa-gear,
.mobile-nav a:hover .nav-icon.fa-gears {
    animation: navGearsSpinHover 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. Hizmetlerimiz (İngiliz Anahtarı Salınımı) */
.site-nav__dropdown:hover .nav-icon.fa-wrench,
.mobile-nav a:hover .nav-icon.fa-wrench,
.mobile-nav a:active .nav-icon.fa-wrench {
    animation: navWrenchSwingHover 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. Sipariş Takibi (Kargo Kamyonu Sürüşü) */
.site-nav > a:hover .nav-icon.fa-truck-fast,
.site-nav > a:hover .nav-icon.fa-truck,
.mobile-nav a:hover .nav-icon.fa-truck-fast,
.mobile-nav a:active .nav-icon.fa-truck-fast {
    animation: navTruckMoveHover 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 4. İletişim (Telefon Titreşimi / Zil Çalma) */
.site-nav > a:hover .nav-icon.fa-phone,
.site-nav > a:hover .nav-icon.fa-phone-volume,
.site-nav > a:hover .nav-icon.fa-headset,
.mobile-nav a:hover .nav-icon.fa-phone,
.mobile-nav a:active .nav-icon.fa-phone {
    animation: navPhoneRingHover 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 5. Ana Sayfa (Ev Yaylanması) */
.site-nav > a:hover .nav-icon.fa-house,
.site-nav > a:hover .nav-icon.fa-home,
.mobile-nav a:hover .nav-icon.fa-house,
.mobile-nav a:active .nav-icon.fa-house {
    animation: navHouseBounceHover 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 6. 2. El Pazarı (Fiyat Etiketi Sallantısı) */
.site-nav > a:hover .nav-icon.fa-tags,
.site-nav > a:hover .nav-icon.fa-tag,
.mobile-nav a:hover .nav-icon.fa-tags,
.mobile-nav a:active .nav-icon.fa-tags {
    animation: navTagsSwingHover 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 7. SSS (Soru İşareti Nabzı) */
.site-nav > a:hover .nav-icon.fa-circle-question,
.site-nav > a:hover .nav-icon.fa-question,
.mobile-nav a:hover .nav-icon.fa-circle-question,
.mobile-nav a:active .nav-icon.fa-circle-question {
    animation: navFaqPulseHover 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 8. Hakkımızda (Bilgi Simgesi Nabzı) */
.site-nav > a:hover .nav-icon.fa-circle-info,
.site-nav > a:hover .nav-icon.fa-info,
.mobile-nav a:hover .nav-icon.fa-circle-info,
.mobile-nav a:active .nav-icon.fa-circle-info {
    animation: navInfoPulseHover 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 9. Blog (Gazete / Haber Hafif Eğimi) */
.site-nav > a:hover .nav-icon.fa-newspaper,
.mobile-nav a:hover .nav-icon.fa-newspaper,
.mobile-nav a:active .nav-icon.fa-newspaper {
    animation: navBlogTiltHover 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 10. Emojiler */
.site-nav > a:hover .nav-icon-emoji,
.mobile-nav a:hover .nav-icon-emoji,
.mobile-nav a:active .nav-icon-emoji {
    animation: navEmojiPopHover 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* MİKRO-ANİMASYON KEYFRAME TANIMLARI */
@keyframes navToolWiggle {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.24) rotate(-20deg); }
    60% { transform: scale(1.2) rotate(14deg); }
    85% { transform: scale(1.12) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

@keyframes navBoxBounce {
    0% { transform: scale(1) translateY(0); }
    35% { transform: scale(1.2) translateY(-4px); }
    70% { transform: scale(1.08) translateY(1px); }
    100% { transform: scale(1.1) translateY(0); }
}

@keyframes navGearsSpinHover {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1.1); }
}

@keyframes navWrenchSwingHover {
    0% { transform: rotate(0deg); }
    30% { transform: rotate(-22deg) scale(1.2); }
    60% { transform: rotate(16deg) scale(1.15); }
    85% { transform: rotate(-6deg) scale(1.12); }
    100% { transform: rotate(0deg) scale(1.1); }
}

@keyframes navTruckMoveHover {
    0% { transform: translateX(0) scale(1); }
    40% { transform: translateX(4px) scale(1.18); }
    75% { transform: translateX(2px) scale(1.12); }
    100% { transform: translateX(3px) scale(1.1); }
}

@keyframes navPhoneRingHover {
    0% { transform: rotate(0deg) scale(1); }
    20% { transform: rotate(-18deg) scale(1.22); }
    40% { transform: rotate(18deg) scale(1.22); }
    60% { transform: rotate(-12deg) scale(1.18); }
    80% { transform: rotate(12deg) scale(1.15); }
    100% { transform: rotate(0deg) scale(1.1); }
}

@keyframes navHouseBounceHover {
    0% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-4px) scale(1.2); }
    75% { transform: translateY(1px) scale(1.12); }
    100% { transform: translateY(0) scale(1.1); }
}

@keyframes navTagsSwingHover {
    0% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(-22deg) scale(1.2); }
    60% { transform: rotate(15deg) scale(1.15); }
    85% { transform: rotate(-6deg) scale(1.12); }
    100% { transform: rotate(0deg) scale(1.1); }
}

@keyframes navFaqPulseHover {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.24) rotate(-14deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

@keyframes navInfoPulseHover {
    0% { transform: scale(1); }
    50% { transform: scale(1.24); }
    100% { transform: scale(1.1); }
}

@keyframes navBlogTiltHover {
    0% { transform: rotate(0deg) scale(1); }
    40% { transform: rotate(-16deg) scale(1.2); }
    75% { transform: rotate(8deg) scale(1.12); }
    100% { transform: rotate(0deg) scale(1.1); }
}

@keyframes navEmojiPopHover {
    0% { transform: scale(1); }
    50% { transform: scale(1.28) translateY(-3px); }
    100% { transform: scale(1.12); }
}

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

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

/* Dropdown */
.site-nav__dropdown {
    position: relative;
}

.dropdown-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.site-nav__dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.site-nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.site-nav__dropdown:hover .site-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--slate);
    border-radius: var(--radius-sm);
}

.site-nav__dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 20px;
}

/* Header Cart Button & Modern Icon */
.site-header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-header__cart:hover {
    background: #ecfeff;
    border-color: #06b6d4;
    color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.22);
}

.site-header__cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-header__cart-svg {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__cart:hover .site-header__cart-svg {
    transform: scale(1.12);
}

.site-header__cart-badge {
    position: absolute;
    top: -9px;
    right: -10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    border-radius: 9999px;
    min-width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4.5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    border: 2px solid #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Header Actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header__call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
    white-space: nowrap;
}

.site-header__call svg {
    width: 14px;
    height: 14px;
}

.site-header__call:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
}

.site-header__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--whatsapp);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    white-space: nowrap;
}

.site-header__whatsapp svg {
    width: 14px;
    height: 14px;
}

.site-header__whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
    display: none;
    background: #fff;
    padding: 24px;
    border-top: 1px solid var(--border);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav > a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav__title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.mobile-nav__sublink {
    display: block;
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate);
    border-radius: var(--radius-sm);
}

.mobile-nav__sublink:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-nav__region-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.mobile-nav__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav__call, .mobile-nav__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    color: #fff;
}
.mobile-nav__call { background: var(--primary); }
.mobile-nav__whatsapp { background: var(--whatsapp); }

/* ===================================================
   HERO SECTION
   =================================================== */
.home-hero {
    background: radial-gradient(circle at top right, #cffafe 0%, #f0fdfa 40%, #ffffff 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.home-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid var(--primary-border);
}

.home-hero__content h1 {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.home-hero__content p {
    font-size: 1.12rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 32px;
}

.home-button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.02rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
}

.home-button--call {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
}

.home-button--call:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.45);
}

.home-button--whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.home-button--whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.home-button--white {
    background: #ffffff !important;
    color: #083344 !important;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.home-button--white:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    border-color: #e0f2fe !important;
}

.home-button--white i {
    color: #0891b2;
    font-size: 1.05rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-button--white:hover i {
    transform: scale(1.15);
    color: #0284c7;
}

.home-button--whatsapp i {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.home-button--whatsapp:hover i {
    transform: scale(1.15);
}

.home-button--call i {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.home-button--call:hover i {
    transform: scale(1.15);
}

/* Sidebar CTA Buttons */
.service-detail__sidebar .home-button--white {
    background: #ffffff !important;
    color: #083344 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
}

.service-detail__sidebar .home-button--white:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32) !important;
}

.service-detail__sidebar .home-button--whatsapp:hover {
    background: #1eb954 !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45) !important;
}

/* Hero Visual & Badges */
.home-hero__visual {
    position: relative;
}

.home-hero__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    border: 3px solid #ffffff;
}

.home-hero__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: scale(1.01);
}

.home-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.home-floating-card--phone {
    bottom: -15px;
    left: -20px;
}

.home-floating-card--phone strong {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
}

.home-floating-card--phone span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

.home-floating-card--service {
    top: 25px;
    right: -15px;
    text-align: center;
}

.home-floating-card--service strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.home-floating-card--service span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
}

/* ===================================================
   QUICK CONTACT / ADVANTAGE BAR
   =================================================== */
.home-quick-contact {
    padding: 30px 0;
    background: #ffffff;
}

.home-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-quick-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    border-left: 4px solid var(--primary);
    transition: all 0.25s ease;
}

.home-quick-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.home-quick-card span {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.home-quick-card strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 6px 0;
}

.home-quick-card p {
    font-size: 0.92rem;
    color: var(--muted);
}

/* ===================================================
   SECTIONS COMMON
   =================================================== */
.home-section {
    padding: 80px 0;
}

.home-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.home-section-head h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.home-section-head p {
    font-size: 1.05rem;
    color: var(--slate);
}

.home-section-head--light h2,
.home-section-head--light p {
    color: #ffffff;
}
.home-section-head--light .home-kicker {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===================================================
   SERVICES GRID
   =================================================== */
.home-services {
    background: #f8fafc;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.home-service-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-service-card:hover .home-service-card__image img {
    transform: scale(1.08);
}

.home-service-card__content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-service-card__content span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.home-service-card__content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.home-service-card__content p {
    font-size: 0.94rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.home-service-card__content b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.home-service-card__content b::after {
    content: "→";
    transition: transform 0.2s;
}

.home-service-card:hover .home-service-card__content b::after {
    transform: translateX(4px);
}

/* ===================================================
   WHY US SECTION
   =================================================== */
.home-why__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.home-why__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    max-height: 480px;
}

.home-why__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-why__content h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.home-why__content > p {
    font-size: 1.05rem;
    color: var(--slate);
    margin-bottom: 30px;
}

.home-why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-why-list > div {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.2s ease;
}

.home-why-list > div:hover {
    background: var(--primary-light);
    border-color: var(--primary-border);
}

.home-why-list b {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}

.home-why-list strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.home-why-list small {
    font-size: 0.88rem;
    color: var(--muted);
}

/* ===================================================
   SERVICE PROCESS (SÜREÇ)
   =================================================== */
.home-process {
    background: linear-gradient(135deg, #083344 0%, #0e7490 60%, #0891b2 100%);
    color: #ffffff;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-process-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    position: relative;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.home-process-card:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-5px);
}

.home-process-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--cyan);
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.home-process-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.home-process-card p {
    font-size: 0.94rem;
    color: #e0f2fe;
    line-height: 1.5;
}

/* ===================================================
   AREA & REGIONS SECTION
   =================================================== */
.home-area {
    background: var(--light);
}

.home-area__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.home-area__content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.home-area__content p {
    font-size: 1.05rem;
    color: var(--slate);
    margin-bottom: 24px;
}

.home-area__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-area__tags span {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate);
}

.home-area__panel {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.home-area__panel strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #a5f3fc;
    margin-bottom: 8px;
}

.home-area__panel .home-area__phone,
.home-area__panel > a:not(.home-button) {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
}

.home-area__panel .home-area__phone:hover {
    color: #a5f3fc;
}

.home-area__panel p {
    color: #ecfeff;
    font-size: 0.95rem;
    margin-bottom: 26px;
}

.home-area__panel .home-button {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    padding: 14px 28px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.home-area__panel .home-button--white {
    background: #ffffff !important;
    color: #0891b2 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1) !important;
}

.home-area__panel .home-button--white:hover {
    background: #ecfeff !important;
    color: #0e7490 !important;
}

.home-area__panel .home-button--whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
}

/* Regions Grid */
.home-regions {
    background: #ffffff;
}

.home-region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-region-card {
    display: block;
    padding: 16px 20px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate);
    text-align: center;
    transition: all 0.2s ease;
}

.home-region-card:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-border);
    transform: translateY(-2px);
}

/* ===================================================
   LEAD FORM SECTION
   =================================================== */
.home-lead {
    background: radial-gradient(circle at center, #ecfeff 0%, #f0fdfa 100%);
}

.home-lead__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.home-lead__intro h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 14px;
}

.home-lead__intro p {
    font-size: 1.08rem;
    color: var(--slate);
    line-height: 1.7;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 6px;
}

.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--dark);
    outline: none;
    transition: all 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.btn--primary {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
    transition: all 0.25s ease;
}

.btn--primary:hover {
    background: linear-gradient(135deg, #0e7490 0%, #083344 100%);
    box-shadow: 0 6px 22px rgba(8, 145, 178, 0.4);
    transform: translateY(-2px);
}

.btn--block {
    width: 100%;
    display: block;
}

.field-hint {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===================================================
   FINAL CTA
   =================================================== */
.home-final-cta {
    background: linear-gradient(135deg, #083344 0%, #0e7490 100%);
    padding: 50px 0;
    color: #ffffff;
}

.home-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.home-final-cta h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 6px;
}

.home-final-cta .home-button--white {
    background: #ffffff !important;
    color: #083344 !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    border: 2px solid #ffffff;
}

.home-final-cta .home-button--white:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
    border-color: #e0f2fe !important;
}

.home-final-cta .home-button--whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
}

.home-final-cta .home-button--whatsapp:hover {
    background: #1eb954 !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5) !important;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
    background: #083344;
    color: #ecfeff;
    position: relative;
    z-index: 100;
}

.site-footer__cta {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.site-footer__badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #22d3ee;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.site-footer__cta-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
}

.site-footer__cta-content p {
    font-size: 1.05rem;
    color: #a5f3fc;
    margin-bottom: 26px;
}

.site-footer__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer__call {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    border-radius: var(--radius-full);
}
.site-footer__call:hover {
    background: var(--cyan);
    color: var(--dark);
}

.site-footer__whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--whatsapp);
    color: #ffffff;
    font-weight: 800;
    border-radius: var(--radius-full);
}
.site-footer__whatsapp:hover {
    background: var(--whatsapp-hover);
}

.site-footer__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.footer-info-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-info-item small {
    font-size: 0.88rem;
    color: #a5f3fc;
}

.site-footer__main {
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.1fr 1.1fr;
    gap: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo img,
.footer-logo-img {
    height: 96px;
    max-height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.footer-logo:hover img,
.footer-logo:hover .footer-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.footer-brand p {
    font-size: 0.92rem;
    color: #a5f3fc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: #cffafe;
}

.footer-col h3, .footer-contact h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--cyan);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.92rem;
    color: #cffafe;
    display: inline-block;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact__card {
    display: block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 12px;
}

.footer-contact__card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cyan);
}

.footer-contact__card span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a5f3fc;
}

.footer-contact__card strong {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-contact__card--whatsapp strong {
    color: #4ade80;
}

.site-footer__bottom {
    padding: 24px 0;
    background: #05202b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===================================================
   STICKY MOBILE BAR (SABİT ALT ÇUBUK)
   =================================================== */
.sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 8px 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.sticky-bar a {
    flex: 1 1 0%;
    max-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    height: 44px;
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.sticky-bar a:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.sticky-bar a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.sticky-bar a span {
    margin-left: 6px;
    white-space: nowrap;
}

.sticky-bar__call {
    background: var(--primary);
}

.sticky-bar__whatsapp {
    background: var(--whatsapp);
}

.sticky-bar__center-badge {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sticky-bar__badge-inner {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sticky-bar__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: stickyPulse 2s infinite;
    flex-shrink: 0;
}

@keyframes stickyPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.sticky-bar__badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.sticky-bar__badge-text strong {
    font-size: 0.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.sticky-bar__badge-text small {
    font-size: 0.58rem;
    font-weight: 600;
    color: #64748b;
}

/* ===================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================== */
@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .home-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .home-hero__content {
        text-align: center;
    }
    .home-button-row {
        justify-content: center;
    }
    .home-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-region-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-why__grid, .home-area__grid, .home-lead__grid, .site-footer__cta-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 64px; /* Space for sticky bar */
    }
    .sticky-bar {
        display: flex;
    }
    .site-header__actions .site-header__call,
    .site-header__actions .site-header__whatsapp {
        display: none;
    }

    /* Mobil Üst Kayan Bant & Header Kompaktlaştırma */
    .site-marquee {
        padding: 5px 0 !important;
        font-size: 0.74rem !important;
        letter-spacing: 0px !important;
    }
    .site-header__bar {
        min-height: 64px !important;
        height: auto !important;
    }
    .site-header__brand img {
        height: 50px !important;
        max-height: 56px !important;
        max-width: none !important;
        width: auto !important;
        object-fit: contain !important;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.10));
    }

    /* Mobil Hero Alanı Optimizasyonu - Daha Çok Görünürlük */
    .home-hero {
        padding: 16px 0 24px !important;
    }
    .home-hero::before {
        display: none !important;
    }
    .home-hero__grid {
        gap: 16px !important;
    }
    .home-kicker {
        font-size: 0.72rem !important;
        padding: 3px 10px !important;
        margin-bottom: 8px !important;
    }
    .home-hero__content h1 {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .home-hero__content p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    /* Mobilde çerçeve içine alınan Hemen Ara ve WhatsApp butonları gizlenir (altta sticky bar ve sağ altta butonlar mevcut) */
    .home-hero .home-button-row {
        display: none !important;
    }

    .home-quick-grid {
        grid-template-columns: 1fr;
    }
    .home-service-grid {
        grid-template-columns: 1fr;
    }
    .home-process-grid {
        grid-template-columns: 1fr;
    }
    .home-region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-why-list {
        grid-template-columns: 1fr;
    }
    .form-grid--2 {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-logo img,
    .footer-logo-img {
        height: 78px;
        max-height: 96px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================================
   HERO ROTATING IMAGE SLIDER
   =================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0b1120;
}

.home-hero__image.hero-slider {
    aspect-ratio: 1 / 1;
}

.home-hero__full-slider.hero-slider,
.parts-custom-slider.hero-slider,
.second-hand-custom-slider.hero-slider {
    aspect-ratio: auto !important;
}

@media (max-width: 768px) {
    .home-hero__full-slider.hero-slider {
        height: clamp(220px, 56vw, 360px) !important;
        border-radius: 16px !important;
    }
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0 !important;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    pointer-events: none;
    z-index: 1;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.hero-slider__ambient-backdrop {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.35);
    opacity: 0.75;
    transform: scale(1.1);
    pointer-events: none;
    z-index: 1;
}

.hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-slider[data-fit="contain"] .hero-slider__slide img {
    object-fit: contain !important;
}

.hero-slider[data-fit="cover"] .hero-slider__slide img {
    object-fit: cover !important;
}

a.hero-slider__slide {
    cursor: pointer;
}

.hero-slider__slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.hero-slider__dots {
    position: absolute;
    bottom: 14px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 10;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    max-width: fit-content !important;
    pointer-events: auto;
}

.hero-slider__dot {
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    border: 1.5px solid #ffffff;
    background: rgba(15, 23, 42, 0.65);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    opacity: 0.85;
}

.hero-slider__dot:hover {
    background: #ffffff;
    opacity: 1;
    transform: scale(1.2);
}

.hero-slider__dot.active {
    width: 26px;
    height: 9px;
    border-radius: 9999px;
    background: #0284c7;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 1;
    transform: none;
}

/* Hero Slider Prev/Next Navigation Arrows */
.hero-slider__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    z-index: 9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-slider:hover .hero-slider__nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.hero-slider__nav-btn:hover {
    background: #ffffff;
    color: #0284c7;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.hero-slider__prev {
    left: 14px;
}

.hero-slider__next {
    right: 14px;
}

@media (max-width: 768px) {
    .hero-slider__nav-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
        opacity: 0.85;
        pointer-events: auto;
    }
    .hero-slider__prev { left: 8px; }
    .hero-slider__next { right: 8px; }
    
    .hero-slider__dots {
        bottom: 8px !important;
        gap: 6px !important;
    }
    .hero-slider__dot {
        width: 7px;
        height: 7px;
    }
    .hero-slider__dot.active {
        width: 18px;
        height: 7px;
    }
}

/* Full Width Banner Slider & Slide Text Overlay */
.home-hero--full-banner {
    padding: 24px 0 35px;
}

.home-hero__full-slider,
.parts-custom-slider,
.second-hand-custom-slider {
    aspect-ratio: auto !important;
    position: relative;
    width: 100%;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.18) 35%, transparent 70%);
    color: #ffffff;
    z-index: 3;
    pointer-events: none;
    text-decoration: none;
}

.hero-slide-overlay--compact {
    justify-content: flex-end;
    padding: 24px 28px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.60) 0%, rgba(15, 23, 42, 0.20) 40%, transparent 75%);
}

.hero-slide-overlay__inner {
    max-width: 640px;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
}

.hero-slide-overlay--compact .hero-slide-overlay__inner {
    max-width: 580px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-slide-overlay--second-hand {
    background: linear-gradient(90deg, rgba(6, 78, 59, 0.45) 0%, rgba(6, 78, 59, 0.18) 35%, transparent 70%);
}

.hero-slide-overlay--second-hand.hero-slide-overlay--compact {
    background: linear-gradient(0deg, rgba(6, 78, 59, 0.60) 0%, rgba(6, 78, 59, 0.20) 40%, transparent 75%);
}

.hero-slide-overlay--second-hand .hero-slide-overlay__inner {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-slide-overlay__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-slide-overlay__title {
    font-size: clamp(1.4rem, 2.8vw, 2.3rem);
    font-weight: 900;
    line-height: 1.22;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
}

.hero-slide-overlay--compact .hero-slide-overlay__title {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    margin-bottom: 4px;
}

.hero-slide-overlay__caption {
    font-size: clamp(0.88rem, 1.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.55;
    margin-bottom: 18px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.95);
    max-width: 560px;
}

.hero-slide-overlay--compact .hero-slide-overlay__caption {
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-overlay__caption p {
    margin: 0 0 6px;
}
.hero-slide-overlay__caption p:last-child {
    margin-bottom: 0;
}

.hero-slide-overlay__action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.hero-slide-overlay__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary, #0284c7);
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: var(--radius-md, 10px);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    transition: all 0.2s ease;
}

.hero-slide-overlay__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .hero-slide-overlay {
        padding: 20px 18px;
        background: linear-gradient(0deg, rgba(15, 23, 42, 0.70) 0%, rgba(15, 23, 42, 0.25) 50%, transparent 80%);
        justify-content: flex-end;
    }
    .hero-slide-overlay__inner {
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        width: 100%;
        max-width: 100%;
    }
    .hero-slide-overlay__title {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }
    .hero-slide-overlay__caption {
        font-size: 0.84rem;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-slide-overlay__btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .home-hero--full-banner {
        padding: 16px 0 24px;
    }
    .home-hero__full-slider {
        border-radius: 16px !important;
    }
}

/* ===================================================
   INTERACTIVE LOCATION / NEIGHBORHOOD SEARCH
   =================================================== */
.home-location-finder {
    margin-top: -30px;
    position: relative;
    z-index: 20;
    padding-bottom: 20px;
}

.location-finder-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 34px rgba(8, 145, 178, 0.12);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-finder-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.location-finder-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.location-finder-icon svg { width: 24px; height: 24px; }

.location-finder-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}

.location-finder-head p {
    font-size: 0.88rem;
    color: var(--muted);
}

.location-finder-form {
    position: relative;
    width: 100%;
}

.location-finder-input-wrap {
    display: flex;
    align-items: center;
    position: relative;
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s;
}

.location-finder-input-wrap:focus-within {
    border-color: var(--primary);
    background: #ffffff;
}

.location-finder-input-wrap .search-icon {
    width: 22px;
    height: 22px;
    color: var(--muted);
    margin-left: 16px;
    flex-shrink: 0;
}

.location-finder-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 0.98rem;
    font-weight: 600;
    outline: none;
    color: var(--dark);
}

.detect-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    padding: 8px 16px;
    margin-right: 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.detect-btn:hover {
    background: var(--primary);
    color: #fff;
}
.detect-btn svg { width: 18px; height: 18px; }

.location-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 6px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
}

.location-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
}

.location-result-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.quick-neighborhoods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.quick-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--muted);
}

.quick-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: var(--slate);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s;
}
.quick-tag:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.quick-tag--district {
    background: #ecfeff;
    color: var(--primary-dark);
}

/* ===================================================
   KÜTAHYA MAHALLELERİ FİLTRE & GRID GELİŞTİRMESİ
   =================================================== */
.nh-filter-container {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nh-search-wrap {
    position: relative;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.nh-search-wrap input {
    width: 100%;
    padding: 13px 42px 13px 44px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    outline: none;
    transition: all 0.2s ease;
}

.nh-search-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(8, 145, 178, 0.18);
}

.nh-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--slate);
    pointer-events: none;
}

.nh-clear-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--slate);
    cursor: pointer;
    padding: 4px;
}

.nh-region-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.nh-tab-btn {
    padding: 7px 15px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--slate);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.nh-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.nh-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.home-neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
    transition: all 0.3s ease;
}

.home-neighborhood-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    text-decoration: none;
}

.home-neighborhood-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: var(--primary-light);
}

.home-neighborhood-card.nh-card--hidden {
    display: none !important;
}

.nh-pin {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #cffafe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nh-pin svg { width: 18px; height: 18px; }

.nh-info strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.nh-info span {
    font-size: 0.75rem;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.nh-expand-wrap {
    margin-top: 26px;
    text-align: center;
}

.nh-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: #ffffff;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.08);
}

.nh-expand-btn:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.25);
    transform: translateY(-2px);
}

.nh-expand-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.nh-expand-btn.is-expanded .nh-expand-icon {
    transform: rotate(180deg);
}

.nh-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--slate);
}
.nh-no-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    color: #94a3b8;
}

/* ===================================================
   GOOGLE REVIEWS SECTION
   =================================================== */
.home-reviews {
    background: #f8fafc;
}

.reviews-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 36px;
}

.google-badge-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.google-logo-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.google-icon { width: 22px; height: 22px; }
.google-logo-row strong { font-size: 0.92rem; font-weight: 800; color: var(--dark); }

.google-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-score-row .score {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
}

.google-score-row .stars {
    color: #f59e0b;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.google-score-row .count {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

.review-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.btn-review-modal {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-review-modal:hover { background: var(--primary-hover); }

.btn-google-maps {
    background: #f1f5f9;
    color: var(--slate);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-google-maps:hover { background: #e2e8f0; }

.rf-btn {
    background: #f8fafc;
    color: var(--slate);
    border: 1px solid var(--border);
    padding: 6px 13px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.rf-btn:hover {
    background: var(--light);
    border-color: var(--primary-border);
    color: var(--primary);
}
.rf-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-author {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--dark);
}

.review-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.review-source {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.review-comment {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.review-device-tag {
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

/* ===================================================
   VIDEO BADGES & MODAL
   =================================================== */
.video-play-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.video-play-badge:hover {
    background: #ef4444;
    transform: scale(1.05);
}
.video-play-badge svg { width: 20px; height: 20px; fill: currentColor; }

.feat-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ef4444;
    color: #fff !important;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    transition: transform 0.2s;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}
.feat-video-btn:hover {
    transform: scale(1.08);
}
.feat-video-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* MODALS */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-backdrop.open,
.modal-backdrop:not([hidden]) {
    display: flex;
}

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

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    padding: 28px;
    position: relative;
    animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}
.modal-head h3 { font-size: 1.25rem; font-weight: 900; color: var(--dark); }
.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}

/* Responsive adjustments for Phase 2 & 3 */
@media (max-width: 1024px) {
    .home-neighborhood-grid { grid-template-columns: repeat(3, 1fr); }
    .home-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .home-neighborhood-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nh-region-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .nh-tab-btn { flex-shrink: 0; font-size: 0.8rem; padding: 6px 12px; }
    .home-reviews-grid { grid-template-columns: 1fr; }
    .location-finder-card { padding: 18px 20px; }
    .desktop-only { display: none; }
}

@media (max-width: 480px) {
    .home-neighborhood-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   RESPONSIVE DETAIL PAGES & ANTI-OVERFLOW RULES
   =================================================== */
html, body {
    overflow-x: clip;
    max-width: 100vw;
    width: 100%;
}

* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.detail-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

@media (max-width: 991px) {
    .detail-layout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .detail-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.detail-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
}

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

.detail-neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
    width: 100%;
}

@media (max-width: 900px) {
    .detail-neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .detail-neighborhoods-grid {
        grid-template-columns: 1fr;
    }
}

.nh-pill-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nh-pill-card:hover {
    border-color: var(--primary);
    background: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.nh-pill-arrow {
    color: var(--primary);
    font-weight: 900;
}

/* ===================================================
   ENHANCED FEATURE CARDS (COMMON PROCESSES WITH MEDIA)
   =================================================== */
.feat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.feat-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feat-card__media {
    position: relative;
    width: 100%;
    height: 170px;
    background: var(--light);
    overflow: hidden;
}

.feat-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feat-card:hover .feat-card__img {
    transform: scale(1.04);
}

.feat-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 12px;
}

.feat-card__title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feat-card__badge-check {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.feat-card__btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: #0891b2;
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.feat-card__btn-video:hover {
    background: #06b6d4;
    color: #ffffff;
}

.feat-card__btn-video svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ===================================================
   IN-PAGE VIDEO MODAL (NO EXTERNAL REDIRECT)
   =================================================== */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}

.video-modal-backdrop.open {
    display: flex;
}

.video-modal-backdrop[hidden] {
    display: none !important;
}

.video-modal-dialog {
    background: #0f172a;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 840px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.video-modal-head h4 {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-modal-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.video-modal-close:hover {
    background: #e11d48;
}

.video-modal-player-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.video-modal-player-wrap iframe,
.video-modal-player-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===================================================
   IMAGE & CARD SCROLL REVEAL ANIMATION EFFECTS
   =================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    filter: blur(2px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered cascading reveal on service cards */
.home-service-grid .home-service-card:nth-child(1) .reveal-on-scroll { transition-delay: 0.05s; }
.home-service-grid .home-service-card:nth-child(2) .reveal-on-scroll { transition-delay: 0.12s; }
.home-service-grid .home-service-card:nth-child(3) .reveal-on-scroll { transition-delay: 0.19s; }
.home-service-grid .home-service-card:nth-child(4) .reveal-on-scroll { transition-delay: 0.26s; }
.home-service-grid .home-service-card:nth-child(5) .reveal-on-scroll { transition-delay: 0.33s; }
.home-service-grid .home-service-card:nth-child(6) .reveal-on-scroll { transition-delay: 0.40s; }

.home-service-card__image {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.home-service-card__image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-service-card:hover .home-service-card__image img {
    transform: scale(1.08);
}

/* ===================================================
   FLOATING ACTION BUTTONS (TOP, CALL, WHATSAPP)
   =================================================== */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 999;
    pointer-events: none;
}

.floating-btn-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
}

.floating-btn-label {
    position: absolute;
    right: 58px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1000;
}

.floating-btn-wrap:hover .floating-btn-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-btn-label {
        display: none !important;
    }
}

.floating-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.floating-btn--whatsapp {
    background: #25D366;
    color: #ffffff;
}
.floating-btn--whatsapp:hover {
    background: #20ba59;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.floating-btn--call {
    background: #0891b2;
    color: #ffffff;
}
.floating-btn--call:hover {
    background: #0e7490;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.45);
    color: #ffffff;
}

.floating-btn--ai {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    color: #ffffff;
    position: relative;
}
.floating-btn--ai:hover {
    background: linear-gradient(135deg, #0369a1 0%, #4338ca 100%);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.5);
    color: #ffffff;
}
.floating-btn__ai-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.6);
    animation: floatingAiPulse 2.2s infinite;
    pointer-events: none;
}
@keyframes floatingAiPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.28); opacity: 0; }
}

.floating-btn--top {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
}
.floating-btn--top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.floating-btn--top:hover {
    background: #0891b2;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.4);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 84px; /* Above mobile sticky-bar */
        right: 16px;
        gap: 8px;
    }
    .floating-btn--call,
    .floating-btn--whatsapp {
        display: none; /* Already integrated into mobile sticky-bar at bottom */
    }
    .floating-btn--top {
        width: 44px;
        height: 44px;
    }
}

/* ===================================================
   CUSTOM BLOCKS & PAGES (HERO, TOP BAR, VIDEO SPOTLIGHT)
   =================================================== */
.custom-block {
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
}

/* Themes */
.custom-block--brand {
    background: linear-gradient(135deg, #091222 0%, #0f243d 50%, #086d88 100%);
    color: #ffffff;
}
.custom-block--brand h1,
.custom-block--brand h2,
.custom-block--brand h3,
.custom-block--brand strong {
    color: #ffffff !important;
}
.custom-block--brand p {
    color: #cbd5e1 !important;
}

.custom-block--dark {
    background: #090d16;
    color: #f1f5f9;
}
.custom-block--dark h1,
.custom-block--dark h2,
.custom-block--dark h3,
.custom-block--dark strong {
    color: #ffffff !important;
}
.custom-block--dark p {
    color: #94a3b8 !important;
}

.custom-block--light {
    background: #ffffff;
    color: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Top Announcement Band */
.custom-block--top_bar {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    z-index: 30;
}
.custom-block__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.custom-block__top-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.custom-block__kicker-badge {
    background: #06b6d4;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.custom-block__top-title {
    font-size: 0.92rem;
    font-weight: 800;
}
.custom-block__top-text {
    font-size: 0.82rem;
    opacity: 0.85;
}
.custom-block__top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-block__btn--top {
    background: #ffffff;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.custom-block__btn--top:hover {
    background: #06b6d4;
    color: #ffffff;
}
.custom-block__top-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
}
.custom-block--light .custom-block__top-link {
    color: var(--primary);
}

/* Video Spotlight */
.custom-block--spotlight {
    padding: 70px 0;
}
.custom-block__head {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}
.custom-block__video-wrap {
    max-width: 920px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
.video-iframe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.video-iframe-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.custom-block__video-player,
.split-video-player,
.custom-hero-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #000;
}
.custom-block__image-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Split Card Layout */
.custom-block--split {
    padding: 60px 0;
}
.custom-block__split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 30px;
}
.custom-block--brand .custom-block__split-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}
.custom-block--dark .custom-block__split-card {
    background: #111827;
    border-color: #1f2937;
}
.custom-block__split-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-block__split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom Hero Layout */
.custom-hero-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-play-banner {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s ease;
}
.video-play-banner:hover {
    background: #1e293b;
}
.play-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #06b6d4;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.5);
    transition: transform 0.2s ease;
}
.video-play-banner:hover .play-icon-circle {
    transform: scale(1.1);
}

@media (max-width: 860px) {
    .custom-block__split-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
}

/* Universal Rich Editor Content Styles (Custom Rich Editor Output & Image Alignments) */
.about-rich-content,
.custom-page-body,
.service-rich-content,
.service-feature-prose,
.rich-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about-rich-content img,
.custom-page-body img,
.service-rich-content img,
.service-feature-prose img,
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Float Left */
.about-rich-content img[style*="float: left"],
.custom-page-body img[style*="float: left"],
.service-rich-content img[style*="float: left"],
.service-feature-prose img[style*="float: left"],
.rich-content img[style*="float: left"],
.about-rich-content img[data-align="left"],
.custom-page-body img[data-align="left"],
.service-rich-content img[data-align="left"],
.service-feature-prose img[data-align="left"],
.rich-content img[data-align="left"],
.about-rich-content img[align="left"],
.custom-page-body img[align="left"],
.service-rich-content img[align="left"],
.rich-content img[align="left"] {
    float: left;
    margin: 6px 20px 14px 0;
}

/* Float Right */
.about-rich-content img[style*="float: right"],
.custom-page-body img[style*="float: right"],
.service-rich-content img[style*="float: right"],
.service-feature-prose img[style*="float: right"],
.rich-content img[style*="float: right"],
.about-rich-content img[data-align="right"],
.custom-page-body img[data-align="right"],
.service-rich-content img[data-align="right"],
.service-feature-prose img[data-align="right"],
.rich-content img[data-align="right"],
.about-rich-content img[align="right"],
.custom-page-body img[align="right"],
.service-rich-content img[align="right"],
.rich-content img[align="right"] {
    float: right;
    margin: 6px 0 14px 20px;
}

/* Center / Block */
.about-rich-content img[style*="margin-left: auto"],
.custom-page-body img[style*="margin-left: auto"],
.service-rich-content img[style*="margin-left: auto"],
.service-feature-prose img[style*="margin-left: auto"],
.rich-content img[style*="margin-left: auto"],
.about-rich-content img[style*="display: block"]:not([style*="float"]),
.custom-page-body img[style*="display: block"]:not([style*="float"]),
.service-rich-content img[style*="display: block"]:not([style*="float"]),
.service-feature-prose img[style*="display: block"]:not([style*="float"]),
.rich-content img[style*="display: block"]:not([style*="float"]),
.about-rich-content img[data-align="center"],
.custom-page-body img[data-align="center"],
.service-rich-content img[data-align="center"],
.service-feature-prose img[data-align="center"],
.rich-content img[data-align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
    clear: both;
}

@media (max-width: 768px) {
    /* Rich content images with float should keep their float and scaling on mobile, with clean margins */
    .about-rich-content img[style*="float: left"],
    .custom-page-body img[style*="float: left"],
    .service-rich-content img[style*="float: left"],
    .service-feature-prose img[style*="float: left"],
    .rich-content img[style*="float: left"],
    .about-rich-content img[data-align="left"],
    .custom-page-body img[data-align="left"],
    .service-rich-content img[data-align="left"],
    .service-feature-prose img[data-align="left"],
    .rich-content img[data-align="left"] {
        float: left;
        margin: 4px 14px 10px 0;
        max-width: 55% !important;
    }

    .about-rich-content img[style*="float: right"],
    .custom-page-body img[style*="float: right"],
    .service-rich-content img[style*="float: right"],
    .service-feature-prose img[style*="float: right"],
    .rich-content img[style*="float: right"],
    .about-rich-content img[data-align="right"],
    .custom-page-body img[data-align="right"],
    .service-rich-content img[data-align="right"],
    .service-feature-prose img[data-align="right"],
    .rich-content img[data-align="right"] {
        float: right;
        margin: 4px 0 10px 14px;
        max-width: 55% !important;
    }

    /* Only images explicitly given 100% width or large full width should span fully */
    .about-rich-content img[style*="width: 100%"],
    .custom-page-body img[style*="width: 100%"],
    .service-rich-content img[style*="width: 100%"],
    .service-feature-prose img[style*="width: 100%"],
    .product-description img[style*="width: 100%"],
    .campaign-modal-body img[style*="width: 100%"],
    .rich-content img[style*="width: 100%"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px auto !important;
        display: block !important;
    }
}

/* Card frame style for images placed with card option (Matches EIT reference) */
img.cre-card-mode,
.rich-content img.cre-card-mode,
.product-description img.cre-card-mode,
.campaign-modal-body img.cre-card-mode {
    background: #ffffff !important;
    padding: 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07) !important;
}

.product-description img[style*="float: left"],
.campaign-modal-body img[style*="float: left"] {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    max-width: 50%;
}

.product-description img[style*="float: right"],
.campaign-modal-body img[style*="float: right"] {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
    max-width: 50%;
}







