:root {
  --navy-950: #071426;
  --navy-900: #0b1d33;
  --navy-800: #13294a;
  --navy-700: #1d3a63;
  --accent: #e8870e;
  --accent-600: #cc7307;
  --accent-50: #fff6e9;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --border: #e3e8ef;
  --border-strong: #cfd6e0;
  --text: #13202f;
  --muted: #5d6b7c;
  --subtle: #8a96a5;
  --success: #15803d;
  --success-bg: #e8f6ed;
  --warning: #b45309;
  --warning-bg: #fdf3e2;
  --danger: #c0262d;
  --danger-bg: #fdecec;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 51, 0.06);
  --shadow: 0 6px 24px rgba(11, 29, 51, 0.08);
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons & form controls ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-600);
}

.btn-dark {
  background: var(--navy-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-800);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--navy-700);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  background: #eef1f5;
  color: var(--text);
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.btn-danger:hover {
  background: #f9d7d7;
}

.btn-whatsapp {
  background: #1fa855;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #188f47;
}

.btn-block {
  width: 100%;
}

.input,
.select,
.textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.textarea {
  height: auto;
  min-height: 110px;
  padding: 10px 12px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(29, 58, 99, 0.12);
}

.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.field {
  display: flex;
  flex-direction: column;
}

.hint {
  font-size: 12.5px;
  color: var(--subtle);
  margin-top: 4px;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
}

.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--navy-800);
  flex-shrink: 0;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
}

.alert-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.badge-accent {
  background: var(--accent);
  color: #fff;
}

.badge-navy {
  background: var(--navy-900);
  color: #fff;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-muted {
  background: #eef1f5;
  color: var(--muted);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ---------- Header ---------- */

.announcement {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
}

.topbar {
  background: var(--navy-950);
  color: #c4cfdd;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover {
  color: #fff;
}

.header {
  background: var(--navy-900);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}

.brand-tag {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: 18px 0;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 550;
  font-size: 14.5px;
  color: #d5deea;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 20px 18px;
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 550;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(232, 135, 14, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  padding: 72px 0 120px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #ffd7a3;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  max-width: 760px;
  margin-top: 18px;
  letter-spacing: -0.025em;
}

.hero p.lead {
  font-size: 17.5px;
  color: #c4cfdd;
  max-width: 640px;
  margin-top: 16px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.hero-stats span {
  font-size: 13px;
  color: #9fb0c6;
}

.quick-search {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

.quick-search form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 750;
}

.section-head p {
  color: var(--muted);
  margin-top: 6px;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-600);
  margin-bottom: 8px;
}

.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 40px 0;
}

.page-hero h1 {
  font-size: 30px;
  font-weight: 750;
}

.page-hero p {
  color: #b9c6d6;
  margin-top: 6px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #9fb0c6;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---------- Vehicle cards ---------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-cards.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.vcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.vcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e9edf2;
  overflow: hidden;
}

.vcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.vcard:hover .vcard-media img {
  transform: scale(1.04);
}

.vcard-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vcard-photos {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(7, 20, 38, 0.72);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.vcard-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.vcard-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}

.vcard-meta {
  font-size: 12.5px;
  color: var(--subtle);
  margin-top: 3px;
}

.vcard-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.vcard-specs div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.vcard-specs svg {
  color: var(--navy-700);
}

.vcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.placeholder-car {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #a7b3c2;
  background: linear-gradient(135deg, #eef2f6, #e1e7ee);
}

/* ---------- Listing page ---------- */

.listing {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 26px;
  padding-block: 28px 64px;
  align-items: start;
}

.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.filters-head a {
  font-size: 13px;
  color: var(--accent-600);
  font-weight: 600;
}

.filter-group {
  border-bottom: 1px solid var(--border);
}

.filter-group summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--subtle);
  border-bottom: 2px solid var(--subtle);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s;
}

.filter-group[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.filter-body {
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-body .check {
  justify-content: space-between;
}

.filter-body .check span:first-of-type {
  flex: 1;
}

.filter-count {
  font-size: 12px;
  color: var(--subtle);
  background: #f1f4f7;
  padding: 1px 7px;
  border-radius: 999px;
}

.range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filters-submit {
  padding: 16px 18px;
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.listing-toolbar h2 {
  font-size: 20px;
  font-weight: 700;
}

.listing-toolbar h2 span {
  color: var(--accent-600);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 550;
}

.chip:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
}

.pagination a:hover {
  border-color: var(--navy-700);
}

.pagination .current {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.empty {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
}

.empty h3 {
  color: var(--text);
  font-size: 19px;
  margin-bottom: 8px;
}

.filters-toggle {
  display: none;
}

/* ---------- Vehicle detail ---------- */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  padding-block: 28px 64px;
  align-items: start;
}

.detail-head {
  padding-top: 28px;
}

.detail-head h1 {
  font-size: 28px;
  font-weight: 750;
}

.detail-head .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}

.detail-head .meta span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d1a2b;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-nav.prev {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(7, 20, 38, 0.75);
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}

.gallery-thumbs button {
  flex: 0 0 96px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #e9edf2;
  opacity: 0.7;
}

.gallery-thumbs button.active {
  border-color: var(--accent);
  opacity: 1;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.95);
  z-index: 100;
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.panel + .panel {
  margin-top: 20px;
}

.panel h2,
.panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 28px;
}

.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.spec-table dt {
  color: var(--muted);
}

.spec-table dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.description {
  white-space: pre-line;
  color: #2b3a4b;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.feature-list svg {
  color: var(--success);
  flex-shrink: 0;
}

.feature-group + .feature-group {
  margin-top: 18px;
}

.feature-group h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
  margin-bottom: 10px;
}

.expertise {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}

.expertise div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.part-orijinal {
  background: var(--success-bg);
  color: var(--success);
}

.part-lokal {
  background: #fef7d6;
  color: #946200;
}

.part-boyali {
  background: var(--warning-bg);
  color: var(--warning);
}

.part-degisen {
  background: var(--danger-bg);
  color: var(--danger);
}

.side-card {
  position: sticky;
  top: 92px;
}

.side-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.side-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.key-specs div {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 10px 12px;
}

.key-specs span {
  display: block;
  font-size: 12px;
  color: var(--subtle);
}

.key-specs strong {
  font-size: 14.5px;
}

.sold-banner {
  background: var(--danger-bg);
  color: var(--danger);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
}

/* ---------- Content blocks ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-50);
  color: var(--accent-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 26px;
  font-weight: 750;
}

.cta-band p {
  color: #c4cfdd;
  margin-top: 6px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
}

.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--accent-600);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
  white-space: pre-line;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.prose {
  white-space: pre-line;
  color: #2b3a4b;
  font-size: 16px;
  line-height: 1.75;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item .why-icon {
  margin: 0;
  flex-shrink: 0;
}

.contact-item span {
  display: block;
  font-size: 13px;
  color: var(--subtle);
}

.contact-item strong {
  font-weight: 650;
  white-space: pre-line;
}

.map {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: #aab8c9;
  padding: 56px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(31, 168, 85, 0.4);
  z-index: 50;
}

.wa-float:hover {
  background: #188f47;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .listing .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .grid-cards.cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (max-width: 960px) {
  .nav,
  .topbar-hide {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header .container {
    position: relative;
  }

  .listing {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    max-height: none;
    display: none;
  }

  .filters-toggle {
    display: inline-flex;
  }

  .filters-wrap.open .filters {
    display: block;
  }

  .grid-cards,
  .grid-cards.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .quick-search form {
    grid-template-columns: 1fr 1fr;
  }

  .quick-search form .btn {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14.5px;
  }

  .container {
    padding: 0 16px;
  }

  .topbar {
    display: none;
  }

  .header .container {
    height: 64px;
  }

  .mobile-menu nav {
    top: 64px;
  }

  .hero {
    padding: 44px 0 96px;
  }

  .grid-cards,
  .grid-cards.cols-4,
  .listing .grid-cards,
  .why-grid,
  .footer-grid,
  .form-grid,
  .quick-search form {
    grid-template-columns: 1fr;
  }

  .spec-table,
  .expertise,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .detail-head h1 {
    font-size: 22px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Yönetim paneli ---------- */

.admin {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  background: var(--navy-950);
  color: #c4cfdd;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-side .brand {
  padding: 0 6px;
  color: #fff;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.admin-side .brand-logo {
  height: 30px;
}

.admin-side .brand-tag {
  margin: 0;
  padding-left: 0;
  border-left: 0;
  font-size: 10.5px;
  letter-spacing: 0.24em;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-nav a,
.admin-side-foot a,
.admin-side-foot button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 550;
  font-size: 14.5px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.admin-nav a:hover,
.admin-side-foot a:hover,
.admin-side-foot button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-nav a[aria-current="page"] {
  background: rgba(232, 135, 14, 0.16);
  color: #ffd7a3;
}

.admin-nav .count {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 11.5px;
  padding: 1px 7px;
}

.admin-side-foot {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.admin-main {
  padding: 28px 32px 64px;
  min-width: 0;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-top h1 {
  font-size: 24px;
  font-weight: 750;
}

.admin-top p {
  color: var(--muted);
  margin-top: 4px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-top: 4px;
}

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--subtle);
  font-weight: 650;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
  white-space: nowrap;
}

.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table .thumb {
  width: 76px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #e9edf2;
  flex-shrink: 0;
}

.table .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-toolbar .input,
.admin-toolbar .select {
  width: auto;
  min-width: 200px;
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 18px;
}

.form-section h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-section > p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.fields .span-2 {
  grid-column: span 2;
}

.fields .full {
  grid-column: 1 / -1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 16px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.image-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e9edf2;
  border: 2px solid transparent;
}

.image-tile.cover {
  border-color: var(--accent);
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-tile .tools {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  padding: 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.image-tile .tools button {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.image-tile .tools button:disabled {
  opacity: 0.4;
}

.image-tile .cover-label {
  position: absolute;
  top: 6px;
  left: 6px;
}

.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  padding: 10px;
  background: #fafbfc;
}

.dropzone:hover,
.dropzone.drag {
  border-color: var(--accent);
  color: var(--accent-600);
  background: var(--accent-50);
}

.exp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.exp-row select {
  height: 34px;
  width: 150px;
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  background: rgba(244, 246, 249, 0.92);
  backdrop-filter: blur(6px);
  padding: 14px 0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid var(--border);
  z-index: 5;
}

.msg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.msg.unread {
  border-left: 4px solid var(--accent);
}

.msg-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.msg-body {
  white-space: pre-line;
  color: #2b3a4b;
  margin: 8px 0 12px;
}

.repeat-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 10px;
  margin-bottom: 10px;
  align-items: start;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 960px) {
  .admin {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-side-foot {
    margin: 0;
    border: 0;
    padding: 0;
    display: flex;
  }

  .admin-main {
    padding: 20px 16px 48px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fields,
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .fields,
  .check-grid,
  .repeat-row {
    grid-template-columns: 1fr;
  }

  .fields .span-2 {
    grid-column: auto;
  }
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Yardımcılar ---------- */

.inline-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pre-line {
  white-space: pre-line;
}

.form-grid.one-col {
  grid-template-columns: 1fr;
}

.small-muted {
  font-size: 13px;
  color: var(--muted);
  align-items: flex-start;
}

.small-muted input {
  margin-top: 2px;
}

.section-white {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lightbox .gallery-nav {
  font-size: 30px;
  line-height: 1;
  color: var(--navy-900);
}

.lightbox-close {
  font-size: 28px;
  line-height: 1;
}

.vcard-meta svg {
  display: inline;
  vertical-align: -1px;
}

.admin-side-foot form {
  margin: 0;
}

code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.92em;
}

@media (max-width: 380px) {
  .header .brand { gap: 8px; }
  .header .brand-logo { height: 26px; }
  .header .brand-tag { padding-left: 9px; font-size: 10px; letter-spacing: 0.22em; }
}
