/* ==========================================================================
   DU Danışmanlık — styles.css
   Konsept: Bauhaus İyimserliği × Editoryal Danışmanlık
   Bölümler:
     00  Tokens
     01  Reset & Temel
     02  Tipografi & Yardımcılar
     03  Butonlar
     04  Motion / Reveal
     05  Header & Nav
     06  Hero
     07  Hakkımızda (Vizyon-Misyon, Yaklaşım, Rakamlar)
     08  Hizmetler (Kartlar, Sekmeler, Eğitimler)
     09  Değerler (koyu bant)
     10  Ekip (Kart, Chipler)
     11  Referanslar & İş Birlikleri
     12  İletişim
     13  Footer
     14  Reduced motion
   ========================================================================== */

/* ==========================================================================
   00 — TOKENS
   ========================================================================== */

:root {
  /* Renk */
  --paper:          #FAF6F0;
  --paper-warm:     #F3EDE4;
  --ink:            #2B2A26;
  --ink-soft:       #5C5A53;
  --line:           #E2DACC;

  --du-orange:      #F3703A;
  --du-orange-deep: #D9541F;
  /* --du-orange ve --du-orange-deep, paper/paper-warm zemin üzerinde METİN rengi
     olarak AA kontrastını (4.5:1) karşılamaz (ölç. ~2.5–3.4:1). Metin rolü için
     --du-orange-text kullanın; --du-orange(-deep) yalnızca arka plan/ikon/kenarlık/
     koyu zemin (--dark, --dark-soft) üzerindeki metin gibi metin-dışı veya
     yüksek-kontrast bağlamlarda kalır. */
  --du-orange-text: #B0431B; /* paper üzerinde ~5.3:1, paper-warm üzerinde ~4.9:1 (AA) */
  --du-green:       #A1D078;
  --du-blue:        #7FACD2;
  --du-yellow:      #FFD331;
  --du-gray:        #4D4D4F;

  --dark:           #262521;
  --dark-soft:      #33322D;
  --paper-on-dark:  #F5F0E8;
  --line-on-dark:   rgba(245, 240, 232, 0.12);

  /* Tipografi */
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* Ölçü */
  --wrap:      1200px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --header-h:  80px;
  --radius:    16px;
  --radius-sm: 10px;

  /* Ritim */
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --block-y:   clamp(2.5rem, 6vw, 4.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Kategori tonu (varsayılan) */
  --tone: var(--du-orange);
}

/* Kategori tonları — data-tone ile kodlanır */
[data-tone="orange"] { --tone: var(--du-orange); }
[data-tone="green"]  { --tone: var(--du-green); }
[data-tone="blue"]   { --tone: var(--du-blue); }
[data-tone="yellow"] { --tone: var(--du-yellow); }

/* ==========================================================================
   01 — RESET & TEMEL
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Kâğıt dokusu — çok hafif noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4, h5, h6, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

:focus-visible {
  outline: 2px solid var(--du-orange);
  outline-offset: 2px;
  border-radius: 2px;
}
.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--du-orange); }

::selection { background: var(--du-orange); color: var(--paper); }

/* ==========================================================================
   02 — TİPOGRAFİ & YARDIMCILAR
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Bölüm ayracı — hairline üzerine oturan mono etiket */
.section-rule {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-rule .eyebrow {
  display: inline-block;
  transform: translateY(-50%);
  padding-right: 1.5rem;
  background: var(--paper);
  color: var(--du-orange-text);
}

.section { padding-block: var(--section-y); }

.section-head { max-width: 68ch; margin-bottom: var(--block-y); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-lead {
  margin-top: 1.35rem;
  max-width: 65ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-soft);
}

/* Alt başlık + hairline */
.subhead {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.subhead__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  flex: none;
}
.subhead__line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

/* Turuncu vurgulu kelime — altında düz turuncu blok çizgi */
.accent-word {
  position: relative;
  display: inline-block;
  color: var(--du-orange-text);
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.02em;
  height: 6px;
  background: var(--du-orange);
}
.accent-word--plain::after { display: none; }

/* Marka şekilleri (inline SVG) */
.shape { width: 100%; height: auto; }
.shape--square  { color: var(--du-orange); }
.shape--arrow   { color: var(--du-green); }
.shape--circle  { color: var(--du-blue); }
.shape--equals  { color: var(--du-yellow); }

/* ==========================================================================
   03 — BUTONLAR
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), transform 200ms var(--ease);
}

/* Not: turuncu zeminde koyu mürekkep kullanılır (AA kontrast). */
.btn--primary {
  background: var(--du-orange);
  color: var(--ink);
  border-color: var(--du-orange);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--du-orange-deep);
  border-color: var(--du-orange-deep);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--pill { padding-block: 0.7rem; font-size: 1rem; }

/* ==========================================================================
   04 — MOTION / REVEAL
   JS (js/main.js) görünüme giren .reveal öğesine .is-visible ekler.
   JS yoksa (html.no-js) içerik daima görünür kalır.
   ========================================================================== */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes shapeIn {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: none; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ==========================================================================
   05 — HEADER & NAV
   JS kancaları:  #site-header.is-scrolled  ·  .nav-link.is-active
                  .nav-toggle[aria-expanded="true"]  (·  #site-menu.is-open yedek)
   ========================================================================== */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* Blur ayrı bir katmanda: backdrop-filter doğrudan header'a verilirse
   header, fixed konumlu mobil menü için containing block hâline gelir. */
#site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height 240ms var(--ease);
}
#site-header.is-scrolled .header__inner { height: 64px; }

.brand { display: flex; align-items: center; flex: none; }
.brand__full {
  height: 44px;
  width: auto;
  transition: height 240ms var(--ease);
}
#site-header.is-scrolled .brand__full { height: 36px; }
.brand__mark { display: none; height: 34px; width: auto; }

#site-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  padding-block: 0.35rem;
  transition: color 180ms var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--du-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav-link:hover { color: var(--du-orange-text); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--du-orange-text); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 200ms var(--ease);
}
.nav-toggle:hover { border-color: var(--du-orange); }

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 20px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 220ms var(--ease), opacity 160ms linear;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-menu__decor { display: none; }

/* --- Mobil menü --------------------------------------------------------- */
@media (max-width: 879px) {
  .brand__full { display: none; }
  .brand__mark { display: block; }
  .brand { position: relative; z-index: 2; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }

  #site-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
    overflow-y: auto;
  }

  #site-header:has(.nav-toggle[aria-expanded="true"]) #site-menu,
  #site-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .nav-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
  }
  .nav-link::after { height: 4px; }

  .nav-cta { font-size: 1.0625rem; padding: 0.9rem 1.75rem; }

  .nav-menu__decor {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    opacity: 0.9;
  }
  .nav-menu__decor .shape { width: 26px; }

  body:has(.nav-toggle[aria-expanded="true"]) { overflow: hidden; }
}

/* ==========================================================================
   06 — HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(6rem, 10vw, 8rem);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__title .accent-word::after { height: clamp(4px, 0.7vw, 8px); }

.hero__lead {
  margin-top: 1.75rem;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* --- Geometrik kompozisyon --- */
.hero__art { position: relative; }

.hero__ring {
  position: absolute;
  top: -22%;
  right: -34%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.5rem, 1.6vw, 1.1rem);
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.hero-shape {
  display: grid;
  margin: 0;
  animation: shapeIn 600ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 120ms + 180ms);
}
.hero-shape > * { width: 100%; height: auto; }

.hero-shape--kare    { grid-area: 1 / 1 / 2 / 2; place-items: end center; }
.hero-shape--kare > * { width: 96%; }

.hero-shape--ok      { grid-area: 1 / 2 / 2 / 3; place-items: end start; margin-left: -14%; margin-bottom: -8%; }
.hero-shape--ok > *  { width: 58%; }

.hero-shape--daire   { grid-area: 2 / 1 / 3 / 2; place-items: start end; margin-top: -10%; margin-right: -12%; }
.hero-shape--daire > * { width: 66%; }

.hero-shape--esittir { grid-area: 2 / 2 / 3 / 3; place-items: center start; margin-left: 6%; }
.hero-shape--esittir > * { width: 62%; }

/* --- Aşağı kaydır göstergesi --- */
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.75rem, 4vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 200ms var(--ease);
}
.scroll-cue:hover { color: var(--du-orange-text); }
.scroll-cue__arrow {
  width: 12px;
  animation: cueBounce 2.2s var(--ease) infinite;
}

@media (max-width: 879px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero-art { width: min(100%, 340px); margin-inline: 0; }
  .hero__ring { top: -30%; right: -40%; width: 90vw; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   07 — HAKKIMIZDA
   ========================================================================== */

/* Vizyon / Misyon */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.vm-card {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--paper-warm);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.vm-card:hover { transform: translateY(-4px); }
.vm-card:nth-child(1):hover { border-color: var(--du-green); }
.vm-card:nth-child(2):hover { border-color: var(--du-blue); }

.vm-card__label { margin-bottom: 1.1rem; color: var(--du-orange-text); }

.vm-card__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 32ch;
}

.vm-card__mark {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 96px;
  opacity: 0.16;
  pointer-events: none;
}

/* Yaklaşım */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
}

.approach {
  padding-top: 1.75rem;
  border-top: 2px solid var(--line);
  transition: border-color 240ms var(--ease);
}
.approach:hover { border-color: var(--tone); }

.approach__icon { width: 40px; margin-bottom: 1.25rem; color: var(--tone); }

.approach__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.approach__text {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* Rakamlar bandı */
.stats-band {
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }

.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--du-orange-text);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 0.9rem;
  margin-left: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 22ch;
}

@media (max-width: 879px) {
  .vm-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-inline: 0; }
  .stat:nth-child(even) { padding-left: clamp(1rem, 4vw, 2rem); border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 479px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding-left: 0 !important; }
  .stat + .stat { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   08 — HİZMETLER
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.service-card {
  position: relative;
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.service-card:hover {
  border-color: var(--du-orange);
  transform: translateY(-4px);
}

.service-card--wide {
  grid-column: 1 / -1;
  background: var(--paper-warm);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.service-card__num {
  position: absolute;
  top: clamp(0.5rem, 1.5vw, 1rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.service-card__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.service-card--wide .service-card__title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  max-width: 24ch;
}

.service-card__text {
  position: relative;
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* --- Sekmeler ----------------------------------------------------------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  color: var(--ink);
  background: transparent;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.tab:hover { border-color: var(--tone); }

.tab__dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 999px;
  background: var(--tone);
}
.tab[data-tone="orange"] .tab__dot { border-radius: 0; }
.tab[data-tone="yellow"] .tab__dot { border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%, 0 65%, 100% 65%, 100% 100%, 0 100%); }

/* Aktif sekme: kategori rengiyle dolgulu, daima koyu mürekkep metin (AA) */
.tab[aria-selected="true"] {
  background: var(--tone);
  border-color: var(--tone);
  color: var(--ink);
  font-weight: 600;
}
.tab[aria-selected="true"] .tab__dot { background: var(--ink); }

.tabpanel {
  border-top: 2px solid var(--tone);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}
.tabpanel:not([hidden]) {
  animation: panelIn 200ms var(--ease) both;
}

.tabpanel__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem clamp(1.5rem, 4vw, 3rem);
}
.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--tone);
}
/* JS yokken: sekme listesi gizlenir, tüm paneller açık kalır. */
html.no-js .tabs__list { display: none; }
html.no-js .tabpanel[hidden] { display: block; }
html.no-js .tabpanel + .tabpanel { margin-top: clamp(2rem, 4vw, 3rem); }

/* --- Eğitim kartları ---------------------------------------------------- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.training-card {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  padding-left: clamp(1.5rem, 2.6vw, 2rem);
  border: 2px solid var(--line);
  border-left: 4px solid var(--du-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease), background-color 240ms var(--ease);
}
.training-card:hover {
  border-color: var(--du-orange);
  background: var(--paper-warm);
  transform: translateY(-4px);
}

.training-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.training-card__text {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

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

/* ==========================================================================
   09 — DEĞERLER (koyu bant)
   ========================================================================== */

.section--dark {
  position: relative;
  background: var(--dark);
  color: var(--paper-on-dark);
}
.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > .wrap { position: relative; z-index: 1; }

.section--dark .section-rule { border-color: var(--line-on-dark); }
.section--dark .section-rule .eyebrow { background: var(--dark); color: var(--du-orange); }

/* Not: burada ch birimi bu konteynerin KENDİ font-size'ına (gövde ölçeği)
   göre hesaplanır, h2'nin ~48-51px'lik font-size'ına göre değil — bu yüzden
   ch tabanlı bir sınır beklenenden çok daha dar çıkar (örn. 26ch ~ 250px) ve
   başlık masaüstünde tek kelimelik satırlara kırılır. Piksel tabanlı sabit bir
   genişlik kullanarak başlığın geniş akmasına izin veriyoruz (yine de en fazla
   2 satıra düşecek şekilde). */
.section-head--values { max-width: 750px; }
.section-head--values .section-title { font-weight: 700; }
.section--dark .accent-word--plain { color: var(--du-orange); }

.values { border-top: 1px solid var(--line-on-dark); }

.value {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.2vw, 2.5rem) clamp(0.75rem, 2vw, 1.5rem);
  margin-inline: calc(-1 * clamp(0.75rem, 2vw, 1.5rem));
  border-bottom: 1px solid var(--line-on-dark);
  transition: background-color 260ms var(--ease);
}
.value:hover { background: var(--dark-soft); }

.value__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--paper-on-dark);
  opacity: 0.25;
  transition: color 260ms var(--ease), opacity 260ms var(--ease);
}
.value:hover .value__num { color: var(--du-orange); opacity: 1; }

.value__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.value__motto {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--du-orange);
  text-wrap: pretty;
}

.value__text {
  color: var(--paper-on-dark);
  opacity: 0.75;
  font-size: 1rem;
  padding-top: 0.25rem;
}

@media (max-width: 879px) {
  .value {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem 1.25rem;
  }
  .value__num { grid-row: 1 / 3; }
  .value__text { grid-column: 2; }
}

/* ==========================================================================
   10 — EKİP
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.team-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  background: var(--paper-warm);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.team-card:hover { border-color: var(--du-orange); transform: translateY(-4px); }

.team-card__figure {
  position: relative;
  margin: 0;
}
.team-card__decor {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 44px;
  height: 44px;
  background: var(--du-orange);
  border-radius: 6px;
  z-index: 0;
}
.team-card__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.team-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.team-card__role {
  margin-top: 0.4rem;
  color: var(--du-orange-text);
}

.team-card__bio {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.team-card__edu {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.team-card__chips { margin-top: 1.25rem; }

.team-card__link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  /* uppercase yok: lang="tr" i→İ dönüşümü "LinkedIn" marka adını bozuyor */
  text-transform: none;
  color: var(--du-orange-text);
  border-bottom: 2px solid transparent;
  transition: border-color 200ms var(--ease);
}
.team-card__link:hover { border-bottom-color: var(--du-orange); }

/* Uzmanlık chip'leri (Ekip kartında da kullanılır) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-soft);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.chip:hover { border-color: var(--du-orange); color: var(--ink); }

@media (max-width: 879px) {
  .team-card { grid-template-columns: 1fr; }
  .team-card__figure { max-width: 220px; }
}

/* ==========================================================================
   11 — REFERANSLAR & İŞ BİRLİKLERİ
   ========================================================================== */

.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.client {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 1.75rem 1.25rem;
  background: #FFFFFF;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.client:hover { border-color: var(--du-orange); transform: translateY(-4px); }
.client:has(.client__note) { padding-bottom: 2.75rem; }

.client img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  /* Açık renkli logolar (örn. bossa.png) grayscale + düşük opaklıkta zor
     seçiliyordu; taban opaklığı ve kontrastı hafifçe artırıldı. Hover'da tam
     renk davranışı değişmedi. */
  filter: grayscale(1) contrast(1.1);
  opacity: 0.8;
  transition: filter 260ms var(--ease), opacity 260ms var(--ease);
}
.client:hover img { filter: grayscale(0); opacity: 1; }

.client__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  background: var(--paper-warm);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.partner-card:hover { border-color: var(--du-orange); transform: translateY(-4px); }

.partner-card__logo {
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
}

.partner-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.partner-card__text {
  font-size: 1rem;
  color: var(--ink-soft);
}

.partner-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--du-orange-text);
  border-bottom: 2px solid transparent;
  transition: border-color 200ms var(--ease);
}
.partner-card__link:hover { border-bottom-color: var(--du-orange); }

@media (max-width: 879px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12 — İLETİŞİM
   ========================================================================== */

.section--contact {
  position: relative;
  background: var(--paper-warm);
  overflow: hidden;
}

.contact__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
}
.contact__decor .shape { position: absolute; }
.contact__decor .shape--square  { width: clamp(60px, 8vw, 110px); top: 24%; left: 4%; }
.contact__decor .shape--circle  { width: clamp(48px, 6vw, 90px); bottom: 20%; left: 11%; }
.contact__decor .shape--arrow   { width: clamp(56px, 7vw, 100px); top: 28%; right: 6%; }
.contact__decor .shape--equals  { width: clamp(44px, 5.5vw, 80px); bottom: 16%; right: 13%; }

.contact { position: relative; z-index: 1; text-align: center; }

.contact .section-rule--contact { border-color: rgba(226, 218, 204, 0.9); }
.contact .section-rule--contact .eyebrow { background: var(--paper-warm); padding-inline: 1.25rem; }

.contact__title {
  max-width: 18ch;
  margin-inline: auto;
}

.contact__lead {
  margin: 1.35rem auto 0;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
}

.contact__mail {
  display: inline-block;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  /* Serbest word-break yerine yalnızca işaretli <wbr> noktasında (@ sonrası)
     kırılmaya izin verilir; "dudanismanlik.co" / "m.tr" gibi kelime ortası
     kırılmalar engellenir. */
  overflow-wrap: normal;
  word-break: keep-all;
  padding-bottom: 0.18em;
  /* Alt çizgi background ile çizilir — hover'da kalınlaşırken layout kaymaz. */
  background-image: linear-gradient(var(--du-orange), var(--du-orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  transition: background-size 180ms var(--ease), color 180ms var(--ease);
}
.contact__mail:hover {
  color: var(--du-orange-deep);
  background-size: 100% 9px;
}

.contact__phone {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.contact__phone-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact__phone a { border-bottom: 1px solid var(--line); transition: border-color 180ms var(--ease); }
.contact__phone a:hover { border-color: var(--du-orange); }

.contact__social { margin-top: 1.75rem; }
.contact__social-link {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.contact__social-link:hover { border-color: var(--du-orange); color: var(--ink); }

/* ==========================================================================
   13 — FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--dark);
  color: var(--paper-on-dark);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-footer > .wrap { position: relative; z-index: 1; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__brand img { height: 56px; width: auto; }
.footer__motto {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-on-dark);
  opacity: 0.7;
  max-width: 24ch;
}

.footer__heading {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--du-orange);
  margin-bottom: 1.1rem;
}

.footer__nav ul,
.footer__contact ul {
  display: grid;
  gap: 0.6rem;
}
.footer__nav a,
.footer__contact a {
  font-size: 0.9375rem;
  color: var(--paper-on-dark);
  opacity: 0.82;
  border-bottom: 1px solid transparent;
  transition: opacity 180ms var(--ease), border-color 180ms var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover {
  opacity: 1;
  border-bottom-color: var(--du-orange);
}
.footer__contact a { word-break: break-word; }

.footer__bottom {
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line-on-dark);
  position: relative;
  z-index: 1;
}
.footer__bottom p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--paper-on-dark);
  opacity: 0.55;
}

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

/* ==========================================================================
   14 — REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-shape,
  .tabpanel:not([hidden]),
  .scroll-cue__arrow {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
