/* ==========================================================================
   Ofis Matematik — Bire Bir Özel Ders
   Ana stil dosyası (statik, bağımlılık yok)

   1. Tasarım değişkenleri
   2. Reset & temel
   3. Yardımcı sınıflar
   4. Butonlar
   5. Marka
   6. Üst menü
   7. Sol eğitim navigasyonu / mobil drawer
   8. Hero + ticker
   9. Bölümler, kartlar, figürler
  10. Koyu paneller, zaman çizelgesi, şubeler, mozaik, alıntılar
  11. CTA + footer
  12. Animasyonlar & responsive
   ========================================================================== */

/* 1. Tasarım değişkenleri ------------------------------------------------ */
:root {
  /* kırık beyaz / antrasit / doğal yeşil */
  --paper:      #F6F3EE;
  --paper-2:    #EFEAE1;
  --paper-3:    #E4DED3;
  --ink:        #1B1F23;
  --ink-2:      #2A3136;
  --ink-3:      #4B5359;
  --muted:      #6E767D;
  --green:      #3D5A45;
  --green-2:    #4F6E57;
  --green-3:    #7E9A82;
  --green-tint: #E5EBE2;
  --sand:       #C2A377;
  --line:       rgba(27, 31, 35, .10);
  --line-2:     rgba(27, 31, 35, .18);
  --dark:       #17211B;
  --dark-2:     #223026;
  --white:      #FFFFFF;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(20, 26, 22, .04), 0 8px 20px -12px rgba(20, 26, 22, .18);
  --shadow-md: 0 2px 6px rgba(20, 26, 22, .05), 0 26px 52px -30px rgba(20, 26, 22, .34);
  --shadow-lg: 0 50px 90px -50px rgba(12, 18, 14, .55);

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;

  --rail-w:    306px;
  --topbar-h:  88px;
  --container: 1180px;
  --pad-x:     clamp(18px, 4vw, 40px);
  --section-y: clamp(60px, 7.5vw, 120px);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-size: 14px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; }

/* 3. Yardımcı sınıflar --------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--light { color: rgba(246, 243, 238, .8); }

.section__head { display: grid; gap: 16px; margin-bottom: clamp(34px, 4vw, 62px); }
.section__title {
  font-family: var(--serif);
  font-size: clamp(29px, 3.5vw, 50px);
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--ink);
}
.section__lead {
  max-width: 64ch;
  color: var(--ink-3);
  font-size: clamp(15.5px, 1.1vw, 17.5px);
  line-height: 1.68;
}
.note {
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--green-3);
  padding-left: 12px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li {
  font-size: 12px;
  letter-spacing: .02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green);
}
.chips--light li { background: rgba(255, 255, 255, .10); color: rgba(246, 243, 238, .92); }

/* 4. Butonlar ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 14px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--green); box-shadow: var(--shadow-sm); }

.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #33503C; box-shadow: 0 14px 30px -18px rgba(61, 90, 69, .9); }

.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .68); }

.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--block { width: 100%; }

/* 5. Marka --------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font: 600 15px/1 var(--serif);
  letter-spacing: .02em;
}
.brand__text { display: grid; gap: 3px; }
.brand__text strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand__text small {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

/* Gerçek logo — logo/logo.png (2171 x 724 PNG, krem zeminli).
   Kaynakta sanat alanı x: 77–2073, y: 155–568 (dikeyde tam ortalanmış; ~%43 dolgu).
   Kutu, sanat alanının oranına (1997/414 = 4.824) kilitlenir ve görsel object-fit: cover
   ile kırpılır: böylece kutu = gerçek logo alanı olur, oran bozulmaz, dolgu görünmez. */
.brand__logo {
  --logo-h: 66px;
  display: block;
  width: calc(var(--logo-h) * 4.824);
  height: var(--logo-h);
  margin-left: calc(var(--logo-h) * -.171); /* soldaki görünmez dolguyu geri al (optik hizalama) */
}
.brand__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  /* Logo krem zeminli (alfa yok). "darken" ile zeminden açık olan her piksel
     header zemininin tam rengini alır: kutu tamamen kaybolur, koyu yeşil
     sanat alanı olduğu gibi kalır. */
  mix-blend-mode: darken;
}

/* 6. Üst menü ------------------------------------------------------------ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 243, 238, .95);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.topbar.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 34px -30px rgba(12, 18, 14, .5);
}
.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 26px;
  padding-inline: var(--pad-x);
  max-width: 1800px;
  margin-inline: auto;
}
.iconbtn.topbar__burger { display: none; }

.topnav { margin-left: auto; }
.topnav ul { display: flex; align-items: center; gap: 4px; }
.topnav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-3);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.topnav a:hover { color: var(--ink); background: rgba(27, 31, 35, .05); }
.topnav a.is-active { color: var(--green); font-weight: 600; }
.topnav .topnav__cta {
  margin-left: 8px;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
}
.topnav .topnav__cta:hover { background: #33503C; color: #fff; }

.iconbtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.iconbtn:hover { background: rgba(27, 31, 35, .05); }
.iconbtn__bar { width: 17px; height: 1.5px; background: currentColor; border-radius: 2px; }
.iconbtn--close { position: relative; flex: none; }
.iconbtn--close span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.iconbtn--close span:first-child { transform: rotate(45deg); }
.iconbtn--close span:last-child { transform: rotate(-45deg); }

/* 7. Sol eğitim navigasyonu --------------------------------------------- */
.shell {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: start;
}

.rail {
  position: sticky;
  top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-2), var(--paper) 70%);
}
.rail__head { display: none; }
.rail__scroll {
  height: 100%;
  overflow-y: auto;
  padding: 28px 20px 40px;
  display: grid;
  gap: 22px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.rail__scroll::-webkit-scrollbar { width: 8px; }
.rail__scroll::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.rail__eyebrow {
  font: 600 10.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 14px 14px;
  border-bottom: 1px solid var(--line);
}

.rail__group { display: grid; gap: 8px; }
.rail__group + .rail__group { padding-top: 20px; border-top: 1px solid var(--line); }
.rail__group--menu { display: none; }

.rail__title {
  font: 600 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  padding-inline: 14px;
}

.rail__group ul { display: grid; gap: 2px; }
.rail__group a {
  position: relative;
  display: block;
  padding: 10px 12px 10px 16px;
  border-radius: 10px;
  font-size: 13.6px;
  line-height: 1.34;
  color: var(--ink-3);
  text-decoration: none;
  transition: color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.rail__group a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--green);
  transform: translateY(-50%);
  transition: height .3s var(--ease);
}
.rail__group a:hover {
  color: var(--ink);
  background: rgba(61, 90, 69, .07);
  transform: translateX(2px);
}
.rail__group a.is-active {
  color: var(--green);
  background: rgba(61, 90, 69, .11);
  font-weight: 600;
}
.rail__group a.is-active::before { height: 18px; }
.rail__group a.rail__wa { color: var(--green); font-weight: 600; }

.rail__card {
  margin-top: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-tint);
  display: grid;
  gap: 8px;
}
.rail__card-title { font-family: var(--serif); font-size: 16px; color: var(--green); }
.rail__card-text { font-size: 13px; line-height: 1.55; color: var(--ink-3); margin-bottom: 4px; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(14, 20, 16, .46);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.backdrop.is-on { opacity: 1; visibility: visible; }

/* 8. Hero + ticker ------------------------------------------------------- */
.main { min-width: 0; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(520px, 76vh, 800px);
  margin: clamp(10px, 1.1vw, 20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 20, 16, .18) 0%, rgba(14, 20, 16, .40) 52%, rgba(14, 20, 16, .84) 100%),
    linear-gradient(96deg, rgba(14, 20, 16, .58) 0%, rgba(14, 20, 16, .04) 62%);
}
.hero__inner {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4.4vw, 72px) clamp(24px, 4vw, 64px) clamp(26px, 3.4vw, 52px);
  max-width: 1020px;
  color: #fff;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.028em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.hero__lead {
  max-width: 46ch;
  font-size: clamp(15.5px, 1.35vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(12, 18, 14, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__facts li {
  flex: 1 1 210px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px clamp(22px, 3.2vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.4;
}
.hero__facts li:last-child { border-right: 0; }
.hero__facts span {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  color: #fff;
  letter-spacing: -.01em;
}
.hero__facts em { font-style: normal; }

.ticker {
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker__track span { padding-right: 46px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 9. Bölümler, kartlar, figürler ---------------------------------------- */
.section {
  width: 100%;
  max-width: calc(var(--container) + var(--pad-x) * 2);
  margin-inline: auto;
  padding: var(--section-y) var(--pad-x);
}
.section--tint,
.section--dark,
.section--cta {
  width: auto; /* 100% + margin-inline yatay taşma yaratıyordu */
  max-width: none;
  margin-inline: clamp(8px, 1.1vw, 20px);
  border-radius: var(--radius-lg);
  padding-inline: var(--pad-x);
}
.section--tint > *,
.section--dark > *,
.section--cta > * {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}
.section--tint { background: var(--paper-2); }

.section--dark,
.section--cta {
  background:
    radial-gradient(120% 130% at 84% -10%, rgba(126, 154, 130, .28) 0%, rgba(23, 33, 27, 0) 58%),
    var(--dark);
  color: var(--paper);
}
.section--dark .section__title,
.section--cta .section__title { color: var(--paper); }
.section--dark .section__lead,
.section--cta .section__lead { color: rgba(246, 243, 238, .74); }
.darknote {
  margin-top: clamp(22px, 2.6vw, 34px);
  padding-top: 18px;
  font-size: 13.5px;
  color: rgba(246, 243, 238, .6);
  border-top: 1px solid rgba(246, 243, 238, .16);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.6vw, 68px);
  align-items: start;
}
.split__media { display: grid; gap: clamp(14px, 1.8vw, 24px); }
.split__copy { display: grid; gap: 16px; align-content: start; padding-top: clamp(0px, 1vw, 14px); }
.split__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; }

.figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--offset { margin-left: clamp(0px, 4vw, 58px); }
.figure__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(246, 243, 238, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.figure__badge strong { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--green); }
.figure__badge span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.feature-list { display: grid; gap: 2px; }
.feature-list__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 2.2vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}
.feature-list__item:first-child { padding-top: 0; }
.feature-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-list__no {
  padding-top: 4px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--green);
}
.feature-list__item h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
}
.feature-list__item p { color: var(--ink-3); font-size: 14.8px; line-height: 1.65; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 26px);
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: calc(var(--topbar-h) + 28px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: grid; gap: 9px; align-content: start; padding: clamp(18px, 1.9vw, 26px); }
.card__kicker { font: 600 10.5px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--green); }
.card__title { font-family: var(--serif); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.2; letter-spacing: -.012em; }
.card__text { color: var(--ink-3); font-size: 14.5px; line-height: 1.62; }

.card--wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.card--wide .card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 250px; }
.card--wide .card__body { align-content: center; gap: 12px; padding: clamp(24px, 3vw, 48px); }
.card--wide .card__title { font-size: clamp(24px, 2.5vw, 34px); }
.card--wide .card__text { max-width: 56ch; font-size: 15.5px; }

/* Bir sütun daha geniş "öne çıkan" kart (ör. Ortaöğretim programı).
   3 sütunlu ızgarada 5 normal + 1 tam genişlik kartla boşluk oluşmaması için. */
.card--span2 { grid-column: span 2; }

.card--dark {
  background: rgba(246, 243, 238, .045);
  border-color: rgba(246, 243, 238, .14);
}
.card--dark .card__title { color: var(--paper); }
.card--dark .card__text { color: rgba(246, 243, 238, .72); }
.card--dark .card__kicker { color: var(--green-3); }
.card--dark:hover { background: rgba(246, 243, 238, .08); box-shadow: var(--shadow-lg); }
.card--dark .card__body { gap: 11px; }

/* 10. Zaman çizelgesi, şubeler, mozaik, alıntılar ------------------------ */
.timeline {
  display: grid;
  padding-left: clamp(20px, 2.4vw, 34px);
  border-left: 1px solid var(--line-2);
}
.timeline__item { position: relative; padding: 16px 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(20px, 2.4vw, 34px) - 4.5px);
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline__time { font: 600 11.5px/1 var(--sans); letter-spacing: .14em; color: var(--green); }
.timeline__body h3 { margin: 8px 0 5px; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 21px); }
.timeline__body p { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; }

.branch {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.branch:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.branch__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.branch__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.branch:hover .branch__media img { transform: scale(1.04); }
.branch__body { display: grid; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.branch__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); }
.branch__addr { color: var(--ink-3); font-size: 14.5px; }
.branch__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.branch__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.branch__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-3);
}
.branch__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 13vw, 190px);
  gap: clamp(10px, 1.1vw, 16px);
}
.mosaic__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
}
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--a { grid-column: span 2; grid-row: span 2; }
.mosaic__item--b { grid-column: span 1; grid-row: span 1; }
.mosaic__item--c { grid-column: span 1; grid-row: span 2; }
.mosaic__item--d { grid-column: span 1; grid-row: span 1; }
.mosaic__item--e { grid-column: span 2; grid-row: span 1; }
.mosaic__item--f { grid-column: span 2; grid-row: span 1; }

.quote {
  display: grid;
  gap: 22px;
  align-content: space-between;
  margin: 0;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  letter-spacing: -.008em;
  color: var(--ink-2);
}
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green);
  font: 600 13px/1 var(--serif);
}
.quote figcaption strong { display: block; font-size: 14px; line-height: 1.3; }
.quote figcaption small { color: var(--muted); font-size: 12.5px; }

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(30px, 3.4vw, 48px);
  padding-top: clamp(24px, 2.6vw, 36px);
  border-top: 1px solid var(--line-2);
}
.values__item { display: grid; gap: 6px; }
.values__item strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--green);
}
.values__item span { font-size: 13.5px; color: var(--muted); }

/* 11. CTA + footer ------------------------------------------------------- */
.cta {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(40px, 5.6vw, 88px) 0;
  text-align: center;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.024em;
  color: var(--paper);
}
.cta__lead { max-width: 52ch; color: rgba(246, 243, 238, .76); font-size: clamp(15px, 1.15vw, 17px); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cta__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 940px;
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  padding-top: clamp(24px, 2.6vw, 34px);
  border-top: 1px solid rgba(246, 243, 238, .16);
  text-align: left;
}
.cta__grid dt { font: 600 10.5px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: rgba(246, 243, 238, .52); }
.cta__grid dd { margin: 8px 0 0; font-size: 14.5px; color: var(--paper); }
.cta__grid a { text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid rgba(246, 243, 238, .32); transition: border-color .3s var(--ease); }
.cta__grid a:hover { border-bottom-color: #fff; }

.footer {
  margin-top: clamp(30px, 4vw, 60px);
  padding: clamp(48px, 6vw, 88px) var(--pad-x) 0;
  background: var(--ink);
  color: rgba(246, 243, 238, .66);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: clamp(28px, 3vw, 56px);
  max-width: var(--container);
  margin-inline: auto;
}
.footer .brand { color: var(--paper); }
.footer .brand__mark { background: var(--green-2); }
.footer .brand__text small { color: rgba(246, 243, 238, .5); }
.footer__tagline { max-width: 40ch; margin: 20px 0 22px; font-size: 14.5px; line-height: 1.7; }
.footer__col h3 {
  margin-bottom: 16px;
  font: 600 10.5px/1 var(--sans);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, .45);
}
.footer__col ul { display: grid; gap: 10px; font-size: 14px; }
.footer__col a { text-decoration: none; transition: color .3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: var(--container);
  margin: clamp(36px, 4vw, 60px) auto 0;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(246, 243, 238, .13);
  font-size: 12.5px;
}
.footer__note { color: rgba(246, 243, 238, .42); }

/* 12. Animasyonlar ------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* 12b. Responsive -------------------------------------------------------- */
@media (max-width: 1280px) {
  :root { --rail-w: 268px; --topbar-h: 80px; }
  .brand__logo { --logo-h: clamp(44px, calc(7.06vw - 28px), 62px); }
  .rail__group a { font-size: 13px; }
  .hero__title { font-size: clamp(32px, 4.6vw, 58px); }
}

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Sol navigasyon -> mobil drawer */
@media (max-width: 1024px) {
  :root { --topbar-h: 72px; }

  .topnav { display: none; }
  .iconbtn.topbar__burger { display: inline-flex; }
  .shell { grid-template-columns: minmax(0, 1fr); }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 80;
    width: min(88vw, 372px);
    height: 100dvh;
    border-right: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    transform: translateX(-102%);
    transition: transform .45s var(--ease);
    display: flex;
    flex-direction: column;
  }
  .rail.is-open { transform: none; }
  .rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: none;
    padding: 18px 18px 16px 20px;
    border-bottom: 1px solid var(--line);
  }
  .rail__scroll { flex: 1 1 auto; height: auto; padding: 22px 18px 34px; }
  .rail__group--menu { display: grid; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .rail__group--menu a { font-size: 15px; padding-block: 11px; }
  .rail__eyebrow { display: none; }
  .rail__group a { font-size: 14.5px; padding-block: 11px; }
  .brand__logo { --logo-h: 46px; }
}

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .split__media { order: 2; }
  .figure--tall { aspect-ratio: 16 / 11; }
  .figure--offset { margin-left: 0; }
  .hero { min-height: clamp(480px, 78vh, 680px); }
  .hero__facts li { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hero__facts li:last-child { border-bottom: 0; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 26vw, 200px); }
  .mosaic__item--a { grid-column: span 2; grid-row: span 1; }
  .mosaic__item--b { grid-column: span 1; grid-row: span 1; }
  .mosaic__item--c { grid-column: span 1; grid-row: span 1; }
  .mosaic__item--d { grid-column: span 1; grid-row: span 1; }
  .mosaic__item--e { grid-column: span 1; grid-row: span 1; }
  .mosaic__item--f { grid-column: span 2; grid-row: span 1; }
  .card--wide { flex-direction: column; }
  .card--wide .card__media { flex: none; min-height: 220px; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  :root { --topbar-h: 68px; --pad-x: 16px; }
  .brand__logo { --logo-h: 44px; }
  .cards, .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .section__title { font-size: clamp(26px, 7vw, 34px); }
  .hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .hero__inner { padding: 28px 22px 26px; gap: 18px; }
  .values { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .btn--lg { width: 100%; }
  .cta__actions { width: 100%; }
}
