/* =========================================================
   Batı Şehir Nakliyat — Global Stylesheet
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --primary: #0f172a;
  --primary-soft: #1e293b;
  --secondary: #2563eb;
  --secondary-dark: #1d4ed8;
  --secondary-soft: #eff6ff;
  --accent: #c8a45d;
  --accent-soft: #f7efdc;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 40px 80px rgba(15, 23, 42, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --grad-hero: radial-gradient(120% 80% at 80% 0%, #eef4ff 0%, #f8fafc 55%, #ffffff 100%);
  --grad-accent: linear-gradient(135deg, #c8a45d 0%, #e3c489 100%);
  --grad-blue: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --font-sans: 'Manrope', 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-soft);
  padding: 8px 14px;
  border-radius: 999px;
}

.eyebrow.gold {
  color: #8a6e2c;
  background: var(--accent-soft);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-top: 14px;
  max-width: 780px;
}

.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  max-width: 680px;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-title,
.section-head.center .section-lead {
  margin-inline: auto;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn .arrow {
  transition: transform .18s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

.btn-primary:hover {
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
}

.btn-blue:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, .34);
}

.btn-gold {
  background: var(--grad-accent);
  color: #3a2b08;
  box-shadow: 0 14px 30px rgba(200, 164, 93, .32);
}

.btn-gold:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14.5px;
}

.btn-link .arrow {
  transition: transform .18s ease;
}

.btn-link:hover {
  color: var(--secondary-dark);
}

.btn-link:hover .arrow {
  transform: translateX(3px);
}

/* ---------- 5. Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-blue);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(200, 164, 93, .7) 100%);
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: -2px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--primary);
  transition: background .18s ease, color .18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--surface-2);
}

.nav-link .chev {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.nav-item.has-drop:hover .nav-link .chev {
  transform: rotate(180deg);
}

.nav-cta {
  margin-left: 8px;
}

/* Dropdown (desktop) */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

/* Invisible bridge over the 10px gap between the trigger and the panel,
   so moving the cursor down doesn't drop hover state and close the menu. */
.dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item.has-drop:hover .dropdown,
.nav-item.has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.dropdown a:hover {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
}

.dropdown a:hover .drop-icon {
  background: var(--secondary);
  color: #fff;
}

.dropdown a:hover .drop-icon.gold-hover {
  background: var(--accent);
  color: #3a2b08;
}

.drop-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--secondary);
  transition: background .15s ease, color .15s ease;
}

.drop-icon svg {
  width: 18px;
  height: 18px;
}

.drop-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
}

.drop-text span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  position: relative;
  transition: transform .25s ease, opacity .25s ease;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--primary);
  transition: transform .25s ease;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.nav.is-open .burger span {
  background: transparent;
}

.nav.is-open .burger span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .burger span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  /* `top` is overridden in mobile media query to match the actual navbar
     height there (which shrinks to 64px). */
  inset: 76px 0 0 0;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(37, 99, 235, .06), transparent 60%),
    var(--surface);
  padding: 14px var(--gutter) 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 55;
}

/* The drawer now lives next to .nav (not inside it) so backdrop-filter on
   .nav doesn't trap its position:fixed inside the navbar's bounds. */
.nav.is-open~.mobile-menu,
.nav.is-open+.mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 0 auto;
}

.mobile-menu-nav>a,
.mobile-menu-nav>.m-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.mobile-menu-nav>a:hover,
.mobile-menu-nav>.m-toggle:hover {
  background: var(--surface-2);
}

.mobile-menu-nav>a.is-active,
.mobile-menu-nav>.m-toggle.is-active {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  border-color: rgba(37, 99, 235, 0.18);
}

.mobile-menu-nav>a.is-active .mm-icon,
.mobile-menu-nav>.m-toggle.is-active .mm-icon {
  background: var(--secondary);
  color: #fff;
}

.mm-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--secondary);
  display: grid;
  place-items: center;
  transition: background .15s ease, color .15s ease;
}

.mm-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.mm-arr {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex-shrink: 0;
}

.m-toggle .chev {
  margin-left: auto;
  transition: transform .25s ease;
  color: var(--muted);
}

.m-toggle.is-open .chev {
  transform: rotate(180deg);
}

.m-sub {
  display: none;
  padding: 4px 0 8px 52px;
}

.m-sub.is-open {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.m-sub a:hover {
  background: var(--surface-2);
  color: var(--primary);
}

/* Sticky CTA + contact rail at the drawer's bottom — fills the empty area
   and keeps action targets visible without scroll. */
.mobile-cta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mobile-cta .btn {
  justify-content: center;
}

.mobile-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* Vertical card so labels (esp. the formatted phone number) get full
   card width and don't wrap mid-string. */
.mm-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

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

.mm-contact .ico {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.mm-contact .ico svg {
  width: 20px;
  height: 20px;
}

.mm-contact.wa .ico {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.mm-contact.tel .ico {
  background: var(--grad-blue);
}

.mm-contact strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  white-space: nowrap;
}

.mm-contact small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .16), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 164, 93, .20), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.03em;
  margin-top: 18px;
}

.hero h1 .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: #475569;
  max-width: 560px;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-trust .avatars {
  display: flex;
}

.hero-trust .avatars span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--grad-blue);
  border: 2px solid #fff;
  margin-left: -8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.hero-trust .avatars span:first-child {
  margin-left: 0;
}

.hero-trust .avatars span:nth-child(2) {
  background: var(--grad-accent);
  color: #3a2b08;
}

.hero-trust .avatars span:nth-child(3) {
  background: linear-gradient(135deg, #0f172a, #334155);
}

.hero-trust strong {
  color: var(--primary);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(37, 99, 235, 0.12), transparent 60%),
    linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 80% at 30% 20%, #000 30%, transparent 80%);
}

/* Hero photograph — when present, drop the dark placeholder + grid overlay
   so the real image is the protagonist. Floating badges still sit on top. */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-visual:has(.hero-img) {
  background: var(--surface);
  border-color: var(--border);
}

.hero-visual:has(.hero-img)::before {
  display: none;
}

.hero-visual .truck {
  position: absolute;
  left: 8%;
  bottom: 16%;
  right: 8%;
  height: 46%;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  overflow: hidden;
}

.hero-visual .truck .cab {
  width: 30%;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 13px;
}

.hero-visual .truck .body {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
}

.hero-visual .truck .box {
  background: linear-gradient(180deg, #fff, #e2e8f0);
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  position: relative;
}

.hero-visual .truck .box::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 38%;
  height: 8%;
  background: var(--accent);
  border-radius: 1px;
  opacity: .65;
}

.hero-visual .wheel {
  position: absolute;
  bottom: 9%;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #475569, #0f172a);
  border: 4px solid #1e293b;
}

.hero-visual .wheel.l {
  left: 18%;
}

.hero-visual .wheel.r {
  right: 16%;
}

.hero-visual .badge-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.hero-visual .badge-float .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
}

.hero-visual .badge-float .ico.gold {
  background: var(--accent-soft);
  color: #8a6e2c;
}

.hero-visual .badge-float .ico svg {
  width: 16px;
  height: 16px;
}

.hero-visual .badge-float small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 11.5px;
}

.hero-visual .badge-1 {
  top: 8%;
  left: 6%;
}

.hero-visual .badge-2 {
  top: 18%;
  right: 6%;
}

.hero-visual .badge-3 {
  bottom: 4%;
  left: 10%;
}

/* Stat strip */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.stat-card .stat-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}

.stat-card.gold .stat-ico {
  background: var(--accent-soft);
  color: #8a6e2c;
}

.stat-card.dark .stat-ico {
  background: #0f172a;
  color: #fff;
}

.stat-card .stat-ico svg {
  width: 20px;
  height: 20px;
}

.stat-card strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
}

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

/* ---------- 7. Service cards (homepage + listing) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .0), rgba(200, 164, 93, .0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, .5), rgba(200, 164, 93, .6));
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
  position: relative;
}

.service-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity .2s ease;
}

.service-card:hover .service-icon::after {
  opacity: 1;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 19px;
}

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

.service-card .btn-link {
  margin-top: auto;
}

/* Stretched link — make the whole card clickable while keeping a single
   anchor in the DOM (good for a11y + SEO). The ::after overlay sits above
   the decorative ::before border and catches clicks across the card. */
.service-card {
  cursor: pointer;
}

.service-card .btn-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.service-card.large {
  grid-column: span 2;
  padding: 32px;
}

.services-grid.large {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.services-grid.large .service-card {
  padding: 36px;
}

.services-grid.large .service-card h3 {
  font-size: 24px;
}

.services-grid.large .service-card p {
  font-size: 15.5px;
}

/* ---------- 8. Why-us grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.why-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--border);
}

.why-card h4 {
  font-size: 17px;
}

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

.why-card.is-feature {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-color: transparent;
}

.why-card.is-feature h4 {
  color: #fff;
}

.why-card.is-feature p {
  color: rgba(255, 255, 255, .7);
}

.why-card.is-feature .why-num {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  color: #fff;
}

.why-card.is-feature::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-accent);
  margin-top: 4px;
}

/* ---------- 9. Timeline / Process ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Per-step connector: each step draws its own line that ends just before
   the next step's dot. The last step gets none, so the line never overshoots
   the timeline. */
.tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  /* dot vertical center (60px / 2) */
  left: 72px;
  /* just past the 60px dot */
  right: -10px;
  /* extends into the grid gap toward the next dot */
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.tl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 4px;
  z-index: 1;
}

.tl-dot {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--secondary-soft);
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  position: relative;
  transition: transform .2s ease;
}

.tl-dot svg {
  width: 24px;
  height: 24px;
}

.tl-step:hover .tl-dot {
  transform: translateY(-2px);
}

.tl-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.tl-step h4 {
  font-size: 16.5px;
}

.tl-step p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* ---------- 10. CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1d4ed8 140%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(200, 164, 93, .35), transparent 60%);
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 60% at 80% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.cta-banner>* {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
}

.cta-banner p {
  color: rgba(255, 255, 255, .72);
  margin-top: 14px;
  max-width: 520px;
}

.cta-banner .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-banner .quick {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-banner .quick .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-accent);
  color: #3a2b08;
  display: grid;
  place-items: center;
}

.cta-banner .quick strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
}

.cta-banner .quick span {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}

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

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.testimonial .quote-mark {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 60px;
  line-height: 1;
  color: var(--accent);
  opacity: .35;
  font-family: Georgia, serif;
}

.testimonial .stars {
  color: var(--accent);
  display: inline-flex;
  gap: 2px;
}

.testimonial .stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial blockquote {
  margin: 0;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.65;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial .who .av {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--grad-blue);
}

.testimonial:nth-child(2) .who .av {
  background: var(--grad-accent);
  color: #3a2b08;
}

.testimonial:nth-child(3) .who .av {
  background: linear-gradient(135deg, #0f172a, #334155);
}

.testimonial .who strong {
  display: block;
  font-size: 14.5px;
  color: var(--primary);
}

.testimonial .who span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 12. FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.faq-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  transition: background .15s ease;
}

.faq-q:hover {
  background: var(--surface-2);
}

.faq-q .pm {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 30px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.faq-q .pm::before,
.faq-q .pm::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.faq-q .pm::before {
  width: 12px;
  height: 2px;
}

.faq-q .pm::after {
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-q .pm {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.faq-item.is-open .faq-q .pm::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a-inner {
  padding: 22px 28px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 13. Trust badges row ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
}

.trust-item .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex: 0 0 42px;
}

.trust-item:nth-child(2) .ico {
  background: var(--accent-soft);
  color: #8a6e2c;
}

.trust-item:nth-child(3) .ico {
  background: #ecfdf5;
  color: #047857;
}

.trust-item:nth-child(4) .ico {
  background: #f1f5f9;
  color: var(--primary);
}

.trust-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--primary);
}

.trust-item span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, .78);
  padding: 80px 0 32px;
  margin-top: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .18), transparent 60%);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer .brand {
  color: #fff;
}

.footer .brand small {
  color: rgba(255, 255, 255, .5);
}

.footer p {
  color: rgba(255, 255, 255, .62);
  font-size: 14.5px;
  margin-top: 16px;
  max-width: 320px;
}

.footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, .7);
  font-size: 14.5px;
  transition: color .15s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
}

.footer-contact .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  color: var(--accent);
}

.footer-contact .ico svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  position: relative;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
}

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

.footer-bottom .credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .6);
  transition: color .2s ease, opacity .2s ease;
}

.footer-bottom .credit img {
  height: 18px;
  width: auto;
  display: block;
  opacity: .85;
  transition: opacity .2s ease;
}

.footer-bottom .credit:hover {
  color: #fff;
}

.footer-bottom .credit:hover img {
  opacity: 1;
}

/* ---------- 15. Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 16px 30px rgba(18, 140, 126, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.fab-wa:hover {
  transform: scale(1.06);
}

.fab-wa svg {
  width: 30px;
  height: 30px;
}

.fab-wa::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: .8;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* ---------- 16. Page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  padding: clamp(80px, 10vw, 130px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .15), transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 164, 93, .18), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.breadcrumbs .sep {
  color: var(--border-strong);
}

.breadcrumbs strong {
  color: var(--primary);
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  max-width: 800px;
  margin-top: 12px;
}

.page-hero .lead {
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #475569;
  max-width: 680px;
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-hero-visual {
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(120% 80% at 30% 20%, #000 30%, transparent 80%);
}

.page-hero-visual .glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .85);
  font-weight: 800;
  font-size: clamp(60px, 9vw, 110px);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(200, 164, 93, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-visual .corner {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 18px;
  background: var(--grad-accent);
  bottom: 28px;
  right: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  display: grid;
  place-items: center;
  color: #3a2b08;
  font-weight: 800;
}

/* When a real photo is supplied, drop the dark glyph placeholder so the
   image is the protagonist. Same pattern as the home hero. */
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-visual:has(.page-hero-img) {
  background: var(--surface);
  border: 1px solid var(--border);
}

.page-hero-visual:has(.page-hero-img)::before {
  display: none;
}

/* Mini quote form on service detail pages — sits where the hero visual
   used to. Submits to /iletisim (full security stack) and bounces back
   here on success via the _redirect hidden field. */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 100% 0%, rgba(200, 164, 93, .18), transparent 70%);
  pointer-events: none;
}

.quote-card-head {
  position: relative;
}

.quote-card-head h2 {
  font-size: clamp(20px, 2vw, 24px);
  margin-top: 12px;
  color: var(--primary);
}

.quote-card-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

.quote-form {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  position: relative;
}

.quote-form .field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.quote-form .field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.quote-form .field input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.quote-form .btn {
  width: 100%;
  margin-top: 4px;
  padding: 14px 20px;
}

.quote-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.quote-note a {
  color: var(--secondary);
  font-weight: 600;
}

.quote-note a:hover {
  color: var(--secondary-dark);
}

/* ---------- 17. Content slabs (detail pages) ---------- */
.slab {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.slab .slab-aside h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}

.slab .slab-aside p {
  color: var(--muted);
  margin-top: 14px;
}

.slab .slab-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}

.slab .slab-content p+p {
  margin-top: 14px;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature-list li:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-md);
}

.feature-list .check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}

.feature-list .check svg {
  width: 14px;
  height: 14px;
}

.feature-list strong {
  display: block;
  font-size: 15.5px;
  color: var(--primary);
}

.feature-list span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Two-column highlight grid (detail pages) */
.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.advantage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.advantage:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.advantage .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
}

.advantage:nth-child(even) .ico {
  background: var(--accent-soft);
  color: #8a6e2c;
}

.advantage h4 {
  font-size: 17px;
}

.advantage p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Related services strip */
.related-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.related-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
}

.related-card h4 {
  font-size: 16.5px;
}

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

/* ---------- 18. Hakkımızda specifics ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.about-card .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--secondary);
  text-transform: uppercase;
}

.about-card h3 {
  margin-top: 14px;
  font-size: 20px;
}

.about-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.about-card.is-feature {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-color: transparent;
}

.about-card.is-feature .num {
  color: var(--accent);
}

.about-card.is-feature h3 {
  color: #fff;
}

.about-card.is-feature p {
  color: rgba(255, 255, 255, .7);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.value-row .num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex: 0 0 44px;
}

.value-row strong {
  display: block;
  font-size: 16.5px;
  color: var(--primary);
}

.value-row p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ---------- 19. İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-row:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.contact-row .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}

.contact-row.gold .ico {
  background: var(--accent-soft);
  color: #8a6e2c;
}

.contact-row.green .ico {
  background: #ecfdf5;
  color: #059669;
}

.contact-row.dark .ico {
  background: var(--primary);
  color: #fff;
}

.contact-row strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
}

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

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row.split {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

/* Custom select chevron — matches the navbar's .chev icon, replaces the
   browser-default arrow which looks crude. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
}

.field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
}

/* Hide IE/old-Edge native arrow */
.field select::-ms-expand {
  display: none;
}

.form-msg {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-msg.is-visible {
  display: block;
}

/* Location card — replaces the abstract grid placeholder. Polished, honest
   "we are here" treatment with a directions CTA. Swap to a real Google
   Maps iframe once a precise address is set in config/app.php. */
.map-card {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  padding: 28px 24px 24px;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(37, 99, 235, .10) 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 100%, rgba(200, 164, 93, .12) 0%, transparent 60%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, .08) 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
  opacity: .55;
}

.map-card>* {
  position: relative;
  z-index: 1;
}

.map-card .map-pin {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--grad-blue);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .35);
  position: relative;
  flex-shrink: 0;
}

.map-card .map-pin svg {
  width: 24px;
  height: 24px;
}

.map-card .map-pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(37, 99, 235, .35);
  animation: pulse 2.4s infinite;
  pointer-events: none;
}

.map-card .map-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.map-card .map-info strong {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

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

.map-card .map-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.map-card .map-cta:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .map-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .map-card .map-cta {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .services-grid.large {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .timeline::before,
  .tl-step:not(:last-child)::after {
    display: none;
  }

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

  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .page-hero-split {
    grid-template-columns: 1fr;
  }

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

  .related-row {
    grid-template-columns: 1fr;
  }

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

  .values-list {
    grid-template-columns: 1fr;
  }

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

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
  }

  .nav-cta.desktop-only {
    display: none;
  }
}

/* Tablet portrait — fills the gap between 1024 and 640 */
@media (max-width: 768px) {

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Hero visual gets shorter on tablets so it doesn't dominate the viewport */
  .hero-visual {
    aspect-ratio: 4/3.2;
    max-height: 420px;
  }

  /* Push the quote-card breathing room down on service detail pages */
  .quote-card {
    padding: 22px;
  }

  /* CTA banner / cards trim padding to avoid edge-touching */
  .cta-banner {
    padding: 36px 28px;
  }

  /* Service cards keep the lift effect but tighten padding */
  .service-card {
    padding: 24px;
  }

  /* FAQ items get cozier */
  .faq-q {
    padding: 18px 22px;
  }

  .faq-a-inner {
    padding: 18px 22px 22px;
  }

  /* Slab content card padding */
  .slab .slab-content {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .form-row.split {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-visual .badge-2 {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .cta-banner {
    padding: 32px 24px;
  }

  /* Phone — additional polish */
  .nav-inner {
    height: 64px;
  }

  .brand-logo {
    height: 32px;
  }

  /* Drawer aligns to the shorter mobile navbar — no gap underneath. */
  .mobile-menu {
    inset-block-start: 64px;
  }

  /* Hero text/CTA stack — match the inner padding of stat cards (18px) so
     the heading feels just as inset as card content below it. */
  .hero-grid {
    padding-inline: 18px;
  }

  .hero h1 {
    padding-inline: 0;
  }

  /* Mobile drawer — links sat too close to the screen edge (4px inner +
     20px container = 24px). Bump inner padding to match the rest of the
     page's visual gutter (~38px from edge). */
  .mobile-menu a,
  .mobile-menu .m-toggle,
  .mobile-menu .m-sub a {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero-cta .btn {
    justify-content: center;
  }

  .hero-trust {
    font-size: 13px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-card {
    padding: 18px;
    gap: 12px;
  }

  .stat-card .stat-ico {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 56px 0;
  }

  .section-tight {
    padding: 40px 0;
  }

  /* Page-hero visual — keep proportional but cap height */
  .page-hero-visual {
    aspect-ratio: 16/10;
    max-height: 320px;
  }

  .page-hero-visual .glyph {
    font-size: 64px;
  }

  .page-hero-visual .corner {
    width: 84px;
    height: 84px;
    bottom: 18px;
    right: 18px;
  }

  /* Eyebrow — reduce letter-spacing so it never overflows narrow cards */
  .eyebrow {
    letter-spacing: 0.10em;
    font-size: 12px;
    padding: 7px 12px;
  }

  /* CTA banner inner layout */
  .cta-actions {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

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

  .cta-actions .quick {
    justify-content: center;
  }

  /* Footer — credit centered + stacked under copyright */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom .credit {
    justify-content: center;
  }

  /* Floating WhatsApp button — smaller, doesn't crowd thumb area */
  .fab-wa {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .fab-wa svg {
    width: 24px;
    height: 24px;
  }

  .fab-wa::after {
    inset: -3px;
  }

  /* Flash messages — full width on phones */
  .flash-stack {
    top: 76px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  /* Quote card narrower padding */
  .quote-card {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  /* Section heads margin */
  .section-head {
    margin-bottom: 32px;
  }

  /* Map card stacks fully */
  .map-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
  }

  .map-card .map-pin {
    margin-inline: auto;
  }

  .map-card .map-info {
    align-items: center;
    text-align: center;
  }

  .map-card .map-cta {
    width: 100%;
    justify-content: center;
  }

  /* Page hero h1 / lead */
  .page-hero h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .page-hero .lead {
    font-size: 15px;
  }

  /* About glyph + corner stack better */
  .page-hero-split {
    gap: 28px;
  }
}

/* Narrow phones (≤ 380px) — last-mile fixes */
@media (max-width: 380px) {
  .brand-logo {
    height: 28px;
  }

  .nav-inner {
    height: 60px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 24px;
  }

  /* Avatars on testimonial cards */
  .testimonial {
    padding: 24px 20px;
  }

  /* Buttons can wrap label if very long; allow it */
  .btn {
    white-space: normal;
    line-height: 1.3;
    padding: 12px 20px;
  }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  aspect-ratio: 4/3;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .7);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}

.gallery-zoom svg {
  width: 16px;
  height: 16px;
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, .82) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
}

.gallery-empty {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  background: var(--grad-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 640px;
  margin-inline: auto;
}

.gallery-empty .eyebrow {
  margin-inline: auto;
}

.gallery-empty h2 {
  margin-top: 16px;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--primary);
}

.gallery-empty p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 420px;
  margin-inline: auto;
}

.gallery-empty .hero-cta {
  justify-content: center;
}

/* Lightbox */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .92);
  padding: clamp(20px, 4vw, 48px);
  animation: lb-fade .2s ease;
}

@keyframes lb-fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.lightbox-frame {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lightbox-frame figcaption {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  text-align: center;
  max-width: 800px;
}

.lightbox-frame figcaption:empty {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  backdrop-filter: blur(8px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.05);
}

/* Touch device — disable hover translations that feel sticky on tap */
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }

  .why-card:hover {
    transform: none;
  }

  .related-card:hover {
    transform: none;
  }

  .map-card .map-cta:hover {
    transform: none;
  }
}

/* ---------- Flash messages (PHP backend) ---------- */
.flash-stack {
  position: fixed;
  top: 92px;
  right: clamp(16px, 3vw, 32px);
  z-index: 60;
  display: grid;
  gap: 10px;
  max-width: min(420px, calc(100% - 32px));
}

.flash {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.flash-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #065f46;
}

.flash-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.flash-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.flash-info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

/* Honeypot field — invisible to humans, picked up by bots */
.bsn-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Per-field validation errors */
.field .field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #b91c1c;
}

.field input.has-error,
.field select.has-error,
.field textarea.has-error {
  border-color: #fca5a5;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}