/* ==========================================================================
   Europe Directory Engine — site.css
   Renkler header.php'nin bastığı CSS değişkenlerinden gelir:
   --c-primary, --c-secondary, --c-accent, --c-secondary-light
   ========================================================================== */

:root {
  --c-primary: #c9941a;
  --c-secondary: #101d33;
  --c-accent: #f0d48a;
  --c-secondary-light: #3a4a66;
  --c-bg: #f6f7fa;
  --c-surface: #ffffff;
  --c-text: #1c2433;
  --c-text-muted: #66708a;
  --c-border: #e3e7ef;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .07), 0 6px 18px rgba(16, 24, 40, .06);
  --shadow-lg: 0 8px 30px rgba(16, 24, 40, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.muted { color: var(--c-text-muted); }

/* ---------------------------------------------------------------- header */
.site-header {
  background: var(--c-secondary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.logo:hover { text-decoration: none; }

.logo-icon {
  display: inline-flex;
  color: var(--c-primary);
  font-size: 1.6rem;
}
.logo-icon .sector-icon { width: 1em; height: 1em; }

.site-nav { display: flex; gap: 6px; }

.site-nav a {
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-secondary-light) 100%);
  padding: 84px 0 96px;
  text-align: center;
}

.hero-icon {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  color: var(--c-primary);
  opacity: .22;
  pointer-events: none;
}
.hero-icon .sector-icon { width: 380px; height: 380px; }

.hero-inner { position: relative; max-width: 760px; }

.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .4em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  margin: 0 auto 32px;
  max-width: 620px;
}

/* ------------------------------------------------------------ search box */
.search-box {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.search-box input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1.05rem;
  padding: 10px 14px;
  color: var(--c-text);
  background: transparent;
}

.search-box-inline { margin: 18px 0 0; box-shadow: var(--shadow); border: 1px solid var(--c-border); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  padding: 11px 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: filter .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-accent { background: var(--c-accent); color: var(--c-secondary); }

/* ----------------------------------------------------------- stats strip */
.stats-strip {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 56px;
  padding: 22px 20px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--c-text-muted);
}
.stat strong {
  font-size: 1.5rem;
  color: var(--c-primary);
  font-weight: 800;
}
.stat-free {
  font-weight: 700;
  color: var(--c-secondary);
  background: var(--c-accent);
  padding: 4px 14px;
  border-radius: 999px;
}

/* -------------------------------------------------------------- sections */
.section { padding: 56px 0; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -.01em;
}

/* ----------------------------------------------------------------- grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------------------------------------------- cards */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.service-card {
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.02rem; margin: 0; }

.service-icon {
  color: var(--c-primary);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.service-icon .sector-icon { width: 1em; height: 1em; }

.city-card {
  display: block;
  color: var(--c-text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.city-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary);
}
.city-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.city-card p { margin: 0 0 10px; font-size: .85rem; }

/* Görselli şehir kartı: üstte foto, altta içerik */
.city-card.has-image { padding: 0; overflow: hidden; }
.city-card-media {
  display: block;
  height: 130px;
  background-size: cover;
  background-position: center;
  transition: transform .25s;
}
.city-card.has-image:hover .city-card-media { transform: scale(1.05); }
.city-card-body { display: block; padding: 14px 16px 16px; position: relative; background: var(--c-surface); }

.badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-secondary);
  background: color-mix(in srgb, var(--c-accent) 45%, white);
  border: 1px solid var(--c-accent);
  padding: 3px 10px;
  border-radius: 999px;
}

.how-card { text-align: center; }
.how-step {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
}
.how-card h3 { font-size: 1.05rem; }
.how-card p { color: var(--c-text-muted); font-size: .92rem; margin: 0; }

/* ------------------------------------------------------------ partner CTA */
.partner-cta {
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-secondary-light) 100%);
  color: #fff;
}
.cta-inner { text-align: center; max-width: 640px; }
.cta-inner h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.cta-inner p { color: rgba(255, 255, 255, .8); margin-bottom: 24px; }

/* --------------------------------------------------------------- page head */
.page-head {
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-secondary-light) 100%);
  color: #fff;
  padding: 36px 0 44px;
}
.page-head h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -.01em; }
.page-head .intro {
  color: rgba(255, 255, 255, .82);
  max-width: 760px;
  margin: 0;
}
.page-head .rating-row { color: rgba(255, 255, 255, .9); }

/* Şehir hero görseli: degrade overlay ile okunabilirlik korunur */
.page-head.has-image {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 64px 0 72px;
}
.page-head.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    color-mix(in srgb, var(--c-secondary) 92%, transparent) 0%,
    color-mix(in srgb, var(--c-secondary) 72%, transparent) 55%,
    color-mix(in srgb, var(--c-secondary) 45%, transparent) 100%);
}
.page-head.has-image .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------- breadcrumb */
.breadcrumb {
  font-size: .85rem;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .65);
}
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.bc-sep { margin: 0 8px; opacity: .5; }
.bc-current { color: rgba(255, 255, 255, .65); }

/* ------------------------------------------------------------ company list */
.company-list { display: grid; gap: 16px; }

.company-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.company-main { min-width: 0; }
.company-name { font-size: 1.15rem; margin-bottom: 6px; }
.company-name a { color: var(--c-text); }
.company-name a:hover { color: var(--c-primary); }
.company-meta { margin: 4px 0; font-size: .92rem; color: var(--c-text-muted); }
.meta-label { font-weight: 600; color: var(--c-text); }
.company-actions { flex-shrink: 0; }

/* ----------------------------------------------------------- star ratings */
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
  font-size: .95rem;
}
.rating-num { font-weight: 700; }

.stars {
  position: relative;
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 2px;
}
.stars-bg { color: #d4d9e3; }
.stars-fg {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f5a623;
}

/* --------------------------------------------------------- company profile */
.company-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.info-list { margin: 0; }
.info-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
}
.info-row:last-child { border-bottom: none; }
.info-row dt { font-weight: 600; color: var(--c-text-muted); }
.info-row dd { margin: 0; overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- forms */
.form-card h2 { font-size: 1.2rem; margin-bottom: 18px; }

.inquiry-form .form-row { margin-bottom: 16px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inquiry-form label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  font: inherit;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color .15s, box-shadow .15s;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 22%, transparent);
}
.inquiry-form textarea { resize: vertical; }

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 500;
}
.alert-success { background: #e6f6ea; color: #1d6b34; border: 1px solid #b9e3c6; }
.alert-error { background: #fdecec; color: #a42828; border: 1px solid #f3c4c4; }

/* ------------------------------------------------------------ chips/other */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  transition: border-color .15s, color .15s;
}
.chip:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
}

.empty-state {
  text-align: center;
  color: var(--c-text-muted);
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  padding: 48px 24px;
  font-size: 1.05rem;
}

/* ------------------------------------------------------------------- 404 */
.not-found { padding: 90px 0; }
.nf-inner { text-align: center; }
.nf-code {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-primary);
  opacity: .35;
  margin-bottom: 8px;
}
.nf-inner h1 { margin-bottom: 24px; }

/* ----------------------------------------------------------------- legal */
.legal-content { max-width: 760px; }
.legal-links { padding-left: 18px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: linear-gradient(180deg, var(--c-secondary) 0%, color-mix(in srgb, var(--c-secondary) 82%, black) 100%);
  color: rgba(255, 255, 255, .72);
  margin-top: 56px;
}

.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-accent) 60%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1fr 1.2fr;
  gap: 44px;
  padding-top: 52px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.footer-logo .sector-icon { width: 1.5em; height: 1.5em; color: var(--c-primary); }

.footer-tagline {
  color: var(--c-accent);
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  transition: color .15s, padding-left .15s;
}
.footer-col a:hover { color: #fff; padding-left: 4px; text-decoration: none; }
.footer-about p { font-size: .92rem; line-height: 1.65; max-width: 360px; }

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 5px 12px;
  border-radius: 999px;
}
.footer-badge-free { color: var(--c-accent); border-color: color-mix(in srgb, var(--c-accent) 50%, transparent); }

.footer-cta {
  margin-top: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
}
.footer-cta p { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85); margin: 0 0 10px; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 8px 16px;
  font-size: .85rem;
}
.btn-outline-light:hover { background: var(--c-primary); border-color: var(--c-primary); }

.footer-bottom-wrap {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .18);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: .83rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: rgba(255, 255, 255, .9); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255, 255, 255, .6); }
.footer-bottom-links a:hover { color: #fff; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .company-profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-icon .sector-icon { width: 260px; height: 260px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }

  .hero { padding: 56px 0 64px; }
  .hero-icon { display: none; }

  .search-box { flex-direction: column; }
  .search-box .btn { width: 100%; }

  .company-card { flex-direction: column; align-items: stretch; }
  .company-actions .btn { width: 100%; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--c-secondary);
    padding: 10px 20px 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
  }
  .site-nav.open { display: flex; }
}

/* ==========================================================================
   ZENGİNLEŞTİRME EKLERİ (append-only) — çalışma saatleri, yorumlar, harita,
   yakındaki firmalar, şehir istatistik şeridi. Mevcut tasarım sistemine uyar.
   ========================================================================== */

/* ------------------------------------------------- çalışma saatleri kartı */
.hours-card { position: relative; }
.hours-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--c-primary);
  opacity: .8;
}
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--c-border);
  font-size: .94rem;
  border-radius: 8px;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--c-text-muted); }
.hours-time { font-variant-numeric: tabular-nums; text-align: right; }
.hours-raw { overflow-wrap: anywhere; }
.hours-row.is-today {
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  border-bottom-color: transparent;
}
.hours-row.is-today .hours-day,
.hours-row.is-today .hours-time,
.hours-row.is-today .hours-raw {
  color: var(--c-text);
  font-weight: 700;
}

/* ------------------------------------------------------------ yorum kartı */
.reviews-section { padding-top: 0; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.review-card { display: flex; flex-direction: column; gap: 6px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-primary) 16%, var(--c-bg));
  color: var(--c-primary);
  font-weight: 800;
  font-size: 1.05rem;
}
.review-id { display: flex; flex-direction: column; min-width: 0; }
.review-author { font-weight: 700; overflow-wrap: anywhere; }
.review-time { font-size: .82rem; }
.review-text {
  margin: 0;
  font-size: .93rem;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------------------------------------------------- harita */
.map-card { padding: 10px; }
.company-map {
  height: 300px;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  background: var(--c-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%2366708a" stroke-width="1.5"><path d="M12 21s-7-5.1-7-11a7 7 0 1 1 14 0c0 5.9-7 11-7 11z"/><circle cx="12" cy="10" r="2.5"/></svg>') center no-repeat;
  z-index: 0;
}
.map-address { margin: 10px 6px 4px; font-size: .9rem; }

/* ------------------------------------------------------ yakındaki firmalar */
.nearby-section { padding-top: 0; }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.nearby-card { display: flex; flex-direction: column; gap: 4px; }
.nearby-name { font-size: 1.02rem; margin-bottom: 2px; }
.nearby-name a { color: var(--c-text); }
.nearby-name a:hover { color: var(--c-primary); }
.nearby-address {
  margin: 0 0 10px;
  font-size: .88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nearby-btn { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------- şehir istatistik şeridi */
.city-stats { padding: 0 0 40px; }
.city-stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 56px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
}
.city-stats .stat span { display: inline-flex; align-items: center; gap: 8px; }
.top-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.top-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px 18px;
}
.top-rank {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-secondary);
  color: var(--c-accent);
  font-weight: 800;
  font-size: .9rem;
}
.top-item:first-child .top-rank { background: var(--c-primary); color: #fff; }
.top-name { font-weight: 700; color: var(--c-text); flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.top-name:hover { color: var(--c-primary); text-decoration: none; }
.top-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }

/* ------------------------------------------------ zenginleştirme: mobil */
@media (max-width: 900px) {
  .review-grid, .nearby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .review-grid, .nearby-grid { grid-template-columns: 1fr; }
  .city-stats-strip { gap: 14px 28px; }
  .top-item { align-items: flex-start; }
}

/* --------------------------------------------------------- foto galerisi */
.gallery-section { padding: 32px 0 0; }
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 14, 22, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.lightbox-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }

/* --------------------------------------------- yol tarifi + hakkında + SSS */
.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
}
.btn-directions svg { flex-shrink: 0; }
.profile-card .btn-directions { margin-top: 16px; }
.map-actions { padding: 8px 6px 8px; }

.about-section { padding-top: 0; }
.about-text {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--c-text-muted);
}
.about-chips { margin-top: 4px; }

.faq-section { padding-top: 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-weight: 600;
  position: relative;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] > .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-q:hover { color: var(--c-primary); }
.faq-a {
  padding: 0 18px 16px;
  color: var(--c-text-muted);
  line-height: 1.65;
}
.faq-a p { margin: 0 0 10px; }
.faq-a .btn-directions { margin-top: 2px; }

/* ==========================================================================
   COMPANY V2 (append-only) — firma profil sayfası yeniden düzeni:
   tam genişlik hero (ilk foto arka plan + degrade overlay), istatistik
   şeridi, iki kolonlu yerleşim (içerik + yapışkan kenar çubuğu).
   Yeni sınıf adları (.co-*) eski firma sayfası kurallarıyla çakışmaz.
   ========================================================================== */

/* ------------------------------------------------------- co: hero banner */
.co-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-secondary-light) 100%);
  padding: 48px 0 56px;
}
.co-hero.has-image {
  background-size: cover;
  background-position: center;
  padding: 72px 0 80px;
}
.co-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    color-mix(in srgb, var(--c-secondary) 94%, transparent) 0%,
    color-mix(in srgb, var(--c-secondary) 76%, transparent) 55%,
    color-mix(in srgb, var(--c-secondary) 48%, transparent) 100%);
}
.co-hero-inner { position: relative; z-index: 1; }
.co-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -.015em;
  margin-bottom: .25em;
  max-width: 860px;
}
.co-hero .rating-row { color: rgba(255, 255, 255, .92); }
.co-hero .muted { color: rgba(255, 255, 255, .72); }

.co-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.co-chip {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 5px 14px;
  border-radius: 999px;
  transition: background .15s, border-color .15s;
}
a.co-chip:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .5);
  text-decoration: none;
}

.co-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.co-hero-btn { display: inline-flex; align-items: center; gap: 8px; }
.co-hero-btn svg { flex-shrink: 0; }

/* ------------------------------------------------------- co: stats strip */
.co-stats {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}
.co-stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 0;
  gap: 14px 0;
}
.co-stat {
  flex: 1 1 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2px 18px;
}
.co-stat + .co-stat { border-left: 1px solid var(--c-border); }
.co-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-secondary);
  overflow-wrap: anywhere;
}
.co-stat strong a { color: var(--c-primary); }
.co-stat span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --------------------------------------------------- co: two-column grid */
.co-section { padding: 36px 0 56px; }
.co-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.co-main { min-width: 0; display: grid; gap: 24px; }
.co-block { margin: 0; }

/* Ana kolonda mevcut bölüm sınıflarını sola hizala / daralt */
.co-main .section-title {
  text-align: left;
  font-size: 1.22rem;
  margin-bottom: 16px;
}
.co-main .photo-gallery { grid-template-columns: repeat(3, 1fr); }
.co-main .about-text {
  max-width: none;
  margin: 0 0 16px;
  text-align: left;
}
.co-main .chip-row { justify-content: flex-start; }
.co-main .review-grid { grid-template-columns: repeat(2, 1fr); }
.co-main .faq-list { max-width: none; margin: 0; }

/* Hizmetler kartı (site services_local + sektör ikonu) */
.co-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.co-service {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .92rem;
}
.co-service .service-icon {
  font-size: 1.35rem;
  margin: 0;
  display: inline-flex;
  flex-shrink: 0;
}

/* -------------------------------------------------- co: sticky sidebar */
.co-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 20px;
  min-width: 0;
}
.co-sidebar .form-row-2 { grid-template-columns: 1fr; }
.co-sidebar .profile-card .info-row { grid-template-columns: 104px 1fr; }
.co-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
}
.co-trust .badge { flex-shrink: 0; }
.co-trust-name { font-size: .95rem; color: var(--c-secondary); overflow-wrap: anywhere; }

/* ------------------------------------------------------- co: responsive */
@media (max-width: 980px) {
  .co-layout { grid-template-columns: 1fr; }
  .co-sidebar { position: static; }
}
@media (max-width: 640px) {
  .co-hero.has-image { padding: 52px 0 56px; }
  .co-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .co-stat { flex-basis: 45%; }
  .co-stat:nth-child(odd) { border-left: none; }
  .co-main .photo-gallery,
  .co-main .review-grid,
  .co-services-grid { grid-template-columns: 1fr; }
}
