/* ==========================================================================
   MontajCMS — Varsayılan Tema
   Mobilya montaj sektörü için tasarlanmış, mobil öncelikli stil sistemi.
   Renkler ve yarıçap değerleri yönetim panelinden CSS değişkeni olarak basılır.
   ========================================================================== */

/* --------------------------------------------------------- 1. Temel ayarlar */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

:root {
    --primary:        #2563eb;
    --primary-dark:   #1d4ed8;
    --primary-soft:   #eff6ff;
    --secondary:      #f97316;
    --secondary-dark: #ea580c;
    --secondary-soft: #fff7ed;
    --dark:           #16233b;
    --dark-2:         #1e2f4d;
    --success:        #22c55e;
    --wa:             #25d366;

    --ink:            #16233b;
    --ink-2:          #475569;
    --ink-3:          #64748b;
    --line:           #e6ecf5;
    --bg:             #ffffff;
    --bg-2:           #f6f9fd;
    --bg-3:           #eef4fc;

    --radius:         18px;
    --radius-sm:      12px;
    --radius-lg:      26px;
    --container:      1240px;

    --shadow-xs: 0 1px 2px rgba(16, 35, 59, .06);
    --shadow-sm: 0 2px 8px rgba(16, 35, 59, .07);
    --shadow:    0 10px 30px rgba(16, 35, 59, .08);
    --shadow-lg: 0 24px 60px rgba(16, 35, 59, .14);
    --shadow-primary: 0 12px 30px rgba(37, 99, 235, .28);
    --shadow-secondary: 0 12px 30px rgba(249, 115, 22, .3);

    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --header-h: 74px;
    --ease: cubic-bezier(.22, .8, .3, 1);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    /* Yatay tasmaya karsi son savunma hatti. Asil cozum dosyanin sonundaki
       "Tasma korumasi" bolumunde; bu satir yalnizca gozden kacan bir
       durumda sayfanin yana kaymasini engeller. */
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--bg-3); }

a { color: var(--primary); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    background: var(--primary); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- 2. Yerleşim */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--soft { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--primary); background: var(--primary-soft);
    padding: 7px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section--dark .section-head .eyebrow { background: rgba(255,255,255,.08); color: #fff; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--ink-3); font-size: clamp(15px, 1.6vw, 17px); }
.section--dark .section-head p { color: #a9bad4; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------- 3. Butonlar */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px;
    border-radius: 100px;
    font-size: 15.5px; font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }

.btn--secondary { background: var(--secondary); color: #fff; box-shadow: var(--shadow-secondary); }
.btn--secondary:hover { background: var(--secondary-dark); color: #fff; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: #1fb955; color: #fff; }

.btn--ghost {
    background: rgba(255, 255, 255, .18); color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .42);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

.btn--outline { background: #fff; color: var(--primary); border: 1.5px solid var(--line); box-shadow: var(--shadow-xs); }
.btn--outline:hover { border-color: var(--primary); }

.btn--lg { padding: 17px 34px; font-size: 16.5px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------- 4. Üst bar & menü */

.topbar {
    background: var(--dark); color: #cbd8ea;
    font-size: 13.5px;
    padding: 9px 0;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { color: var(--secondary); flex: none; }
.topbar a { color: #cbd8ea; }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; gap: 8px; }
.topbar__social a {
    width: 30px; height: 30px; border-radius: 8px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08);
    transition: background .18s var(--ease);
}
.topbar__social a:hover { background: var(--secondary); color: #fff; }

.header {
    position: sticky; top: 0; z-index: 900;
    /* backdrop-filter kullanilmiyor: sticky + backdrop-filter + overflow:clip
       birlesimi Chrome'da sayfa uzaklastirilinca (zoom out) icerigi ikinci kez
       cizdiriyordu. Arka plan zaten neredeyse opak, bulanikligin katkisi yoktu. */
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 26px rgba(16, 35, 59, .09); border-bottom-color: var(--line); }

.header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { max-height: 46px; width: auto; }
.logo__text { font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo__text b { color: var(--primary); font-weight: 800; }
.logo__text i { color: var(--secondary); font-style: normal; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    position: relative;
    padding: 10px 14px;
    font-size: 15.5px; font-weight: 500; color: var(--ink-2);
    border-radius: 10px;
    transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--secondary); border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--primary); font-weight: 600; }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
    display: none;
    width: 46px; height: 46px; border-radius: 13px;
    background: var(--primary-soft); color: var(--primary);
    place-items: center;
}

/* Mobil çekmece menü */
.drawer {
    position: fixed; inset: 0; z-index: 1000;
    background: #fff;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--line);
    min-height: var(--header-h);
}
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px 24px; -webkit-overflow-scrolling: touch; }
.drawer__nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 15px 12px;
    font-size: 17px; font-weight: 600; color: var(--ink);
    border-bottom: 1px solid var(--bg-3);
    border-radius: 10px;
}
.drawer__nav a:active { background: var(--primary-soft); }
.drawer__nav svg { color: var(--primary); }
.drawer__foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__meta { display: grid; gap: 10px; margin-top: 22px; }
.drawer__meta div { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-3); }
.drawer__meta svg { color: var(--secondary); flex: none; }

body.is-locked { overflow: hidden; }

/* ------------------------------------------------------- 5. Hero slider */

.hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero__track { position: relative; }

.hero__slide {
    position: relative;
    min-height: clamp(520px, var(--hero-h, 88vh), 860px);
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s var(--ease);
}
.hero__slide:first-child { position: relative; }
.hero__slide:not(:first-child) { position: absolute; inset: 0; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

/* Görselsiz slaytlar için degrade + doku */
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg--gradient {
    background:
        radial-gradient(1100px 600px at 78% 18%, rgba(255,255,255,.18), transparent 62%),
        radial-gradient(800px 500px at 12% 88%, rgba(249,115,22,.32), transparent 60%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 48%, #1e3a8a 100%);
}
.hero__bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 0);
    background-size: 26px 26px;
    opacity: .55;
    mask-image: linear-gradient(to bottom, #000 20%, transparent 92%);
}
.hero__veil {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg,
        rgba(11, 24, 45, calc(var(--veil, 55) / 100))  0%,
        rgba(11, 24, 45, calc(var(--veil, 55) / 130)) 55%,
        rgba(11, 24, 45, .18) 100%);
}

.hero__content { padding: clamp(96px, 12vh, 140px) 0 clamp(72px, 10vh, 120px); max-width: 720px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero__chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 9px 17px; border-radius: 100px;
    font-size: 14px; font-weight: 600;
}
.hero__chip svg { color: var(--secondary); }

.hero__badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--secondary); color: #fff;
    padding: 8px 18px; border-radius: 100px;
    font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 10px 26px rgba(249,115,22,.35);
}

.hero__title {
    font-size: clamp(36px, 6.4vw, 68px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.035em;
    margin-bottom: 22px;
    text-wrap: balance;
}
.hero__title em {
    font-style: normal;
    display: block;
    background: linear-gradient(100deg, var(--secondary) 10%, #fbbf24 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__text {
    font-size: clamp(16px, 1.9vw, 19px);
    color: rgba(255,255,255,.86);
    max-width: 580px;
    margin-bottom: 34px;
}
.hero__text strong { color: #fff; font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Yüzen bilgi kartları (masaüstü) */
.hero__cards { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero__card {
    position: absolute;
    background: rgba(255,255,255,.97);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
    animation: floaty 6s ease-in-out infinite;
}
.hero__card:nth-child(2) { animation-delay: -2s; }
.hero__card:nth-child(3) { animation-delay: -4s; }
.hero__card i {
    width: 46px; height: 46px; border-radius: 13px; flex: none;
    display: grid; place-items: center;
    background: var(--primary-soft); color: var(--primary);
}
.hero__card b { display: block; font-size: 19px; font-weight: 800; line-height: 1.2; }
.hero__card span { font-size: 13.5px; color: var(--ink-3); }
.hero__card--1 { top: 22%; right: 8%; }
.hero__card--2 { top: 48%; right: 3%; }
.hero__card--3 { bottom: 20%; right: 14%; }
.hero__card--2 i { background: var(--secondary-soft); color: var(--secondary); }
.hero__card--3 i { background: #ecfdf5; color: var(--success); }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* Slider kontrolleri — hepsi tek satırda, başlıkla çakışmaz */
.hero__nav {
    position: absolute; z-index: 5; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 14px;
    background: rgba(11, 24, 45, .55);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 8px 12px; border-radius: 100px;
}
.hero__dots { display: flex; align-items: center; gap: 8px; }
.hero__dot {
    width: 9px; height: 9px; border-radius: 100px;
    background: rgba(255,255,255,.45);
    transition: width .3s var(--ease), background .3s var(--ease);
}
.hero__dot.is-active { width: 30px; background: var(--secondary); }

.hero__arrow {
    width: 38px; height: 38px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    background: rgba(255,255,255,.14);
    color: #fff;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.hero__arrow:hover { background: rgba(255,255,255,.32); transform: scale(1.08); }

.hero__progress {
    position: absolute; left: 0; bottom: 0; height: 3px; z-index: 5;
    background: var(--secondary);
    width: 0;
    transition: width .12s linear;
}

/* Hero altı dalga */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; pointer-events: none; }
.hero__wave svg { width: 100%; height: clamp(38px, 5vw, 70px); display: block; }

/* ------------------------------------------------------- 6. Güven şeridi */

.trustbar { position: relative; z-index: 6; margin-top: -46px; }
.trustbar__inner {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 26px clamp(18px, 3vw, 34px);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.trustbar__item {
    display: flex; align-items: center; gap: 14px;
    padding: 8px 14px;
    border-right: 1px solid var(--line);
}
.trustbar__item:last-child { border-right: 0; }
.trustbar__item i {
    width: 48px; height: 48px; border-radius: 14px; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary-soft), #dbeafe);
    color: var(--primary);
}
.trustbar__item b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.trustbar__item span { font-size: 13.5px; color: var(--ink-3); }

/* ------------------------------------------------------- 7. Marka kartları */

.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.brand-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3.4vw, 44px);
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 68%);
    border: 1px solid #dbe7fb;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 210px; height: 210px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.14), transparent 68%);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.brand-card--secondary {
    background: linear-gradient(160deg, #fff8ef 0%, #ffffff 68%);
    border-color: #fbdfc0;
}
.brand-card--secondary::before { background: radial-gradient(circle, rgba(249,115,22,.16), transparent 68%); }

.brand-card__icon {
    width: 74px; height: 74px; border-radius: 22px;
    display: grid; place-items: center;
    background: var(--primary); color: #fff;
    box-shadow: var(--shadow-primary);
    margin: 0 auto 22px;
}
.brand-card--secondary .brand-card__icon { background: var(--secondary); box-shadow: var(--shadow-secondary); }

.brand-card h3 { font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; text-align: center; margin-bottom: 12px; }
.brand-card > p { text-align: center; color: var(--ink-3); margin-bottom: 26px; font-size: 15.5px; }

.brand-card__list { display: grid; gap: 13px; position: relative; }
.brand-card__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; font-weight: 500; }
.brand-card__list svg { color: var(--success); flex: none; margin-top: 2px; }

/* ------------------------------------------------------- 8. Hizmet kartları */

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    overflow: hidden;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.service-card::after {
    content: ''; position: absolute; inset: 0 0 auto; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
    width: 62px; height: 62px; border-radius: 18px;
    display: grid; place-items: center;
    background: var(--primary-soft); color: var(--primary);
    margin-bottom: 20px;
    transition: background .28s var(--ease), color .28s var(--ease), transform .28s var(--ease);
}
.service-card:hover .service-card__icon {
    background: var(--primary); color: #fff; transform: scale(1.06) rotate(-4deg);
}
.service-card h3 { font-size: 18.5px; margin-bottom: 9px; }
.service-card p { font-size: 14.8px; color: var(--ink-3); line-height: 1.6; }
.service-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 14.5px; font-weight: 600;
}
.service-card__link svg { transition: transform .25s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ------------------------------------------------------- 9. Adımlar */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px);
    z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__icon {
    width: 76px; height: 76px; border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 20px;
    background: #fff; color: var(--primary);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover .step__icon { transform: translateY(-6px); border-color: var(--primary); }
.step__num {
    position: absolute; top: -4px; left: 50%; margin-left: 20px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--secondary); color: #fff;
    display: grid; place-items: center;
    font-size: 13px; font-weight: 700;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-3); }

/* ------------------------------------------------------- 10. Neden biz */

.section--features { background: var(--dark); position: relative; overflow: hidden; }
.section--features::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(700px 420px at 85% 8%, rgba(249,115,22,.14), transparent 62%),
        radial-gradient(620px 380px at 8% 92%, rgba(37,99,235,.22), transparent 60%);
}
.section--features > * { position: relative; }

.feature-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.09);
    border-color: rgba(249,115,22,.4);
}
.feature-card__icon {
    width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center;
    background: rgba(249,115,22,.14); color: var(--secondary);
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 18.5px; color: #fff; margin-bottom: 9px; }
.feature-card p { font-size: 14.8px; color: #a9bad4; line-height: 1.6; }

/* ------------------------------------------------------- 11. Galeri */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    background: var(--bg-3);
}
.gallery__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
    position: absolute; inset: auto 0 0; z-index: 2;
    padding: 26px 18px 16px;
    background: linear-gradient(transparent, rgba(11,24,45,.85));
    color: #fff; font-size: 14.5px; font-weight: 600;
    opacity: 0; transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 1200;
    background: rgba(8, 17, 32, .97);
    display: none;
    place-items: center;
    padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 82vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__caption { color: #cbd8ea; text-align: center; margin-top: 16px; font-size: 15px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
    position: absolute; color: #fff;
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.12);
    transition: background .2s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.26); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------- 12. İstatistik */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat i {
    width: 52px; height: 52px; border-radius: 15px;
    display: grid; place-items: center;
    background: var(--primary); color: #fff;
    margin: 0 auto 16px;
}
.stat b { display: block; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--dark); }
.stat span { font-size: 14.5px; color: var(--ink-3); }

/* ------------------------------------------------------- 13. Marka logoları */

.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item {
    flex: none;
    display: grid; place-items: center;
    min-width: 168px; height: 78px;
    padding: 0 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 17px; font-weight: 700; color: var(--ink-2);
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.logos__item:hover { color: var(--primary); border-color: var(--primary); }
.logos__item img { max-height: 44px; width: auto; object-fit: contain; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------- 14. Yorumlar */

.testimonial {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 26px;
    display: flex; flex-direction: column; gap: 16px;
    box-shadow: var(--shadow-xs);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testimonial__stars { display: flex; gap: 3px; color: #f59e0b; }
.testimonial__text { font-size: 15.3px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.testimonial__who { display: flex; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.testimonial__avatar {
    width: 46px; height: 46px; border-radius: 50%; flex: none;
    display: grid; place-items: center; object-fit: cover;
    background: var(--primary-soft); color: var(--primary);
    font-weight: 700; font-size: 17px;
}
.testimonial__who b { display: block; font-size: 15px; }
.testimonial__who span { font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------- 15. Bölgeler */

.districts { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.district {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line);
    padding: 11px 20px; border-radius: 100px;
    font-size: 14.8px; font-weight: 600; color: var(--ink-2);
    transition: all .22s var(--ease);
}
.district svg { color: var(--secondary); }
.district:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.district:hover svg { color: #fff; }

/* ------------------------------------------------------- 16. SSS */

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq__item summary {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 22px;
    font-size: 16.5px; font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ''; margin-left: auto; flex: none;
    width: 11px; height: 11px;
    border-right: 2.4px solid var(--primary); border-bottom: 2.4px solid var(--primary);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item summary > svg { color: var(--primary); flex: none; }
.faq__answer { padding: 0 22px 22px 58px; color: var(--ink-2); font-size: 15.3px; line-height: 1.75; }

/* ------------------------------------------------------- 17. CTA bandı */

.cta {
    position: relative;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 60%, #1e3a8a 100%);
    color: #fff; overflow: hidden;
    text-align: center;
}
.cta::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 0);
    background-size: 24px 24px;
}
.cta::after {
    content: ''; position: absolute; right: -80px; top: -80px;
    width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,.32), transparent 66%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(27px, 4.2vw, 44px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.88); font-size: clamp(15px, 1.7vw, 18px); margin-bottom: 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------- 18. İletişim & form */

.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: start; }

.contact__info { display: grid; gap: 14px; }
.contact__item {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px 22px;
    box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact__item:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.contact__item i {
    width: 54px; height: 54px; border-radius: 16px; flex: none;
    display: grid; place-items: center;
    background: var(--primary); color: #fff;
}
.contact__item--wa i { background: var(--wa); }
.contact__item--secondary i { background: var(--secondary); }
.contact__item b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact__item a, .contact__item span { font-size: 16px; color: var(--ink-3); font-weight: 500; }
.contact__item a { color: var(--primary); font-weight: 600; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3.2vw, 40px);
    box-shadow: var(--shadow);
}
.form-card h3 { font-size: 23px; margin-bottom: 6px; }
.form-card > p { color: var(--ink-3); font-size: 14.8px; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.form-group .req { color: var(--secondary); }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.6px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15.5px;
    background: var(--bg-2);
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control::placeholder { color: #9aa8bd; }
.form-control:focus {
    outline: 0;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
textarea.form-control { min-height: 118px; resize: vertical; }

.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.2px; color: var(--ink-3); margin-bottom: 18px; }
.form-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }

.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert {
    padding: 15px 18px; border-radius: var(--radius-sm);
    font-size: 14.8px; margin-bottom: 18px;
    display: flex; gap: 11px; align-items: flex-start;
}
.alert svg { flex: none; margin-top: 2px; }
.alert--success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ------------------------------------------------------- 19. Blog */

.post-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
    height: 100%;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__media--empty {
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary-soft), #dbeafe);
    color: var(--primary);
}
.post-card__cat {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--secondary); color: #fff;
    padding: 6px 14px; border-radius: 100px;
    font-size: 12.5px; font-weight: 600;
}
.post-card__body { padding: 24px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.post-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card h3 { font-size: 18.5px; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: 14.8px; color: var(--ink-3); line-height: 1.65; flex: 1; }
.post-card__more {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 18px; font-size: 14.5px; font-weight: 600;
}
.post-card__more svg { transition: transform .25s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

/* Yazı detayı */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1c3a6e 100%);
    color: #fff; padding: clamp(52px, 8vw, 88px) 0 clamp(44px, 6vw, 72px);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; margin-bottom: 14px; text-wrap: balance; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 720px; font-size: clamp(15px, 1.7vw, 17.5px); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.8px; margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--secondary); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: '/'; color: rgba(255,255,255,.4); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }

.prose { font-size: 16.6px; line-height: 1.82; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(23px, 2.8vw, 30px); color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: clamp(19px, 2.3vw, 23px); color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 17.5px; color: var(--ink); margin-top: 1.4em; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 4px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before {
    content: ''; position: absolute; left: 4px; top: .62em;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--secondary);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: n; }
.prose ol li::before {
    content: counter(n); position: absolute; left: 0; top: .1em;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--primary-soft); color: var(--primary);
    display: grid; place-items: center;
    font-size: 13.5px; font-weight: 700;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.prose img { border-radius: var(--radius); margin-block: 1.6em; }
.prose blockquote {
    border-left: 4px solid var(--secondary);
    background: var(--bg-2);
    padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose table th { background: var(--bg-2); font-weight: 600; color: var(--ink); }
.prose figure { margin-block: 1.6em; }
.prose figcaption { font-size: 13.8px; color: var(--ink-3); text-align: center; margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.table-scroll { overflow-x: auto; }

.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.widget h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.widget ul { display: grid; gap: 10px; }
.widget ul a { display: flex; justify-content: space-between; gap: 10px; font-size: 14.8px; color: var(--ink-2); font-weight: 500; }
.widget ul a:hover { color: var(--primary); }
.widget ul a em { font-style: normal; color: var(--ink-3); font-size: 13px; }
.widget--cta {
    background: linear-gradient(150deg, var(--primary), var(--primary-dark));
    border: 0; color: #fff; text-align: center;
}
.widget--cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.widget--cta p { font-size: 14.5px; color: rgba(255,255,255,.85); margin-bottom: 18px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a {
    background: var(--bg-2); border: 1px solid var(--line);
    padding: 7px 14px; border-radius: 100px;
    font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.tag-list a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.share { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.share span { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.share a {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
    transition: all .2s var(--ease);
}
.share a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Sayfalama */
.pagination { margin-top: 44px; }
.pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination .current, .pagination .gap span {
    min-width: 44px; height: 44px; padding: 0 14px;
    display: grid; place-items: center;
    border-radius: 12px; font-size: 15px; font-weight: 600;
    border: 1px solid var(--line); background: #fff; color: var(--ink-2);
    transition: all .2s var(--ease);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .gap span { border: 0; background: none; }

/* ------------------------------------------------------- 20. Alt bilgi */

.footer { background: var(--dark); color: #a9bad4; padding: clamp(52px, 7vw, 80px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; }
.footer__about { font-size: 14.8px; line-height: 1.75; margin-bottom: 22px; }
.footer .logo__text { color: #fff; margin-bottom: 16px; }
.footer .logo__text b { color: #fff; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { color: #a9bad4; font-size: 14.8px; display: inline-flex; align-items: center; gap: 8px; }
.footer ul a:hover { color: var(--secondary); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.8px; }
.footer__contact svg { color: var(--secondary); flex: none; margin-top: 3px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 42px; height: 42px; border-radius: 13px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.07); color: #fff;
    transition: all .22s var(--ease);
}
.footer__social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer__bottom {
    margin-top: 46px; padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 13.8px;
}

/* ------------------------------------------------------- 21. Yüzen öğeler */

.wa-float {
    position: fixed; right: 22px; bottom: 26px; z-index: 800;
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--wa); color: #fff;
    box-shadow: 0 12px 32px rgba(37,211,102,.42);
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--wa);
    animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
    0%   { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.55); opacity: 0; }
}

.to-top {
    position: fixed; right: 24px; bottom: 100px; z-index: 799;
    width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center;
    background: #fff; color: var(--primary);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .28s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Mobil alt eylem çubuğu */
.mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
    display: none;
    background: rgba(255, 255, 255, .99);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(16,35,59,.1);
    padding-bottom: env(safe-area-inset-bottom);
}
.mobilebar__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.mobilebar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 11px 6px 10px;
    font-size: 12px; font-weight: 600; color: var(--ink-2);
    border-right: 1px solid var(--line);
}
.mobilebar a:last-child { border-right: 0; }
.mobilebar a svg { color: var(--primary); }
.mobilebar a.is-wa svg { color: var(--wa); }
.mobilebar a.is-call { background: var(--primary); color: #fff; }
.mobilebar a.is-call svg { color: #fff; }

/* ------------------------------------------------------- 22. Animasyon */

/* Sadece JS varken gizle — JS kapalıysa içerik görünür kalır. */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------- 23. Duyarlı yapı */

@media (max-width: 1180px) {
    .hero__card--3 { display: none; }
    .article-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .hero__cards { display: none; }
    .hero__content { max-width: 100%; text-align: left; }
    .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
    .trustbar__item:nth-child(2n) { border-right: 0; }
    .trustbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
    .trustbar__item:nth-child(n+3) { padding-top: 18px; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .steps::before { display: none; }
    .contact { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 860px) {
    .nav, .header__cta .btn span { display: none; }
    .burger { display: grid; }
    .topbar__list li:not(:first-child) { display: none; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .brands { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 15.5px; }
    .container { padding-inline: 16px; }
    .section { padding: 52px 0; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .steps { grid-template-columns: 1fr; gap: 26px; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; }
    .form-row { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; text-align: center; }

    .hero__slide { min-height: clamp(500px, var(--hero-h-m, 84vh), 760px); }
    .hero__content { padding: 84px 0 96px; }
    .hero__title { font-size: clamp(31px, 8.6vw, 44px); }
    .hero__actions { display: grid; grid-template-columns: 1fr; gap: 11px; }
    .hero__actions .btn { width: 100%; }
    .hero__chips { gap: 7px; margin-bottom: 20px; }
    .hero__chip { padding: 7px 13px; font-size: 12.8px; }
    .hero__nav { bottom: 22px; }

    .trustbar { margin-top: -30px; }
    .trustbar__inner { grid-template-columns: 1fr; padding: 18px; gap: 0; }
    .trustbar__item { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 14px 4px !important; }
    .trustbar__item:last-child { border-bottom: 0; }

    .stat { padding: 22px 12px; }
    .stat i { width: 44px; height: 44px; margin-bottom: 12px; }

    .prose { font-size: 16px; }
    .faq__answer { padding-left: 22px; }

    .wa-float { width: 54px; height: 54px; right: 16px; bottom: 84px; }
    .to-top { right: 16px; bottom: 148px; width: 42px; height: 42px; }

    /* Alt eylem çubuğunda zaten WhatsApp varsa yüzen butonu gizle;
       boşalan yeri "yukarı çık" butonu alsın. */
    .wa-float-mobile-off .wa-float { display: none; }
    .wa-float-mobile-off .to-top { bottom: 84px; }

    .has-mobilebar .mobilebar { display: block; }
    .has-mobilebar { padding-bottom: 66px; }
    .has-mobilebar .footer__bottom { margin-bottom: 8px; }
}

@media (max-width: 380px) {
    .stats { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery__item:nth-child(6n+1) { grid-column: span 1; }
}

/* ------------------------------------------------- 25. Yorumlar & Puanlama */

.stars { display: inline-flex; gap: 2px; color: #d5dce7; }
.stars .star { display: inline-flex; }
.stars .star.is-on { color: #f59e0b; }

/* Kesirli yıldız: alt katman gri, üst katman --fill oranında sarı */
.stars-wrap { position: relative; display: inline-flex; line-height: 0; }
.stars-base { display: inline-flex; gap: 2px; color: #d5dce7; }
.stars-fill {
    position: absolute; inset: 0;
    display: inline-flex; gap: 2px;
    color: #f59e0b;
    width: var(--fill, 0%);
    overflow: hidden;
    white-space: nowrap;
}
.stars-fill .star { flex: none; }

.comments {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.comments__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 26px;
}
.comments__head h2 {
    display: flex; align-items: center; gap: 10px;
    font-size: clamp(21px, 2.6vw, 27px); font-weight: 800;
}
.comments__head h2 svg { color: #f59e0b; }
.comments__count {
    background: var(--primary-soft); color: var(--primary);
    font-size: 14px; font-weight: 700;
    min-width: 30px; height: 30px; padding: 0 10px;
    border-radius: 100px; display: inline-grid; place-items: center;
}
.comments__empty {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-2); border: 1px dashed var(--line);
    border-radius: var(--radius); padding: 22px;
    color: var(--ink-3); font-size: 15px; margin-bottom: 30px;
}
.comments__empty svg { color: var(--ink-3); flex: none; }

/* Puan özeti */
.rating-summary {
    display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: center;
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 28px; margin-bottom: 30px;
}
.rating-summary__score { text-align: center; }
.rating-summary__score b {
    display: block; font-size: 48px; font-weight: 800;
    line-height: 1; letter-spacing: -.04em; color: var(--dark);
}
.rating-summary__score .stars { margin: 10px 0 6px; }
.rating-summary__score span { font-size: 13.5px; color: var(--ink-3); }
.rating-summary__bars { display: grid; gap: 8px; }

.rating-bar { display: grid; grid-template-columns: 46px minmax(0,1fr) 34px; gap: 12px; align-items: center; }
.rating-bar__label {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.rating-bar__label svg { color: #f59e0b; }
.rating-bar__track { height: 8px; border-radius: 100px; background: #e2e8f0; overflow: hidden; }
.rating-bar__track i { display: block; height: 100%; border-radius: 100px; background: #f59e0b; }
.rating-bar__n { font-size: 13px; color: var(--ink-3); text-align: right; }

/* Yorum listesi */
.comment-list { display: grid; gap: 16px; margin-bottom: 36px; }
.comment {
    display: flex; gap: 16px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px;
    transition: box-shadow .25s var(--ease);
}
.comment:hover { box-shadow: var(--shadow-sm); }
.comment__avatar {
    width: 48px; height: 48px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .02em;
}
.comment__body { min-width: 0; flex: 1; }
.comment__meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-bottom: 8px;
}
.comment__meta b { font-size: 15.5px; font-weight: 700; }
.comment__place {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12.8px; color: var(--ink-3);
    background: var(--bg-2); padding: 3px 10px; border-radius: 100px;
}
.comment__place svg { color: var(--secondary); }
.comment__meta time { font-size: 12.8px; color: var(--ink-3); margin-left: auto; }
.comment__text { font-size: 15.3px; line-height: 1.72; color: var(--ink-2); margin-top: 8px; }
.comment__reply {
    margin-top: 14px; padding: 14px 16px;
    background: var(--primary-soft); border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.comment__reply b {
    display: flex; align-items: center; gap: 6px;
    font-size: 13.5px; color: var(--primary-dark); margin-bottom: 5px;
}
.comment__reply p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }

/* Yorum formu */
.comment-form {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(24px, 3.2vw, 36px);
    scroll-margin-top: calc(var(--header-h) + 20px);
}
.comment-form h3 { font-size: 21px; margin-bottom: 6px; }
.comment-form__intro { font-size: 14.5px; color: var(--ink-3); margin-bottom: 22px; }
.comment-form .form-control { background: #fff; }
.comment-form label small { font-weight: 400; color: var(--ink-3); }

/* Yıldız girişi — DOM sırası 5..1, görsel sıra ters çevrilir */
.rating-input { border: 0; margin-bottom: 20px; }
.rating-input legend {
    font-size: 13.5px; font-weight: 600; color: var(--ink-2);
    margin-bottom: 8px; padding: 0;
}
.rating-input__stars {
    display: inline-flex; flex-direction: row-reverse;
    justify-content: flex-end; gap: 4px;
}
.rating-input__stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-input__stars label {
    color: #d5dce7; cursor: pointer; line-height: 0;
    transition: color .15s var(--ease), transform .15s var(--ease);
}
.rating-input__stars label:hover { transform: scale(1.14); }
/* Seçili yıldız ve solundakiler (DOM'da sonrakiler) dolar */
.rating-input__stars input:checked ~ label { color: #f59e0b; }
.rating-input__stars:hover label { color: #d5dce7; }
.rating-input__stars label:hover,
.rating-input__stars label:hover ~ label { color: #fbbf24; }
.rating-input__stars input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.rating-input__text {
    display: block; margin-top: 8px;
    font-size: 14px; font-weight: 600; color: var(--secondary);
}

/* Anasayfa yorum kartında kaynak rozeti */
.testimonial__badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 600; color: var(--success);
    background: #f0fdf4; border: 1px solid #bbf7d0;
    padding: 3px 9px; border-radius: 100px; margin-left: auto;
}

/* Anasayfa puan şeridi */
.rating-strip {
    display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line);
    border-radius: 100px; padding: 14px 26px;
    max-width: 540px; margin: 0 auto 34px;
    box-shadow: var(--shadow-xs);
}
.rating-strip b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.rating-strip span { font-size: 14.5px; color: var(--ink-3); }

@media (max-width: 680px) {
    .rating-summary { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .comment { flex-direction: column; gap: 12px; padding: 18px; }
    .comment__avatar { width: 42px; height: 42px; font-size: 14px; }
    .comment__meta time { margin-left: 0; width: 100%; }
    .comments__head { flex-direction: column; align-items: flex-start; }
    .rating-strip { border-radius: var(--radius); padding: 14px 18px; }
}

/* ------------------------------------------------------- 24. Yazdırma */

@media print {
    .header, .topbar, .footer, .mobilebar, .wa-float, .to-top, .hero__nav, .hero__arrow, .sidebar { display: none !important; }
    body { color: #000; background: #fff; }
    .prose a::after { content: ' (' attr(href) ')'; font-size: 12px; color: #555; }
}

/* Alt şerit bağlantıları */
.footer__bottom-links { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__bottom-links em { font-style: normal; opacity: .45; }

/* ------------------------------------------------- 31. Tasma korumasi

   Panelden girilen uzun ve bolunemeyen metinler (e-posta adresi, alan adi,
   uzun bir baglanti) izgara ve esnek kutu ogelerinin en-kucuk genisligini
   buyutur; sutun kapsayicidan genis olur ve butun sayfa yatayda kayar.

   Yasanan ornek: "info@ankaramobilyamontajkurulum.com" tek parca 342px yer
   kapliyordu. 375px genisligindeki telefon ekraninda iletisim sutununu 458px e
   zorladi, sayfanin tamami 474px oldu. Koyu zeminli footer gorunum alani
   kadar boyandigi icin kalan 99px beyaz kaldi ve alt bolum bozuk gorundu.

   min-width:0     -> izgara/esnek sutununun kapsayicidan kucuk olmasina izin verir
   overflow-wrap   -> sigmayan uzun kelimeyi satir sonunda boler
   (break-word degil "anywhere": yalnizca ikincisi en-kucuk genisligi de dusurur) */

.contact,
.contact__info,
.contact__item,
.footer__grid,
.footer__contact li,
.comment__body { min-width: 0; }

.contact > *,
.contact__info > *,
.contact__item > *,
.footer__grid > *,
.footer__contact li > * { min-width: 0; }

/* Serbest metin alanlari: kullanicinin ne yazacagi onceden bilinemez */
.contact__item a,
.contact__item span,
.footer__contact li,
.footer__contact a,
.footer__about,
.footer__bottom-links a,
.prose a,
.comment__text,
.comment__author { overflow-wrap: anywhere; }

/* ------------------------------------------- 32. Erisilebilirlik (WCAG AA)

   Lighthouse denetiminde cikan gercek ihlaller. Renkler sabit yazilmiyor:
   --secondary-strong ve --success-strong, tema basliginda paletin kendi
   renginden hesaplaniyor (Palettes::shadeForContrast). Boylece panelden
   palet degistirildiginde de kontrast korunuyor.

   Olcum: marka turuncusu #f97316 uzerine beyaz yazi 2.80 veriyordu,
   AA esigi 4.5. Koyulastirilmis karsiligi #ae510f ile 5.27 oluyor.        */

/* -- Beyaz yazi tasiyan turuncu zeminler -- */
.btn--secondary { background: var(--secondary-strong); }
.btn--secondary:hover { background: var(--secondary-strong); filter: brightness(.9); }
.hero__badge { background: var(--secondary-strong); }
.step__num { background: var(--secondary-strong); }
.post-card__cat { background: var(--secondary-strong); }

/* -- Acik zeminde okunmasi gereken yazilar -- */
.rating-input__text { color: var(--secondary-strong); }
.testimonial__badge { color: var(--success-strong); }

/* Avatar bas harfleri: --ink-3 acik mavi zeminde 4.37 kaliyordu */
.testimonial__avatar, .comment__avatar { color: var(--ink-2); }

/* Koyu footer uzerinde marka mavisi 3.04 veriyordu; footerin kendi
   baglanti rengi zaten okunur ve gorsel olarak da tutarli. */
.footer__bottom-links a { color: #a9bad4; }
.footer__bottom-links a:hover { color: var(--secondary); }

/* -- Dokunma hedefleri: en az 24x24 (WCAG 2.2 AA) --
   Nokta gorsel olarak 9px kaliyor, tiklama alani buyuyor. Gorseli
   ::after ciziyor; boylece dugmenin kendi kutusu denetimi geciyor. */
.hero__dots { gap: 2px; }
.hero__dot {
    width: 24px; height: 24px; background: none;
    display: grid; place-items: center;
    transition: width .3s var(--ease);
}
.hero__dot::after {
    content: ""; display: block;
    width: 9px; height: 9px; border-radius: 100px;
    background: rgba(255,255,255,.45);
    transition: width .3s var(--ease), background .3s var(--ease);
}
.hero__dot.is-active { width: 44px; background: none; }
.hero__dot.is-active::after { width: 30px; background: var(--secondary); }

/* Ust seritteki telefon baglantisi 22px yuksekligindeydi */
.topbar a { min-height: 24px; display: inline-flex; align-items: center; }

/* -- WhatsApp dugmesi -- */
:root {
/* WhatsApp yesili #25d366 beyaz yaziyla 1.98 veriyor. Marka rengi ama
   yazi tasiyan dugmede AA esigini gecmesi gerekiyor; ayni tonun koyu
   karsiligi kullaniliyor (5.08). Yuzen WhatsApp dugmesi ve ikonlar marka
   renginde kaliyor: ikon metin degil, esikleri 3:1 ve onu geciyorlar. */
--wa-strong: #167f3d;
}

.btn--wa { background: var(--wa-strong); }
.btn--wa:hover { background: #157d39; }

/* Alt serit baglantilari 23px idi, 24 gerekiyor. Cumle icindeki
   baglantilara dokunulmuyor: WCAG 2.2 metin ici hedefleri muaf tutar
   ve satir akisini bozmak okunurlugu dusururdu. */
.footer__bottom-links a { min-height: 24px; display: inline-flex; align-items: center; }

/* Iletisim kartindaki baglantilar 23px idi. display degistirilmiyor:
   inline-flex yapmak uzun e-posta adresinin satir kirilmasini bozardi
   (bkz. 31. Tasma korumasi). Satir yuksekligi 24pxe cikariliyor. */
.contact__item a, .contact__item span {
    line-height: 1.55;
    /* Satir ici ogenin olcum kutusu satir yuksekligini saymaz; 24px
       hedefe ulasmak icin inline-block gerekiyor. max-width:100% ile
       birlikte uzun e-posta adresi yine satir kirilabiliyor. */
    display: inline-block; max-width: 100%;
}

/* ----------------------------------------------- 33. Acilir alt menu

   Panelden bir menu ogesine ust oge secildiginde olusur.
   JavaScript kullanilmiyor: :hover fare icin, :focus-within klavye icin
   yeterli. Boylece Tab ile gezen kullanici da menuyu acabiliyor.        */

.nav__item { position: relative; display: inline-flex; }

.nav__top { display: inline-flex; align-items: center; gap: 5px; }
.nav__ok { transition: transform .2s var(--ease); flex: none; }
.nav__item:hover .nav__ok,
.nav__item:focus-within .nav__ok { transform: rotate(180deg); }

.nav__sub {
    position: absolute; top: 100%; left: 0; z-index: 60;
    min-width: 232px; margin: 0; padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(16,35,66,.14);
    display: grid; gap: 2px;
    opacity: 0; visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}

/* Baslik ile menu arasindaki bosluga gelindiginde menu kapanmasin */
.nav__item::after {
    content: ""; position: absolute; top: 100%; left: 0;
    width: 100%; height: 10px;
}

.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.nav__sub a {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 12px; border-radius: 9px;
    font-size: 14.6px; font-weight: 500; color: var(--ink-2);
    white-space: nowrap;
}
.nav__sub a svg { color: var(--primary); flex: none; }
.nav__sub a:hover { background: var(--primary-soft); color: var(--primary); }
.nav__sub a.is-active { color: var(--primary); font-weight: 600; background: var(--primary-soft); }

/* Sagdaki menuler ekranin disina tasmasin */
.nav__item:last-child .nav__sub { left: auto; right: 0; }

/* Mobil cekmecede alt ogeler: acilir menu yok, girintili liste */
.drawer__nav .drawer__sub {
    padding-left: 34px;
    font-size: 14.6px;
    color: var(--ink-2);
}
.drawer__nav .drawer__sub svg { color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
    .nav__sub, .nav__ok { transition: none; }
}
