:root {
  --yellow: #f6c400;
  --yellow-deep: #d79c00;
  --yellow-light: #fff8d6;
  --ink: #111111;
  --charcoal: #20242a;
  --paper: #fffaf0;
  --white: #ffffff;
  --muted: #65707d;
  --line: rgba(17, 17, 17, .1);
  --green: #17a463;
  --green-dark: #0f7f4b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 24px 60px rgba(17, 17, 17, .18);
  --shadow-sm: 0 4px 16px rgba(17, 17, 17, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdf6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: var(--white);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 20px rgba(17, 17, 17, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body:has(.district-page) .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 20px rgba(17, 17, 17, .07);
}

/* ── Brand ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
  font-size: 22px;
  flex-shrink: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  opacity: .72;
  font-size: 12px;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 14px;
}

.nav a {
  opacity: .82;
  transition: opacity .15s;
}

.nav a:hover {
  opacity: 1;
}

/* ── Header buttons ── */
.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .12s, box-shadow .12s, background .12s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: rgba(0, 0, 0, .14);
}

.btn-primary:hover {
  background: #ffd426;
}

.btn-ghost {
  color: currentColor;
  border-color: rgba(255, 255, 255, .45);
}

.is-scrolled .btn-ghost,
body:has(.district-page) .site-header .btn-ghost {
  border-color: var(--line);
}

.btn-light {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(0, 0, 0, .1);
}

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

.btn-dark:hover {
  background: #2a2a2a;
}

.btn-large {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .58) 42%, rgba(0, 0, 0, .14) 80%),
    linear-gradient(0deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .04));
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 84px);
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: .97;
  letter-spacing: -.01em;
  max-width: 720px;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
}

.hero-phone {
  margin: 18px 0 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: .02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin: 28px 0 0;
}

.hero-stats div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-weight: 900;
  font-size: 20px;
  color: var(--yellow);
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
}

/* ── Quick panel ── */
.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -52px auto 0;
  position: relative;
  z-index: 2;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quick-panel div {
  padding: 24px;
  background: var(--white);
}

.quick-panel strong,
.quick-panel span,
.quick-panel a {
  display: block;
}

.quick-panel strong {
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
}

.quick-panel a {
  font-weight: 900;
  font-size: 18px;
  color: var(--green-dark);
  transition: color .15s;
}

.quick-panel a:hover {
  color: var(--green);
}

.quick-wa {
  font-size: 16px !important;
}

/* ── Sections ── */
.section,
.split-section,
.cta-band,
.footer {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.split-copy h2,
.cta-band h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -.01em;
}

.section-heading p,
.split-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ── Service cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.service-card .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  background: var(--yellow-light);
  border-radius: 12px;
  font-size: 22px;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ── Search intent SEO section ── */
.search-intent-section {
  padding-top: 72px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intent-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intent-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.intent-grid p {
  color: var(--muted);
}

.intent-grid a {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 900;
  color: #0f7f4b;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--charcoal);
  background: #fff4bd;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.keyword-actions {
  margin-top: 20px;
}

/* ── Trust band ── */
.trust-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 56px auto 0;
  padding: 20px 28px;
  background: var(--yellow-light);
  border: 1px solid rgba(246, 196, 0, .35);
  border-radius: var(--radius-lg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.trust-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
  flex-shrink: 0;
}

/* ── Split section ── */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
  margin-top: 96px;
  padding: 56px;
  color: var(--white);
  background: linear-gradient(135deg, #141414 0%, #252218 56%, #4a3900 100%);
  border-radius: var(--radius-lg);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  transition: background .15s;
}

.feature-list div:hover {
  background: rgba(255, 255, 255, .12);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-list span {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

/* ── District search & grid ── */
.district-tools {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-bottom: 20px;
}

.district-tools label {
  font-weight: 800;
  font-size: 14px;
}

.district-tools input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s;
}

.district-tools input:focus {
  outline: none;
  border-color: var(--yellow-deep);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.district-grid a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, border-color .15s, transform .12s;
}

.district-grid a:hover {
  background: var(--yellow);
  border-color: rgba(0, 0, 0, .2);
  transform: translateY(-1px);
}

.district-grid a.is-hidden {
  display: none;
}

/* ── CTA band ── */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 96px;
  padding: 46px 52px;
  background: var(--yellow);
  border-radius: var(--radius-lg);
}

.cta-band .eyebrow {
  color: #493600;
}

.cta-band h2 {
  max-width: 680px;
  margin-bottom: 0;
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .15s;
}

details[open] {
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ── District page ── */
.district-page {
  padding-top: 74px;
}

.district-hero {
  min-height: 500px;
  display: grid;
  align-items: center;
  padding: 86px clamp(18px, 6vw, 84px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .50)),
    url("../img/istanbul-taksi-hero.png") center 40% / cover no-repeat;
}

.district-hero > div {
  max-width: 760px;
}

.district-hero h1 {
  margin-bottom: 16px;
}

.district-hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
}

.district-content {
  padding-top: 72px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .3);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  opacity: .5;
}

/* ── Nearby districts ── */
.nearby-section {
  padding-top: 72px;
}

.nearby-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.nearby-grid a {
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, border-color .15s;
}

.nearby-grid a:hover {
  background: var(--yellow);
  border-color: rgba(0, 0, 0, .2);
}

/* ── Sitemap ── */
.sitemap-page {
  padding-top: 82px;
}

.sitemap-block {
  margin-top: 40px;
}

.sitemap-block h2 {
  margin-bottom: 18px;
  font-size: clamp(22px, 2.8vw, 32px);
}

.local-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── Footer ── */
.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  margin-top: 80px;
  padding: 34px 0 96px;
  border-top: 1px solid var(--line);
}

.footer strong {
  font-size: 17px;
}

.footer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 800;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--green-dark);
}

.agency-signature {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.agency-signature a {
  font-weight: 800;
  transition: color .15s;
}

.agency-signature a:hover {
  color: var(--ink);
}

/* ── Mobile sticky bar ── */
.mobile-sticky {
  display: none;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .district-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .quick-panel,
  .service-grid,
  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .district-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 32px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-actions {
    display: none;
  }

  .hero {
    min-height: 100svh;
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-stats,
  .service-grid,
  .local-grid,
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    grid-template-columns: 1fr;
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

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

  .district-page {
    padding-top: 66px;
  }

  .district-hero {
    min-height: 580px;
    padding: 72px 16px 40px;
  }

  .section {
    padding-top: 64px;
  }

  .service-card {
    min-height: 0;
  }

  .split-section {
    width: 100%;
    border-radius: 0;
    margin-top: 64px;
    padding: 32px 18px;
  }

  .cta-band {
    width: 100%;
    border-radius: 0;
    margin-top: 64px;
    padding: 32px 18px;
    gap: 22px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .trust-band {
    width: 100%;
    border-radius: 0;
    gap: 12px 18px;
    padding: 18px;
    justify-content: flex-start;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-bottom: 110px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ── Mobile sticky ── */
  .mobile-sticky {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(17, 17, 17, .92);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 52px;
    border-radius: var(--radius);
    font-weight: 900;
    font-size: 15px;
    transition: transform .1s;
  }

  .mobile-sticky a:active {
    transform: scale(.97);
  }

  .mobile-sticky a:first-child {
    color: var(--ink);
    background: var(--yellow);
  }

  .mobile-sticky a:last-child {
    color: var(--white);
    background: var(--green);
  }

  .nearby-grid a {
    font-size: 13px;
    padding: 8px 14px;
  }
}
