/* =====================================================================
   eHurdacım — temel stil. Harici bağımlılık yok (CWV için bilinçli tercih).
   ===================================================================== */

:root {
    --bg: #ffffff;
    --bg-soft: #f4f7f4;
    --bg-band: #0d251a;      /* koyu yeşil bant */
    /* Koyu bölgelerin ton merdiveni. Sayfa sonundaki CTA + footer tek bir
       blok gibi aksın diye ortak palet: üstten alta doğru koyulaşır. */
    --band-acik: #10331f;
    --band-orta: #0e2c1f;
    --band-dip:  #0a1f15;
    --ink: #14231c;
    --ink-soft: #5a6b62;
    --line: #e0e8e2;
    --brand: #16a34a;        /* geri dönüşüm yeşili */
    --brand-dark: #0f7f39;
    --brand-ink: #ffffff;
    --accent: #0f766e;       /* teal – fiyat vurgusu */
    --warm: #ea8a1e;         /* sıcak vurgu (rozet/uyarı) */
    --eco: #eafaf0;          /* açık yeşil zemin */
    --ok: #15803d;
    --fail: #b91c1c;
    --radius: 14px;
    --shadow: 0 1px 2px rgb(16 40 28 / 5%), 0 10px 30px rgb(16 40 28 / 7%);
    --wrap: 1140px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }

a { color: inherit; text-decoration-color: rgb(0 0 0 / 25%); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.075rem; color: var(--ink-soft); }
.eyebrow {
    font-size: .8rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--brand-dark); margin-bottom: .75rem;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* --- Butonlar ------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: 8px;
    font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
    /* <button> sayfanin yazi tipini ve rengini MIRAS ALMAZ; tarayicinin
       kendi varsayilanina duser. iOS Safari'de bu renk neredeyse beyaz
       cikiyordu ve Cikis butonu beyaz zeminde gorunmez oluyordu. */
    font-family: inherit; color: inherit;
    transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn.full { width: 100%; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #000; }
.btn-ghost { color: var(--ink); border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgb(0 0 0 / 5%); }

/* --- Başlık --------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.brand-mark {
    display: grid; place-items: center; width: 32px; height: 32px;
    background: var(--brand); color: #fff; border-radius: 8px; font-size: 1.1rem;
}

.site-nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .95rem; font-weight: 500; }
.site-nav a { text-decoration: none; padding-block: .25rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--brand);
}

.nav-burger { display: none; }
.header-cta { flex-shrink: 0; display: flex; gap: .5rem; }
/* Menü içindeki Giriş/Kayıt Ol yalnızca mobilde görünür (bkz. 720px bloğu) */
.nav-cta { display: none; }

/* --- Hero ----------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 85% -10%, rgb(22 163 74 / 12%), transparent 60%),
        radial-gradient(50% 60% at 5% 110%, rgb(15 118 110 / 10%), transparent 60%),
        linear-gradient(180deg, var(--eco) 0%, var(--bg) 100%);
    padding-block: clamp(2.75rem, 1rem + 6vw, 5rem);
}
/* Hero arka planında soluk geri dönüşüm amblemi */
.hero-centered::after {
    content: "";
    position: absolute;
    right: -60px;
    top: 50%;
    width: 320px;
    height: 320px;
    transform: translateY(-50%);
    background: no-repeat center/contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 19H4.8a2 2 0 0 1-1.7-3l2-3.4M8.6 4.5l1.1-1.9a2 2 0 0 1 3.4 0l2.1 3.6M17 8l1.7 3 2.4-1.4'/%3E%3Cpath d='m14 21 3-3-3-3M8.5 8.5 5 10 3.2 6.6M17 19h2.2'/%3E%3C/svg%3E");
    opacity: .08;
    pointer-events: none;
}
.hero-centered .wrap { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
/* Navbar içindeki Bireysel/Kurumsal geçişi */
.header-aud { margin-left: .5rem; flex-shrink: 0; }
@media (max-width: 780px) {
    .header-aud a { padding: .28rem .62rem; font-size: .76rem; }
}
@media (max-width: 360px) {
    .brand-text { display: none; }
}

/* Bireysel / Kurumsal kitle geçişi (egaranti tarzı) */
.aud-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .2rem; gap: .15rem; }
.aud-toggle a { padding: .35rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.aud-toggle a.active { background: var(--brand); color: #fff; }

/* egaranti tarzı iki kolonlu hero + yüzen mockup kartları */
.hero-split { overflow: visible; }
.hero-split-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-split .hero-copy h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); margin-bottom: 1rem; }
.hero-split .hero-actions { margin-block: 1.5rem 1.25rem; }

/* Yeşil, anlatıcı hero banner (kurumsal) */
.hero-green {
    background:
        radial-gradient(60% 90% at 85% -10%, rgb(110 231 168 / 18%), transparent 60%),
        linear-gradient(135deg, #0d251a 0%, var(--brand-dark) 55%, var(--accent) 100%);
    color: #fff;
}
.hero-green .eyebrow { color: #6ee7a8; }
.hero-green h1 { color: #fff; }
.hero-green .lead { color: rgb(255 255 255 / 84%); }
.hero-green .btn-primary { background: #fff; color: var(--brand-dark); }
.hero-green .btn-primary:hover { background: #eafaf0; }
.hero-green .btn-ghost { color: #fff; border-color: rgb(255 255 255 / 45%); }
.hero-green .btn-ghost:hover { background: rgb(255 255 255 / 12%); }
.hero-green .hero-trust { color: rgb(255 255 255 / 82%); }
.hero-green .hero-trust li::before { color: #6ee7a8; }

.hero-chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-chips li {
    display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600;
    color: #fff; background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 18%);
    padding: .45rem .85rem; border-radius: 999px;
}
.hero-chips .ico { width: 16px; height: 16px; color: #6ee7a8; }

.hero-mock { position: relative; min-height: 380px; }
.mock-card {
    position: absolute; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 18px 50px rgb(16 40 28 / 14%); padding: 1rem 1.15rem; width: 260px;
}
.mock-card h4 { color: var(--ink); }
.mock-card .mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.mock-badge { font-size: .68rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.mock-badge.live { background: #dcfce7; color: #15803d; }
.mock-badge.soon { background: #fef3e2; color: #b45309; }
.mock-badge.new { background: #e0f2fe; color: #0369a1; }
.mock-cat { font-size: .72rem; color: var(--ink-soft); }
.mock-card h4 { margin: 0 0 .5rem; font-size: 1.05rem; }
.mock-row { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; }
.mock-row .muted { color: var(--ink-soft); }
.mock-row strong { color: var(--accent); font-variant-numeric: tabular-nums; }
.mock-offers { margin-top: .6rem; font-size: .78rem; color: var(--brand-dark); font-weight: 600; }
.mock-1 { top: 10px; left: 0; z-index: 3; }
.mock-2 { top: 130px; right: 0; z-index: 2; }
.mock-3 { top: 250px; left: 40px; z-index: 1; }

@media (max-width: 900px) {
    .hero-split-inner { grid-template-columns: 1fr; gap: 2rem; }
    /* Mobilde yüzen kartları normal akışa al (taşma olmasın) */
    .hero-mock { min-height: 0; max-width: 360px; margin: 0 auto; display: grid; gap: 1rem; }
    .mock-card { position: static; width: auto; }
    .mock-1, .mock-2, .mock-3 { top: auto; left: auto; right: auto; }
}

.hero-centered { text-align: center; }
.hero-centered .wrap { max-width: 780px; }
.hero-centered h1 { margin-bottom: 1rem; }
.hero-actions.center { justify-content: center; }
.section-head.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: none; }
.update-badge { font-size: .82rem; font-weight: 600; color: var(--brand-dark); background: #fdf0e3; padding: .35rem .7rem; border-radius: 999px; white-space: nowrap; }
.price-note.center { text-align: center; margin-top: 1.5rem; }

/* Firma özet kutuları (detay sayfası) */
.firm-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.summary-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.summary-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: .3rem; }
.summary-value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary-value small { font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.summary-value.hi { color: var(--accent); }

.detail-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-table { width: 100%; border-collapse: collapse; background: #fff; }
.detail-table thead th { text-align: right; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); padding: .8rem 1.25rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.detail-table thead th:first-child { text-align: left; }
.detail-table tbody th { text-align: left; font-weight: 500; padding: .75rem 1.25rem; border-top: 1px solid var(--line); }
.detail-table tbody td { text-align: right; padding: .75rem 1.25rem; border-top: 1px solid var(--line); }
.detail-table .amount { font-weight: 700; color: var(--accent); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.detail-table td.prev { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.back-link { display: inline-block; margin-top: 1rem; color: var(--brand-dark); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* Fiyat geçmişi (detay sayfası) */
.history-title { margin: 2.5rem 0 .25rem; }
.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.history-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.history-block > summary {
    cursor: pointer; list-style: none; padding: .9rem 1.1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    background: var(--bg-soft);
}
.history-block > summary::-webkit-details-marker { display: none; }
.history-block[open] > summary { border-bottom: 1px solid var(--line); }
.hist-count { font-size: .75rem; font-weight: 600; color: var(--ink-soft); background: #fff; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line); }
/* Geçmiş uzun olabilir; içeride kaydır (özellikle mobilde) */
.history-scroll { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.history-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.history-table thead th { position: sticky; top: 0; z-index: 1; background: #fff; box-shadow: inset 0 -1px 0 var(--line); text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); padding: .5rem 1.1rem; }
.history-table thead th:nth-child(2) { text-align: right; }
.history-table tbody td { padding: .45rem 1.1rem; border-top: 1px solid var(--line); }
.history-table .hist-date { color: var(--ink-soft); }
.history-table .hist-price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.history-table td:last-child { text-align: right; }
.hero-copy h1 { margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.5rem; }
.hero-trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
    font-size: .9rem; color: var(--ink-soft);
}
.hero-trust li::before { content: "✔"; color: var(--ok); margin-right: .4rem; }

/* --- Fiyat kartı ---------------------------------------------------- */
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 1.25rem;
}
.price-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.price-card-head h2 { font-size: 1.1rem; margin: 0; }
.stamp { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; }

.price-scroll { max-height: 420px; overflow-y: auto; margin-block: .75rem; padding-right: .25rem; }
.price-cat {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--brand-dark); font-weight: 700; margin: 1rem 0 .35rem;
}
.price-cat:first-child { margin-top: 0; }
.price-company {
    font-size: .82rem; font-weight: 600; color: var(--ink);
    margin: .6rem 0 .1rem; padding-top: .5rem; border-top: 1px dashed var(--line);
}
.price-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.price-table th, .price-table td { padding: .4rem .25rem; border-bottom: 1px solid var(--line); }
.price-table tbody th { text-align: left; font-weight: 500; color: var(--ink-soft); }
.price-table .hi { text-align: right; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.price-table .unit { text-align: right; width: 3.5rem; font-size: .72rem; color: var(--ink-soft); }
.price-table.range thead th { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-weight: 600; padding-bottom: .3rem; }
.price-table.range thead th.hi { color: var(--ink-soft); font-weight: 600; }
.price-table.range td { text-align: right; font-variant-numeric: tabular-nums; }
.price-table.range td.lo { color: var(--ink-soft); font-weight: 600; }
.price-note { font-size: .78rem; color: var(--ink-soft); margin-top: .5rem; }
.price-empty { font-size: .9rem; color: var(--ink-soft); padding: 1.5rem 0; text-align: center; }

/* --- Bölümler ------------------------------------------------------- */
.section { padding-block: clamp(2.5rem, 1rem + 4vw, 4rem); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head.center-head { margin-inline: auto; text-align: center; }
.ico.inline { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: .25rem; }
.chip-cloud.center { justify-content: center; }

.step-card { position: relative; }
.step-no {
    position: absolute; top: 1.1rem; right: 1.1rem;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--eco); color: var(--brand-dark);
    font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}

.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; }
@media (max-width: 720px) {
    .cta-actions { align-items: stretch; }
}
.band { background: var(--bg-soft); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgb(16 40 28 / 12%); border-color: #cfe6d6; }
.card h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* İkon */
.ico { width: 24px; height: 24px; flex: 0 0 auto; display: block; }
.icon-badge {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border-radius: 12px; background: var(--eco); color: var(--brand-dark);
    margin-bottom: 1rem;
}
.icon-badge .ico { width: 26px; height: 26px; }

/* Güven çubuğu */
.trust-bar { border-block: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; padding-block: 1rem; }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.trust-item .ico { width: 20px; height: 20px; color: var(--brand); }

/* İstatistik bandı */
.stats-band { background: var(--bg-band); color: #fff; padding-block: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stats-grid > div { display: flex; flex-direction: column; gap: .25rem; }
.stat-num { font-size: clamp(1.8rem, 1rem + 3vw, 2.75rem); font-weight: 800; color: var(--brand); line-height: 1; }
.stat-cap { font-size: .9rem; color: rgb(255 255 255 / 75%); }

/* Kategori etiketleri */
.chip-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.cat-chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); transition: border-color .15s ease, color .15s ease; }
.cat-chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.cat-chip .ico { width: 18px; height: 18px; color: var(--brand); }

/* Hurdacı Bul */
.finder { max-width: 920px; margin: 0 auto; }
.finder-controls { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.finder-field { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; }
.finder-field select {
    padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px;
    font-size: 1rem; font-family: inherit; background: #fff; cursor: pointer;
}
.finder-field select:focus-visible { border-color: var(--brand); outline: 2px solid rgb(22 163 74 / 25%); }
.finder-field select:disabled { background: var(--bg-soft); color: var(--ink-soft); cursor: not-allowed; }
.finder-hint { text-align: center; color: var(--ink-soft); padding: 1.5rem 0; }
.finder-count { font-weight: 600; color: var(--ink-soft); margin-bottom: 1rem; }

.dealer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.dealer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .35rem; }
.dealer-card h3 { margin: 0; font-size: 1.05rem; }
.dealer-loc { font-weight: 600; color: var(--brand-dark); font-size: .88rem; margin: 0; }
.dealer-addr { color: var(--ink-soft); font-size: .88rem; margin: 0; }
.dealer-types { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0; }
.type-chip { background: var(--eco); color: var(--brand-dark); font-size: .72rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; }
.dealer-card .btn { align-self: flex-start; margin-top: .4rem; }

/* Lokasyon (il/ilçe) bağlantı ızgarası */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .85rem; }
.loc-card { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.loc-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.loc-name { font-weight: 700; font-size: 1rem; }
.loc-meta { font-size: .8rem; color: var(--ink-soft); }
.mt { margin-top: 2.25rem; }

/* Lokasyon sayfalarının özgün metin bölümleri (database/lokasyonlar.php) */
.loc-intro { max-width: 68ch; margin-bottom: 2rem; }
.loc-intro p { font-size: 1.06rem; color: var(--ink-soft); margin: 0 0 .8rem; }
.loc-intro p:last-child { margin-bottom: 0; }

.loc-block { max-width: 68ch; margin: 2.25rem 0; }
.loc-block h2 { margin: 0 0 .7rem; }
.loc-block p { margin: 0 0 .85rem; color: var(--ink-soft); }
.loc-block p:last-child { margin-bottom: 0; }

.loc-ilce-listesi { line-height: 2; }
.loc-liste { margin: 0 0 .85rem; padding-left: 1.25rem; color: var(--ink-soft); }
.loc-liste li { margin-bottom: .35rem; }
.loc-liste li::marker { color: var(--brand); }

/* Geniş içerik (tablo) kendi kutusunda kayar — sayfa gövdesi yana kaymaz */
.tablo-kaydir {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 1rem;
}
.fiyat-tablo { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 30rem; }
.fiyat-tablo th {
    text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--ink-soft); background: var(--bg-soft); padding: .7rem .85rem;
    border-bottom: 1px solid var(--line); white-space: nowrap;
}
.fiyat-tablo td { padding: .65rem .85rem; border-bottom: 1px solid var(--line); }
.fiyat-tablo tr:last-child td { border-bottom: none; }
.fiyat-tablo .sag { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Henüz kayıtlı firma yokken gösterilen çağrı kutusu */
.loc-bos {
    background: var(--eco);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.6rem 1.75rem;
    max-width: 46rem;
}
.loc-bos h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.loc-bos p { margin: 0 0 1.1rem; color: var(--ink-soft); }

/* Anlatıcı kurumsal banner (yeşil, adım akışı + panel görseli) */
.kb-banner {
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: center;
    background: linear-gradient(130deg, var(--brand-dark) 0%, var(--accent) 100%);
    border-radius: 22px; padding: 2.5rem; color: #fff;
    box-shadow: 0 24px 60px rgb(15 118 110 / 25%);
}
.kb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.kb-steps li { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.kb-n {
    position: relative; z-index: 1; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
    background: rgb(255 255 255 / 15%); display: grid; place-items: center; color: #fff;
    backdrop-filter: blur(2px);
}
.kb-n .ico { width: 22px; height: 22px; }
/* Adımlar arası dikey bağlantı çizgisi */
.kb-steps li:not(:last-child)::before {
    content: ""; position: absolute; left: 23px; top: 46px; bottom: -1.4rem; width: 2px;
    background: rgb(255 255 255 / 22%);
}
.kb-steps strong { display: block; color: #fff; font-size: 1.05rem; }
.kb-steps p { margin: .2rem 0 0; color: rgb(255 255 255 / 80%); font-size: .9rem; line-height: 1.5; }

.kb-visual { position: relative; }
.kb-visual .panel-preview { box-shadow: 0 24px 55px rgb(0 0 0 / 28%); }

@media (max-width: 860px) {
    .kb-banner { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem; }
}

/* Kurumsal panel önizleme (landing) */
.pp-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center; }
.pp-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.pp-features li { display: flex; gap: .9rem; align-items: flex-start; }
.pp-features .icon-badge { margin: 0; flex: 0 0 auto; }
.pp-features strong { display: block; font-size: 1.05rem; }
.pp-features span { color: var(--ink-soft); font-size: .92rem; }

.panel-preview { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgb(16 40 28 / 14%); overflow: hidden; }
.panel-preview .pp-doc { color: var(--ink); }
.pp-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.pp-bar i:nth-child(1) { background: #f87171; } .pp-bar i:nth-child(2) { background: #fbbf24; } .pp-bar i:nth-child(3) { background: #34d399; }
.pp-bar em { margin-left: .5rem; font-style: normal; font-size: .78rem; color: var(--ink-soft); }
.pp-body { padding: 1.1rem; display: grid; gap: 1rem; }

.pp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.pp-kpi { background: var(--eco); border-radius: 10px; padding: .7rem; text-align: center; }
.pp-kpi b { display: block; font-size: 1.25rem; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.pp-kpi span { font-size: .72rem; color: var(--ink-soft); }

.pp-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pp-mini { border: 1px solid var(--line); border-radius: 10px; padding: .7rem; }
.pp-title { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.pp-donut { width: 90px; height: 90px; display: block; margin: 0 auto; }
.pp-bars { display: flex; align-items: flex-end; gap: .3rem; height: 90px; }
.pp-bars i { flex: 1; background: linear-gradient(180deg, var(--brand), var(--brand-dark)); border-radius: 3px 3px 0 0; }

.pp-docs { display: grid; gap: .4rem; }
.pp-doc { display: flex; align-items: center; gap: .5rem; font-size: .82rem; padding: .4rem .6rem; background: var(--bg-soft); border-radius: 8px; }
.pp-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; flex: 0 0 auto; }
.pp-dot.ok { background: var(--ok); }
.pp-doc em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .75rem; color: var(--ink-soft); }

@media (max-width: 820px) { .pp-layout { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Sürdürülebilirlik bandı (koyu yeşil) */
.eco-band { background: var(--bg-band); color: #fff; padding-block: clamp(2.5rem, 1rem + 4vw, 4rem); }
.eco-band .section-head h2 { color: #fff; }
.eco-band .eyebrow { color: #6ee7a8; }
.eco-band .lead { color: rgb(255 255 255 / 72%); }
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.eco-card { background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius); padding: 1.4rem; }
.eco-card .icon-badge { background: rgb(110 231 168 / 14%); color: #6ee7a8; }
.eco-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .35rem; }
.eco-card p { color: rgb(255 255 255 / 68%); font-size: .92rem; margin: 0; }

/* Kimler için – işaretli liste */
.check-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .5rem; font-size: .95rem; color: var(--ink-soft); }
.check-list li { padding-left: 1.6rem; position: relative; }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--ok); }

/* Uygulama mağaza rozetleri */
.app-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.app-badge {
    display: flex; align-items: center; gap: .6rem;
    min-width: 158px; padding: .5rem 1rem;
    border: 1px solid var(--bg-band); border-radius: 10px;
    text-decoration: none; color: #fff; background: var(--bg-band);
    transition: background-color .15s ease, transform .12s ease;
}
.app-badge:hover { background: #08160f; transform: translateY(-1px); }
.app-badge-logo { flex: 0 0 24px; display: grid; place-items: center; }
.app-badge-logo svg { width: 24px; height: 24px; display: block; }
.app-badge-metin { display: flex; flex-direction: column; line-height: 1.15; }
.app-badge-top { font-size: .68rem; letter-spacing: .04em; color: rgb(255 255 255 / 72%); }
.app-badge-store { font-size: 1.02rem; font-weight: 700; }
/* Koyu bant üzerinde saydam varyant */
.cta-band .app-badge { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 35%); }
.cta-band .app-badge:hover { background: rgb(255 255 255 / 16%); }

/* Animasyonlu Müşteri/Hurdacı geçişi */
.app-picker { max-width: 460px; margin: 0 auto; }
.app-radio { position: absolute; opacity: 0; pointer-events: none; }
.app-switch { position: relative; display: flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .25rem; }
.app-switch-opt {
    position: relative; z-index: 1; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .6rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .95rem;
    color: var(--ink-soft); transition: color .25s ease; user-select: none;
}
.app-switch-opt .ico { width: 18px; height: 18px; }
.app-switch-thumb {
    position: absolute; top: .25rem; bottom: .25rem; left: .25rem; width: calc(50% - .25rem);
    background: var(--brand); border-radius: 999px; box-shadow: 0 4px 12px rgb(22 163 74 / 35%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), background-color .3s ease;
}
#app-hurdaci:checked ~ .app-switch .app-switch-thumb { transform: translateX(100%); background: var(--accent); box-shadow: 0 4px 12px rgb(15 118 110 / 35%); }
#app-musteri:checked ~ .app-switch .opt-musteri,
#app-hurdaci:checked ~ .app-switch .opt-hurdaci { color: #fff; }

/* "Geri Dönüşüm Firması" uzun bir etiket: dar ekranda iki satıra kırılıp
   seçiciyi dengesizleştiriyordu. Metin küçülür, ikon gizlenir, iki taraf
   da tek satırda kalır. */
@media (max-width: 560px) {
    .app-switch-opt { padding: .55rem .5rem; font-size: .82rem; gap: .25rem; line-height: 1.25; }
    .app-switch-opt .ico { display: none; }
}
@media (max-width: 400px) {
    .app-switch-opt { font-size: .76rem; letter-spacing: -.01em; }
}

.app-stage { position: relative; display: grid; margin-top: 1.5rem; }
.app-panel {
    grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.98);
    transition: opacity .3s ease, transform .3s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}
#app-musteri:checked ~ .app-stage .panel-musteri,
#app-hurdaci:checked ~ .app-stage .panel-hurdaci { opacity: 1; transform: none; pointer-events: auto; }

/* Eski iki-kolon (kullanılmıyor ama korunur) */
.app-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 880px; margin: 0 auto; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.app-card.app-hurdaci { border-top: 3px solid var(--accent); }
.app-card.app-musteri { border-top: 3px solid var(--brand); }
.app-role { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .82rem; color: var(--brand-dark); background: var(--eco); padding: .3rem .8rem; border-radius: 999px; }
.app-role .ico { width: 18px; height: 18px; }
.app-card h3 { margin: .5rem 0 0; font-size: 1.3rem; }
.app-tagline { font-weight: 600; margin: 0; }
.app-desc { color: var(--ink-soft); font-size: .92rem; margin: .25rem 0 .75rem; }
.app-card .app-badges { justify-content: center; }
.app-reg { margin-top: .6rem; font-weight: 600; color: var(--brand-dark); text-decoration: none; font-size: .9rem; }
.app-reg:hover { text-decoration: underline; }

/* Koyu banttaki iki-uygulama indirme */
.cta-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 820px; margin: 1.5rem auto 0; }
.cta-app { text-align: center; padding: 1.25rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius); background: rgb(255 255 255 / 4%); }
.cta-app-role { display: block; font-size: .78rem; color: #6ee7a8; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cta-app-name { display: block; font-size: 1.15rem; color: #fff; margin: .15rem 0 .85rem; }
.cta-app .app-badges { justify-content: center; }

@media (max-width: 700px) {
    .app-choice, .cta-apps { grid-template-columns: 1fr; }
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
.steps li { position: relative; padding-left: 3rem; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: -2px;
    display: grid; place-items: center; width: 2rem; height: 2rem;
    background: var(--brand); color: #fff; border-radius: 50%; font-weight: 700; font-size: .9rem;
}

.faq { border-bottom: 1px solid var(--line); padding-block: .9rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style-position: inside; }
.faq p { margin: .75rem 0 0; color: var(--ink-soft); }

/* CTA bandı, altındaki footer'a kesintisiz bağlanır: burada biten ton
   footer'ın başladığı tonla aynıdır, sınırda kırılma olmaz. */
.cta-band {
    background: linear-gradient(180deg, var(--bg-band) 0%, var(--band-orta) 100%);
    color: #fff; padding-block: 3rem;
}
.cta-band h2 { margin-bottom: .25rem; }
.cta-band p { color: rgb(255 255 255 / 70%); margin: 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* --- Alt bilgi ------------------------------------------------------ */
/* Koyu yeşil footer — sayfanın kapanışı. Marka renginin koyu ucundan
   teal'e geçen bir zemin; metin beyaza döndüğü için kontrast korunur. */
.site-footer {
    /* Üstteki CTA bandının bittiği tondan başlar, sayfa sonuna doğru
       koyulaşarak kapanır. Dikey gradyan — köşegen olan, yan yana gelen
       iki koyu blok arasında ton kırılması yaratıyordu. */
    background: linear-gradient(180deg, var(--band-orta) 0%, var(--bg-band) 45%, var(--band-dip) 100%);
    color: #fff;
    padding-top: 3rem;
    font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid a { display: block; text-decoration: none; color: rgb(255 255 255 / 76%); padding-block: .2rem; }
.footer-grid a:hover { color: #fff; }
.site-footer .muted { color: rgb(255 255 255 / 68%); }
.footer-brand { font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; color: #fff; }
.footer-title { font-weight: 600; margin-bottom: .5rem; color: #6ee7a8; }
.footer-bottom {
    margin-top: 2.5rem; padding-block: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 14%);
    color: rgb(255 255 255 / 62%); font-size: .85rem;
}

/* --- Fiyatlar sayfası ----------------------------------------------- */
.page-hero { background: linear-gradient(180deg, #fdf6ef 0%, var(--bg) 100%); padding-block: 2.5rem 1.5rem; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: .75rem; }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 .35rem; }
.page-hero .stamp { display: inline-block; margin-left: .5rem; font-size: .85rem; color: var(--brand-dark); font-weight: 600; }

.cat-title { margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--brand); }
.cat-title:first-child { margin-top: 0; }
.firm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.firm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.firm-head {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    background: var(--bg-soft); padding: .8rem 1.1rem; font-weight: 700; font-size: .98rem;
    border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
    transition: background-color .15s ease;
}
.firm-head:hover { background: #eef1f5; }
.firm-head .firm-go { color: var(--brand); font-size: 1.3rem; line-height: 1; }
.firm-head-main { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.firm-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.firm-date { font-size: .72rem; font-weight: 500; color: var(--ink-soft); }
.firm-detail {
    display: block; padding: .7rem 1.1rem; margin-top: auto; font-size: .85rem; font-weight: 600;
    color: var(--brand-dark); text-decoration: none; border-top: 1px solid var(--line); background: #fff;
}
.firm-detail:hover { background: var(--bg-soft); }

/* Fiyat listesi: Cins | Fiyat | Değişim (herkesin okuyabileceği net düzen) */
.price-list { width: 100%; border-collapse: collapse; }
.price-list thead th {
    font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700;
    color: var(--ink-soft); background: var(--bg-soft); padding: .55rem 1.1rem;
    text-align: left; border-bottom: 1px solid var(--line);
}
.price-list thead th:nth-child(2),
.price-list thead th:nth-child(3) { text-align: right; }
.price-list thead th small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); }
.price-list tbody tr { border-bottom: 1px solid var(--line); }
.price-list tbody tr:last-child { border-bottom: 0; }
.price-list tbody tr:nth-child(even) { background: #fafcfb; }
.price-list th[scope="row"] { text-align: left; font-weight: 600; font-size: .92rem; padding: .65rem 1.1rem; }
.price-list .pl-price { text-align: right; padding: .65rem .4rem; white-space: nowrap; }
.price-list .pl-price b { font-size: 1.1rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-list .pl-price small { display: block; color: var(--ink-soft); font-size: .66rem; font-weight: 500; }
.price-list .pl-change { text-align: right; padding: .65rem 1.1rem .65rem .4rem; white-space: nowrap; }

/* Değişim rozetini dolgulu hap yap (net görünsün) */
.pl-change .delta { padding: .22rem .55rem; border-radius: 999px; font-size: .74rem; }
.pl-change .delta.up { background: #dcfce7; }
.pl-change .delta.down { background: #fee2e2; }
.pl-change .delta.flat { background: var(--bg-soft); }
.pl-change .delta.new { background: #fef3e2; }
.pl-change .delta small { display: none; }

.full-price-table { width: 100%; border-collapse: collapse; }
.full-price-table thead th { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); text-align: left; padding: .55rem 1.1rem; }
.full-price-table thead th:last-child { text-align: right; }
.full-price-table tbody th { text-align: left; font-weight: 500; padding: .55rem 1.1rem; border-top: 1px solid var(--line); }
.full-price-table tbody td { text-align: right; padding: .55rem 1.1rem; border-top: 1px solid var(--line); white-space: nowrap; }
.full-price-table .amount { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.full-price-table .unit { font-size: .72rem; color: var(--ink-soft); margin-left: .2rem; }

/* Fiyat değişim rozeti */
.delta { display: inline-flex; align-items: baseline; gap: .15rem; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta small { font-weight: 500; font-size: .82em; opacity: .8; }
.delta.up { color: #15803d; }
.delta.down { color: #dc2626; }
.delta.flat { color: var(--ink-soft); font-weight: 600; }
.delta.new { color: var(--warm); font-weight: 600; font-size: .72rem; }
.delta-line { display: block; margin-top: .1rem; }

.disclaimer { margin-top: 2rem; font-size: .85rem; color: var(--ink-soft); background: var(--bg-soft); padding: 1rem 1.25rem; border-radius: 8px; }

/* --- Kurulum sayfası ------------------------------------------------ */
.check-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.check-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
.check-table .state { width: 2rem; font-weight: 700; }
.check-table tr.ok .state { color: var(--ok); }
.check-table tr.fail .state { color: var(--fail); }
.check-table tr.fail { background: #fef2f2; }

.badge { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.badge.ok { background: #dcfce7; color: var(--ok); }
.badge.fail { background: #fee2e2; color: var(--fail); }

.table-list { columns: 3; font-size: .9rem; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; padding: 1rem; border-radius: 8px; overflow-x: auto; font-size: .85rem; }

/* --- Duyarlı -------------------------------------------------------- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .table-list { columns: 2; }
}

@media (max-width: 720px) {
    .header-cta { display: none; }
    .nav-burger {
        display: block; margin-left: auto; cursor: pointer;
        width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px;
        position: relative;
        /* Ekranın en sağ kenarına yapışmasın: tek elle tutarken sağ üst köşe
           en zor ulaşılan yer. Biraz içeri alındı. */
        margin-right: .5rem;
        /* Flex içinde ezilmesin: yanındaki Bireysel/Kurumsal seçici yer kapınca
           burger 2px'e düşüp sayfayı yana taşırıyordu. */
        flex: 0 0 40px;
    }
    .nav-burger span, .nav-burger span::before, .nav-burger span::after {
        content: ""; position: absolute; left: 10px; width: 18px; height: 2px;
        background: var(--ink); transition: transform .2s ease;
    }
    .nav-burger span { top: 19px; }
    .nav-burger span::before { top: -6px; left: 0; }
    .nav-burger span::after { top: 6px; left: 0; }

    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem;
        background: #fff; border-bottom: 1px solid var(--line);
    }
    .site-nav a { padding-block: .7rem; border-bottom: 1px solid var(--line); }
    .nav-toggle:checked ~ .site-nav { display: flex; }

    /* Giriş / Kayıt Ol mobilde başlıktan gizlendiği için menünün altına
       gelir — yoksa ziyaretçi mobilde kayıt olma yolunu bulamıyor. */
    .nav-cta { display: flex; gap: .6rem; padding-top: .9rem; }
    .nav-cta .btn { flex: 1; padding-block: .75rem; }
    .site-nav a:last-of-type { border-bottom: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .table-list { columns: 1; }

    /* Başlıkta üç öğe (marka + seçici + burger) 375px'e sığmıyor:
       seçici küçülür, burger sabit kalır. */
    .header-inner { gap: .6rem; }
    .header-aud { margin-left: 0; min-width: 0; }
    .header-aud a { padding: .3rem .55rem; font-size: .74rem; }

    /* Dokunma hedefleri parmak için yeterli olsun */
    .site-nav a { padding-block: .85rem; }
    .faq summary { padding-block: .55rem; }
    .loc-card { padding: .95rem 1.1rem; }

    /* Uzun içerik metni mobilde daha rahat okunsun */
    .loc-intro p { font-size: 1rem; }
    .loc-block p, .loc-liste { font-size: .97rem; }
}

/* Çok dar ekranlar: seçici tamamen menüye bırakılır */
@media (max-width: 380px) {
    .header-aud { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
/* --- "Nasıl Çalışır?" izometrik sahneler ----------------------------
   Dört sahne aynı izometrik ızgarada. Her hacimde üç yüz: üst (en açık),
   sağ (orta), sol (koyu) — ışık üstten-sağdan. Renk yalnızca üst yüzde
   kimlik taşır; yan yüzler aynı tonun koyulaştırılmış hâlidir.
   Animasyonlar yalnızca transform/opacity kullanır. */
.adim-gorsel {
    background: linear-gradient(168deg, var(--eco) 0%, #fff 70%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .35rem;
    margin-bottom: 1.15rem;
    overflow: hidden;
}
.adim-gorsel svg { display: block; width: 100%; height: auto; }

/* -- İzometrik yüzler: ortak gövde dili -- */
.ag-yuz-ust { fill: #d8e6dd; }
.ag-yuz-sag { fill: #b9cdc2; }
.ag-yuz-sol { fill: #9db5a8; }
.ag-zemin   { fill: var(--ink); opacity: .06; }
.ag-golge   { fill: var(--ink); opacity: .12; }

/* Seçili/vurgulu hacim markanın yeşiline döner */
.ag-yuz-vurgu { fill: var(--brand); }
.ag-secilen .ag-yuz-sag { fill: #128a3f; }
.ag-secilen .ag-yuz-sol { fill: #0d6e31; }

/* Hurda cinsi şeritleri (paletin yan yüzünde) */
.ag-serit      { stroke: none; }
.ag-bakir      { fill: #c1743a; }
.ag-demir      { fill: #6f8089; }
.ag-aluminyum  { fill: #97a8af; }

/* Metal yığın (2. sahne) */
.ag-metal-ust { fill: #8fa4ad; }
.ag-metal-sag { fill: #74888f; }
.ag-metal-sol { fill: #5d6f75; }

/* Telefon ve fotoğraf kartı */
.ag-telefon-ust { fill: #cbdcd2; }
.ag-ekran       { fill: var(--accent); opacity: .9; }
.ag-foto-kart    { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.ag-foto-icerik  { fill: var(--brand); opacity: .55; }
.ag-foto-nokta   { fill: var(--warm); }
.ag-ok { fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Harita plakası */
.ag-harita-ust { fill: #e4eee8; }
.ag-izgara path { fill: none; stroke: #fff; stroke-width: 1.6; opacity: .75; }
.ag-dalga { fill: none; stroke: var(--brand); stroke-width: 2.5; opacity: 0; }
.ag-pin    { fill: var(--brand); }
.ag-pin-ic { fill: #fff; }

/* Teklif sütunları */
.ag-kazanan-ust { fill: var(--warm); }
.ag-kazanan-sag { fill: #cc7614; }
.ag-kazanan-sol { fill: #a85e0f; }

/* Onay rozetleri */
.ag-rozet       { fill: var(--warm); }
.ag-rozet-yesil { fill: var(--brand); }
.ag-tik { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Animasyonlar =====
   Süreler bilerek farklı: dört kart aynı anda hareket etmesin. */

/* 1 · Seçilen palet yığından ayrılıp süzülüyor */
.ag-secilen { animation: ag-suzul 4.5s ease-in-out infinite; }
@keyframes ag-suzul {
    0%, 100% { transform: translateY(6px); }
    50%      { transform: translateY(-4px); }
}
.ag-onay { animation: ag-onay 4.5s cubic-bezier(.34,1.56,.64,1) infinite; transform-origin: 146px 42px; }
@keyframes ag-onay {
    0%, 10%   { opacity: 0; transform: scale(.4); }
    24%, 90%  { opacity: 1; transform: scale(1); }
    100%      { opacity: 0; transform: scale(.4); }
}

/* 2 · Fotoğraf kartı telefondan yükselip yükleniyor */
/* Kart hiç kaybolmaz — yalnızca "yükleniyor" hissi verecek kadar süzülür,
   böylece sahne döngünün her anında dolu görünür. */
.ag-foto { animation: ag-yukle 3.6s ease-in-out infinite; }
@keyframes ag-yukle {
    0%, 100% { opacity: .82; transform: translateY(8px) scale(.97); }
    45%      { opacity: 1;   transform: translateY(-4px) scale(1); }
}
.ag-ok { animation: ag-ok 3.6s ease-in-out infinite; }
@keyframes ag-ok {
    0%, 100% { opacity: .35; transform: translateY(6px); }
    45%      { opacity: 1;   transform: translateY(-4px); }
}
.ag-hurda { animation: ag-hurda 3.6s ease-in-out infinite; transform-origin: 158px 110px; }
@keyframes ag-hurda {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}

/* 3 · Konum sinyali üç halka hâlinde yayılıyor */
.ag-dalga { transform-origin: 100px 80px; }
.ag-dalga-1 { animation: ag-dalga 3s ease-out infinite; }
.ag-dalga-2 { animation: ag-dalga 3s ease-out infinite 1s; }
.ag-dalga-3 { animation: ag-dalga 3s ease-out infinite 2s; }
@keyframes ag-dalga {
    0%   { opacity: .6; transform: scale(.2); }
    70%  { opacity: .15; }
    100% { opacity: 0;  transform: scale(1); }
}
.ag-pin-grup { animation: ag-pin 3s ease-in-out infinite; transform-origin: 100px 80px; }
@keyframes ag-pin {
    0%, 100% { transform: translateY(0); }
    45%      { transform: translateY(-6px); }
}

/* 4 · Sütunlar sırayla yükseliyor, kazanan rozetleniyor */
.ag-sutun-1 { animation: ag-yuksel 4.8s ease-out infinite;      transform-origin: 54px 121px; }
.ag-sutun-3 { animation: ag-yuksel 4.8s ease-out infinite .2s;  transform-origin: 146px 121px; }
.ag-sutun-2 { animation: ag-yuksel 4.8s ease-out infinite .45s; transform-origin: 100px 129px; }
@keyframes ag-yuksel {
    0%       { transform: scaleY(.55); }
    16%, 92% { transform: scaleY(1); }
    100%     { transform: scaleY(.55); }
}
.ag-sahne-4 .ag-onay { animation-duration: 4.8s; transform-origin: 100px 34px; }

@media (prefers-reduced-motion: reduce) {
    .ag-secilen, .ag-onay, .ag-foto, .ag-ok, .ag-hurda,
    .ag-dalga-1, .ag-dalga-2, .ag-dalga-3, .ag-pin-grup,
    .ag-sutun-1, .ag-sutun-2, .ag-sutun-3 { animation: none; }
    /* Hareket kapalıyken sahneler bitmiş hâlde dursun */
    .ag-secilen { transform: translateY(-2px); }
    .ag-onay, .ag-foto, .ag-ok { opacity: 1; transform: none; }
    .ag-dalga-2 { opacity: .25; transform: scale(.6); }
}

/* --- Site geneli bildirim kutusu ------------------------------------
   Her sayfada aynı yerde, aynı dilde. Metin genel tutulur: sistem
   ayrıntısı (dosya yolu, tablo adı, SQL, HTTP kodu) buraya asla düşmez. */
.alert {
    padding: .8rem 1rem; border-radius: 8px; margin-bottom: 1.25rem;
    font-size: .92rem; line-height: 1.5;
}
.alert-success { background: #dcfce7; color: #15803d; }
.alert-error   { background: #fee2e2; color: #b91c1c; }
.alert-info    { background: #e0f2fe; color: #075985; }

/* --- Başlıktaki oturum butonları ------------------------------------
   Çıkış POST + CSRF ile yapılıyor, o yüzden bir <form>. Formun kendisi
   düzeni bozmasın diye flex öğesi gibi davranır. */
.header-cta .oturum-cikis,
.nav-cta .oturum-cikis { margin: 0; display: flex; }
/* Menüdeki iki buton eşit genişlikte olsun. flex-basis 0 ile eşitlenmiyor
   (biri 180px, diğeri 146px kalıyordu); yüzde temel doğru bölüyor. */
/* Not: medya sorgusundaki `.nav-cta .btn { flex: 1 }` kuralı `.nav-cta > *`
   kuralını yenip butonları 96px/229px'e bölüyordu. Aynı özgüllükle ve
   dosyada daha sonra tanımlanarak ikisi de aynı temele oturtuluyor. */
.nav-cta .btn,
.nav-cta .oturum-cikis { flex: 1 1 50%; }
.nav-cta .oturum-cikis .btn { width: 100%; }
