:root {
  --bg-deep: #040814;
  --bg-panel: #0c1428;
  --bg-card: #111d38;
  --border: rgba(56, 92, 160, 0.45);
  --accent: #f4a21a;
  --accent-soft: #ffc85a;
  --text: #e8ecf7;
  --muted: #9aa8c7;
  --glow: 0 0 42px rgba(244, 162, 26, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(36, 66, 140, 0.35), transparent),
    radial-gradient(900px 500px at 100% 0%, rgba(244, 162, 26, 0.08), transparent), var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: #fff;
}

.muted {
  color: var(--muted);
}

.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;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #0a1630, #132447, #0a1630);
  text-align: center;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}
.topbar .call-link {
  color: var(--accent-soft);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 8, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 420px);
}
.site-logo__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}
.site-logo__text {
  line-height: 1.2;
}

nav {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}
nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(4, 8, 20, 0.55) 0%, rgba(4, 8, 20, 0.88) 55%, rgba(4, 8, 20, 0.95) 100%),
    var(
        --hero-bg,
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1920&q=75")
      )
      center / cover no-repeat;
  filter: saturate(1.05);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero h1 {
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 28px;
}

body.is-mobile-ua .hero {
  min-height: 78vh;
  padding-top: 32px;
}

.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 29, 56, 0.9), rgba(4, 8, 20, 0.4));
  border-bottom: 1px solid var(--border);
}
.page-hero--compact {
  padding: 44px 0 32px;
}
.page-hero h1 {
  margin: 0 0 12px;
}
.hero-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(1.85rem, 5vw, 3.15rem);
}
h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}
h3 {
  font-size: 1.2rem;
}

.section {
  padding: 72px 0;
}
.section-title {
  margin: 0 0 12px;
}
.section-lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 36px;
  font-size: 1.05rem;
}
.alt {
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.95), rgba(4, 8, 20, 0.6));
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.two-col {
  grid-template-columns: 1fr 1fr;
}
.stack {
  display: grid;
  gap: 20px;
}

.card {
  background: linear-gradient(155deg, rgba(20, 34, 64, 0.98), rgba(12, 20, 40, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 162, 26, 0.55);
  box-shadow: var(--glow), 0 22px 56px rgba(0, 0, 0, 0.35);
}

.feature {
  padding: 22px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e89410);
  color: #1a0f04;
  box-shadow: 0 10px 28px rgba(244, 162, 26, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #120a02;
}
.btn-xl {
  font-size: 1.08rem;
  padding: 17px 32px;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(244, 162, 26, 0.5);
}
.btn-block {
  width: 100%;
}

.center,
.cta {
  text-align: center;
}
.cta--inline .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 36px 40px;
  background: linear-gradient(120deg, rgba(244, 162, 26, 0.12), rgba(17, 29, 56, 0.95));
  border: 1px solid rgba(244, 162, 26, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--glow);
}
.cta--inline h2 {
  margin: 0 0 8px;
}
.cta--inline p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.services-band {
  position: relative;
}
.services-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 162, 26, 0.45), transparent);
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-grid--large {
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-card,
.service-panel {
  position: relative;
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(17, 29, 56, 0.98), rgba(8, 14, 28, 0.92));
  overflow: hidden;
}
.service-card::after,
.service-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.85;
}
.service-card--oto-kurtarici::after,
.service-panel--oto-kurtarici::after {
  background: linear-gradient(90deg, #5c9dff, transparent);
}
.service-card--yol-yardim::after,
.service-panel--yol-yardim::after {
  background: linear-gradient(90deg, #7ee787, transparent);
}

.service-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.service-badge--lg {
  font-size: 0.72rem;
}

.service-body,
.service-panel__body {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 14px 0 22px;
  line-height: 1.7;
}

.service-panel__head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.service-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.text-center {
  text-align: center;
}

form label {
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
  color: #dbe4ff;
}
.form-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: -6px 0 14px;
  line-height: 1.45;
}
input,
textarea {
  width: 100%;
  margin-top: 8px;
  background: rgba(6, 12, 28, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(244, 162, 26, 0.65);
  box-shadow: 0 0 0 3px rgba(244, 162, 26, 0.12);
}

iframe {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  border: 1px solid var(--border);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #020510;
  font-size: 0.92rem;
  color: var(--muted);
}

.fab-whatsapp,
.fab-call {
  position: fixed;
  right: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 0.82rem;
  z-index: 60;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.fab-whatsapp {
  bottom: 18px;
  background: #25d366;
  color: #03140a;
}
.fab-call {
  bottom: 82px;
  background: linear-gradient(135deg, var(--accent), #e89410);
  color: #1a0f04;
}

#exitLeadBox.show,
#scrollLeadPanel.show {
  display: block !important;
}

details {
  background: var(--bg-card);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
details summary {
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-head);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e89410);
  color: #1a0f04 !important;
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 0.82rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--glow);
}
.header-phone:hover {
  color: #0a0602 !important;
  filter: brightness(1.05);
}
@media (max-width: 900px) {
  .header-phone__text {
    font-size: 0.75rem;
  }
}

.geo-prompt-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0));
  z-index: 93;
  max-width: 520px;
  margin: 0 auto;
}
.geo-prompt-banner__inner {
  background: rgba(17, 29, 56, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.geo-prompt-banner__text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.geo-prompt-banner__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, transparent, rgba(4, 8, 20, 0.92));
  border-top: 1px solid var(--border);
  justify-content: center;
}
.mobile-call-bar__btn {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #e89410);
  color: #1a0f04 !important;
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 0.95rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.mobile-call-bar__btn:hover {
  color: #0a0602 !important;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }
  .mobile-call-bar {
    display: flex;
  }
  .fab-call {
    bottom: 148px;
  }
  .fab-whatsapp {
    bottom: 84px;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.trust-chip {
  background: rgba(17, 29, 56, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--muted);
}
.trust-chip strong {
  display: block;
  color: var(--accent-soft);
  font-family: var(--font-head);
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.review-card__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.review-card__stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin: 0 0 8px;
}

.district-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.district-pills a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 29, 56, 0.6);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.district-pills a:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.hero-search-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.hero-search-tel .btn-xl {
  min-width: min(100%, 320px);
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  nav {
    font-size: 0.88rem;
  }
  .cta--inline .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .nav-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
    gap: 12px;
  }
  .site-logo__img {
    width: 40px;
    height: 40px;
  }
  .site-logo {
    justify-content: center;
    margin: 0 auto;
  }
  .logo {
    text-align: center;
    font-size: clamp(0.95rem, 4vw, 1.05rem);
  }
  .header nav {
    justify-content: flex-start;
    gap: 8px 14px;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px 0 8px;
    margin: 0 -2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  .header nav a {
    flex: 0 0 auto;
    padding: 6px 2px;
  }
  .header-phone {
    align-self: center;
    max-width: 100%;
    justify-content: center;
  }
  .section {
    padding: clamp(40px, 10vw, 72px) 0;
  }
  .container {
    width: min(1140px, 94vw);
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: min(82vh, 640px);
    padding: 36px 0 48px;
  }
  .hero .container {
    padding-inline: 4px;
  }
  .btn-xl {
    font-size: 1rem;
    padding: 15px 22px;
    width: 100%;
    max-width: 340px;
  }
  .fab-whatsapp,
  .fab-call {
    font-size: 0.78rem;
    padding: 11px 14px;
    right: 12px;
  }
}

.admin-nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  font-size: 0.88rem;
  line-height: 1.45;
}
.admin-nav-bar a {
  white-space: nowrap;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  background: rgba(12, 20, 40, 0.85);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-soft);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tbody tr:hover td {
  background: rgba(17, 29, 56, 0.35);
}

.admin-ip-full {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.blog-section .section-lead {
  color: var(--muted);
}

.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 28px;
  padding: 16px 18px;
  background: rgba(12, 20, 40, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.blog-tag-cloud__label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-soft);
  margin-right: 4px;
}
a.blog-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(17, 29, 56, 0.5);
}
a.blog-tag:hover {
  border-color: rgba(244, 162, 26, 0.55);
  color: var(--accent-soft);
}
a.blog-tag.is-active {
  border-color: var(--accent);
  color: #fff;
  background: rgba(244, 162, 26, 0.15);
}

.blog-list {
  display: grid;
  gap: 22px;
}
.blog-list__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}
.blog-list__title a {
  color: #fff;
}
.blog-list__title a:hover {
  color: var(--accent-soft);
}
.blog-list__excerpt {
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.65;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  align-items: center;
}
.blog-tags--footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.blog-tags__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 6px;
}
.blog-tags__link {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(17, 29, 56, 0.45);
  color: var(--accent-soft);
}
.blog-tags__link:hover {
  color: #fff;
  border-color: rgba(244, 162, 26, 0.45);
}

.blog-article__body {
  margin-top: 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}
.blog-article h1 {
  margin-bottom: 12px;
}
