/* =========================================================
   FirmaBul — Konsept 4: Kurumsal B2B
   IBM Plex Sans · premium-minimal · kurumsal mavi
   İçindekiler:
   01 Design Tokens
   02 Reset & Base
   03 Typography
   04 Layout (container / section)
   05 Buttons
   06 Header & Navigation
   07 Mobile Nav
   08 Hero & Search
   09 Trust Strip
   10 Sector / City Grids & Chips
   11 Firm Cards / Compare / Badges
   12 Stat Table (responsive)
   13 Steps / CTA Panel / Reviews
   14 Accordion / Footer / Newsletter
   15 Modal / Toast / Scroll-top
   16 Accessibility & Responsive
   ========================================================= */

/* ============ 01 DESIGN TOKENS ============ */
:root {
  /* Renk — nötr + kurumsal mavi */
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --surface: #FFFFFF;
  --surface-2: #F1F4F8;
  --line: #E6E9EF;
  --line-strong: #D3D9E3;

  --navy: #12356E;
  --blue: #1B4DB1;
  --blue-strong: #12356E;
  --blue-soft: #EAF0FB;
  --teal: #0F766E;
  --teal-soft: #E4F2F0;

  --success: #15803D;
  --danger: #B91C1C;

  /* Radius — kurumsal, keskin (Konsept 4: 6px) */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Gölge — çok hafif */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .06);

  /* Ölçüler */
  --container: 1280px;
  --container-pad: clamp(16px, 5vw, 40px);
  --section-pad: clamp(56px, 6vw, 104px);
  --header-h: 64px;

  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ============ 02 RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-strong); }

button { font-family: inherit; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* Kırık görsel için nötr zemin */
.is-broken { background: var(--surface-2); object-fit: cover; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  z-index: 1200; padding: 10px 16px;
  background: var(--navy); color: #fff; border-radius: var(--radius-md);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ============ 03 TYPOGRAPHY ============ */
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; }

.hero__title {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section__title {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}
.eyebrow--on-dark { color: #9FC0FF; }

/* ============ 04 LAYOUT ============ */
.container-fb {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--surface-2); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 760px;
}
.section__desc { color: var(--muted); margin: 0; font-size: 1.02rem; }

.section__cta { margin-top: clamp(28px, 4vw, 44px); }

/* ============ 05 BUTTONS ============ */
.btn-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn-fb--sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn-fb--block { width: 100%; }

.btn-fb--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-fb--primary:hover { background: var(--blue-strong); border-color: var(--blue-strong); color: #fff; }

.btn-fb--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-fb--secondary:hover { background: var(--surface-2); color: var(--ink); border-color: var(--muted); }

.btn-fb--ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}
.btn-fb--ghost:hover { color: var(--blue); background: var(--blue-soft); }

.btn-fb--on-dark {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-fb--on-dark:hover { background: var(--blue-soft); color: var(--navy); }

.btn-fb--ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-fb--ghost-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ============ 06 HEADER & NAVIGATION ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.utility-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}
.utility-bar__left, .utility-bar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility-bar__item { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar__item i { color: #9FC0FF; }
.utility-bar__item--dim { color: rgba(255, 255, 255, .6); }
.utility-bar__item--dim i { color: rgba(255, 255, 255, .55); }
.utility-bar__link {
  color: rgba(255, 255, 255, .9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  transition: color .18s var(--ease);
}
.utility-bar__link:hover { color: #fff; }
/* Utility bar içi buton — bağlantı gibi görünsün (sayfa zıplamasın) */
.utility-bar__link--cta {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
}
.utility-bar__link--cta:hover { color: #9FC0FF; }
.utility-bar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .2);
}

.navbar-main__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
}
.brand__text { font-size: 1.2rem; letter-spacing: -0.01em; }
.brand__accent { color: var(--blue); }

.primary-nav { margin-left: 8px; }
.primary-nav__list { display: flex; align-items: center; gap: 4px; }
.primary-nav__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-sm);
}
.primary-nav__link:hover { color: var(--blue); background: var(--surface-2); }

.navbar-main__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Mobilde hamburgerin solunda denge veren kompakt aksiyon — masaüstünde gizli */
.nav-cta-mobile { display: none; min-height: 44px; padding: 0 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}
.nav-toggle__bar {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 07 MOBILE NAV ============ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.nav-overlay.is-open { opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  z-index: 1100;
  width: min(84vw, 340px);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .24s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius-md); color: var(--ink); font-size: 1.05rem;
}
.mobile-nav__body { padding: 8px 12px; flex: 1; overflow-y: auto; }
.mobile-nav__link {
  display: block;
  padding: 14px 12px;
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__link:last-child { border-bottom: 0; }
.mobile-nav__link:hover { background: var(--surface-2); color: var(--blue); }
.mobile-nav__foot {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

/* ============ 08 HERO & SEARCH ============ */
.hero {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 76px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.hero__lead {
  color: var(--ink-2);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 16px 0 0;
}

/* Arama paneli */
.search-panel {
  margin-top: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 16px;
}
.search-panel__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr auto;
  gap: 12px;
  align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.search-field__label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-2);
}
.search-field__control {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-size: .95rem;
  font-family: inherit;
}
select.search-field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748B'%3E%3Cpath d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 34px;
}
.search-field__control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.search-field__combo { position: relative; }
.search-field__combo .search-field__control { padding-right: 40px; }
.search-field__clear {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--muted);
  border-radius: 50%;
}
.search-field__clear:hover { background: var(--surface-2); color: var(--ink); }

.search-field--submit .search-submit { width: 100%; min-height: 46px; }

/* Öneri paneli */
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 60;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
}
.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  cursor: pointer;
  font-size: .95rem;
}
.search-suggest__item i { color: var(--muted); }
.search-suggest__item:hover,
.search-suggest__item.is-active {
  background: var(--blue-soft);
  color: var(--blue-strong);
}
.search-suggest__item mark {
  background: transparent;
  color: var(--blue);
  font-weight: 600;
}
.search-suggest__empty { padding: 12px; color: var(--muted); font-size: .9rem; }

/* Arama meta */
.search-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.search-meta__group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-meta__label { font-size: .82rem; color: var(--muted); font-weight: 600; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 34px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.chip__remove {
  border: 0; background: transparent; color: var(--muted);
  display: inline-flex; padding: 0; font-size: .9rem;
}
.chip__remove:hover { color: var(--danger); }

/* Hero istatistikleri */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.stat-card__value {
  display: block;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-card__label { font-size: .9rem; color: var(--muted); }
.stat-card--note {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--blue-soft);
  border-color: transparent;
  color: var(--ink-2);
  font-size: .9rem;
}
.stat-card--note i { color: var(--blue); font-size: 1.1rem; margin-top: 1px; }

/* ============ 09 TRUST STRIP ============ */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 3vw, 40px);
}
.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-strip__item > i {
  color: var(--blue);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.trust-strip__title { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; }
.trust-strip__desc { display: block; color: var(--muted); font-size: .88rem; }

/* ============ 10 SECTOR / CITY GRIDS & CHIPS ============ */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sector-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.sector-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--ink); }
.sector-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--surface-2);
  color: var(--blue);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sector-card:hover .sector-card__icon { background: var(--blue-soft); }
.sector-card__name { font-weight: 600; display: block; }
.sector-card__count { font-size: .85rem; color: var(--muted); display: block; }

/* Şehir ızgarası */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: border-color .18s var(--ease);
}
.city-card:hover { border-color: var(--blue); color: var(--ink); }
.city-card__name { font-weight: 600; }
.city-card__count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

.district-chips {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.district-chips__label { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ============ 11 FIRM CARDS / COMPARE / BADGES ============ */
.firm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.firm-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.firm-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.firm-card__head { display: flex; align-items: flex-start; gap: 12px; }
.firm-card__id { min-width: 0; flex: 1; }
.firm-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.firm-logo--sm { width: 40px; height: 40px; font-size: .9rem; }
.firm-card__name {
  font-size: 1.05rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.firm-card__meta { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }

.fav-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.fav-btn:hover { color: var(--blue); border-color: var(--blue); }
.fav-btn[aria-pressed="true"] { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.fav-btn[aria-pressed="true"] .bi-bookmark::before { content: "\f27c"; } /* bookmark-fill */

.firm-card__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-fb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
}
.badge-fb--verified { background: var(--blue-soft); color: var(--blue-strong); }
.badge-fb--verified i { color: var(--blue); }
.badge-fb--cert { background: var(--teal-soft); color: var(--teal); }

.firm-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.firm-fact dt { font-size: .78rem; color: var(--muted); }
.firm-fact dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); font-size: .95rem; }

.firm-card__actions { display: flex; gap: 8px; margin-top: auto; }
.firm-card__actions .btn-fb { flex: 1; }

/* Karşılaştırma şeridi */
.compare-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-card__head { display: flex; align-items: center; gap: 12px; }
.compare-card__name { font-size: 1rem; line-height: 1.3; }
.compare-card__meta { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.compare-card__rows { margin: 0; display: flex; flex-direction: column; }
.compare-card__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.compare-card__rows dt { font-size: .85rem; color: var(--muted); margin: 0; }
.compare-card__rows dd { margin: 0; font-weight: 600; color: var(--ink); font-size: .9rem; text-align: right; }

/* ============ 12 STAT TABLE ============ */
.stat-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.stat-table__head,
.stat-table__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
}
.stat-table__head {
  background: var(--surface-2);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
}
.stat-table__row { border-bottom: 1px solid var(--line); }
.stat-table__row:last-child { border-bottom: 0; }
.stat-table__cell { color: var(--ink-2); font-size: .95rem; }
.stat-table__cell:first-child { font-weight: 600; color: var(--ink); }
.stat-table__cell[data-label]::before { content: none; }

/* ============ 13 STEPS / CTA PANEL / REVIEWS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 14px;
}
.step__title { margin-bottom: 6px; }
.step__desc { margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA paneli */
.cta-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-panel__title { color: #fff; margin-bottom: 8px; }
.cta-panel__desc { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Yorumlar */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-card__quote {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
}
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-strong);
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
}
.review-card__meta { display: flex; flex-direction: column; }
.review-card__name { font-weight: 600; color: var(--ink); }
.review-card__place { font-size: .85rem; color: var(--muted); }

/* ============ 14 ACCORDION / FOOTER / NEWSLETTER ============ */
.accordion-fb {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  max-width: 820px;
}
.accordion-fb__item { border-bottom: 1px solid var(--line); }
.accordion-fb__item:last-child { border-bottom: 0; }
.accordion-fb__heading { margin: 0; }
.accordion-fb__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.accordion-fb__trigger:hover { color: var(--blue); }
.accordion-fb__icon { color: var(--muted); transition: transform .2s var(--ease); flex-shrink: 0; }
.accordion-fb__trigger[aria-expanded="true"] .accordion-fb__icon { transform: rotate(180deg); color: var(--blue); }
.accordion-fb__panel { padding: 0 20px 18px; }
.accordion-fb__panel p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(48px, 5vw, 72px) 24px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.brand--footer .brand__text { color: #fff; }
.site-footer__about { margin: 16px 0; font-size: .92rem; line-height: 1.6; max-width: 300px; }
.site-footer__social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
}
.social-link:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }

.site-footer__title { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: rgba(255, 255, 255, .72); font-size: .92rem; }
.site-footer__links a:hover { color: #fff; }

.site-footer__news-desc { font-size: .9rem; margin: 0 0 14px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
}
.newsletter__input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter__input:focus {
  outline: none;
  border-color: #9FC0FF;
  box-shadow: 0 0 0 3px rgba(27, 77, 177, .35);
}
.newsletter__btn { flex-shrink: 0; }
.newsletter__msg { font-size: .85rem; margin: 10px 0 0; min-height: 1em; }
.newsletter__msg.is-error { color: #FCA5A5; }
.newsletter__msg.is-success { color: #86EFAC; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.site-footer__copy { margin: 0; font-size: .85rem; }
.site-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__legal a { color: rgba(255, 255, 255, .72); font-size: .85rem; }
.site-footer__legal a:hover { color: #fff; }

/* ============ 15 MODAL / TOAST / SCROLL-TOP ============ */
.modal-fb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
/* hidden attribute'u display:flex'i geçmeli — modal açılana kadar kapalı kalsın */
.modal-fb[hidden] { display: none; }
/* Genel güvence: hidden attribute display kurallarını her zaman geçmeli
   (boş alanda temizle butonu, öneri paneli, kapalı modal vb.) */
[hidden] { display: none !important; }
.modal-fb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}
.modal-fb__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.modal-fb__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.modal-fb__title { font-size: 1.2rem; }
.modal-fb__close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--radius-md); color: var(--ink);
}
.modal-fb__close:hover { background: var(--surface-2); }

.modal-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modal-form__field { display: flex; flex-direction: column; gap: 6px; }
.modal-form__field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.modal-form__field input,
.modal-form__field select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
}
.modal-form__field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748B'%3E%3Cpath d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 34px; }
.modal-form__field input:focus,
.modal-form__field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.modal-form__field.is-invalid input,
.modal-form__field.is-invalid select { border-color: var(--danger); }
.modal-form__error { font-size: .82rem; color: var(--danger); min-height: 1em; }
.modal-form__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }

/* Toast */
.toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(92vw, 380px);
  padding-bottom: env(safe-area-inset-bottom);
}
.toast-fb {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: .92rem;
  line-height: 1.4;
}
.toast-fb i { flex-shrink: 0; font-size: 1.1rem; margin-top: 1px; }
.toast-fb--success i { color: #86EFAC; }
.toast-fb--info i { color: #9FC0FF; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1150;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  margin-bottom: env(safe-area-inset-bottom);
}
.scroll-top:hover { background: var(--blue-strong); }

/* ============ 16 ACCESSIBILITY & RESPONSIVE ============ */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.utility-bar :focus-visible,
.cta-panel :focus-visible,
.site-footer :focus-visible { outline-color: #9FC0FF; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Laptop (1024–1439) --- */
@media (max-width: 1200px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .site-footer__col--news { grid-column: 1 / -1; }
}

/* --- Utility üst bar yalnızca tablet-geniş/masaüstü; mobilde sade kalsın --- */
@media (max-width: 768px) {
  .utility-bar { display: none; }
}

/* --- Tablet (601–1023) --- */
@media (max-width: 1023px) {
  .primary-nav,
  .navbar-main__signin,
  .navbar-main__profile { display: none; }
  .nav-toggle { display: flex; }

  .hero__grid { grid-template-columns: 1fr; }
  .search-panel__row { grid-template-columns: 1fr 1fr; }
  .search-field--keyword { grid-column: 1 / -1; }
  .search-field--submit { grid-column: 1 / -1; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); max-width: 560px; }

  .trust-strip__list { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }

  .sector-grid,
  .city-grid,
  .firm-grid,
  .compare-strip,
  .steps { grid-template-columns: repeat(2, 1fr); }

  .review-grid { grid-template-columns: repeat(2, 1fr); }

  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* --- Mobil (≤600) — AŞIRI SADE, İKİLİ BLOKLAR --- */
@media (max-width: 600px) {
  body { font-size: 15.5px; }

  /* Mobil başlık dengesi: logo solda, aksiyonlar sağda */
  .navbar-main__inner { gap: 12px; min-height: 60px; }
  .navbar-main__actions { gap: 8px; }
  /* Büyük "Teklif Al" yerine hamburgerin soluna kompakt "İşletme Ekle" pill'i */
  .navbar-main__actions .btn-fb--primary:not(.nav-cta-mobile) { display: none; }
  .nav-cta-mobile { display: inline-flex; }

  .hero__lead { font-size: 1rem; }
  .search-panel { padding: 14px; }
  .search-panel__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .search-field--keyword,
  .search-field--submit { grid-column: 1 / -1; }
  .search-meta { flex-direction: column; align-items: flex-start; gap: 14px; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  .trust-strip__list { grid-template-columns: repeat(2, 1fr); }

  /* 2'li bloklar */
  .sector-grid,
  .city-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sector-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .city-card { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* İşletme kartları tek sütun, kompakt */
  .firm-grid,
  .compare-strip,
  .steps,
  .review-grid { grid-template-columns: 1fr; }

  .firm-card { padding: 16px; }
  .firm-card__facts { grid-template-columns: 1fr 1fr; }

  /* Stat tablo -> kart (mobilde gerçek tablo yok, zaten div) */
  .stat-table { border: 0; background: transparent; display: flex; flex-direction: column; gap: 12px; }
  .stat-table__head { display: none; }
  .stat-table__row {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
  }
  .stat-table__row .stat-table__cell:first-child {
    font-size: 1.05rem;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
  .stat-table__cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
  }
  .stat-table__cell[data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: .85rem;
    font-weight: 500;
  }

  .cta-panel { text-align: left; }
  .cta-panel__actions { width: 100%; }
  .cta-panel__actions .btn-fb { flex: 1; }

  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .site-footer__col--news { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .newsletter__row { flex-direction: column; }
  .newsletter__btn { width: 100%; }
}

/* --- Küçük mobil (≤380) — taşma önleme --- */
@media (max-width: 380px) {
  .brand__text { font-size: 1.08rem; }
  .firm-card__actions { flex-direction: column; }
  .firm-card__actions .btn-fb { width: 100%; }

  /* Taşmayı önlemek için kompakt CTA yalnızca ikon (≥44px hedef korunur) */
  .nav-cta-mobile { width: 44px; padding: 0; }
  .nav-cta-mobile__label { display: none; }
}

/* --- Geniş masaüstü (≥1440) --- */
@media (min-width: 1440px) {
  .hero__grid { grid-template-columns: 1.7fr 1fr; }
}

/* =========================================================
   17 LİSTELEME SAYFASI (breadcrumb / başlık / filtre / sayfalama)
   firmalar.html — mevcut token & sınıflar yeniden kullanılır
   ========================================================= */

/* Breadcrumb */
.breadcrumb { padding-block: 16px 0; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; }
.breadcrumb__item { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumb__item a { color: var(--muted); }
.breadcrumb__item a:hover { color: var(--blue); }
.breadcrumb__item[aria-current="page"] { color: var(--ink-2); font-weight: 600; }
.breadcrumb__sep { color: var(--line-strong); }

/* Liste başlığı */
.list-head { padding-block: clamp(16px, 2.5vw, 28px) 0; }
.list-head__title {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.list-head__count { display: block; font-size: 1rem; font-weight: 600; color: var(--blue); margin-top: 6px; letter-spacing: 0; }
.list-head__desc { color: var(--muted); margin: 12px 0 0; max-width: 640px; font-size: 1.02rem; }

/* Liste bölümü (üstteki büyük boşluğu kırp) */
.list-section { padding-block: clamp(24px, 3vw, 40px) var(--section-pad); }

/* Mobil filtre aç/kapa (masaüstünde gizli) */
.list-filter-toggle { display: none; width: 100%; justify-content: space-between; margin-bottom: 16px; }
.list-filter-toggle[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.list-filter-toggle .bi-chevron-down { transition: transform .2s var(--ease); }

/* Filtre paneli */
.list-filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.list-filters__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter-field__label { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.filter-field__control {
  width: 100%;
  min-height: 46px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-size: .95rem;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748B'%3E%3Cpath d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}
.filter-field__control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

.list-filters__chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.list-filters__chips-label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.filter-chip {
  min-height: 40px;
  padding: 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-strong); }

.list-filters__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Sonuç bilgisi satırı */
.list-results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .9rem;
}
.list-results-info strong { color: var(--ink); font-weight: 600; }

/* Kart içi puan + durum sinyalleri */
.firm-card__signals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.firm-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--ink);
  font-size: .9rem;
}
.firm-rating i { color: #E8A93A; font-size: .85rem; }
.firm-rating__count { color: var(--muted); font-weight: 400; }
.firm-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; }
.firm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.firm-status--open { color: var(--success); }
.firm-status--closed { color: var(--danger); }

/* Sponsorlu rozeti */
.badge-fb--sponsor { background: #FEF3E2; color: #B45309; }

/* Sayfalama */
.pagination { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }
.pagination__list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pagination__link {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-2);
  font-weight: 600;
  font-size: .9rem;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.pagination__link:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.pagination__link[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination__link.is-disabled { opacity: .45; pointer-events: none; }
.pagination__ellipsis {
  min-width: 32px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* Liste sayfası responsive */
@media (max-width: 1023px) {
  .list-filters__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .list-filter-toggle { display: inline-flex; }
  .list-filters { display: none; }
  .list-filters.is-open { display: block; }
  .list-filters__row { grid-template-columns: 1fr; }
  .list-filters__actions { flex-direction: column; }
  .list-filters__actions .btn-fb { width: 100%; }
  .pagination__link { min-width: 40px; min-height: 44px; padding: 0 8px; font-size: .88rem; }
}

/* =========================================================
   18 FİRMA DETAY SAYFASI (firma-detay.html)
   Mevcut token & sınıflar yeniden kullanılır; guard'lı ekleme.
   ========================================================= */

/* İşletme başlığı */
.detail-head { padding-block: clamp(16px, 2.5vw, 28px) clamp(20px, 3vw, 32px); }
.detail-head__id { display: flex; align-items: flex-start; gap: 16px; }
.detail-head__logo { width: 56px; height: 56px; font-size: 1.15rem; }
.detail-head__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.detail-title {
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
}
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}
.detail-meta .firm-rating { font-size: .95rem; }
.detail-meta .firm-rating strong { font-weight: 700; }
.detail-address {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.detail-address i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }

/* Yerleşim: içerik + sticky yan kart */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.detail-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

/* Foto galeri */
.gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.gallery__thumb {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  transition: border-color .18s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--line-strong); }
.gallery__thumb.is-active { border-color: var(--blue); }

/* Bölüm başlıkları */
.detail-section__title {
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.detail-about p { margin: 0 0 12px; color: var(--ink-2); font-size: 1.02rem; }
.detail-about p:last-child { margin-bottom: 0; }

/* Kurumsal künye */
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.detail-fact { background: var(--surface); padding: 16px 18px; }
.detail-fact dt { font-size: .78rem; color: var(--muted); }
.detail-fact dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; }

/* Hizmet etiketleri */
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 500;
}

/* Çalışma saatleri */
.hours-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  max-width: 560px;
}
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row__day { color: var(--ink-2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.hours-row__time { color: var(--ink); font-weight: 600; }
.hours-row--closed .hours-row__time { color: var(--muted); font-weight: 500; }
.hours-row.is-today {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}
.hours-row.is-today .hours-row__day,
.hours-row.is-today .hours-row__time { color: var(--blue-strong); font-weight: 700; }
.hours-row__today {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
}
.hours-row__badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--success);
  margin-right: 6px;
}

/* Kurumsal değerlendirmeler */
.detail-reviews__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-reviews__head .detail-section__title { margin-bottom: 8px; }
.detail-reviews__summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.detail-reviews__summary .firm-rating { font-size: 1rem; }
.detail-reviews__summary .firm-rating strong { font-size: 1.15rem; }
.detail-reviews__count { color: var(--muted); font-size: .88rem; }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.detail-review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.detail-review__head { display: flex; align-items: center; gap: 12px; }
.detail-review__avatar {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-strong);
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.detail-review__id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.detail-review__name { font-weight: 600; color: var(--ink); }
.detail-review__role { font-size: .82rem; color: var(--muted); }
.detail-review__date { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.detail-review__stars { display: inline-flex; gap: 2px; margin: 12px 0 8px; color: #E8A93A; font-size: .85rem; }
.detail-review__text { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }

/* Yan aksiyon kartı */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card__lead { display: flex; flex-direction: column; gap: 6px; }
.contact-card__firm { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.contact-card__note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--blue-strong);
}
.contact-card__note i { color: var(--blue); }
.contact-card__cta { display: flex; flex-direction: column; gap: 10px; }
.contact-card__maps { margin-top: 0; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  font-size: .92rem;
  color: var(--ink-2);
}
.contact-item > i { color: var(--blue); font-size: 1.05rem; flex-shrink: 0; width: 20px; text-align: center; }
.contact-item a { color: var(--ink-2); }
.contact-item a:hover { color: var(--blue); }
.contact-item--address { align-items: flex-start; }
.contact-item--address i { margin-top: 2px; }

.contact-card__foot { display: flex; gap: 10px; }
.contact-card__fav {
  width: auto;
  height: 44px;
  flex: 1;
  gap: 8px;
  padding: 0 12px;
  font-weight: 600;
  font-size: .9rem;
}
.contact-card__fav[aria-pressed="true"] .contact-card__fav-label::after { content: "li"; }
.contact-card__share { flex: 1; }

/* Benzer firmalar */
.detail-similar { padding-block: clamp(40px, 5vw, 72px) 0; }

/* ---- Detay responsive ---- */
@media (min-width: 1024px) {
  .contact-card { position: sticky; top: calc(var(--header-h) + 20px); }
}
@media (max-width: 1023px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .detail-head__logo { width: 48px; height: 48px; }
  .gallery__main { aspect-ratio: 4 / 3; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .detail-review__head { flex-wrap: wrap; }
  .detail-review__date { width: 100%; padding-left: 56px; }
}
@media (max-width: 380px) {
  .detail-facts { grid-template-columns: 1fr; }
  .gallery__thumbs { gap: 8px; }
  .contact-card__foot { flex-direction: column; }
}

/* =========================================================
   19 SABİT SAYFALAR (hakkımızda / iletişim / yasal metinler)
   Mevcut token & sınıflar yeniden kullanılır; guard'lı ekleme.
   ========================================================= */

/* --- Sayfa başlık bandı --- */
.page-hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  padding-block: 6px clamp(28px, 4vw, 52px);
  max-width: 820px;
}
.page-hero__title {
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.page-hero__lead {
  color: var(--ink-2);
  font-size: 1.06rem;
  margin: 14px 0 0;
  max-width: 68ch;
}

/* --- Sabit sayfa bölümü --- */
.page-section { padding-block: clamp(36px, 5vw, 64px); }
.page-section + .page-section { padding-top: 0; }
.page-section--alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.page-section__head { max-width: 760px; margin-bottom: clamp(20px, 3vw, 32px); }
.page-section__title {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
}
.page-section__desc { color: var(--muted); margin: 12px 0 0; font-size: 1.02rem; }

/* --- Uzun metin okunurluğu --- */
.prose { max-width: 72ch; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 36px;
  color: var(--ink);
}
.prose h3 { font-size: 1.1rem; margin-top: 24px; color: var(--ink); }
.prose p { margin: 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--blue-strong); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { padding-left: 4px; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 4px 0 0; }
.page-updated {
  display: inline-block;
  font-size: .9rem;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* --- Değer kartları (hakkımızda) --- */
.value-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  min-width: 0;
}
.value-card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-strong);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.value-card__title { font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.value-card__desc { margin: 0; font-size: .95rem; color: var(--muted); }

/* --- Güven istatistikleri (hakkımızda; [data-counter] ile) --- */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  min-width: 0;
}
.about-stat__value {
  display: block;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-strong);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about-stat__label { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }

/* --- İletişim: 2 sütun (form + bilgi) --- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 32px);
  min-width: 0;
}
.contact-form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.contact-form__field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Form alanları (tema genelinde ilk kez burada tanımlanıyor) */
.form-control-custom {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
}
textarea.form-control-custom { min-height: 140px; resize: vertical; padding: 12px; line-height: 1.5; }
.form-control-custom::placeholder { color: var(--muted); }
.form-control-custom:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.form-control-custom.is-invalid { border-color: var(--danger); }
.field-error { font-size: .82rem; color: var(--danger); margin: 6px 0 0; }

/* Başarı mesajı (yumuşak success zemin/kenar) */
.form-status {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #E9F6EE;
  border: 1px solid #BBE3C9;
  color: var(--success);
  font-size: .92rem;
  font-weight: 500;
}

/* Gönder butonu yükleniyor durumu (app.js ekler) */
.btn-fb.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-fb.is-loading::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  top: calc(50% - 8px); left: calc(50% - 8px);
  border: 2px solid rgba(255, 255, 255, .55);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fb-spin .6s linear infinite;
}
@keyframes fb-spin { to { transform: rotate(360deg); } }

/* İletişim toast (app.js .toast/.toast-success üretir — tema .toast-fb kullanır) */
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: .92rem;
  line-height: 1.4;
}
.toast i { flex-shrink: 0; font-size: 1.1rem; margin-top: 1px; }
.toast-success i { color: #86EFAC; }
.toast .toast-text { min-width: 0; }

/* İletişim bilgileri sütunu */
.contact-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  min-width: 0;
}
.contact-info-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-strong);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
}
.contact-info-item__body { min-width: 0; }
.contact-info-item__label {
  display: block;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contact-info-item__value { display: block; margin-top: 4px; color: var(--ink); font-weight: 500; font-size: .98rem; overflow-wrap: anywhere; }
.contact-info-item__value a { color: var(--ink); }
.contact-info-item__value a:hover { color: var(--blue); }

/* --- Çerez türü kartları / yasal madde listesi --- */
.cookie-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cookie-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  min-width: 0;
}
.cookie-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  margin-bottom: 12px;
}
.cookie-card__tag--req { background: var(--teal-soft); color: var(--teal); }
.cookie-card__tag--analytics { background: #FEF3E2; color: #B45309; }
.cookie-card__title { font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.cookie-card__desc { margin: 0; font-size: .95rem; color: var(--muted); }
.cookie-card dl { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.cookie-card dt { font-weight: 600; color: var(--ink-2); }
.cookie-card dd { margin: 2px 0 8px; color: var(--muted); }
.cookie-card dd:last-child { margin-bottom: 0; }

.legal-list { display: flex; flex-direction: column; gap: 12px; }
.legal-list__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  min-width: 0;
}
.legal-list__term { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.legal-list__desc { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* --- Sabit sayfa responsive --- */
@media (max-width: 1023px) {
  .value-cards,
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .value-cards,
  .about-stats { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .value-card,
  .about-stat,
  .cookie-card,
  .contact-info-item,
  .legal-list__item { padding-left: 16px; padding-right: 16px; }
}
/* Select'lerde sol ikon yok — metin ("Tüm şehirler") tam sığsın */
.search-select-wrap .search-icon { display: none; }
.search-input:focus, .search-select:focus {
  outline: none; border-color: var(--blue); box-shadow: var(--ring);
}
.search-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: none; background: transparent;
  color: var(--muted); display: inline-flex; align-items: center; justify-content: center;
}
.search-clear:hover { color: var(--ink); }
.search-submit { min-height: 48px; width: 100%; }

/* Öneri paneli */
.search-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 6px; max-height: 300px; overflow-y: auto;
}
.suggestion-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: .92rem; cursor: pointer;
}
.suggestion-item .bi { color: var(--muted); font-size: .9rem; }
.suggestion-item:hover,
.suggestion-item.is-active { background: var(--surface-2); color: var(--navy); }
.suggestion-item mark { background: transparent; color: var(--blue); font-weight: 700; padding: 0; }
.suggestion-empty { padding: 12px; color: var(--muted); font-size: .9rem; text-align: center; }

/* Son / popüler arama satırları */
.search-meta {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; margin-top: 20px;
}

/* Güven satırı */
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 14px; margin: 24px 0 0; font-size: .9rem; color: var(--muted);
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-item .bi { color: var(--blue); }
.trust-sep { color: var(--line); }

/* ============ 10 · KATEGORİ & ŞEHİR IZGARALARI ============ */
.category-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.category-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.category-tile:hover { border-color: #cbd2dd; box-shadow: var(--shadow-sm); color: var(--ink); }
.category-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--navy); font-size: 1.2rem;
}
.category-name { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.category-count { font-size: .82rem; color: var(--muted); }
.category-tile .category-count { display: block; margin-top: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.35; }
.category-link .category-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1rem; padding: .2rem .55rem; border-radius: 999px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.25; }

.city-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.city-tile {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.city-tile:hover { border-color: #cbd2dd; box-shadow: var(--shadow-sm); color: var(--ink); }
.city-name { font-weight: 600; font-size: 1rem; }
.city-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }

/* ============ 11 · İŞLETME KARTLARI ============ */
.business-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.business-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.business-card:hover { box-shadow: var(--shadow-md); border-color: #dbe0e8; }
.business-card.is-hidden { display: none; }

.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media img.is-broken { visibility: hidden; }

.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); font-size: 1rem;
  transition: color .15s ease, transform .15s ease;
}
.fav-btn:hover { color: var(--red); }
.fav-btn[aria-pressed="true"] { color: var(--red); }
.fav-btn[aria-pressed="true"] .bi::before { content: "\f417"; } /* bi-heart-fill */

.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.card-cat {
  font-size: .76rem; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: .04em;
}
.card-title {
  font-size: 1.08rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-loc { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.card-loc .bi { font-size: .9rem; }

.card-rating { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.card-rating .bi-star-fill { color: #E0A106; }
.rating-value { font-weight: 700; color: var(--ink); }
.rating-count { color: var(--muted); }

.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; margin-top: 2px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.card-actions {
  display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px;
}
.card-actions .btn-secondary { flex: 1; }

/* ============ 12 · NASIL ÇALIŞIR · YORUMLAR · CTA ============ */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step {
  padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 1.05rem;
}
.step-title { margin-bottom: 6px; }
.step-text { margin: 0; color: var(--muted); font-size: .95rem; }

.review-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.review-card {
  margin: 0; padding: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 18px;
}
.review-quote {
  margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink-2);
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--navy); font-weight: 700; font-size: .85rem;
}
.review-name { font-weight: 600; color: var(--ink); font-size: .92rem; }
.review-city { font-weight: 400; color: var(--muted); }

.owner-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px);
  background: var(--navy); border-radius: var(--radius-lg); color: #fff;
}
.owner-cta-text { max-width: 560px; }
.cta-title { color: #fff; }
.cta-lead { margin: 10px 0 0; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.owner-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.owner-cta .btn-primary { background: var(--blue); border-color: var(--blue); }
.owner-cta .btn-primary:hover { background: var(--blue-strong); }

/* ============ 13 · SSS ACCORDION ============ */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-heading { margin: 0; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 4px; background: transparent; border: none;
  text-align: left; font-size: 1.02rem; font-weight: 600; color: var(--ink);
}
.accordion-trigger:hover { color: var(--navy); }
.accordion-icon { color: var(--muted); font-size: 1rem; flex: 0 0 auto; transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); color: var(--blue); }
.accordion-panel { padding: 0 4px 20px; }
.accordion-panel p { margin: 0; color: var(--muted); }

/* ============ 14 · FOOTER & BÜLTEN ============ */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid; gap: 32px 40px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  padding-block: clamp(40px, 5vw, 64px);
}
.brand-footer { margin-bottom: 14px; }
.footer-desc { margin: 0 0 18px; color: var(--muted); font-size: .92rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink-2); background: var(--surface);
  transition: color .15s ease, border-color .15s ease;
}
.footer-social a:hover { color: var(--navy); border-color: #cbd2dd; }

.footer-col-title { font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--navy); }

.footer-news-text { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-size: .9rem; font-family: inherit;
}
.newsletter-input:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.newsletter-input.is-invalid { border-color: var(--red); }
.newsletter-btn { flex: 0 0 auto; }
.newsletter-error { margin: 8px 0 0; color: var(--red); font-size: .82rem; }

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding-block: 18px;
}
.footer-copy, .footer-note { margin: 0; font-size: .82rem; color: var(--muted); }

/* ============ 15 · MODAL · TOAST · SCROLL-TOP ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .5);
  opacity: 0; transition: opacity .2s ease;
}
/* hidden iken display:flex'i geç — kapalı modal görünmez şekilde tüm tıklamaları engellemesin */
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open { opacity: 1; }
.modal-dialog {
  width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: translateY(12px); transition: transform .2s ease;
}
.modal-overlay.is-open .modal-dialog { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.modal-title { font-size: 1.25rem; }
.modal-close {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--surface-2); }
.modal-form { padding: 24px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form-control-custom {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-size: .95rem; font-family: inherit;
}
select.form-control-custom { cursor: pointer; }
.form-control-custom:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.form-control-custom.is-invalid { border-color: var(--red); }
.field-error { margin: 6px 0 0; color: var(--red); font-size: .8rem; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

.toast-container {
  position: fixed; z-index: 1300; right: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 40px));
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--navy); color: #fff; box-shadow: var(--shadow-md);
  font-size: .9rem; line-height: 1.45;
  transform: translateY(8px); opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast .bi { flex: 0 0 auto; font-size: 1.05rem; margin-top: 1px; }
.toast-success .bi { color: #86EFAC; }
.toast-info .bi { color: #93C5FD; }
.toast-error { background: var(--red); }

.scroll-top {
  position: fixed; z-index: 900; right: 20px; bottom: 20px;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); font-size: 1.1rem;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ============ 16 · RESPONSIVE & A11Y ============ */

/* Laptop (1024–1439): kategori 4, iş kartı 3 — varsayılan grid uygun. */
@media (max-width: 1200px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.6fr; }
  .footer-news-col { grid-column: 1 / -1; max-width: 420px; }
}

/* Tablet (601–1023) */
@media (max-width: 1023px) {
  :root { --header-h: 62px; }

  .primary-nav { display: none; }
  .btn-nav-ghost { display: none !important; }
  .nav-toggle { display: inline-flex; }

  /* Mobil başlık: logo solda, aksiyon kümesi sağda; hamburger en sağda.
     Denge için kompakt "İşletme Ekle" pill hamburgerin solunda kalır. */
  .header-inner { justify-content: space-between; gap: 12px; }
  .header-actions { gap: 10px; margin-left: auto; }
  .btn-nav-primary { min-height: 44px; }

  .search-bar {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
  }
  .search-field-keyword { grid-column: 1 / -1; }
  .search-submit { grid-column: 1 / -1; }

  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }

  .section-head-row { flex-direction: column; align-items: flex-start; }
}

/* Utility üst bar yalnızca masaüstü/geniş tablette görünür — mobilde sade kalsın */
@media (max-width: 768px) {
  .topbar { display: none; }
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-news-col { grid-column: 1 / -1; }
}

/* Mobil (≤600): 2'li bloklar, tek sütun kart */
@media (max-width: 600px) {
  body { font-size: 15px; }

  .section-head { margin-bottom: 24px; }

  .search-bar {
    grid-template-columns: 1fr 1fr;
    padding: 12px; gap: 10px;
    border-radius: var(--radius-md);
  }
  .search-field-keyword { grid-column: 1 / -1; }
  .search-submit { grid-column: 1 / -1; }
  .search-meta { align-items: stretch; }
  .chip-row { justify-content: flex-start; }

  /* İkili bloklar */
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-tile { padding: 16px; }
  .city-tile { flex-direction: column; align-items: flex-start; gap: 2px; }

  /* İş kartları tek sütun, kompakt */
  .business-grid { grid-template-columns: 1fr; gap: 14px; }
  .review-grid { grid-template-columns: 1fr; }

  .owner-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .owner-cta-actions { width: 100%; }
  .owner-cta-actions .btn { flex: 1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-news-col { grid-column: 1 / -1; }
  .newsletter-row { flex-direction: column; }
  .newsletter-btn { width: 100%; }

  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }

  .toast-container { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .scroll-top { right: 16px; bottom: 16px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.1rem; }
  .card-actions { flex-wrap: wrap; }
  .card-actions .btn-secondary { flex: 1 1 100%; }

  /* 360px'de taşma olmasın: kompakt İşletme Ekle, dokunma hedefi ≥44px korunur */
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .btn-nav-primary { padding: 0 12px; font-size: .85rem; }
}

/* =====================================================================
   17 · FİRMA LİSTELEME SAYFASI (firmalar.html)
   Breadcrumb · Sayfa başlığı · Filtre paneli · Sonuç ızgarası · Sayfalama
   Mevcut token/sınıfları yeniden kullanır (.business-card, .chip, .form-control-custom).
   ===================================================================== */

/* Aktif nav durumu (Firmalar) */
.nav-link.is-active { color: var(--navy); font-weight: 600; background: var(--surface-2); }

/* ---- Breadcrumb + Sayfa başlığı ---- */
.listing-head {
  padding-block: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 32px);
  background: radial-gradient(120% 120% at 50% -40%, #fbfcfe 0%, var(--surface) 60%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { margin-bottom: 16px; }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--muted);
}
.breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "\F285"; /* bi-chevron-right */
  font-family: "bootstrap-icons"; font-size: .7rem; color: var(--line);
  margin-right: 6px;
}
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--navy); }
.breadcrumb-item[aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.12; }
.page-lead { margin: 12px 0 0; max-width: 620px; color: var(--muted); font-size: 1.02rem; }
.page-count { margin: 14px 0 0; font-size: .92rem; color: var(--ink-2); }
.page-count-num { font-weight: 700; color: var(--navy); }

/* ---- Listeleme yerleşimi: sidebar + sonuçlar ---- */
.listing-section { padding-block: clamp(32px, 4vw, 56px); }
.listing-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: clamp(20px, 3vw, 32px); align-items: start;
}

/* Mobil filtre aç/kapa butonu — masaüstünde gizli */
.filter-toggle { display: none; width: 100%; margin-bottom: 16px; }

/* ---- Filtre paneli ---- */
.listing-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.filter-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 18px;
}
.filter-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.filter-title { font-size: 1.05rem; }
.filter-close { display: none; } /* yalnızca mobil drawer'da görünür */

.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label {
  font-size: .8rem; font-weight: 600; color: var(--ink);
  text-transform: uppercase; letter-spacing: .04em;
}
.filter-chips-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips-group .chip { min-height: 38px; }
.js-status-chip[aria-pressed="true"] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.filter-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---- Sonuç araç çubuğu ---- */
.listing-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.listing-results-title { font-size: 1.15rem; color: var(--ink); }
.listing-toolbar-sort { display: flex; align-items: center; gap: 10px; }
.listing-sort-label { font-size: .85rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.listing-sort-select { min-height: 42px; min-width: 180px; }

/* ---- Sonuç ızgarası: sidebar yanında daralan alan için otomatik sütun ---- */
.listing-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Sponsorlu rozet varyantı */
.card-badge-sponsor { color: var(--blue); }
.card-badge-sponsor .bi { color: var(--blue); }

/* ---- Sayfalama ---- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px; margin-top: clamp(32px, 4vw, 48px);
}
.pagination-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink-2);
  font-size: .92rem; font-weight: 600;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.pagination-link:hover { border-color: #cbd2dd; color: var(--navy); background: #fbfcfe; }
.pagination-link.is-active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pagination-link[aria-disabled="true"] {
  color: var(--line); pointer-events: none; background: var(--surface-2);
}
.pagination-gap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 44px; color: var(--muted);
}

/* Filtre drawer overlay (mobil) */
.filter-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(15, 23, 42, .45);
  opacity: 0; transition: opacity .2s ease;
}
.filter-overlay.is-open { opacity: 1; }

/* ---- Listeleme responsive ---- */
@media (max-width: 1023px) {
  /* Sidebar mobil drawer'a dönüşür */
  .filter-toggle { display: inline-flex; }

  .listing-layout { grid-template-columns: 1fr; }

  .listing-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 1110;
    width: min(360px, 90vw);
    background: var(--surface); border-left: 1px solid var(--line);
    padding: 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .22s ease;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .listing-sidebar.is-open { transform: translateX(0); }
  .filter-panel { border: none; padding: 0; border-radius: 0; }
  .filter-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--line);
    border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
  }
}

@media (max-width: 600px) {
  /* Sonuç kartları tek sütun (okunur) */
  .listing-grid { grid-template-columns: 1fr; gap: 14px; }
  .listing-toolbar { gap: 10px; }
  .listing-toolbar-sort { width: 100%; }
  .listing-sort-select { flex: 1; min-width: 0; }
}

@media (max-width: 380px) {
  .pagination { gap: 4px; }
  .pagination-link { min-width: 40px; padding: 0 8px; }
}

/* =====================================================================
   18 · FİRMA DETAY SAYFASI (firma-detay.html)
   İşletme başlığı · Galeri · Hakkında/Hizmetler/Saatler/Yorumlar ·
   Sticky iletişim kartı · Benzer işletmeler.
   Mevcut token/sınıfları yeniden kullanır (.business-card, .btn, .status).
   ===================================================================== */

/* ---- Breadcrumb + işletme başlığı ---- */
.detail-head {
  padding-block: clamp(24px, 4vw, 44px) clamp(24px, 3vw, 36px);
  background: radial-gradient(120% 120% at 50% -40%, #fbfcfe 0%, var(--surface) 60%);
  border-bottom: 1px solid var(--line);
}
.detail-header { max-width: 820px; }
.detail-cat {
  margin: 0 0 8px;
  font-size: .8rem; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: .05em;
}
.detail-title {
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem); line-height: 1.12;
}
.detail-badges {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 14px;
}
.detail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
}
.detail-badge-verified {
  background: rgba(30, 64, 175, .08); color: var(--navy);
  border: 1px solid rgba(30, 64, 175, .18);
}
.detail-badge-verified .bi { color: var(--blue); }
.detail-rating { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; }
.detail-stars { display: inline-flex; gap: 1px; color: #E0A106; font-size: .95rem; }
.detail-rating-value { font-weight: 700; color: var(--ink); }
.detail-rating-count { color: var(--muted); }

.detail-meta {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px; font-size: .92rem; color: var(--ink-2);
}
.detail-meta-item { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.detail-meta-item > .bi { color: var(--muted); font-size: 1rem; }
.detail-meta-muted { color: var(--muted); }
.detail-meta .price-level { color: var(--ink-2); }

/* ---- İçerik yerleşimi: ana + sticky kart ---- */
.detail-section-wrap { padding-block: clamp(32px, 4vw, 56px); }
.detail-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: clamp(24px, 3vw, 40px); align-items: start;
}
.detail-main { min-width: 0; }

/* ---- Galeri ---- */
.detail-gallery { margin-bottom: clamp(28px, 4vw, 40px); }
.gallery-main {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 10;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main img.is-broken { visibility: hidden; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 10px;
}
.gallery-thumb {
  display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; background: var(--surface-2);
  aspect-ratio: 4 / 3; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb img.is-broken { visibility: hidden; }
.gallery-thumb:hover { border-color: #cbd2dd; }
.gallery-thumb.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(30, 64, 175, .25); }

/* ---- Ortak bölüm ---- */
.detail-section { padding-top: clamp(24px, 3vw, 32px); }
.detail-section + .detail-section { border-top: 1px solid var(--line); }
.detail-section-title { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); margin-bottom: 16px; }
.detail-about { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.7; max-width: 68ch; }

/* ---- Hizmet etiketleri ---- */
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.service-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-size: .9rem; font-weight: 500;
}
.service-tag .bi { color: var(--blue); font-size: .95rem; }

/* ---- Çalışma saatleri (satır listesi; mobilde de satır/özet — table YOK) ---- */
.hours-list {
  border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  max-width: 460px;
}
.hours-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--ink-2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.hours-time { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours-row.is-today { background: rgba(30, 64, 175, .05); }
.hours-row.is-today .hours-day,
.hours-row.is-today .hours-time { color: var(--navy); font-weight: 700; }
.hours-today-tag {
  padding: 2px 8px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: .68rem; font-weight: 600; letter-spacing: .02em;
}

/* ---- Yorumlar ---- */
.detail-reviews-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.detail-reviews-head .detail-section-title { margin-bottom: 0; }
.detail-reviews-count { color: var(--muted); font-weight: 500; }
.detail-reviews { display: flex; flex-direction: column; gap: 16px; }
.detail-review {
  padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
}
.detail-review .review-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.detail-review .review-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.review-avatar-a { background: #1E40AF; }
.review-avatar-b { background: #15803D; }
.review-avatar-c { background: #B45309; }
.review-avatar-d { background: #7C3AED; }
.review-head-text { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.detail-review .review-name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.review-rating { display: inline-flex; gap: 1px; color: #E0A106; font-size: .82rem; }
.review-date { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.review-text { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }

/* ---- Sticky iletişim / aksiyon kartı ---- */
.detail-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.contact-card-title { font-size: 1.15rem; margin-bottom: 16px; }
.contact-cta { margin-bottom: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px; border-radius: var(--radius-sm);
  color: var(--ink); min-height: 44px;
  transition: background-color .15s ease;
}
a.contact-item:hover { background: var(--surface-2); color: var(--ink); }
.contact-item-static { cursor: default; }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--navy); font-size: 1.05rem;
}
.contact-icon-wa { color: #128C7E; }
.contact-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.contact-label { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-value { font-size: .92rem; font-weight: 500; color: var(--ink); word-break: break-word; }
.contact-directions { margin-bottom: 14px; }
.contact-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-secondary-actions .btn { min-height: 44px; }
.contact-fav[aria-pressed="true"] { color: var(--red); border-color: var(--red); }
.contact-fav[aria-pressed="true"] .bi::before { content: "\f417"; } /* bi-heart-fill */

/* ---- Detay responsive ---- */
@media (max-width: 1023px) {
  .detail-layout { grid-template-columns: 1fr; }
  /* Sticky kart içeriğe iner (üstte iletişim önce görünsün istenirse order ile değişebilir) */
  .detail-aside { position: static; }
  .contact-card { max-width: 520px; }
}

@media (max-width: 600px) {
  /* Galeri tek büyük görsel + kaydırılabilir thumb şeridi */
  .gallery-thumbs {
    display: flex; gap: 8px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; padding-bottom: 4px;
  }
  .gallery-thumb {
    flex: 0 0 96px; scroll-snap-align: start; aspect-ratio: 4 / 3;
  }
  .contact-card { max-width: none; }
  .detail-review .review-head { flex-wrap: wrap; }
  .review-date { width: 100%; padding-left: 54px; }
}

@media (max-width: 380px) {
  .hours-row { padding: 12px 12px; }
  .contact-secondary-actions { grid-template-columns: 1fr; }
}

/* Scroll kilidi (JS toggle) */
body.no-scroll { overflow: hidden; }

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* =====================================================================
   19 · SABİT SAYFALAR
   (hakkimizda · iletisim · gizlilik-politikasi · kvkk ·
    kullanim-kosullari · cerez-politikasi)
   Başlık bandı · uzun metin (.prose) · değer & istatistik kartları ·
   iletişim yerleşimi · form durumu · çerez/yasal kartlar.
   Mevcut token/sınıfları yeniden kullanır (.container, .section,
   .breadcrumb, .btn, .form-control-custom, .field-error, .eyebrow, .steps).
   ===================================================================== */

/* ---- Sayfa başlık bandı ---- */
.page-hero {
  padding-block: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 32px);
  background: radial-gradient(120% 120% at 50% -40%, #fbfcfe 0%, var(--surface) 60%);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 760px; min-width: 0; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.12; }
.page-hero-lead { margin: 14px 0 0; max-width: 640px; color: var(--muted); font-size: 1.05rem; }

/* ---- Genel içerik bölümü ---- */
.page-section { padding-block: clamp(36px, 4vw, 64px); }
.page-section + .page-section { border-top: 1px solid var(--line); }
.page-section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.page-section-head { max-width: 640px; margin-bottom: clamp(20px, 3vw, 32px); }
.page-section-head .eyebrow { margin-bottom: 10px; }
.page-section-head p { margin: 10px 0 0; color: var(--muted); font-size: 1.02rem; }

/* ---- Uzun metin okunurluğu ---- */
.prose { max-width: 72ch; min-width: 0; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 16px; line-height: 1.75; }
.prose h2 { margin: 36px 0 12px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.2; }
.prose h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0 0 8px; line-height: 1.7; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--blue-strong); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose dl { margin: 0 0 16px; }
.prose dt { margin-top: 14px; font-weight: 600; color: var(--ink); }
.prose dd { margin: 4px 0 0; }
.prose-updated {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.prose-updated .bi { color: var(--blue); }

/* ---- Değer kartları (hakkimizda) ---- */
.value-cards { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value-card {
  min-width: 0; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.value-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--navy); font-size: 1.25rem;
}
.value-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ---- Güven istatistikleri (hakkimizda) ---- */
.stat-cards { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card {
  min-width: 0; padding: 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.stat-num {
  display: block; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--navy);
}
.stat-label { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* ---- İletişim yerleşimi (form + bilgi) ---- */
.contact-layout {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 3vw, 40px); align-items: start;
}
.contact-form-card, .contact-info {
  min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
}
.contact-form-card h2, .contact-info h2 { margin-bottom: 6px; font-size: 1.2rem; }
.contact-form-card > p, .contact-info > p { margin: 0 0 20px; color: var(--muted); font-size: .95rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 6px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 8px; border-radius: var(--radius-sm);
  color: var(--ink); min-height: 44px;
  transition: background-color .15s ease;
}
a.contact-info-item:hover { background: var(--surface-2); color: var(--ink); }
.contact-info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--navy); font-size: 1.05rem;
}
.contact-info-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-info-label { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-info-value { font-size: .95rem; font-weight: 500; color: var(--ink); word-break: break-word; }

/* textarea yüksekliği (.form-control-custom mevcut, yeniden tanımlanmaz) */
textarea.form-control-custom {
  min-height: 140px; padding-top: 12px; padding-bottom: 12px;
  resize: vertical; line-height: 1.6;
}

/* Form başarı / durum mesajı (yumuşak success zemin) */
.form-status {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-md);
  background: rgba(21, 128, 61, .08);
  border: 1px solid rgba(21, 128, 61, .28);
  color: var(--green); font-size: .92rem; line-height: 1.5;
}

/* ---- Çerez kartları (gerçek <table> YOK) ---- */
.cookie-cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cookie-card {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.cookie-card-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(30, 64, 175, .08); color: var(--navy);
  border: 1px solid rgba(30, 64, 175, .18);
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
.cookie-card h3 { font-size: 1.05rem; }
.cookie-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.cookie-card dl { margin: 4px 0 0; font-size: .85rem; }
.cookie-card dt { font-weight: 600; color: var(--ink-2); }
.cookie-card dd { margin: 0 0 8px; color: var(--muted); }

/* ---- Etiketli yasal liste (dl/kart alternatifi) ---- */
.legal-list { display: flex; flex-direction: column; gap: 12px; max-width: 72ch; }
.legal-list-item {
  padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md);
}
.legal-list-item h3 { margin-bottom: 4px; font-size: 1rem; }
.legal-list-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ---- Sabit sayfa responsive ---- */
@media (max-width: 1023px) {
  .value-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .value-cards { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .stat-cards { grid-template-columns: 1fr; }
}

/* ============ 17 · BLOG SISTEMI ============ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(20, 33, 61, 0.1);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface-2);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: background 0.3s ease;
}

.blog-category:hover {
  background: var(--blue-strong);
}

.blog-card-title {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--blue);
}

.blog-card-excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* Blog Detail */
.post-header {
  background: var(--surface-2);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 1rem 0;
}

.post-meta {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tag-badge {
  display: inline-block;
  background: var(--surface-2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.3s ease;
}

.tag-badge:hover {
  background: var(--line);
}

.post-featured {
  margin-bottom: 2rem;
}

.post-featured-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.post-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.post-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

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

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.post-body blockquote {
  border-left: 4px solid var(--blue);
  padding: 1rem;
  background: var(--surface-2);
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-2);
}

.post-body code {
  background: var(--surface-2);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.post-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Table of Contents */
.toc {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  position: sticky;
  top: 20px;
}

.toc h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-link {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.5;
  transition: color 0.3s ease;
  display: block;
}

.toc-link:hover {
  color: var(--blue-strong);
}

/* Author Info */
.post-author {
  background: var(--surface-2);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.author-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--muted);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Share Buttons */
.post-share {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 600;
  color: var(--ink);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--ink);
  color: white;
}

.share-btn.facebook:hover {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
}

.share-btn.twitter:hover {
  background: #1DA1F2;
  color: white;
  border-color: #1DA1F2;
}

.share-btn.linkedin:hover {
  background: #0077B5;
  color: white;
  border-color: #0077B5;
}

/* Comments */
.post-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}

.comments-title {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 2rem;
}

.comment-form {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.comment-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 1rem;
}

.comment-form-row { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.comment-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: .9rem;
  background: var(--surface);
  color: var(--ink);
}
.comment-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}

.comment-login-cta {
  background: var(--surface-2);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 2rem;
}

.comment-login-cta a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.comment-login-cta a:hover {
  text-decoration: underline;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue);
}

.comment-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.comment-author {
  color: var(--ink);
  font-size: 0.95rem;
}

.comment-date {
  color: var(--muted);
  font-size: 0.85rem;
}

.comment-body {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.no-comments {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  background: var(--surface-2);
  border-radius: var(--radius-md);
}

/* Related Posts */
.related-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-posts li {
  padding: 0.75rem;
  background: var(--surface-2);
  border-radius: var(--radius-md);
}

.related-posts a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.related-posts a:hover {
  color: var(--blue-strong);
}

/* Sidebar */
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 600;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
}

.category-link:hover {
  background: var(--surface-2);
}

.category-count {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tags-cloud {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-link {
  display: inline-block;
  background: var(--surface-2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: var(--blue);
  color: white;
}

.newsletter-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  color: white;
  border: none;
}

.newsletter-cta .widget-title {
  color: white;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.newsletter-button {
  padding: 0.75rem;
  background: white;
  color: var(--blue);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.newsletter-button:hover {
  transform: scale(1.02);
}

/* Blog Search */
.blog-search-form {
  display: flex;
  gap: 0.5rem;
}

.blog-search-form .search-field {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-button {
  padding: 0.75rem 1rem;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: var(--blue-strong);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
}

.empty-state i {
  font-size: 3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-article {
    padding: 1.5rem;
  }

  .post-author {
    flex-direction: column;
    text-align: center;
  }

  .post-meta {
    gap: 1rem;
  }

  .toc {
    position: static;
  }

  .related-posts {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .related-posts li {
    flex: 1;
    min-width: 150px;
  }
}

/* AEO/GEO article blocks: all themes share readable answer, source and HowTo treatment. */
.post-answer,.post-howto,.post-sources{margin:1.5rem 0;padding:1.25rem 1.35rem;border:1px solid rgba(37,99,235,.18);border-radius:14px;background:linear-gradient(135deg,rgba(239,246,255,.9),rgba(255,255,255,.96));}.post-answer{border-left:4px solid #2563eb;}.post-answer h2,.post-howto h2,.post-sources h2{font-size:1.08rem;margin:0 0 .55rem;}.post-answer p,.post-sources p{margin:0;line-height:1.7;}.post-howto ol,.post-sources ul{margin:.65rem 0 0;padding-left:1.25rem;}.post-howto li,.post-sources li{margin:.35rem 0;}.post-sources{font-size:.94rem;border-color:rgba(20,58,104,.16);}


/* --- Görünür SSS akordeonu (FAQPage/speakable görünür karşılığı) --- */
.fb-faq{max-width:900px;margin:2.5rem auto;padding:0 1rem}
.fb-faq__title{font-size:1.4rem;margin:0 0 1rem}
.fb-faq__list{display:flex;flex-direction:column;gap:.6rem}
.fb-faq__item{border:1px solid rgba(128,128,128,.28);border-radius:10px;padding:.15rem .95rem;background:rgba(128,128,128,.04)}
.fb-faq__q{cursor:pointer;font-weight:600;padding:.85rem 0;list-style:none;position:relative}
.fb-faq__q::-webkit-details-marker{display:none}
.fb-faq__q::after{content:"+";position:absolute;right:.1rem;top:.75rem;font-weight:400;opacity:.6}
.fb-faq__item[open] .fb-faq__q::after{content:"\2013"}
.fb-faq__a{padding:0 0 .95rem;line-height:1.6;opacity:.9}
.fb-listing-intro{max-width:900px;margin:1.2rem auto;line-height:1.7;opacity:.92}

/* token-alias-fix: kopyalanan blog/yorum/statik bloklarda kullanilan ama :root'ta tanimsiz kalan token'lar bu temanin markasina hizalandi */
:root{--green:#15803D;--red:#B91C1C;--ring:0 0 0 3px color-mix(in srgb,var(--blue) 20%,transparent)}

/* footer-bg-fix: kopyalanan .site-footer{background:surface-2} acik override temanin KOYU footer metnini (beyaz) gorunmez yapiyordu; koyu zemini geri al */
.site-footer{background:var(--ink);border-top:0}
