/* ==========================================================================
   Malatya Yorgan — tasarım sistemi
   Renkler logodan türetildi: lacivert wordmark, mavi + yeşil yorgan ikonu.
   İmza öğesi: "dikiş" (stitch) — logodaki iğneden gelir, süreç bölümünü diker.
   ========================================================================== */

/* --- fontlar (self-host, Türkçe alt küme) ------------------------------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-tr.woff2") format("woff2-variations");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrumentsans-tr.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --- token'lar ---------------------------------------------------------- */
:root {
  /* renk */
  --ink: #0e2b45;          /* logo wordmark laciverti */
  --ink-2: #40607a;        /* ikincil metin */
  --ink-3: #526e82;        /* üçüncül / etiket — WCAG AA için koyulaştırıldı */
  --blue: #1c6da6;         /* logo yorgan üst — birincil aksiyon */
  --blue-d: #14568a;
  --green: #2e9e6b;        /* logo yorgan alt — sadece dikiş ve onay işareti */
  --green-d: #1c7a4f;      /* yeşilin metin için okunabilir tonu */
  /* Zemin bilerek SICAK. İlk sürümde mavi-beyaz (#f1f5f7) idi; "hijyen" mantığı
     doğruydu ama yün yorgan sıcak bir zanaat — soğuk zemin klinik hissi veriyordu.
     Şimdi işlenmemiş yün tonu. Lacivert metin sıcak zeminde eski kitap baskısı
     gibi okunuyor. Kayısı/terrakota gibi ikinci bir sıcak renk EKLENMEDİ —
     sıcaklık zeminden ve fotoğraftan geliyor, palet üç renkte kalıyor. */
  --paper: #f2eee7;        /* işlenmemiş yün */
  --white: #fffdfa;        /* sıcak beyaz — saf beyaz değil */
  --card: #ffffff;         /* kartlar saf beyaz kalır, zeminden ayrılsın */
  --line: #e5ded4;
  --line-2: #d4c9b9;
  --navy: #0a2338;         /* koyu bant + footer */
  --navy-2: #123049;       /* koyu bölüm — ritim kırmak için */
  --wa: #25d366;           /* WhatsApp — sadece mobil sabit çubukta */

  /* tipografi */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ölçü */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  /* köşe + gölge */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(14, 43, 69, 0.04), 0 12px 32px -18px rgba(14, 43, 69, 0.22);
  --shadow-lift: 0 2px 4px rgba(14, 43, 69, 0.06), 0 18px 40px -20px rgba(14, 43, 69, 0.28);

  /* hareket */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- temel -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* çapa ile atlarken yapışkan başlık bölüm başlığını örtmesin */
section[id],
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

figure { margin: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--r-md) 0;
}
.skip:focus { left: 0; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- tipografi ölçeği --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.375rem, 1.35rem + 4.1vw, 4.125rem); }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.875rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); line-height: 1.2; }
h4,
.sub-heading {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background-image: repeating-linear-gradient(90deg, var(--green) 0 5px, transparent 5px 9px);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.62;
  color: var(--ink-2);
}

.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; line-height: 1.6; }

/* --- yerleşim ----------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* bölüm başlığı bloğu */
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head .lead { margin-top: 1.125rem; }

/* ------------------------------------------------------------------------
   MOTİF DOKUSU
   Selçuklu sekiz köşeli yıldız kafesi. Markanın kendi görsel dünyasından
   geliyor (eski sitedeki İznik desenli arka planlar), jenerik bir doku değil.
   Sadece IKI yüzeyde kullanılıyor — hero ve son CTA bandı. Üçüncüye ekleme.
   ------------------------------------------------------------------------ */
.motif {
  position: relative;
  isolation: isolate;
}
.motif::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/motif.svg") repeat 0 0 / 64px 64px;
  opacity: 0.05;
  pointer-events: none;
}
.motif--light::before {
  background-image: url("../img/motif-light.svg");
  opacity: 0.06;
}

/* dikiş çizgisi — imza öğesi */
.stitch-rule {
  height: 2px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}

/* --- butonlar ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9688rem;
  font-weight: 600;
  letter-spacing: -0.003em;
  line-height: 1;
  padding: 0.9375rem 1.375rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn svg { flex: none; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(14, 43, 69, 0.12), 0 10px 22px -14px rgba(28, 109, 166, 0.9);
}
.btn--primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink-3); background: var(--paper); transform: translateY(-1px); }

.btn--onnavy {
  background: var(--white);
  color: var(--ink);
}
.btn--onnavy:hover { background: var(--paper); transform: translateY(-1px); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--outline-light:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.07); }

.btn--sm { padding: 0.6875rem 1rem; font-size: 0.875rem; }
.btn--wide { width: 100%; }

/* metin bağlantısı — ok işaretiyle */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.arrow-link::after {
  content: "";
  width: 15px;
  height: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 9'%3E%3Cpath d='M0 4.5h13M9.5 1 13 4.5 9.5 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 9'%3E%3Cpath d='M0 4.5h13M9.5 1 13 4.5 9.5 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform 0.2s var(--ease);
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(3px); }

/* onay listesi */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(46, 158, 107, 0.12);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='m4.8 8.8 2.3 2.4 5-5.3' fill='none' stroke='%232e9e6b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 250, 0.94);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.header__logo { display: block; flex: none; line-height: 0; }
.header__logo img { width: 168px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.header__cta { margin-left: 0.75rem; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--ink);
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.24s var(--ease), background-color 0.14s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.24s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobil panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  padding: 88px var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a.mobile-nav__link {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.625rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
/* Hero artık kendi başına bir blok: zemin + motif + altında dikiş çizgisi.
   Beyaz boşlukta yüzen bir metin yığını değil, tanımlı bir yüzey. */
.hero {
  padding-block: clamp(3.5rem, 6vw, 6.5rem) clamp(4rem, 7vw, 7rem);
  background: var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero .lead { max-width: 33rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.75rem;
}
.hero__checks { padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* fotoğraf çerçevesi — paspartulu montaj, üst kenarı dikişli.
   Beyaz kart, zeminden (paper) ayrılıp öne çıkmasını sağlıyor. */
.frame {
  position: relative;
  background: var(--card);
  padding: 12px;
  border-radius: calc(var(--r-lg) + 8px);
  box-shadow: var(--shadow-lift);
}
.frame::before {
  content: "";
  position: absolute;
  inset: -11px -11px auto -11px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 13px);
}
.frame::after {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green);
}
.frame img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.frame figcaption { margin-top: 0.75rem; padding: 0 0.25rem 0.125rem; }
figcaption {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  letter-spacing: 0.005em;
}

/* ==========================================================================
   HİZMETLER — kart yığını değil, editoryal liste
   ========================================================================== */
.services { display: grid; }

.service {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  gap: 1rem 3rem;
  align-items: start;
  padding-block: 2.25rem;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }

/* ana hizmet: hairline listesinden ayrılıp tanımlı bir yüzeye oturur.
   Kart yığını değil — listede tek bir vurgu. */
.service--primary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.service--primary .service__body p { color: var(--ink); }

.service__title { display: flex; flex-direction: column; gap: 0.625rem; align-items: flex-start; }
.service__title h3 { margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-d);
  background: rgba(46, 158, 107, 0.12);
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-sm);
}

.service__body p { color: var(--ink-2); }
.service__body .checks { margin-top: 1rem; }
.service__action { align-self: center; }

/* ==========================================================================
   SÜREÇ — imza: dikiş ipliği + düğümler
   ========================================================================== */
.process { position: relative; }

.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

/* iplik: düğümlerin dikey ortasından geçer */
.process__thread {
  position: absolute;
  top: 23px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 14px);
  transition: clip-path 1.1s var(--ease) 0.15s;
}
.js .process__thread { clip-path: inset(0 100% 0 0); }
.js .is-revealed .process__thread { clip-path: inset(0 0 0 0); }

.step { position: relative; }

.step__knot {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.125rem;
}

.step .sub-heading { margin: 0 0 0.375rem; }
.step p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* ==========================================================================
   NEDEN BİZ — çizgi ızgara, ikon dairesi yok
   ========================================================================== */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.reason {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reason__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--white);
  margin-bottom: 1.125rem;
}
.reason .sub-heading { margin: 0 0 0.4375rem; }
.reason p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* ==========================================================================
   ALINTI BÖLÜMÜ — koyu mola
   Sayfa boyunca aynı ritimde açık bölümler gidiyordu. Burada koyu bir kesme
   var: nefes, duygu ve marka sesi. Tek cümle, büyük serif, başka hiçbir şey.
   ========================================================================== */
.quote {
  background: var(--navy-2);
  color: #fff;
  padding-block: clamp(4rem, 9vw, 8rem);
}
.quote__inner { max-width: 44rem; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.625rem);
  line-height: 1.24;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.quote blockquote em { font-style: normal; color: #8fd4b0; }
.quote__mark {
  width: 34px;
  height: 2px;
  margin-bottom: 1.75rem;
  background-image: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 13px);
}
.quote__foot {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

/* ==========================================================================
   ÇALIŞMALARIMIZ — asimetrik iki fotoğraf
   ========================================================================== */

/* tam genişlik fotoğraf — .wrap dışında durduğu için ek hesap gerekmiyor */
.work--bleed img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 0;
  box-shadow: none;
}
.work--bleed figcaption {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* tam genişlik fotoğraftan sonraki satır: dikey detay + Google puanı */
.after-bleed {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.after-bleed .trust-strip { align-content: center; }

/* ==========================================================================
   GOOGLE PUANI
   ========================================================================== */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.rating__stars { display: inline-flex; gap: 2px; }
.rating__stars svg { fill: var(--green); }
.rating__line { font-size: 1.0625rem; color: var(--ink-2); }
.rating__line strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
  /* alt hizalama: iki alt yazı aynı satırda başlar, dikey fotoğrafın üstü
     taşar — dengesizlik değil, kasıtlı bir kademe */
  align-items: end;
}
.work img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.work--main img { aspect-ratio: 4 / 3; }
.work--side img { aspect-ratio: 4 / 5; }

/* güven şeridi */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.trust-strip__links { display: flex; flex-wrap: wrap; gap: 0.625rem; }

/* ==========================================================================
   SSS
   ========================================================================== */
.faq { max-width: 52rem; }

.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.16s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }

.faq summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform 0.24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq__answer { padding: 0 0 1.5rem; max-width: 44rem; }
.faq__answer p { color: var(--ink-2); }
.faq__answer p + p { margin-top: 0.75rem; }

/* ==========================================================================
   İLETİŞİM
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.info-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.info-list dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.3125rem;
}
.info-list dd { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.info-list dd a { color: var(--ink); text-decoration: none; font-weight: 500; }
.info-list dd a:hover { color: var(--blue); text-decoration: underline; }

.notice {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.125rem;
  background: rgba(28, 109, 166, 0.06);
  border-left: 2px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* tıklayınca yüklenen harita */
.map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--paper);
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.875rem;
  text-align: center;
  padding: 2rem;
  background:
    repeating-linear-gradient(45deg, rgba(28, 109, 166, 0.035) 0 12px, transparent 12px 24px),
    var(--paper);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* ==========================================================================
   SON CTA + FOOTER
   ========================================================================== */
/* Üstteki yeşil dikiş, ::before yerine katmanlı arka planla çiziliyor —
   böylece ::before motif dokusuna kalıyor (bkz. .motif). */
.cta-band {
  position: relative;
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background-color: var(--navy);
  background-image: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 14px);
  background-repeat: repeat-x;
  background-size: 100% 2px;
  background-position: top left;
}
.cta-band__inner { max-width: 40rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-top: 1.125rem; }
.cta-band .hero__actions { margin-bottom: 0; }

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: clamp(3rem, 5vw, 4.5rem) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem 2rem;
}
.footer__logo img { width: 172px; height: auto; }
.footer__brand p { margin-top: 1.125rem; max-width: 22rem; line-height: 1.65; }

.footer h5 {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.625rem; }
.footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.socials a:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); color: #fff; }

.footer__bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------------------
   PARİCODE İMZASI
   Eski siteden taşındı (paricode-imza). Amblem ve metin aynen korundu.
   Renk footer'dan miras alınıyor; opaklık imzayı müşterinin kendi telif
   satırının bir tık gerisinde tutuyor.
   ------------------------------------------------------------------------ */
.paricode-imza a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 180ms var(--ease);
}
.paricode-imza a:hover .paricode-imza__etiket,
.paricode-imza a:focus-visible .paricode-imza__etiket { opacity: 1; }

/* "Tasarım ve yazılım:" — müşterinin telif satırının bir tık gerisinde */
.paricode-imza__etiket {
  opacity: 0.8; /* 0.62 idi — 14px'te kontrast 3.37'ye düşüyordu, AA altı */
  transition: opacity 180ms var(--ease);
}

.paricode-imza svg {
  flex: 0 0 auto;
  border-radius: 4px;
  margin-left: 2px;
}

/* Wordmark. paricode.net'te tek renk (Archivo Bold); burada işletme sahibinin
   isteğiyle iki tonlu — renkler PariCode amblemindeki krem ve kehribardan.
   Lacivert footer zemininde marka teali (#0F4750) okunmadığı için o ton
   kullanılmadı. */
.paricode-imza__ad {
  font-weight: 700;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.paricode-imza__pari { color: #f3f3e9; }
.paricode-imza__code { color: #e3a33a; }

@media (prefers-reduced-motion: reduce) {
  .paricode-imza a,
  .paricode-imza__etiket { transition: none; }
}

/* ==========================================================================
   MOBİL SABİT AKSİYON ÇUBUĞU
   ========================================================================== */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem calc(0.625rem + env(safe-area-inset-bottom));
  background: rgba(255, 253, 250, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.dock a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.dock__wa { background: var(--wa); color: #06301a; }
.dock__tel { background: var(--ink); color: #fff; }

/* masaüstü sabit WhatsApp balonu */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #06301a;
  box-shadow: 0 6px 24px -6px rgba(37, 211, 102, 0.7);
  transition: transform 0.2s var(--ease);
}
.fab:hover { transform: scale(1.06); }

/* ==========================================================================
   ÇEREZ ONAYI
   Ekranı kapatan modal DEĞİL — alt köşede kart. Yerel hizmet sitesinde
   ziyaretçiyi CTA'dan ayıran tam ekran pencere dönüşümü düşürür.
   "Reddet" ile "Kabul et" görsel olarak eşit ağırlıkta; KVKK reddi kabul
   kadar kolay olmasını istiyor. Onay verilmeden hiçbir ölçüm kodu yüklenmez.
   ========================================================================== */
.cerez {
  position: fixed;
  z-index: 120;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: 30rem;
  /* Sola yaslı: sağ altta sabit WhatsApp balonu var, üstünü kapatmasın. */
  margin-right: auto;
  padding: 1.25rem 1.375rem 1.375rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 12px rgba(14, 43, 69, 0.08), 0 24px 48px -20px rgba(14, 43, 69, 0.4);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.cerez.is-open { opacity: 1; visibility: visible; transform: none; }

.cerez__baslik {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 0.4375rem;
}
.cerez p { margin: 0; }
.cerez a { color: var(--blue); }

.cerez__aksiyon {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.125rem;
}
.cerez__aksiyon .btn { flex: 1; }

/* footer'daki "tercihleri değiştir" bağlantısı */
.cerez-ac {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cerez-ac:hover { color: #fff; }

@media (max-width: 860px) {
  /* mobil sabit aksiyon çubuğunun üstünde dursun */
  .cerez {
    bottom: calc(74px + env(safe-area-inset-bottom) + 0.625rem);
    max-width: none;
    margin-right: 0;
  }
}

/* ==========================================================================
   GİRİŞ ANİMASYONU
   ========================================================================== */
/* İçerik varsayılan olarak GÖRÜNÜR. Gizleme yalnızca JS çalışıyorsa devreye
   girer (<html class="js">) — böylece script yüklenmezse sayfa boş kalmaz. */
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }

/* ==========================================================================
   DUYARLI DAVRANIŞ
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .frame { max-width: 34rem; }
  .service { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.75rem 2rem; }
  .service__action { grid-column: 2; justify-self: start; margin-top: 0.5rem; align-self: start; }
  /* süreç: yatay dikişten dikey dikişe geçer */
  .process__steps { grid-template-columns: 1fr; gap: 0; }
  .process__thread {
    top: 23px;
    bottom: 46px;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
    background-image: repeating-linear-gradient(180deg, var(--green) 0 6px, transparent 6px 14px);
  }
  .js .process__thread { clip-path: inset(0 0 100% 0); }
  .js .is-revealed .process__thread { clip-path: inset(0 0 0 0); }
  .step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 1.125rem;
    padding-bottom: 2rem;
  }
  .step:last-child { padding-bottom: 0; }
  .step__knot { margin-bottom: 0; grid-row: span 2; }
  .step .sub-heading { align-self: center; margin-bottom: 0.3125rem; }
  .step p { grid-column: 2; }

  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav,
  .header__cta { display: none; }
  .burger { display: flex; }
  .header__inner { height: 64px; }
  .header__logo img { width: 148px; }

  body { padding-bottom: 74px; }
  .dock { display: flex; }
  .fab { display: none; }

  .trust-strip { flex-direction: column; align-items: flex-start; }

  /* dokunma hedefleri en az 44px */
  .btn--sm { padding-block: 0.8125rem; }
  .arrow-link { padding-block: 0.625rem; }
  .header__logo { padding-block: 0.625rem; }
  .info-list dd a { display: inline-block; padding-block: 0.75rem; }
  .info-list { gap: 1rem; }
}

@media (max-width: 620px) {
  .service { grid-template-columns: 1fr; }
  .service__action { grid-column: 1; }
  .reasons { grid-template-columns: 1fr; }
  .reason { padding: 1.625rem 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { width: 100%; }
  .frame::after { display: none; }
  .work-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .work--side img { aspect-ratio: 4 / 3; }
  .after-bleed { grid-template-columns: 1fr; }
  .work--bleed img { aspect-ratio: 4 / 3; }
}

@media (max-width: 400px) {
  body { font-size: 1rem; }
  .header__logo img { width: 132px; }
  .dock a { font-size: 0.875rem; }
}

/* --- erişilebilirlik ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .process__thread { clip-path: inset(0 0 0 0) !important; }
}

@media print {
  .header, .dock, .fab, .cta-band, .mobile-nav { display: none !important; }
  body { padding-bottom: 0; }
}
