/* ============================================================
   CRESCORE DIGITAL — style.css
   Renkler: Lacivert #1B2A4A · Gold #B8892E · Beyaz / #F5F6F8
   Tipografi: Sora (başlık) · Inter (gövde) — self-hosted WOFF2
   ============================================================ */

/* ---------- Fontlar ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design Tokens ---------- */
:root {
  --navy: #1B2A4A;
  --navy-deep: #14213B;
  --gold: #B8892E;
  --gold-soft: #CFA14D;      /* koyu zemin üzerinde gold */
  --gold-text: #8F6A1E;      /* açık zeminde küçük gold metin (kontrast) */
  --ink: #22293A;            /* gövde metni — antrasit/lacivert */
  --muted: #5A6478;
  --line: #E5E8EF;
  --bg: #FFFFFF;
  --bg-alt: #F5F6F8;

  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(27, 42, 74, 0.18);
  --ease: cubic-bezier(0.33, 1, 0.68, 1);

  --nav-h: 84px;
  --nav-h-small: 64px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--navy); color: #fff; }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s var(--ease);
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }

.btn--gold { background: var(--gold); color: #fff; position: relative; overflow: hidden; }
.btn--gold:hover { background: var(--navy); color: #fff; }

/* Gold CTA: hover'da soldan sağa ışık süpürmesi (sheen) */
.btn--gold::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-170%) skewX(-18deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn--gold:hover::after { transform: translateX(290%) skewX(-18deg); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* Lacivert zemin üzerindeki butonlar */
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold); color: #fff; }

.btn--sm { padding: 10px 20px; min-height: 42px; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* Navbar altı gold scroll ilerleme çubuğu */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .nav { height: var(--nav-h-small); }

.nav-logo img {
  height: 70px;
  width: auto;
  transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .nav-logo img { height: 48px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Dil değiştirici */
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 8px 13px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 36px;
}
.lang-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang-btn:not([aria-pressed="true"]):hover { color: var(--navy); }

/* Hamburger */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Bölüm iskeleti ---------- */
main { padding-top: var(--nav-h); }

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}
.section-head--center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 10px;
}

.lead { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 11vw, 136px) 0 clamp(64px, 9vw, 112px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(27, 42, 74, 0.05), transparent 70%),
    radial-gradient(35% 35% at 85% 20%, rgba(184, 137, 46, 0.06), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* Hero dekoratif katman: soluk C yayı + nokta dokusu + gold ok */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--gold);
}
.hero-deco::before {
  content: '';
  position: absolute;
  top: 12%;
  right: 5%;
  width: 320px;
  height: 260px;
  background-image: radial-gradient(circle, var(--navy) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.05;
}
.hero-arc {
  position: absolute;
  left: -150px;
  top: -170px;
  width: 520px;
  height: 520px;
  color: var(--navy);
  opacity: 0.04;
}
.hero-arrow {
  position: absolute;
  right: -30px;
  bottom: -16px;
  width: min(460px, 42vw);
  height: auto;
  opacity: 0.4;
}
/* Ok çizim animasyonu: js-anim/io-anim aktifken gizli başlar,
   .arrow-drawn eklenince çizilir. JS yoksa ok statik görünür. */
.js-anim .hero .arrow-path,
.io-anim .hero .arrow-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.33, 1, 0.68, 1) 0.35s;
}
.js-anim .hero.arrow-drawn .arrow-path,
.io-anim .hero.arrow-drawn .arrow-path { stroke-dashoffset: 0; }

/* Güven rozetleri (chip) */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.chip svg { width: 14px; height: 14px; color: var(--gold); flex: 0 0 auto; }

.hero h1 { max-width: 21ch; margin-inline: auto; letter-spacing: 0.02em; }
.hero h1 .accent { color: var(--gold); }

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 56ch;
  margin: 20px auto 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ---------- Kart grid'leri ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.card h3, .strip-label { overflow-wrap: break-word; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease,
    box-shadow 0.3s ease;
}
/* Hover'da üst kenarda soldan sağa açılan gold çizgi */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(184, 137, 46, 0.1);
  color: var(--gold);
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.card:hover .card-icon { background: var(--navy); color: var(--gold-soft); }
.card-icon svg { width: 26px; height: 26px; }

.card p { color: var(--muted); font-size: 0.95rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-text);
  transition: color 0.3s ease, gap 0.3s var(--ease);
}
.card-link:hover { color: var(--navy); gap: 12px; }
.card-link svg { width: 16px; height: 16px; }

/* ---------- Değer / Vaat Şeridi ---------- */
.value-strip {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
/* Çok soluk yükseliş yayları (logo motifi) */
.value-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 135%, transparent 46%, rgba(207, 161, 77, 0.09) 46.5%, rgba(207, 161, 77, 0.09) 47.6%, transparent 48%),
    radial-gradient(circle at 88% 135%, transparent 60%, rgba(255, 255, 255, 0.05) 60.5%, rgba(255, 255, 255, 0.05) 61.6%, transparent 62%),
    radial-gradient(circle at -5% -40%, transparent 55%, rgba(207, 161, 77, 0.06) 55.5%, rgba(207, 161, 77, 0.06) 56.6%, transparent 57%);
}
.value-strip .container { position: relative; }
.value-strip .grid-4 { gap: 32px; }

/* "%100": tek % işareti, dile göre konum (TR: %100 · EN: 100%) */
.strip-pct { display: inline-flex; align-items: baseline; justify-content: center; }
html[lang="en"] .strip-pct { flex-direction: row-reverse; }

.strip-item { text-align: center; padding-top: 22px; position: relative; }
.strip-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.strip-value {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold-soft);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.strip-label {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #C9D0DE;
  letter-spacing: 0.02em;
}

/* ---------- Neden Crescore ---------- */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--gold);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Süreç ---------- */
.process { position: relative; }
.process-line {
  position: absolute;
  top: 34px;               /* daire merkezine hizalı */
  left: 12%;
  width: 76%;
  height: 4px;
  pointer-events: none;
}
.process-line path { stroke: var(--gold); stroke-width: 2; fill: none; }

.process .grid-4 { position: relative; }

.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.step:hover .step-num { background: var(--navy); color: var(--gold-soft); border-color: var(--gold); }
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Garantiler ---------- */
.guarantee-note {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Portföy ---------- */
.portfolio-grid { display: grid; gap: 24px; }

.portfolio-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.portfolio-media {
  min-height: 300px;
  background:
    linear-gradient(135deg, var(--navy) 0%, #2A3F6B 60%, var(--navy-deep) 100%);
  display: grid;
  place-items: center;
  position: relative;
}
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-media-placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
}
.portfolio-body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portfolio-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.portfolio-body p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA Bandı ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: clamp(64px, 9vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--gold);
}
.cta-band h2 { color: #fff; max-width: 26ch; margin-inline: auto; }
.cta-band p { color: #C9D0DE; max-width: 52ch; margin: 16px auto 32px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  background: var(--bg-alt);
  padding: clamp(56px, 8vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 24ch; }
.page-hero .lead { font-size: 1.02rem; }

/* ---------- Hizmet detayı (hizmetler.html) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 80px) 0;
}
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail:nth-child(even) .service-visual { order: -1; }

.service-visual {
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--bg-alt), #fff);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}
.service-visual::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.service-visual svg { width: 84px; height: 84px; opacity: 0.9; }

.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 0.96rem; }
.check-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }

/* ---------- Hakkımızda ---------- */
.principle-num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  margin-bottom: 12px;
}

.about-block { max-width: 720px; }
.about-block p { color: var(--muted); }
.about-block p strong { color: var(--ink); }

/* ---------- İletişim ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.form-field .req { color: var(--gold-text); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 48px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 137, 46, 0.15);
}
.form-field .field-error {
  display: none;
  font-size: 0.82rem;
  color: #B3261E;
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: #B3261E; }
.form-field.has-error .field-error { display: block; }

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(27, 42, 74, 0.05);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  color: var(--navy);
}
.form-success.is-visible { display: block; }

.contact-side { display: grid; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-item .card-icon { margin: 0; width: 46px; height: 46px; }
.contact-item-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item-value { font-weight: 600; color: var(--navy); word-break: break-word; }

.btn--whatsapp {
  background: var(--navy);
  color: #fff;
  width: 100%;
}
.btn--whatsapp:hover { background: var(--gold); }
.btn--whatsapp svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #C9D0DE;
  padding: clamp(56px, 7vw, 72px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #fff;
}
.footer-brand-name .accent-bar {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 32ch; }

.footer-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a {
  font-size: 0.92rem;
  color: #C9D0DE;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}
.footer-list a:hover { color: var(--gold-soft); }
.footer-list svg { width: 17px; height: 17px; color: var(--gold-soft); flex: 0 0 auto; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom .made { letter-spacing: 0.04em; }

/* ---------- Animasyon başlangıç durumları ----------
   JS (GSAP) yüklendiğinde .js-anim sınıfı <html>'e eklenir;
   yalnızca o durumda öğeler gizlenir. JS yoksa site tamamen görünür. */
.js-anim [data-reveal],
.js-anim [data-hero],
.js-anim [data-reveal-group] > * { opacity: 0; }

/* ---------- IntersectionObserver yedeği (GSAP yüklenemezse) ----------
   main.js GSAP'ı bulamazsa <html>'e .io-anim ekler; animasyonlar
   CSS transition + .is-in sınıfıyla yine çalışır. */
.io-anim .hero [data-hero],
.io-anim .page-hero [data-hero] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.io-anim.hero-in .hero [data-hero],
.io-anim.hero-in .page-hero [data-hero] { opacity: 1; transform: none; }

.io-anim [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.io-anim [data-reveal].is-in { opacity: 1; transform: none; }

.io-anim [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.io-anim [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* Süreç: daireler scale+fade, çizgi line-draw (IO yedeği) */
.io-anim .step-num {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.io-anim .process.is-in .step-num { opacity: 1; transform: none; }
.io-anim .process .step:nth-child(2) .step-num { transition-delay: 0.18s; }
.io-anim .process .step:nth-child(3) .step-num { transition-delay: 0.36s; }
.io-anim .process .step:nth-child(4) .step-num { transition-delay: 0.54s; }
.io-anim .process-line path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.io-anim .process.is-in .process-line path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-anim [data-reveal],
  .js-anim [data-hero],
  .js-anim [data-reveal-group] > *,
  .io-anim [data-reveal],
  .io-anim [data-hero],
  .io-anim [data-reveal-group] > *,
  .io-anim .step-num { opacity: 1 !important; transform: none !important; }
  .hero .arrow-path,
  .process-line path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .btn--gold::after { display: none; }
  .scroll-progress { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 72px; --nav-h-small: 60px; }

  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s ease, visibility 0.3s;
  }
  .nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a { padding: 14px 12px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--gold-text); }

  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-visual { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .portfolio-card { grid-template-columns: 1fr; }
  .portfolio-media { min-height: 220px; }

  /* Hero dekorasyonu mobilde küçülür ve solar; taşma yapmaz */
  .hero-arrow { width: 62vw; right: -8vw; bottom: -8px; opacity: 0.22; }
  .hero-arc { width: 70vw; height: 70vw; left: -32vw; top: -18vw; }
  .hero-deco::before { display: none; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; gap: 18px; }
  .value-strip .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 26px 22px; }
}
