:root {
  --bg: #f2f4f6;
  --bg-alt: #e6eaee;
  --surface: #ffffff;
  --ink: #16191d;
  --muted: #5b6570;
  --line: #cfd6dd;
  --accent: #d97706;
  --accent-ink: #7c2d12;
  --steel: #2f3b48;
  --phone: #0f766e;
  --wa: #15803d;
  --shadow: 0 12px 40px rgba(22, 25, 29, 0.08);
  --radius: 6px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --sticky-h: 64px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(47, 59, 72, 0.04), transparent 220px),
    repeating-linear-gradient(
      135deg,
      rgba(47, 59, 72, 0.03) 0 1px,
      transparent 1px 14px
    ),
    var(--bg);
  line-height: 1.55;
  padding-bottom: calc(var(--sticky-h) + 16px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); }
a:hover { color: var(--accent-ink); }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.topbar {
  background: var(--steel);
  color: #edf1f5;
  font-size: .92rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 40px;
}
.topbar__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.topbar__link { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__link--wa { color: #bbf7d0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  max-width: 14ch;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  font-size: .9rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: .7rem 0;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: .35rem;
  color: var(--muted);
}
.breadcrumbs a { text-decoration: none; }

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 20, 26, .88) 18%, rgba(15, 20, 26, .45) 58%, rgba(217, 119, 6, .28)),
    radial-gradient(circle at 78% 30%, rgba(217, 119, 6, .35), transparent 42%),
    linear-gradient(160deg, #1c2430, #2f3b48 45%, #1a1f26);
}
.hero__photo,
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__photo img {
  object-fit: cover;
  object-position: center 40%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(15, 20, 26, .82) 12%, rgba(15, 20, 26, .42) 55%, rgba(15, 20, 26, .55)),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: #fbbf24;
  margin: 0 0 .75rem;
}
.hero h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 1rem;
  max-width: 14ch;
  font-weight: 700;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 38ch;
  color: rgba(255,255,255,.9);
  margin: 0 0 1.5rem;
}
.page-hero .lead { color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.page-hero {
  padding: 2.5rem 0 1rem;
  background:
    linear-gradient(180deg, #dfe5eb, transparent);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--ink); max-width: 20ch; }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: 1.5rem;
  align-items: end;
}
.page-hero__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7dde4;
  max-height: 320px;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}
.media-caption {
  margin: 0;
  padding: .55rem .75rem;
  font-size: .82rem;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 48px;
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--sm { min-height: 40px; padding: .45rem .9rem; font-size: .9rem; }
.btn--primary { background: var(--accent); color: #1c1005; }
.btn--primary:hover { background: #f59e0b; color: #1c1005; }
.btn--secondary { background: var(--steel); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.page-hero .btn--ghost,
.section .btn--ghost,
.cta-band .btn--ghost {
  border-color: var(--steel);
  color: var(--steel);
}

.section { padding: 3.5rem 0; }
.section--alt { background: rgba(255,255,255,.55); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 1.75rem; max-width: 42rem; }
.section-head h2,
.section h2,
.footer-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: .02em;
  margin: 0 0 .5rem;
  line-height: 1.05;
}
.section-head p { margin: 0; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}
.service-card__media {
  height: 150px;
  margin: -1.15rem -1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, #2f3b48, #6b7280 55%, #d97706);
}
.service-card__media--fallback { min-height: 110px; }
.service-card__media picture,
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}
.photo-grid__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7dde4;
  aspect-ratio: 4 / 3;
}
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 .4rem;
  letter-spacing: .01em;
}
.service-card h3 a { text-decoration: none; color: inherit; }
.service-card p { color: var(--muted); margin: 0 0 .8rem; }
.text-link { font-weight: 700; text-decoration: none; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.steps {
  margin: 0;
  padding-left: 1.2rem;
}
.steps li { margin-bottom: .55rem; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  margin-bottom: .6rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq p { color: var(--muted); margin: .6rem 0 0; }

.cta-band {
  background:
    linear-gradient(120deg, #1f2933, #2f3b48 60%, #92400e);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.mt { margin-top: 1.25rem; }

.site-footer {
  background: #12151a;
  color: #d7dde4;
  padding: 3rem 0 1.5rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  margin-bottom: .5rem;
  color: #fff;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a,
.site-footer a { color: #d7dde4; text-decoration: none; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9rem;
  color: #9aa3ad;
}
.footer-credit {
  margin: .55rem 0 0;
  font-size: .86rem;
}
.footer-credit a {
  color: #e5e7eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: #fbbf24; }

/* Sabit CTA: footer dahil her zaman görünür; safe-area destekli */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 100vw;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #0b1220;
  box-shadow: 0 -10px 36px rgba(0,0,0,.22);
  pointer-events: auto;
}
.sticky-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-height: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px) * 0.15);
  min-width: 44px;
  text-decoration: none;
  color: #fff;
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom, 0px) * 0.35);
  line-height: 1.15;
  touch-action: manipulation;
}
.sticky-cta__label { font-size: .72rem; opacity: .92; font-weight: 600; }
.sticky-cta__value { font-size: .95rem; font-weight: 700; }
.sticky-cta__label--desktop,
.sticky-cta__value--desktop { display: none; }
.sticky-cta__label--mobile,
.sticky-cta__value--mobile { display: inline; }
.sticky-cta__btn--phone { background: var(--phone); }
.sticky-cta__btn--wa { background: var(--wa); }
.sticky-cta__btn:hover,
.sticky-cta__btn:focus-visible {
  filter: brightness(1.06);
  color: #fff;
  outline: 2px solid #fde68a;
  outline-offset: -2px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .split,
  .footer-grid,
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-height: 240px; order: -1; }
  .topbar__label { display: none; }
  .hero { min-height: 70vh; }
  body {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }
}

@media (min-width: 861px) {
  .sticky-cta {
    left: auto;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    width: min(380px, calc(100% - 2rem));
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    background: transparent;
    box-shadow: none;
    padding-bottom: 0;
  }
  .sticky-cta__btn {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-height: 68px;
    padding: .7rem .85rem;
  }
  .sticky-cta__label--desktop,
  .sticky-cta__value--desktop { display: inline; }
  .sticky-cta__label--mobile,
  .sticky-cta__value--mobile { display: none; }
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}
