:root {
  --color-primary: #000000;
  --color-secondary: #f0b63d;
  --color-text: #111113;
  --color-accent: #eb5e22;
  --color-bg: #ffffff;
  --color-bg-secondary: #f2f2f4;
  --color-border: rgba(0, 0, 0, 0.2);
  --color-input-border: #ceced7;
  --color-button-bg: #eb5e22;
  --color-dark: #16181f;
  --color-auth-dark: #2f3646;
  --color-muted: #6b6e76;
  --color-white: #ffffff;
  --color-danger: #b42318;
  --color-ok: #067647;
  /* Inter: ekranda en net okunan font / Plus Jakarta Sans: güçlü, okunaklı başlık fontu */
  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --container-px: clamp(16px, 4vw, 30px);
  --h1: clamp(36px, 5.5vw, 64px);
  --h2: clamp(26px, 4vw, 48px);
  --h3: clamp(22px, 3vw, 32px);
  --h4: clamp(20px, 2.5vw, 26px);
  --h5: 20px;
  --radius: 0;
  --radius-auth: 28px;
  --radius-auth-control: 8px;
  --radius-auth-button: 12px;
  --radius-auth-logo: 12px;
  --shadow-auth: 0 24px 60px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --z-dev-bar: 999;
  --z-account: 1210;
  --z-directory-filters: 1220;
  --z-directory-loading: 1230;
  --z-directory-quote: 1240;
  --z-site-name-box: 1180;
  --radius-account: 12px;
  --account-panel-max: calc(100vh - 2 * var(--container-px));
  --radius-directory: 16px;
  --radius-directory-sm: 12px;
  --dir-title: 24px;
  --dir-title-sm: 20px;
  --dir-count: 14px;
  --dir-card-name: 16px;
  --dir-card-meta: 14px;
  --dir-filter: 14px;
  --dir-filter-label: 16px;
  --dir-chip: 13px;
  --scrollbar-size: 6px;
  --header-h: 0px;
  --dev-bar-h: 48px;
}

/* clamp() kullandığımız için eski px media query'lere artık gerek yok,
   ama diğer layout düzeltmeleri için tutuyoruz */
@media (max-width: 1024px) {
  :root { --h1: clamp(32px, 5vw, 48px); --h2: clamp(24px, 4vw, 38px); }
}

@media (max-width: 767px) {
  :root { --h1: clamp(28px, 7vw, 36px); --h2: clamp(22px, 6vw, 30px); --h3: clamp(18px, 5vw, 24px); }
}

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

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-input-border) transparent;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--color-input-border);
  border-radius: 999px;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.is-site-manage-open,
html.is-site-manage-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-overflow-scrolling: touch;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  line-height: 1.2;
  /* Plus Jakarta Sans'da başlıklar daha keskin görünür */
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: var(--h1); line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: var(--h2); letter-spacing: -0.025em; }
h3 { font-size: var(--h3); letter-spacing: -0.02em; }
h4 { font-size: var(--h4); letter-spacing: -0.015em; }
h5 { font-size: var(--h5); letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.eyebrow.light { color: var(--color-secondary); }

.lead {
  color: var(--color-muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
}

.accent { color: var(--color-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 32px;
  min-height: 52px; /* 44px+ dokunma hedefi */
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--color-button-bg);
  color: #fff;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
  white-space: nowrap;
  /* Focus visible for accessibility */
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn svg { width: 12px; height: 12px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }

.btn-outline {
  padding: 14px 31px;
  border-color: var(--color-accent);
  background: transparent;
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-outline.light {
  border-color: #fff;
  color: #fff;
}

.btn-outline.light:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-icon-left {
  flex-direction: row-reverse;
}

.btn-icon-left:hover svg { transform: translateX(-4px); }

.btn-text {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

.btn-text span {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 95%;
  transition: background-size 1s var(--ease);
}

.btn-text:hover span { background-size: 100% 1px; }
.btn-text:hover svg { transform: translateX(4px); }

.btn-sm { padding: 10px 26px; font-size: 15px; }

/* Header */
.site-header {
  z-index: 998;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(22, 24, 31, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-header.solid {
  position: relative;
  background: var(--color-dark);
}

.site-header.solid.is-sticky {
  position: fixed;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px var(--container-px);
  border-bottom: 1px solid #ffffff33;
  font-size: 13px;
}

.header-top-list,
.header-top-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.header-top-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.header-top-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}

.is-directory .header-top {
  display: flex;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.lang-switch-toggle::-webkit-details-marker,
.lang-switch-toggle::marker {
  display: none;
  content: "";
}

.lang-switch-toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-width: 96px;
  padding: 6px;
  background: var(--color-dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.lang-switch-menu button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
}

.lang-switch-menu button[aria-current="true"],
.lang-switch-menu button:hover,
.lang-switch-menu button:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
}

.header-actions .lang-switch {
  display: none;
}

.is-directory .header-actions .lang-switch {
  display: inline-flex;
}

.mobile-menu .lang-switch {
  margin-top: 24px;
}

.mobile-menu .lang-switch-menu {
  right: auto;
  left: 0;
}

.auth-pane-light .lang-switch {
  margin: 0;
}

.auth-pane-light .lang-switch-toggle {
  color: var(--color-text);
}

.auth-pane-light .lang-switch-menu {
  background: var(--color-bg);
  box-shadow: var(--shadow-auth);
}

.auth-pane-light .lang-switch-menu button {
  color: var(--color-text);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px var(--container-px);
}

.logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
}

.logo-home {
  display: flex;
  flex-shrink: 0;
  color: inherit;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
}

.logo-mark svg { width: 22px; height: 22px; }

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-name {
  min-width: 0;
  max-width: 60ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-name-peek {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.header-auth-icon {
  display: none;
}

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

.nav > li { position: relative; }

.nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  min-height: 44px; /* touch target */
  font-size: 15px;
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background 1s var(--ease), opacity 0.3s;
}

.nav > li > a:hover,
.nav > li.active > a { background-size: 100% 1px; }

.nav > li > a svg { width: 8px; height: 8px; opacity: 0.8; }

.dropdown {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  padding: 14px 0;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(8px);
  transition: 0.25s ease;
}

.nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.dropdown a:hover { color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(540px, 780px, 860px);
  padding: clamp(140px, 20vw, 220px) var(--container-px) clamp(180px, 22vw, 270px);
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
}

.hero-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 2; }

.hero-photo,
.page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero.has-photo,
.page-hero.has-photo {
  overflow: hidden;
  background-image: none;
  background-color: var(--color-dark);
}

.hero.has-photo::before,
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero .eyebrow { color: #ffffffcc; text-transform: lowercase; letter-spacing: 0.04em; font-weight: 500; }

.hero h1 {
  max-width: min(820px, 100%);
  margin-bottom: 18px;
  color: #fff;
  text-transform: none;
}

.hero h1 .accent { color: var(--color-secondary); }

.hero p {
  max-width: min(65%, 680px);
  margin: 10px 0 0;
  color: #ffffffe6;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 24px;
}

/* Overlap strip */
.overlap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-80px, -10vw, -158px);
  padding: 0 var(--container-px) 28px;
}

.overlap-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.categories-panel {
  background: var(--color-dark);
  color: #fff;
  padding: 28px 32px 24px;
}

.categories-label {
  margin-bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  overflow: hidden;
}

.brand-item {
  flex: 1;
  display: grid;
  place-items: center;
  opacity: 0.92;
  color: var(--color-white);
}

.brand-item-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-dev-mode .brand-row {
  overflow: visible;
}

body.is-dev-mode .brand-item {
  padding-top: 18px;
}

body.is-dev-mode .brand-item-name {
  overflow: visible;
  text-overflow: clip;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

body.is-dev-mode .brand-item .dev-block-btn {
  top: 0;
  left: 0;
  right: auto;
  width: 18px;
  height: 18px;
}

body.is-dev-mode .brand-item .dev-block-btn svg {
  width: 10px;
  height: 10px;
}

body.is-dev-mode .brand-item .dev-block-btn::after {
  left: calc(100% + 6px);
  right: auto;
}

.trust-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.trust-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trustpilot-mark {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.trustpilot-mark span { color: #00b67a; }

.trust-score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
}

.trust-score-row strong { font-size: 28px; font-family: var(--font-heading); }
.trust-stars { color: #00b67a; letter-spacing: 2px; }
.trust-link { margin-top: 6px; color: var(--color-muted); font-size: 14px; }
.trust-link a { text-decoration: underline; }

.avatars {
  display: flex;
  margin-top: 12px;
}

.avatars img,
.avatars span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}

.avatars span:first-child,
.avatars img:first-child { margin-left: 0; }

/* Sections */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-dark { background: var(--color-dark); color: #fff; }
.section-muted { background: var(--color-bg-secondary); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 { max-width: 640px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: clamp(320px, 45vw, 560px);
  object-fit: cover;
  clip-path: polygon(100px 0%, 100% 0, 100% 100%, 0 100%, 0 110px);
}

.about-wide {
  margin-top: 40px;
}

.about-wide img {
  width: 100%;
  height: clamp(180px, 25vw, 280px);
  object-fit: cover;
}

.reviews-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 22px;
  font-size: 14px;
  font-weight: 500;
}

.stars { color: var(--color-secondary); letter-spacing: 2px; }

/* Vehicles */
.vehicle-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.vehicle-track::-webkit-scrollbar { display: none; }

.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px 10px;
  background: var(--color-bg-secondary);
  color: #000;
  transition: background 0.3s, color 0.3s;
}

.vehicle-card:hover {
  background: var(--color-accent);
  color: #fff;
}

.vehicle-card svg { width: 64px; height: 40px; margin-bottom: 10px; }
.vehicle-card span { font-size: 14px; font-weight: 600; }

.slider-nav {
  display: flex;
  gap: 8px;
}

.slider-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
}

.slider-nav button:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.bars { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }

.bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.bar-track {
  height: 4px;
  background: #e6e6ea;
}

.bar-fill {
  height: 100%;
  background: var(--color-accent);
  width: 0;
  transition: width 1.2s var(--ease);
}

.call-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 48px 40px;
  color: #fff;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.call-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.call-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

.call-card .eyebrow,
.call-card h3,
.call-phone {
  position: relative;
  z-index: 2;
}

.call-card h3 {
  max-width: 380px;
  margin-bottom: 28px;
  text-transform: none;
}

.call-phone {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
}

.call-phone small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card .service-image {
  position: relative;
  overflow: hidden;
}

.service-card .service-image::before {
  content: "";
  display: block;
  padding-top: 70%;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover img { transform: scale(1.06); }

.service-card .service-image a {
  position: absolute;
  inset: 0;
  display: block;
}

.service-caption { margin-top: 23px; }

.service-sub {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.service-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  text-transform: capitalize;
}

.service-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-muted);
}

.service-caption .btn-text { margin-top: 16px; color: #000; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.info-item small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.info-item strong {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
}

/* Process */
.process-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.process-tabs { display: flex; flex-direction: column; gap: 0; }

.process-working {
  font-weight: 600;
  margin-bottom: 8px;
}

.process-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  min-height: 44px; /* touch */
  -webkit-tap-highlight-color: transparent;
}

.process-tab.active { color: var(--color-accent); }

.process-num {
  font-size: 14px;
  color: var(--color-muted);
  font-family: var(--font-body);
}

.counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  margin-top: 40px;
}

.counter strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  font-weight: 700;
}

.counter span { font-size: 14px; color: var(--color-muted); }

/* Shop */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product {
  isolation: isolate;
}

.product-media {
  position: relative;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 0 10px;
  background: var(--color-secondary);
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.badge.featured { background: var(--color-accent); color: #fff; }

.add-cart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.product:hover .add-cart { transform: none; }

.product-cats {
  margin: 14px 0 6px;
  font-size: 13px;
  color: var(--color-muted);
}

.product h5 { font-size: 20px; }
.price { margin-top: 6px; font-weight: 600; }
.price del {
  margin-right: 8px;
  color: var(--color-muted);
  font-weight: 400;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #ececf0;
}

.t-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.t-head-initial {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.t-head strong { display: block; font-size: 16px; }
.t-head span { font-size: 13px; color: var(--color-muted); }
.testimonial p { font-size: 14px; color: #333; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-meta {
  margin: 16px 0 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.blog-card h3 {
  font-size: 20px;
  line-height: 1.35;
  text-transform: none;
}

.blog-card p {
  margin: 10px 0 14px;
  font-size: 14px;
  color: var(--color-muted);
}

/* Contact / form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-grid form { margin-top: 28px; }

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 80px) 100%, 0 100%);
}

.contact-page.has-map.has-form,
.contact-page.has-map.has-street,
.contact-page.has-street.has-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-map-frame {
  width: 100%;
  min-height: 420px;
  height: 100%;
  border: 0;
  background: var(--color-bg-secondary);
}

.contact-map .btn {
  align-self: flex-start;
}

.contact-street .contact-map-frame {
  min-height: 520px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 0;
  min-height: 48px; /* touch-friendly */
  border: 0;
  border-bottom: 1px solid var(--color-input-border);
  background: transparent;
  outline: none;
  font-size: 16px; /* 16px: iOS'ta auto-zoom önler */
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--color-accent); }

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.auth-form { max-width: 560px; }

body.auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  background: var(--color-bg);
  overflow-x: hidden;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.auth-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vh, 80px) clamp(24px, 5vw, 72px);
  overflow-y: auto;
}

.auth-pane-light {
  position: relative;
  background: var(--color-white);
  padding-bottom: 72px;
}

.auth-pane-dark {
  position: relative;
  background: var(--color-auth-dark);
  color: var(--color-white);
  overflow: hidden;
}

.auth-pane-shapes,
.auth-pane-shapes::before,
.auth-pane-shapes::after {
  position: absolute;
  pointer-events: none;
  background: color-mix(in srgb, var(--color-white) 6%, transparent);
}

.auth-pane-shapes {
  inset: -20% -10% auto auto;
  width: 78%;
  height: 70%;
  border-radius: 36% 42% 32% 48%;
}

.auth-pane-shapes::before {
  content: "";
  top: 18%;
  left: -24%;
  width: 70%;
  height: 72%;
  border-radius: 44% 36% 48% 32%;
}

.auth-pane-shapes::after {
  content: "";
  right: 8%;
  bottom: -18%;
  width: 48%;
  height: 52%;
  border-radius: 40%;
}

.auth-logo,
.auth-logo-mobile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-auth-logo);
  background: var(--color-white);
  color: var(--color-auth-dark);
  flex-shrink: 0;
}

.auth-logo {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
}

.auth-logo svg,
.auth-logo-mobile svg {
  width: 22px;
  height: 22px;
}

.auth-logo-mobile {
  display: none;
  margin: 0 auto 24px;
  background: var(--color-accent);
  color: var(--color-white);
}

.auth-pane-top {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.auth-pane-inner {
  width: 100%;
  max-width: 400px;
}

.auth-promo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth-promo-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.auth-promo-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-white);
}

.auth-promo-icon:nth-child(1) {
  background: color-mix(in srgb, var(--color-secondary) 62%, var(--color-accent));
}

.auth-promo-icon:nth-child(2) {
  background: color-mix(in srgb, var(--color-accent) 55%, var(--color-dark));
}

.auth-promo-icon:nth-child(3) {
  background: color-mix(in srgb, var(--color-accent) 42%, var(--color-secondary));
}

.auth-promo-icon svg {
  width: 36px;
  height: 36px;
}

.auth-promo-copy {
  min-height: 120px;
}

.auth-pane-light h1,
.auth-promo h2 {
  font-size: var(--h3);
  font-weight: 700;
  text-align: center;
  text-transform: none;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.auth-pane-light h1 { margin-bottom: 36px; }

.auth-promo h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.auth-lead {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 32ch;
  color: color-mix(in srgb, var(--color-white) 72%, transparent);
}

.auth-promo-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.auth-promo-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-white) 16%, transparent);
  color: var(--color-white);
  cursor: pointer;
}

.auth-promo-btn.is-next {
  background: var(--color-white);
  color: var(--color-auth-dark);
}

.auth-promo-btn svg {
  width: 18px;
  height: 18px;
}

.auth-promo-btn:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.auth-pane-light .auth-form {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field { position: relative; }

.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-text);
}

.auth-field input {
  width: 100%;
  border: 0;
  border-radius: var(--radius-auth-control);
  background: var(--color-bg-secondary);
  padding: 12px 16px;
  min-height: 48px;
  font-size: 15px;
  color: var(--color-text);
}

.auth-field input::placeholder {
  color: var(--color-muted);
}

.auth-field input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-auth-button);
  margin-top: 8px;
}

.auth-join {
  margin-top: 28px;
}

.auth-join-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-join-divider::before,
.auth-join-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: color-mix(in srgb, var(--color-muted) 28%, transparent);
}

.auth-join-prompt {
  margin: 0 0 10px;
  text-align: center;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.auth-join-btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-auth-button);
}

.auth-home {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.auth-home a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-accent);
  font-weight: 600;
}

.auth-home a:hover { text-decoration: underline; }

.auth-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
}

.auth-pane-light .form-alert {
  text-align: left;
  margin-bottom: 0;
}

.form-alert {
  margin-bottom: 20px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
}

.form-alert.is-ok { color: var(--color-text); }

.header-account {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-actions form {
  display: flex;
  align-items: center;
}

.accordion { max-width: 280px; }

.acc-item + .acc-item { border-top: 1px solid #ececf0; }

.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.acc-panel {
  display: none;
  padding-bottom: 12px;
  font-size: 14px;
  color: var(--color-muted);
}

.acc-item.open .acc-panel { display: block; }

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 80px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 50px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 260px;
  color: #ffffff99;
  font-size: 14px;
}

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 16px;
  text-transform: none;
}

.footer-col a {
  display: block;
  margin-bottom: 11px;
  color: #ffffffb3;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  overflow-wrap: anywhere;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid #ffffff33;
  color: #ffffff99;
  font-size: 14px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: #fff; }

/* Page hero */
.page-hero {
  position: relative;
  padding: 80px 15px 80px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("https://images.unsplash.com/photo-1486006920555-c77dcf18193c?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
}

.page-hero h1 { max-width: 740px; text-transform: none; }

.page-hero.has-photo > .container {
  position: relative;
  z-index: 2;
}

.page-hero .lead { margin-top: 16px; }
.page-hero .btn { margin-top: 24px; display: inline-flex; }

.crumbs {
  margin-bottom: 14px;
  font-size: 14px;
  color: #ffffffb3;
}

.crumbs a:hover { color: #fff; }

.page-hero .info-strip {
  border-top-color: #ffffff33;
  margin-top: 40px;
}

.page-hero .info-item small,
.page-hero .info-item strong { color: #fff; }
.page-hero .info-item small { color: #ffffff99; }

/* FAQ */
.faq-list { max-width: 860px; }

.faq-item {
  border-bottom: 1px solid #ececf0;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  text-align: left;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.faq-item .faq-body {
  display: none;
  padding: 0 0 22px;
  color: var(--color-muted);
}

.faq-item.open .faq-body { display: block; }

/* Blog list */
.blog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.blog-list article img { width: 100%; height: 320px; object-fit: cover; }

.article-detail {
  max-width: 760px;
}

.article-detail__media {
  margin-bottom: 28px;
}

.article-detail__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-detail__kicker {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.article-detail__body p {
  margin-bottom: 1em;
}

.article-detail__body.is-edit {
  white-space: pre-wrap;
}

.region-search-hero {
  padding: 48px 15px 28px;
  background: var(--color-bg-secondary);
}

.region-search-hero__title {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--h3);
}

.region-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.region-call-panel .dir-search {
  grid-template-columns: 1fr;
}

.region-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  grid-template-areas:
    "firm firm"
    "call filter";
  gap: 10px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 14px 14px 18px;
  background: var(--color-bg);
  border-radius: var(--radius-directory);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.region-search-firm {
  grid-area: firm;
  margin: 0;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.region-search-phone {
  grid-area: call;
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  white-space: nowrap;
}

.region-search-filter {
  grid-area: filter;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  color: var(--color-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.region-search-filter svg {
  width: 22px;
  height: 22px;
}

.region-search-filter:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.region-call {
  position: fixed;
  inset: 0;
  z-index: var(--z-directory-quote);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.region-call.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.region-call-panel {
  position: relative;
  width: min(480px, 100%);
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--color-bg);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.16);
  transform: translateY(100%);
  transition: transform 0.32s var(--ease);
}

.region-call.show .region-call-panel {
  transform: translateY(0);
}

.region-call-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.region-call-firm {
  margin: 0 48px 18px 0;
  font-family: var(--font-heading);
  font-size: var(--h4, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.region-call-panel .dir-search-submit {
  width: 100%;
  justify-content: center;
}

html.is-region-call-open,
html.is-region-call-open body {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .region-call-panel {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .region-call,
  .region-call-panel {
    transition: none;
  }

  .region-call-panel {
    transform: none;
  }
}

.dir-search-field input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-directory-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
}

.dir-search-field input[type="search"]:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.dir-search-field input[type="search"]:disabled {
  color: var(--color-muted);
  background: var(--color-bg-secondary);
}

.region-article h1 {
  margin: 0 0 16px;
  font-size: var(--h2);
}

.region-article h2 {
  margin: 28px 0 12px;
  font-size: var(--h3);
}

.region-article p {
  margin-bottom: 1em;
}

.region-article strong {
  font-weight: 700;
}

/* Cart drawer */
.overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  transition: 0.3s;
}

.overlay.show { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1001;
  width: min(420px, 100%);
  height: 100%;
  padding: 28px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.drawer.show { transform: none; }

.drawer h2 { margin-bottom: 20px; }
.drawer-empty { color: var(--color-muted); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--color-dark);
  color: #fff;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow: auto;
}

.mobile-menu.show { transform: none; }

.mobile-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff22;
  font-size: 18px;
  font-weight: 600;
  min-height: 48px; /* touch */
  -webkit-tap-highlight-color: transparent;
}

/* Search modal */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: start center;
  padding: 10vh 16px 32px;
  background: rgba(17, 17, 19, 0.38);
  overflow: auto;
}

.search-modal.show { display: grid; }

.search-modal-panel {
  width: min(720px, 100%);
  padding: 22px 22px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-directory);
  background: var(--color-bg);
  box-shadow: 0 18px 48px rgba(17, 17, 19, 0.18);
}

.search-modal-form {
  display: flex;
  padding: 0 14px;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-directory-sm);
  background: var(--color-bg-secondary);
}

.search-modal input[type="search"] {
  flex: 1;
  width: 100%;
  padding: 14px 4px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 18px;
  outline: none;
}

.search-modal input[type="search"]::placeholder {
  color: var(--color-muted);
}

.search-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border: 0;
  border-radius: 50%;
  color: var(--color-text);
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.16);
}

.search-near {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-top: 16px;
}

.search-near-title {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}

.search-near-status {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.search-near-status.is-on {
  color: var(--color-accent);
}

.search-suggest {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.search-suggest-item {
  display: block;
  padding: 12px 10px;
  min-height: 44px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: var(--color-bg-secondary);
}

.search-suggest-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.search-suggest-meta {
  display: block;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 13px;
}

.search-suggest-empty {
  margin: 18px 8px 0;
  color: var(--color-muted);
  font-size: 14px;
}

.search-skeleton {
  margin-top: 12px;
}

.search-skeleton-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 10px;
}

.search-skeleton-line {
  display: block;
  height: 12px;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-bg-secondary) 0%, #e4e4ea 50%, var(--color-bg-secondary) 100%);
  background-size: 200% 100%;
  animation: search-skeleton-shine 1.1s ease-in-out infinite;
}

.search-skeleton-line.is-short {
  width: 44%;
  height: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .search-skeleton-line { animation: none; }
}

@keyframes search-skeleton-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 767px) {
  .search-modal { padding-top: 72px; }
  .search-modal-panel { padding: 16px 14px 12px; }
  .search-modal input[type="search"] { font-size: 20px; }
  .search-close { top: 12px; right: 12px; }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1300;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  background: var(--color-dark);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-name-box {
  position: fixed;
  inset: 0;
  z-index: var(--z-site-name-box);
  display: none;
  place-items: center;
  padding: var(--container-px);
}

.site-name-box.show { display: grid; }

.site-name-box-panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(320px, 100%);
  padding: 20px 16px 20px 20px;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--shadow-auth);
}

.site-name-box-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.site-name-box-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

html.is-site-name-open,
html.is-site-name-open body {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .vehicle-track { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav, .header-actions .btn, .header-actions form, .header-account { display: none; }
  .hide-nav .header-back { display: inline-flex; }
  .is-directory .header-actions .btn,
  .is-directory .header-actions form:not(.lang-switch) { display: inline-flex; }
  .is-directory .header-actions .header-auth-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-white);
  }
  .is-directory .header-actions .header-auth-btn:hover {
    background: transparent;
    color: var(--color-white);
  }
  .is-directory .header-actions .header-auth-icon,
  .is-directory .header-actions .header-auth-btn svg.header-auth-icon {
    display: block;
    width: 26px;
    height: 26px;
  }
  .is-directory .header-actions .header-auth-btn:hover svg {
    transform: none;
  }
  .is-directory .header-auth-label { display: none; }
  .header-actions {
    gap: 0;
    flex-shrink: 0;
    height: 44px;
    align-items: center;
  }
  .logo-wrap {
    min-width: 0;
    flex: 1;
  }
  .logo {
    min-width: 0;
    max-width: 100%;
  }
  .logo-name {
    max-width: 100%;
  }
  .logo-name-link { display: none; }
  .logo-name-peek {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .header-actions .icon-btn svg { width: 26px; height: 26px; }
  .menu-toggle { display: grid; place-items: center; }
  .menu-toggle svg { width: 28px; height: 28px; }
  .header-main { padding: 14px var(--container-px); }
  :root {
    --header-h: calc(116px + env(safe-area-inset-top, 0px));
  }
  body:not(.is-directory) .header-top {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    min-height: 44px;
    padding: 0 var(--container-px);
  }
  body:not(.is-directory) .header-top-list { display: none; }
  body:not(.is-directory) .header-top-right {
    flex-wrap: nowrap;
    gap: 4px;
  }
  body:not(.is-directory) .header-top .lang-switch-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  body:not(.is-directory) .header-top .lang-switch-current { display: none; }
  body:not(.is-directory) .header-top .lang-switch-toggle svg {
    width: 22px;
    height: 22px;
  }
  .is-directory .header-top {
    flex-wrap: wrap;
    row-gap: 6px;
    padding: 8px var(--container-px);
  }
  /* Directory mobile: contact row is icon-only so the bar stays one line. */
  body.is-directory:not(.is-dev-mode) .header-top {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    row-gap: 0;
    padding: 0 var(--container-px);
  }
  body.is-directory:not(.is-dev-mode) .header-top-list,
  body.is-directory:not(.is-dev-mode) .header-top-right {
    flex-wrap: nowrap;
    gap: 0;
  }
  body.is-directory:not(.is-dev-mode) .header-top-item {
    position: relative;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    gap: 0;
  }
  body.is-directory:not(.is-dev-mode) .header-top-item svg {
    width: 22px;
    height: 22px;
  }
  body.is-directory:not(.is-dev-mode) .header-top-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  body.is-directory:not(.is-dev-mode) .header-top .lang-switch-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  body.is-directory:not(.is-dev-mode) .header-top .lang-switch-current { display: none; }
  body.is-directory:not(.is-dev-mode) .header-top .lang-switch-toggle svg {
    width: 22px;
    height: 22px;
  }
  body.is-directory {
    --header-h: calc(160px + env(safe-area-inset-top, 0px));
  }
  body.is-directory:not(.is-dev-mode) {
    --header-h: calc(120px + env(safe-area-inset-top, 0px));
  }

  .hero {
    min-height: auto !important;
    padding: 56px var(--container-px) 140px !important;
  }
  .hero p { max-width: 100%; }
  .overlap-inner,
  .about-grid,
  .why-grid,
  .process-wrap,
  .contact-grid,
  .contact-page.has-map.has-form,
  .contact-page.has-map.has-street,
  .contact-page.has-street.has-form { grid-template-columns: 1fr; }
  .services-grid,
  .products,
  .testimonials { grid-template-columns: 1fr 1fr; }
  .overlap { margin-top: clamp(-60px, -8vw, -80px); }
  .call-card { min-height: 340px; }

  /* ── Mobilde header her zaman sabit — hiç kaymasın ── */
  .site-header,
  .site-header.is-sticky,
  .site-header.solid,
  .site-header.solid.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: none !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================
   Tablet / Mobil  ≤ 767px
============================ */
@media (max-width: 767px) {
  body:not(.is-directory) .header-top-list { display: none; }

  .services-grid,
  .products,
  .testimonials,
  .blog-grid,
  .blog-list,
  .info-strip,
  .counters,
  .footer-top { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .user-row { grid-template-columns: 1fr; gap: 6px; }
  .vehicle-track { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { gap: 16px; flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .hero p { max-width: 100%; }

  .about-photo img {
    clip-path: polygon(60px 0%, 100% 0, 100% 100%, 0 100%, 0 60px);
  }

  .contact-visual img {
    min-height: 280px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
  }

  .trust-score-row strong { font-size: 22px; }

  .footer-top { gap: 24px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 14px; }

  .form-bottom { flex-direction: column; align-items: flex-start; }
  .accordion { max-width: 100%; width: 100%; }

  .counters { grid-template-columns: 1fr 1fr; gap: 28px 16px; }

  .call-card { min-height: 300px; padding: 32px 24px; }
}

/* ============================
   Küçük Telefon  ≤ 479px
============================ */
@media (max-width: 479px) {
  .vehicle-track { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .overlap-inner { gap: 16px; }
  .categories-panel { padding: 20px 16px; }
  .brand-row { flex-wrap: wrap; gap: 12px; }
  .brand-item { flex: 0 0 calc(33% - 8px); }

  .counters { grid-template-columns: 1fr 1fr; gap: 20px 12px; }

  .products { grid-template-columns: 1fr 1fr; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card img { height: 180px; }

  .testimonials { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .process-wrap img { height: 260px !important; }

  .search-modal input { font-size: 20px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
}

/* ======================================================
   BOTTOM NAVIGATION — Mobile (≤1024px)
   Floating pill bar with elevated center button
   Rock-Solid Fixed (Tıpkı Header gibi sıfır kayma)
====================================================== */
.bottom-nav {
  display: none; /* desktop'ta gizli */
}

@media (max-width: 1024px) {
  body.auth-body { padding-bottom: 0; }

  .auth-shell { grid-template-columns: 1fr; }

  .auth-pane-dark { display: none; }

  .auth-pane-light {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .auth-logo-mobile { display: grid; }

  /* Body'ye alt boşluk ekle — içerik bar'ın arkasında kalmasın */
  body { padding-bottom: 96px; }
  body.is-directory,
  body.hide-nav { padding-bottom: 0; }

  .bottom-nav {
    display: flex !important;
    align-items: center !important;
    position: fixed !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    height: 64px !important;
    background: var(--color-dark) !important;
    border-radius: 40px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 989 !important;
    padding: 0 6px !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* ── Ortak öğe stili ── */
  .bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    padding: 0 4px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }

  .bnav-item:hover,
  .bnav-item:active {
    color: var(--color-white);
  }

  .bnav-item.is-disabled {
    opacity: 0.38;
    pointer-events: none;
    cursor: default;
  }

  .bnav-item.active {
    color: var(--color-accent);
  }

  /* ── İkon kutucuğu ── */
  .bnav-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
  }

  .bnav-item.active .bnav-icon {
    background: color-mix(in srgb, var(--color-accent) 18%, transparent);
  }

  .bnav-icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  /* ── Etiket ── */
  .bnav-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
  }

  /* ── Merkez Yükseltilmiş Buton ── */
  .bnav-center {
    /* Reset <button> browser defaults */
    appearance: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    /* Çubuğun üstüne taşır */
    margin-top: -26px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow:
      0 0 0 4px var(--color-dark),
      0 0 0 7px color-mix(in srgb, var(--color-accent) 25%, transparent),
      0 6px 18px color-mix(in srgb, var(--color-accent) 50%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bnav-center:hover,
  .bnav-center:active {
    transform: scale(1.06);
    box-shadow:
      0 0 0 4px var(--color-dark),
      0 0 0 8px color-mix(in srgb, var(--color-accent) 40%, transparent),
      0 8px 22px color-mix(in srgb, var(--color-accent) 70%, transparent);
  }

  .bnav-center svg {
    width: 24px;
    height: 24px;
  }

  /* ── Cart sayaç rozeti ── */
  .bnav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--color-secondary);
    color: #000;
    font-size: 9px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
    pointer-events: none;
  }

  /* Sayı 0 ise gizle */
  .bnav-badge:empty,
  .bnav-badge[data-count="0"] {
    display: none;
  }
}

.dev-bar {
  /* sticky fails when html/body use overflow-x: hidden; keep the bar pinned */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-dev-bar);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 16px;
  height: 48px;
  overflow: hidden;
  padding: 0 var(--container-px);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 13px;
}

.dev-bar-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.dev-bar-settings {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.dev-bar-switch:disabled,
.dev-bar-settings:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dev-bar-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dev-bar-switch {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.dev-bar-switch.is-on {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.dev-bar-hint {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-bar-count {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--color-secondary);
  white-space: nowrap;
}

.dev-settings {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: var(--container-px);
  background: rgba(22, 24, 31, 0.92);
}

.dev-settings.show {
  display: grid;
}

.dev-settings-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  background: var(--color-bg);
  color: var(--color-text);
}

.dev-settings-panel h2 {
  margin: 0 40px 20px 0;
  font-family: var(--font-heading);
  font-size: var(--h4);
}

.dev-settings-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dev-settings-form {
  display: grid;
  gap: 16px;
}

.dev-settings-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.dev-settings-field select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-input-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.dev-settings-field select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dev-settings-form .btn {
  margin-top: 8px;
}

.dev-context {
  position: fixed;
  z-index: 1300;
  min-width: 200px;
  padding: 4px;
  background: var(--color-dark);
  color: var(--color-white);
}

.dev-context[hidden] {
  display: none;
}

.dev-context button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.dev-context button:hover,
.dev-context button:focus-visible {
  background: var(--color-accent);
}

.dev-generate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: var(--container-px);
  background: rgba(22, 24, 31, 0.92);
}

.dev-generate.show {
  display: grid;
}

.dev-generate-ask {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
}

.dev-generate textarea {
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid var(--color-input-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  resize: vertical;
}

.dev-generate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.dev-generate-actions .btn {
  min-height: 44px;
}

body.is-dev-mode [data-edit-slot],
body.is-dev-mode [data-edit-image] {
  outline: 1px dashed var(--color-accent);
  outline-offset: 2px;
  cursor: text;
}

body.is-dev-mode [data-edit-image] {
  cursor: pointer;
}

body.is-dev-mode .hero-photo,
body.is-dev-mode .page-hero-photo,
body.is-dev-mode .dir-hero-photo,
body.is-dev-mode .call-photo {
  pointer-events: auto;
}

body.is-dev-mode .hero.has-photo::before,
body.is-dev-mode .page-hero.has-photo::before,
body.is-dev-mode .dir-hero.has-photo::before {
  pointer-events: none;
}

body.is-dev-mode [data-edit-overridden] {
  outline-color: var(--color-secondary);
}

body.is-dev-mode [data-hide-block],
body.is-dev-mode [data-edit-section] {
  outline: 1px dashed rgba(235, 94, 34, 0.35);
  outline-offset: 4px;
  position: relative;
}

.dev-section-bar {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: calc(var(--z-dev-bar) + 2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: auto;
}

.dev-section-bar button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.dev-section-bar button[data-dev-section-history] {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.dev-block-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: calc(var(--z-dev-bar) + 2);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  cursor: pointer;
}

.dev-block-btn svg {
  width: 16px;
  height: 16px;
}

.dev-block-btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.dev-block-btn:hover::after,
.dev-block-btn:focus-visible::after {
  opacity: 1;
}

body.is-dev-mode [data-dev-hidden] {
  outline: 2px dashed var(--color-muted);
  opacity: 0.42;
}

.dev-edit-toolbar {
  position: fixed;
  z-index: calc(var(--z-dev-bar) + 1);
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--color-dark);
  pointer-events: auto;
}

.dev-edit-toolbar[hidden] {
  display: none;
}

.dev-edit-toolbar button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.dev-edit-toolbar button[data-dev-action="revert"],
.dev-edit-toolbar button[data-dev-action="history"] {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.dev-history {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: var(--container-px);
  background: rgba(22, 24, 31, 0.92);
}

.dev-history.show {
  display: grid;
}

.dev-history-empty {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
}

.dev-history-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.dev-history-list button {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-input-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.dev-history-list button:hover,
.dev-history-list button:focus-visible {
  border-color: var(--color-accent);
}

/* Dev bar is fixed; body offset comes from --header-h + --dev-bar-offset. */
body.has-dev-bar {
  --dev-bar-offset: var(--dev-bar-h);
}

body.has-dev-bar .site-header {
  position: fixed;
  top: var(--dev-bar-h);
}

body.has-dev-bar .site-header.solid {
  position: relative;
  top: auto;
}

body.has-dev-bar .site-header.is-sticky,
body.has-dev-bar .site-header.solid.is-sticky {
  top: var(--dev-bar-h);
}

@media (max-width: 1024px) {
  body.has-dev-bar .site-header,
  body.has-dev-bar .site-header.is-sticky,
  body.has-dev-bar .site-header.solid,
  body.has-dev-bar .site-header.solid.is-sticky {
    top: var(--dev-bar-h) !important;
  }
}

/* Single chrome offset: fixed header + optional dev bar. Never pad sections for the header. */
body:not(.auth-body) {
  padding-top: calc(var(--header-h) + var(--dev-bar-offset, 0px));
}

@media (max-width: 767px) {
  .dev-bar-hint,
  .dev-bar-count {
    display: none;
  }
}

.site-manage {
  position: fixed;
  inset: 0;
  z-index: var(--z-account);
  display: none;
  place-items: center;
  padding: var(--container-px);
  background: rgba(22, 24, 31, 0.55);
}

.site-manage.show {
  display: grid;
  overscroll-behavior: none;
}

.site-manage-panel {
  display: flex;
  align-items: stretch;
  width: min(860px, 100%);
  max-height: var(--account-panel-max);
  min-height: 0;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: var(--radius-account);
  box-shadow: var(--shadow-auth);
}

.site-manage.is-full {
  padding: 0;
}

.site-manage.is-full .site-manage-panel {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
}

@supports (height: 100dvh) {
  .site-manage-panel {
    max-height: calc(100dvh - 2 * var(--container-px));
  }

  .site-manage.is-full .site-manage-panel {
    height: 100dvh;
    max-height: 100dvh;
  }
}

.site-manage-aside {
  display: flex;
  flex-direction: column;
  flex: 0 0 220px;
  gap: 20px;
  min-height: 0;
  padding: 24px 16px;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--color-bg-secondary);
}

.site-manage-brand h2 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.site-manage-brand p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.site-manage-nav {
  display: grid;
  gap: 4px;
}

.site-manage-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-account);
  background: transparent;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.site-manage-tab__label {
  flex: 1 1 auto;
  min-width: 0;
}

.site-manage-tab__pct {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}

.site-manage-tab.is-active .site-manage-tab__pct,
.site-manage-tab__pct.is-complete {
  color: var(--color-ok);
}

.site-manage-tab.is-active {
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
}

.site-manage-main {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.site-manage-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
}

.site-manage-full,
.site-manage-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
}

.site-manage-close {
  font-size: 28px;
  line-height: 1;
}

.site-manage-full svg {
  display: block;
}

.site-manage-full svg[hidden] {
  display: none;
}

.site-manage-full:hover,
.site-manage-close:hover {
  color: var(--color-text);
}

.site-manage-section {
  flex: 1 1 auto;
  min-height: 0;
  padding: 28px 32px 24px;
  overflow: auto;
  overscroll-behavior: contain;
}

.site-manage-section h3 {
  margin: 0 96px 8px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-secondary);
  font-family: var(--font-heading);
  font-size: 18px;
}

.site-manage-form {
  display: grid;
}

.site-manage-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-bg-secondary);
}

.site-manage-row-stack {
  align-items: start;
}

.site-manage-label {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.site-manage-hint,
.site-manage-static {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  word-break: break-all;
}

.site-manage-seo-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 22px 96px 20px 20px;
  color: var(--color-white);
  background:
    radial-gradient(140px 90px at 92% 12%, color-mix(in srgb, var(--color-accent) 42%, transparent), transparent 70%),
    var(--color-dark);
  border-radius: var(--radius-account);
}

.site-manage-seo-hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 38ch;
}

.site-manage-seo-eyebrow {
  margin: 0 0 6px;
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-manage-seo-hero h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: var(--color-white);
  font-size: 22px;
}

.site-manage-seo-hero p {
  margin: 0;
  color: color-mix(in srgb, var(--color-white) 72%, transparent);
  font-size: 13px;
  line-height: 1.55;
}

.site-manage-seo-hero__mark {
  flex: 0 0 auto;
  color: var(--color-accent);
}

.site-manage-seo-ring {
  stroke: color-mix(in srgb, var(--color-white) 28%, transparent);
  stroke-width: 1.2;
  animation: site-manage-seo-pulse 3.2s var(--ease) infinite;
}

.site-manage-seo-ring.is-mid {
  animation-delay: 0.4s;
}

.site-manage-seo-ring.is-in {
  animation-delay: 0.8s;
}

@keyframes site-manage-seo-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

.site-manage-seo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.site-manage-seo-stat {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 10px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-account);
}

.site-manage-seo-stat.is-districts {
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg-secondary));
}

.site-manage-seo-stat__n,
.site-manage-seo-city__name,
.site-manage-seo-card__ilce,
.site-manage-seo-card__hint,
.site-manage-seo-empty p {
  margin: 0;
}

.site-manage-seo-stat__n {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.site-manage-seo-stat.is-districts .site-manage-seo-stat__n,
.site-manage-seo-stat.is-service .site-manage-seo-stat__n {
  color: var(--color-accent);
}

.site-manage-seo-stat.is-faq .site-manage-seo-stat__n {
  color: var(--color-dark);
}

.site-manage-seo-stat.is-blog .site-manage-seo-stat__n {
  color: var(--color-secondary);
}

.site-manage-seo-stat.is-region .site-manage-seo-stat__n {
  color: var(--color-accent);
}

.site-manage-seo-ops {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.site-manage-seo-op {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-account);
  font-size: 14px;
}

.site-manage-seo-op.is-done {
  background: color-mix(in srgb, var(--color-accent) 10%, var(--color-bg-secondary));
}

.site-manage-seo-op__status {
  font-weight: 700;
  color: var(--color-accent);
  text-transform: lowercase;
}

.site-manage-seo-stat__label {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-manage-seo-city + .site-manage-seo-city {
  margin-top: 20px;
}

.site-manage-seo-city__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.site-manage-seo-city__name {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-manage-seo-city__count {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.site-manage-seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-manage-seo-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 12px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-account);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.site-manage-seo-card__pin {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  background: var(--color-bg);
  border-radius: 10px;
}

.site-manage-seo-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-manage-seo-card__ilce {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.site-manage-seo-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-ok) 14%, var(--color-bg));
  color: var(--color-ok);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-manage-seo-card__hint {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

.site-manage-seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.site-manage-seo-chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
}

.site-manage-seo-chip span {
  font-weight: 700;
}

.site-manage-seo-chip.is-service.is-on {
  background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
  color: var(--color-accent);
}

.site-manage-seo-chip.is-faq.is-on {
  background: color-mix(in srgb, var(--color-dark) 10%, var(--color-bg));
  color: var(--color-dark);
}

.site-manage-seo-chip.is-blog.is-on {
  background: color-mix(in srgb, var(--color-secondary) 22%, var(--color-bg));
  color: var(--color-text);
}

.site-manage-seo-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 28px 20px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-account);
}

.site-manage-seo-empty__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  color: var(--color-accent);
  background: var(--color-bg);
  border-radius: 10px;
}

.site-manage-seo-empty__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.site-manage-seo-empty p {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-manage-static {
  margin: 0;
}

.site-manage-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-manage-profile-meta {
  flex: 1;
  min-width: 0;
}

.site-manage-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.site-manage-input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-input-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.site-manage-input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.site-manage-input[readonly],
.site-manage-input:disabled {
  color: var(--color-muted);
  background: var(--color-bg-secondary);
  cursor: not-allowed;
}

.site-manage-slug {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-manage-slug-prefix {
  flex: 0 0 auto;
  padding-right: 6px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}

.site-manage-slug .site-manage-input {
  flex: 1;
  min-width: 0;
}

.site-manage-addresses {
  display: grid;
  gap: 12px;
}

.site-manage-address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.site-manage-address [data-address-adres],
.site-manage-address-map,
.site-manage-pair .site-manage-input:nth-child(3) {
  grid-column: 1 / -1;
}

.site-manage-map-label {
  margin: 12px 0 4px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
}

.site-manage-address .apply-map {
  height: 280px;
}

.site-manage-address select:disabled {
  color: var(--color-muted);
  background: var(--color-bg-secondary);
  cursor: not-allowed;
}

.site-manage-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.site-manage-address textarea,
.site-manage-pair textarea {
  min-height: 72px;
  padding: 12px 14px;
  resize: vertical;
}

.site-manage-remove,
.site-manage-add {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.site-manage-remove {
  grid-column: 1 / -1;
  color: var(--color-muted);
}

.site-manage-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  padding: 16px 0 8px;
  background: var(--color-bg);
  box-shadow: 0 -12px 16px var(--color-bg);
}

.site-manage-actions .btn {
  min-width: 140px;
}

@media (max-width: 767px) {
  .site-manage-panel {
    flex-direction: column;
  }

  .site-manage-aside {
    flex: 0 0 auto;
    padding: 16px 16px 8px;
  }

  .site-manage-nav {
    grid-template-columns: 1fr 1fr;
  }

  .site-manage-section {
    padding: 20px 16px 16px;
  }

  .site-manage-row,
  .site-manage-row-stack {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-manage-seo-hero {
    padding-right: 16px;
  }

  .site-manage-seo-hero__mark {
    display: none;
  }

  .site-manage-seo-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.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;
}

/* Directory (tenant-independent / and /ara) */
.dir-hero {
  position: relative;
  padding: 48px 0 36px;
  background: var(--color-accent);
  color: var(--color-white);
}

.dir-hero.has-photo {
  overflow: hidden;
  background-color: var(--color-dark);
}

.dir-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.dir-search-ph {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.dir-filter-search .dir-search-ph {
  color: var(--color-muted);
}

.dir-favicon {
  width: 32px;
  height: 32px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-white);
}

.dir-og {
  position: absolute;
  top: 16px;
  right: var(--container-px);
  z-index: 3;
  width: 120px;
  height: 68px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
}

.dir-tab-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.dir-results-head .dir-tab-title {
  color: var(--color-muted);
}

.dir-results-head .dir-og {
  position: static;
  width: 96px;
  height: 54px;
}

.dir-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.dir-hero > .container {
  position: relative;
  z-index: 2;
}

.dir-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.dir-hero h1,
.dir-results-title,
.dir-steps-heading,
.dir-step h3,
.dir-card h2 {
  text-transform: none;
}

.dir-hero h1 {
  color: var(--color-white);
  max-width: 16ch;
}

@media (max-width: 1024px) {
  .dir-hero h1 {
    max-width: none;
    line-height: 1.2;
  }
}

.dir-hero-copy p {
  margin-top: 12px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 2vw, 17px);
}

.dir-hero-join {
  margin-top: 20px;
}

.dir-hero-stats {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.dir-hero-art {
  justify-self: end;
  width: min(220px, 100%);
  color: var(--color-white);
}

.dir-search {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-directory);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.dir-search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.dir-search-label {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.dir-search-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-directory-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
}

.dir-search-field select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.dir-search-field select:disabled {
  color: var(--color-muted);
  background: var(--color-bg-secondary);
}

.dir-search-submit {
  align-self: end;
  min-width: 120px;
}

.dir-popular {
  margin-top: 22px;
}

.dir-popular-label,
.dir-related-label,
.dir-filter-heading {
  margin-bottom: 10px;
  font-size: var(--dir-filter);
  font-weight: 600;
}

.dir-hero .dir-popular-label {
  color: rgba(255, 255, 255, 0.82);
}

.dir-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dir-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--dir-chip);
  font-weight: 600;
}

.dir-hero .dir-chip {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

.dir-chip span {
  color: var(--color-muted);
  font-weight: 500;
}

.dir-chip.is-active {
  background: var(--color-accent);
  color: var(--color-white);
}

.dir-active {
  padding: 4px 0 8px;
}

.dir-active summary {
  min-height: 56px;
}

.dir-active [data-directory-active] {
  padding: 8px 0 12px;
}

.dir-name-search {
  padding: 0 0 8px;
}

.dir-name-search input {
  margin-bottom: 0;
}

.dir-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-bg-secondary);
  color: var(--color-text);
  font-size: var(--dir-chip);
  font-weight: 600;
}

.dir-active-empty {
  color: var(--color-muted);
  font-size: var(--dir-filter);
}

.dir-active-under {
  margin-top: 8px;
  padding-left: 16px;
}

.dir-steps {
  padding-top: 64px;
}

.dir-steps-heading {
  margin-bottom: 28px;
}

.dir-steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dir-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dir-step-num {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.dir-step h3 {
  margin-bottom: 8px;
}

.dir-step p {
  color: var(--color-muted);
}

.dir-results {
  position: relative;
  padding: 36px 0 72px;
  background: var(--color-bg-secondary);
}

.dir-results-title {
  font-size: var(--dir-title);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.dir-results-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.dir-results-count {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: var(--dir-count);
  line-height: 1.5;
}

.dir-results-sort {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-directory-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--dir-filter);
  font-weight: 600;
}

.dir-mobile-bar,
.dir-filters-backdrop,
.dir-filters-head {
  display: none;
}

.dir-related {
  margin-bottom: 24px;
}

.dir-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dir-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-directory);
}

@media (min-width: 1025px) {
  .dir-results-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .dir-filters {
    position: sticky;
    top: 16px;
    align-self: start;
    width: 280px;
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
}

.dir-filter {
  border-top: 1px solid var(--color-bg-secondary);
  padding-top: 12px;
}

.dir-filter summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.dir-filter summary::-webkit-details-marker {
  display: none;
}

.dir-filter-label {
  flex: 0 0 auto;
  font-size: var(--dir-filter-label);
}

.dir-filter-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--color-muted);
  font-weight: 600;
  font-size: var(--dir-filter);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dir-filter-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  color: var(--color-muted);
}

.dir-filter-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.dir-filter[open] .dir-filter-arrow svg {
  transform: rotate(180deg);
}

.dir-filter-search input {
  width: 100%;
  min-height: 40px;
  margin-bottom: 8px;
  padding: 0 10px;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-directory-sm);
  font-size: 14px;
}

.dir-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
}

.dir-filter-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius-directory-sm);
  font-size: var(--dir-filter);
}

.dir-filter-name {
  flex: 1 1 auto;
  min-width: 0;
}

.dir-filter-count {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.dir-filter-link.is-selected,
.dir-filter-link:hover {
  background: var(--color-bg-secondary);
}

.dir-check {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid var(--color-input-border);
  border-radius: 4px;
  background: var(--color-bg);
}

.dir-check.is-on {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: inset 0 0 0 3px var(--color-bg);
}

.dir-near {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 14px;
}

.dir-near-title {
  font-size: 15px;
  font-weight: 700;
}

.dir-near-hint {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.dir-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.dir-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.dir-switch-ui {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-input-border);
  transition: background-color 0.2s;
}

.dir-switch-ui::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 3px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.2s;
}

.dir-switch input:checked + .dir-switch-ui {
  background: var(--color-accent);
}

.dir-switch input:checked + .dir-switch-ui::after {
  transform: translateX(20px);
}

.dir-switch input:focus-visible + .dir-switch-ui {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.dir-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dir-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Guarantee no child can cause horizontal overflow */
  overflow-x: clip;
  position: relative;
}

.dir-list.is-loading {
  opacity: 0.82;
}

.dir-loading {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: var(--z-directory-loading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--color-bg) 94%, transparent);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.dir-loading[hidden] {
  display: none;
}

.dir-loading-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-bg-secondary);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: dir-spin 0.8s linear infinite;
}

@keyframes dir-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dir-loading-spinner {
    animation: none;
  }
}

.dir-quote {
  position: fixed;
  inset: 0;
  z-index: var(--z-directory-quote);
  display: none;
  place-items: center;
  padding: var(--container-px);
  overflow: auto;
}

.dir-quote.show {
  display: grid;
}

.dir-quote-panel {
  width: min(440px, 100%);
  margin: auto;
  padding: 28px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-directory);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.dir-quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dir-quote-head h2 {
  font-size: var(--dir-title-sm);
  line-height: 1.3;
}

.dir-quote-business {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: var(--dir-card-meta);
  font-weight: 600;
}

.dir-quote-business:empty,
.dir-quote-business[hidden] {
  display: none;
}

.dir-quote-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dir-quote-intro {
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: var(--dir-card-meta);
}

.dir-quote-fields {
  grid-template-columns: 1fr;
}

.dir-quote-panel .form-bottom {
  justify-content: flex-end;
  margin-top: 24px;
}

html.is-dir-quote-open,
html.is-dir-quote-open body {
  overflow: hidden;
}

.dir-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg);
  border-radius: var(--radius-directory);
}

.dir-card-main {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.dir-card-distance {
  margin-top: 6px;
  color: var(--color-accent);
  font-size: var(--dir-card-meta);
  font-weight: 700;
}

.dir-card-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--color-bg-secondary);
}

.dir-card-identity {
  display: flex;
  gap: 14px;
  min-width: 0;
  /* Prevent long names from breaking the flex layout */
  overflow: hidden;
}

.dir-card-identity > div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.dir-card-photo,
.dir-card-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.dir-card-avatar {
  display: grid;
  place-items: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
}

.dir-card h2 {
  font-size: var(--dir-card-name);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.dir-card-meta,
.dir-card-address {
  color: var(--color-muted);
  font-size: var(--dir-card-meta);
}

.dir-card-address {
  margin-top: 12px;
}

.dir-card-map {
  /* Reset browser button defaults */
  appearance: none;
  border: none;
  cursor: pointer;
  background: none;
  /* Inline text-link style matching the old <a> look */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 0;
  color: var(--color-accent);
  font-size: var(--dir-card-meta);
  font-weight: 600;
}

.dir-card-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  vertical-align: middle;
  color: #fff;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.dir-card-verified svg {
  width: 10px;
  height: 10px;
}

/* Wrapper: WA + Share icon buttons side by side */
.dir-card-actions {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex: 0 0 auto;
  align-items: center;
}

.dir-card-wa,
.dir-card-share {
  /* Reset browser button defaults */
  appearance: none;
  border: none;
  cursor: pointer;
  /* Square icon button */
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.dir-card-wa {
  background: color-mix(in srgb, #25d366 14%, transparent);
  color: #1aab55;
}

.dir-card-wa:hover {
  background: color-mix(in srgb, #25d366 22%, transparent);
  transform: scale(1.08);
}

.dir-card-share {
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  color: var(--color-accent);
}

.dir-card-share:hover {
  background: color-mix(in srgb, var(--color-accent) 18%, transparent);
  transform: scale(1.08);
}

.dir-card-wa:active,
.dir-card-share:active { transform: scale(0.95); }

.dir-card-wa svg,
.dir-card-share svg {
  width: 22px;
  height: 22px;
}

.dir-card-visit,
.dir-quote-submit {
  width: 100%;
  justify-content: space-between;
  padding: 8px 8px 8px 16px;
  min-height: 48px;
  border-radius: var(--radius-directory-sm);
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: none;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--color-button-bg) 26%, transparent);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.dir-card-visit-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-white) 20%, transparent);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.dir-card-visit svg,
.dir-quote-submit svg {
  width: 16px;
  height: 16px;
}

.dir-card-visit:hover,
.dir-quote-submit:hover {
  background: color-mix(in srgb, var(--color-button-bg) 86%, var(--color-dark));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--color-button-bg) 34%, transparent);
}

.dir-card-visit:hover svg,
.dir-quote-submit:hover svg {
  transform: none;
}

.dir-card-visit:hover .dir-card-visit-icon,
.dir-quote-submit:hover .dir-card-visit-icon {
  background: color-mix(in srgb, var(--color-white) 28%, transparent);
  transform: translateX(2px);
}

.dir-card-visit:active,
.dir-quote-submit:active {
  transform: translateY(1px);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--color-button-bg) 22%, transparent);
}

.dir-card-visit:focus-visible,
.dir-quote-submit:focus-visible {
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .dir-card-visit,
  .dir-quote-submit,
  .dir-card-visit-icon,
  .dir-card-call,
  .dir-card-wa {
    transition: none;
  }

  .dir-card-visit:hover .dir-card-visit-icon,
  .dir-quote-submit:hover .dir-card-visit-icon,
  .dir-card-visit:active,
  .dir-quote-submit:active {
    transform: none;
  }
}

.dir-card-call {
  /* Reset browser button defaults */
  appearance: none;
  border: none;
  cursor: pointer;
  /* Dark navy — pairs well with the orange CTA without competing */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 10px;
  background: #2aab5e;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px color-mix(in srgb, #2aab5e 26%, transparent);
  transition: background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.dir-card-call:hover {
  background: #238f4f;
  box-shadow: 0 12px 26px color-mix(in srgb, #2aab5e 34%, transparent);
}

.dir-card-call:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px color-mix(in srgb, #2aab5e 18%, transparent);
}

.dir-card-call:focus-visible {
  outline: 2px solid #2aab5e;
  outline-offset: 3px;
}

.dir-card-call svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.dir-empty {
  padding: 40px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-directory);
  text-align: center;
  font-size: var(--dir-filter-label);
}

.dir-empty p + p {
  margin: 8px 0 20px;
  color: var(--color-muted);
  font-size: var(--dir-count);
}

.dir-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dir-pager-link,
.dir-pager-status {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--dir-filter);
  font-weight: 600;
}

.dir-pager-link.is-disabled {
  color: var(--color-muted);
}

@media (max-width: 1024px) {
  .dir-hero-inner,
  .dir-search,
  .dir-steps-list,
  .dir-results-layout {
    grid-template-columns: 1fr;
  }

  .dir-hero-art {
    display: none;
  }

  .dir-search-submit {
    width: 100%;
    justify-content: center;
  }

  .dir-card {
    grid-template-columns: 1fr;
    /* Ensure the card itself never escapes its container */
    max-width: 100%;
    overflow: hidden;
  }

  .dir-card-main {
    /* Allow photo + text + WA button without overflow */
    flex-wrap: nowrap;
    align-items: flex-start;
    min-width: 0;
  }

  .dir-card-side {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--color-bg-secondary);
    padding-top: 16px;
    /* Ara + Teklif İste side by side on mobile */
    flex-direction: row;
    gap: 10px;
  }

  /* Each button in the side takes equal space */
  .dir-card-side .dir-card-call,
  .dir-card-side .dir-card-visit {
    flex: 1 1 0;
    min-width: 0;
    font-size: 14px;
    padding: 10px 10px;
    justify-content: center;
  }

  .dir-results-title {
    font-size: var(--dir-title-sm);
  }

  .dir-related,
  .dir-results-sort {
    display: none;
  }

  .dir-mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .dir-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--color-input-border);
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
  }

  .dir-mobile-btn svg {
    width: 18px;
    height: 18px;
  }

  .dir-mobile-btn.is-static {
    margin: 0;
  }

  .dir-filters-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-directory-filters) - 1);
    background: rgba(0, 0, 0, 0.45);
  }

  .dir-filters-backdrop.show {
    display: block;
  }

  .dir-filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    z-index: var(--z-directory-filters);
    display: none;
    overflow: auto;
    padding: 16px var(--container-px) calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    gap: 0;
    transform: none;
  }

  .dir-filters.show {
    display: flex;
  }

  .dir-filters-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: start;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 1;
    margin: -16px calc(var(--container-px) * -1) 8px;
    padding: 16px var(--container-px) 12px;
    background: var(--color-bg);
  }

  .dir-filters-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    color: var(--color-text);
  }

  .dir-filters-icon svg {
    width: 20px;
    height: 20px;
  }

  .dir-filters-title {
    margin: 4px 0 4px;
    font-size: var(--dir-title-sm);
    text-transform: none;
  }

  .dir-filters-hint {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
  }

  .dir-filters-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .dir-active {
    padding: 8px 0 20px;
  }

  .dir-active summary {
    min-height: 64px;
  }

  .dir-filter {
    padding: 0;
    border-top: 1px solid var(--color-bg-secondary);
  }

  .dir-filter summary {
    min-height: 56px;
    padding: 12px 0;
  }

  .dir-filter-body,
  .dir-filter .dir-filter-list,
  .dir-near {
    padding-bottom: 12px;
  }

  .dir-near {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 16px;
  }

  html.is-dir-filters-open,
  html.is-dir-filters-open body {
    overflow: hidden;
  }
}

/* ── Very small phones (< 480 px) ───────────────────────────────────── */
@media (max-width: 479px) {
  .dir-card {
    padding: 14px;
  }

  /* Shrink photo so the name has more horizontal room */
  .dir-card-photo,
  .dir-card-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    font-size: 22px;
  }

  /* Below 479 px keep row — modern phones (375–430 px) fit two buttons
     side by side comfortably. Only revert at very tiny legacy screens. */
}

.apply-section {
  padding-top: 28px;
}

.apply-wrap {
  max-width: 760px;
}

body.hide-nav.hide-nav {
  --header-h: 0px;
}

.apply-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

.apply-back svg {
  width: 12px;
  height: 12px;
}

.header-back {
  margin-right: auto;
}

.hide-nav .header-main {
  justify-content: flex-start;
}

.hide-nav .header-actions {
  margin-left: auto;
}

.apply-form {
  margin-top: 28px;
}

.apply-alert {
  margin-top: 16px;
  color: var(--color-danger);
  font-weight: 600;
}

.apply-legend {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.field-help,
.apply-slug-preview,
.apply-map-saved {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.apply-slug-preview {
  font-weight: 600;
  color: var(--color-text);
  word-break: break-all;
}

.apply-slug-preview-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.apply-slug-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  color: var(--color-text-muted, #666);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.apply-slug-copy:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 8%, transparent);
}

.apply-slug-copy svg {
  width: 14px;
  height: 14px;
}

.apply-slug-copy__check { display: none; }
.apply-slug-copy[data-copied] .apply-slug-copy__icon { display: none; }
.apply-slug-copy[data-copied] .apply-slug-copy__check { display: block; }
.apply-slug-copy[data-copied] {
  color: var(--color-ok, #22a765);
  border-color: var(--color-ok, #22a765);
}

.apply-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.apply-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.apply-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
  border: 0;
  -webkit-appearance: checkbox;
  appearance: auto;
  accent-color: var(--color-accent);
}

.apply-check a {
  color: var(--color-accent);
  text-decoration: underline;
}

.field-error,
.field-feedback[data-state="bad"] {
  color: var(--color-danger);
  font-size: 13px;
  line-height: 1.45;
}

.field-feedback[data-state="ok"] {
  color: var(--color-ok);
  font-size: 13px;
  line-height: 1.45;
}

.apply-map {
  position: relative;
  z-index: 0;
  height: 360px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-directory);
  background: var(--color-bg-secondary);
}

.apply-map-search {
  width: 100%;
  margin-bottom: 4px;
}

/* intl-tel-input: make wrapper and input fill the field width */
.iti {
  width: 100%;
}

.iti__selected-flag {
  background: var(--color-surface-alt, #f5f5f5);
}

/* Flag dropdown above other elements */
.iti__dropdown-content {
  z-index: 9998;
}

.apply-map-sublabel {
  display: block;
  font-size: var(--label-size, 14px);
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 2px;
  color: var(--color-text);
}

/* Google Places autocomplete dropdown above all other elements */
.pac-container {
  z-index: 9999 !important;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  font-size: 14px;
}

.apply-map .leaflet-pane,
.apply-map .leaflet-top,
.apply-map .leaflet-bottom {
  z-index: 1;
}

.apply-map .leaflet-marker-pane { z-index: 2; }
.apply-map .leaflet-top,
.apply-map .leaflet-bottom { z-index: 3; }

.apply-map .leaflet-div-icon.apply-pin {
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.apply-map-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--color-accent);
  font-weight: 700;
}

.apply-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.apply-result h2 {
  font-size: var(--h3);
}

/* --- Category request modal --- */
.apply-modal {
  border: none;
  border-radius: 12px;
  padding: 0;
  width: min(480px, calc(100vw - 32px));
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  background: var(--color-surface, #fff);
}

.apply-modal::backdrop {
  background: rgba(0,0,0,.45);
}

.apply-modal__inner {
  position: relative;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apply-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  color: var(--color-text-muted, #666);
}

.apply-modal__close:hover {
  background: var(--color-surface-alt, #f5f5f5);
}

.apply-modal__close svg {
  width: 12px;
  height: 12px;
}

.apply-modal__title {
  font-size: var(--h4, 1.1rem);
  margin: 0;
  padding-right: 24px;
}

.apply-modal__lead {
  font-size: 14px;
  color: var(--color-text-muted, #555);
  margin: 0;
}

.apply-modal .form-bottom {
  padding-top: 4px;
}

.apply-modal--legal {
  width: min(720px, calc(100vw - 32px));
  max-height: min(80vh, 800px);
}

.apply-modal--legal .apply-modal__inner {
  max-height: min(80vh, 800px);
}

.apply-modal--legal .apply-modal__body {
  overflow: auto;
  max-height: calc(80vh - 88px);
  padding-right: 4px;
}

.apply-modal--legal .legal-copy {
  max-width: none;
}

.apply-modal--legal .legal-copy h2 {
  font-size: var(--h4, 1.1rem);
  margin: 22px 0 8px;
}

@media (max-width: 767px) {
  .apply-map { height: 280px; }
  .apply-modal__inner { padding: 20px 18px; }
}

/* ── Bot detection — honeypot field, visually hidden from real users ─────── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Feedback tab + modal */
.fb-tab {
  position: fixed;
  top: 46%;
  right: 0;
  z-index: 988;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 10px;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: var(--color-button-bg);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
}

.fb-tab:hover {
  background: color-mix(in srgb, var(--color-button-bg) 88%, var(--color-dark));
}

.fb-layer {
  position: fixed;
  inset: 0;
  z-index: 1210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: color-mix(in srgb, var(--color-dark) 55%, transparent);
}

.fb-layer:not([hidden]) {
  display: flex;
}

.fb-card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(90dvh, 720px);
  overflow: auto;
  padding: 36px 32px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.fb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.fb-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.25;
  color: var(--color-dark);
}

.fb-lead {
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
}

.fb-faces {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.fb-face {
  flex: 1;
  display: grid;
  justify-items: center;
  cursor: pointer;
}

.fb-face input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fb-face-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  opacity: 0.78;
  transition: transform 0.16s ease, opacity 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
  filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--color-dark) 16%, transparent));
}

.fb-face-icon svg {
  width: 48px;
  height: 48px;
  overflow: visible;
}

.fb-face:hover .fb-face-icon {
  opacity: 1;
  transform: scale(1.12);
}

.fb-face input:focus-visible + .fb-face-icon {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.fb-face input:checked + .fb-face-icon {
  opacity: 1;
  transform: scale(1.16);
  box-shadow: 0 0 0 3px var(--color-accent);
  animation: fb-face-pop 0.28s ease;
}

@keyframes fb-face-pop {
  0% { transform: scale(1); }
  55% { transform: scale(1.24); }
  100% { transform: scale(1.16); }
}

@media (prefers-reduced-motion: reduce) {
  .fb-face-icon,
  .fb-face:hover .fb-face-icon,
  .fb-face input:checked + .fb-face-icon {
    transition: none;
    animation: none;
  }
}

.fb-card .field {
  margin-bottom: 16px;
}

.fb-card textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
}

.fb-captcha {
  margin: 8px 0 16px;
}

.fb-error {
  margin: 0 0 12px;
  color: #b42318;
  font-size: 14px;
}

.fb-submit {
  width: 100%;
  justify-content: center;
}

.fb-later {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  min-height: 44px;
  border: 1px solid var(--color-border, #e4e4e7);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.fb-thanks .btn {
  margin-top: 8px;
}

body.is-feedback-open {
  overflow: hidden;
}

body.is-feedback-open .fb-tab {
  visibility: hidden;
}

@media (max-width: 1024px) {
  .fb-tab {
    top: auto;
    bottom: 108px;
  }
  body.is-directory .fb-tab,
  body.hide-nav .fb-tab {
    bottom: 24px;
  }
}

@media (max-width: 767px) {
  .fb-card {
    padding: 28px 18px 20px;
  }
  .fb-face-icon {
    width: 46px;
    height: 46px;
  }
  .fb-face-icon svg {
    width: 40px;
    height: 40px;
  }
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  margin: 36px 0 12px;
  font-family: var(--font-heading);
  font-size: var(--h3);
  color: var(--color-text);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin: 0 0 16px;
  color: var(--color-text);
  line-height: 1.7;
}

.price-card {
  max-width: 720px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.price-card__name {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: var(--h3);
  color: var(--color-text);
}

.price-card__amount {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: var(--h2);
  color: var(--color-accent);
  line-height: 1.1;
}

.price-card__amount span {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-muted);
}

.price-card__intro {
  margin: 0 0 8px;
  color: var(--color-text);
  line-height: 1.7;
}

.price-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  line-height: 1.5;
}

.price-list svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--color-accent);
}
