/* Robin Robotik İnovasyon - tam site v11
   Açık, modern; ilk ekranda canlı 3D robot. Sabit marka varlığı: robin logosu. */

:root {
  --bg: #F4F6FB;          /* serin, beyaza yakın zemin */
  --surface: #FFFFFF;
  --ink: #0D1222;
  --ink-2: #4A5168;       /* ikincil metin (zeminde 7.3:1) */
  --line: #E3E7F0;

  --red: #E3001B;         /* yalnızca arama eylemleri (beyaz yazıyla 4.9:1) */
  --red-deep: #B80016;
  --blue: #1D63F0;        /* robot, bağlantılar, odak (beyazda 5.0:1) */
  --blue-deep: #134BC0;
  --yellow: #FFC61A;      /* göğüs dişlisi, vurgular (yalnızca koyu yazıyla) */
  --green: #0F7A41;       /* WhatsApp (beyaz yazıyla 5.4:1) */
  --green-deep: #0B5E32;

  --c-robotik: #1E9E4A;
  --c-zeka: #D9001C;
  --c-stem: #FFC61A;
  --c-yazilim: #7B2FBF;
  --c-tasarim: #E8630A;
  --c-algoritma: #1D63F0;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 1px 2px rgba(13, 18, 34, .04), 0 18px 40px -18px rgba(13, 18, 34, .18);
  --shadow-hover: 0 2px 4px rgba(13, 18, 34, .05), 0 28px 60px -22px rgba(13, 18, 34, .28);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--ink); }

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

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }

p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { left: 8px; }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  font: 700 1.0625rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 1rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(227, 0, 27, .7); }
.btn-red:hover { background: var(--red-deep); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #262C40; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--yellow); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Üst alan ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 251, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { width: 120px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 18px;
  font: 700 1rem var(--font-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
  padding: 10px 18px 18px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hover);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: flex; align-items: center; min-height: 52px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav .btn { margin-top: 14px; width: 100%; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 28px;
    position: static; padding: 0; background: none; box-shadow: none; border-radius: 0;
  }
  .site-nav ul { display: flex; gap: 26px; }
  .site-nav li a { border: 0; min-height: 44px; font-size: 1rem; }
  .site-nav li a:hover { color: var(--blue); }
  .site-nav .btn { margin-top: 0; width: auto; }
}

/* ---------- Giriş ---------- */

.hero { padding: 20px 0 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 8px; align-items: center; }
.hero-grid > * { min-width: 0; }

.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 6.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--blue); display: block; }
.hero-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 44ch; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 4px 0 22px; padding: 8px 16px 8px 12px;
  font-weight: 700; font-size: 1rem;
  background: var(--surface); border-radius: 999px;
  box-shadow: var(--shadow);
}
.chip-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 198, 26, .3); }

.hero-note { margin: 18px 0 0; font-size: 1rem; color: var(--ink-2); }

.robot-stage {
  position: relative;
  height: min(36svh, 340px);
  margin: 0 -20px 4px;
}

/* mobilde robot başlığın hemen altında: imza ilk ekranda görünsün
   (arama ve WhatsApp alttaki sabit çubukta zaten hep görünür) */
@media (max-width: 979px) {
  .hero-copy { display: contents; }
  .hero h1 { order: 1; margin-bottom: 0; }
  .robot-stage { order: 2; }
  .chip { order: 3; justify-self: start; margin-top: 0; }
  .hero .btn-row { order: 4; }
  .hero-lead { order: 5; margin: 20px 0 0; }
  .hero-note { order: 6; }
}
.robot-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.robot-hit {
  position: absolute; inset: 8% 18%;
  background: none; border: 0; padding: 0; cursor: pointer;
  border-radius: 40%;
}
.robot-hint {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  white-space: nowrap; padding: 6px 14px;
  font: 600 .95rem var(--font-body); color: var(--ink-2);
  background: var(--surface); border-radius: 999px;
  box-shadow: var(--shadow);
  transition: opacity .3s ease;
}
.robot-stage.has-waved .robot-hint { opacity: 0; }
.robot-fallback { display: none; position: absolute; inset: 0; margin: auto; width: 60%; }
.robot-stage.no-webgl .robot-fallback { display: block; }
.robot-stage.no-webgl .robot-hit { display: none; }

@media (min-width: 980px) {
  .hero { padding: 16px 0 40px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 16px; }
  .robot-stage { height: clamp(520px, calc(100svh - 150px), 780px); margin: 0 -60px 0 0; }
  .robot-hint { left: auto; right: 6%; bottom: auto; top: 54%; transform: none; }
}

/* ---------- Bölümler ---------- */

.section { padding: 88px 0; }
.section-tight { padding-bottom: 72px; }
.section-white { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { font-size: 1.2rem; color: var(--ink-2); margin: 0; }
.section-head h2 em { font-style: normal; color: var(--blue); }

/* ---------- Tanıtım: bina fotoğrafı + kısa metin ---------- */

.intro-grid { display: grid; gap: 32px; align-items: center; }
.intro-grid > * { min-width: 0; }
.intro-media { position: relative; isolation: isolate; margin: 0; }
.intro-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-hover); }
/* logodaki sarı dişliye gönderme: fotoğrafın köşesinde tek sarı leke */
.intro-media::after {
  content: ""; position: absolute; z-index: -1;
  right: -14px; bottom: -14px; width: 42%; height: 46%;
  background: var(--yellow); border-radius: var(--r-lg);
}
.intro-copy h2 { max-width: 16ch; }
.intro-copy h2 em { font-style: normal; color: var(--blue); }
.intro-lead { font-size: 1.25rem; font-weight: 500; color: var(--ink); max-width: 52ch; }
.intro-copy > p:not(.intro-lead) { color: var(--ink-2); max-width: 56ch; }
.intro-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  list-style: none; margin: 28px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.intro-facts li { display: flex; flex-direction: column; gap: 2px; }
.intro-facts strong { font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.05 var(--font-display); letter-spacing: -0.02em; }
.intro-facts span { font-size: .98rem; color: var(--ink-2); line-height: 1.35; }

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
  .intro-media::after { right: -20px; bottom: -20px; }
}

/* ---------- Altı alan: 3'lü kart ızgarası ---------- */

.courses {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  list-style: none; margin: 0 0 24px; padding: 0;
}
.course {
  --c: var(--ink);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.course-media { aspect-ratio: 16 / 10; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 8px); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.course:hover .course-media img { transform: scale(1.06); }
.course-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.course h3 { display: flex; align-items: center; gap: 12px; margin: 0 56px 8px 0; font-size: 1.5rem; }
.course h3 a { color: var(--ink); text-decoration: none; }
.course h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* kartın tamamı tıklanır */
.course-dot { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
.course p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.course-go {
  position: absolute; top: 16px; right: 20px;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg);
  transition: background-color .25s ease, transform .35s var(--ease-out);
}
.course-go::before {
  content: ""; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.course:hover .course-go { background: var(--c); transform: rotate(45deg); }
.course:hover .course-go::before { filter: invert(1); }
.course.c-stem:hover .course-go::before { filter: none; }
.course:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; }
.course h3 a:focus-visible { outline: none; }
.c-robotik { --c: var(--c-robotik); }
.c-zeka { --c: var(--c-zeka); }
.c-stem { --c: var(--c-stem); }
.c-yazilim { --c: var(--c-yazilim); }
.c-tasarim { --c: var(--c-tasarim); }
.c-algoritma { --c: var(--c-algoritma); }

.area-ask {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  background: var(--yellow);
  border-radius: var(--r-md);
}
.area-ask p { margin: 0; max-width: 60ch; }
.area-ask strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.015em; }

@media (min-width: 700px) { .courses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .courses { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
/* ---------- Hayal et, tasarla, kodla, üret: soldan sağa akış ---------- */

.flow {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 300px); gap: 20px;
  margin: 0; padding: 28px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 16px;
  list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.flow:focus-visible { outline-offset: -3px; }
.flow-step { position: relative; scroll-snap-align: start; }
/* adımları birbirine bağlayan çizgi */
.flow-step::before {
  content: ""; position: absolute; top: 21px; left: 44px; right: -20px; height: 2px;
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--line) 50% 100%) 100% 0 / 200% 100% no-repeat;
  transition: background-position 1s var(--ease-out);
}
.flow-step:last-child::before { display: none; }
.flow.is-drawn .flow-step::before { background-position: 0 0; }
.flow.is-drawn .flow-step:nth-child(2)::before { transition-delay: .25s; }
.flow.is-drawn .flow-step:nth-child(3)::before { transition-delay: .5s; }
.flow-num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  font: 800 1rem/1 var(--font-display);
  color: #fff; background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--surface);
}
.flow-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 18px; }
.flow-step h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.flow-step p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }

@media (min-width: 1100px) {
  .flow { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 28px; overflow: visible; max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 0; }
  .flow-step::before { right: -28px; }
}
/* ---------- Sıkça sorulan sorular ---------- */

.faq-grid { display: grid; gap: 8px; }
.faq-grid > * { min-width: 0; }
.faq-head .btn { margin-top: 24px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.faq summary {
  position: relative;
  display: flex; align-items: center;
  min-height: 64px; padding: 16px 64px 16px 24px;
  font: 700 1.15rem/1.35 var(--font-display); letter-spacing: -0.01em;
  list-style: none; cursor: pointer;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
/* artı işareti, açılınca eksiye döner */
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 16px; height: 2px; margin-top: -1px;
  background: var(--blue); border-radius: 2px;
  transition: transform .3s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; color: var(--ink-2); max-width: 68ch; }
.faq-a a { font-weight: 600; }

@media (min-width: 980px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .faq-head { position: sticky; top: 104px; }
}

/* ---------- Konum: binanın tamamı ---------- */

.visit { display: grid; gap: 24px; align-items: center; }
.visit > * { min-width: 0; }
.visit-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-hover); }
.visit-card { padding: 28px 24px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.visit-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.visit-lead { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 22px; }
.facts { margin: 0 0 24px; }
.facts div {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 8px; align-items: center;
  min-height: 46px; border-bottom: 1px solid var(--line);
}
.facts dt { font-weight: 700; }
.facts dd { margin: 0; padding: 6px 0; color: var(--ink-2); overflow-wrap: anywhere; }
.facts a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--blue-deep); }

@media (min-width: 900px) {
  .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .visit-img { max-height: 760px; }
  .visit-card { padding: 44px 40px; }
}
/* ---------- Velilere notlar: yazı kartları ---------- */

.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.post {
  --tint: #E8EFFE;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 260px; padding: 28px;
  background: var(--tint);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease-out);
}
.post.p-yellow { --tint: #FFF3CC; }
.post.p-green { --tint: #E2F4E9; }
.post h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.post p { margin: 0 0 24px; color: var(--ink); font-size: 1.05rem; }   /* renkli zeminde gri değil */
.post-more { margin-top: auto; font-weight: 700; color: var(--blue); }
.post:hover { transform: translateY(-4px); }
.post:hover .post-more { text-decoration: underline; text-underline-offset: 3px; }
.post:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; }
.post h3 a:focus-visible { outline: none; }
@media (min-width: 860px) { .posts { grid-template-columns: repeat(3, 1fr); } }
/* ---------- Son çağrı ---------- */

.cta { padding: 24px 0 96px; }
.cta-panel {
  padding: 28px 24px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--r-lg);
}
.cta-panel h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: none; margin-bottom: 8px; }
.cta-panel p { max-width: 60ch; font-size: 1.1rem; color: #fff; margin-bottom: 0; }
@media (min-width: 980px) {
  .cta-panel { padding: 40px 56px; display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; align-items: center; }
  .cta-panel .btn-row { grid-column: 2; grid-row: 1 / 3; }
}
.cta-panel .btn-row { margin-top: 20px; }
@media (min-width: 980px) { .cta-panel .btn-row { margin-top: 0; } }

/* ---------- Alt alan ---------- */

.site-footer { padding: 56px 0 120px; background: var(--surface); border-top: 1px solid var(--line); font-size: 1rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-about img { width: 224px; margin-bottom: 20px; }
.footer-about p { color: var(--ink-2); max-width: 42ch; margin: 0; }
.site-footer h2 { font-size: 1.35rem; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.site-footer li a:hover { color: var(--blue); }
.footer-address { padding: 10px 0; color: var(--ink-2); line-height: 1.5; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr; } .footer-bottom { align-items: center; } }
@media (min-width: 980px) { .site-footer { padding-bottom: 48px; } }
/* ---------- Mobil sabit çubuk ---------- */

.quick-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .96);
  border-radius: 999px;
  box-shadow: var(--shadow-hover);
}
.quick-bar { transition: transform .35s var(--ease-out), opacity .25s ease; }
.quick-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.quick-bar .btn { width: 100%; padding: 0 10px; min-height: 50px; box-shadow: none; }
@media (min-width: 980px) { .quick-bar { display: none; } }

/* ---------- İç sayfalar: sayfa başlığı ---------- */

.site-nav a[aria-current="page"] { color: var(--blue); }

.page-head { padding: 40px 0 56px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 1rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-head h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 1.25rem; color: var(--ink-2); max-width: 56ch; margin: 0; }

/* eğitim detayı: başlık + görsel */
.edu-hero { display: grid; gap: 28px; align-items: center; }
.edu-hero > * { min-width: 0; }
.edu-hero h1 { display: flex; align-items: center; gap: 18px; }
.edu-hero .course-dot { flex: 0 0 18px; width: 18px; height: 18px; box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 20%, transparent); }
.edu-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-hover); }
.edu-hero .btn-row { margin-top: 28px; }
@media (min-width: 900px) { .edu-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }

/* ---------- Metin sayfaları ---------- */

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { font-weight: 600; }

.example {
  --c: var(--blue);
  margin: 32px 0;
  padding: 24px 26px;
  background: color-mix(in srgb, var(--c) 9%, var(--surface));
  border-radius: var(--r-md);
}
.example strong { display: block; margin-bottom: 6px; font: 700 1.2rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.example p { margin: 0; color: var(--ink); }

.edu-layout { display: grid; gap: 48px; }
.edu-layout > * { min-width: 0; }
@media (min-width: 980px) { .edu-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } .edu-side { position: sticky; top: 104px; } }

.edu-side h2 { font-size: 1.35rem; margin-bottom: 10px; }
.side-list { list-style: none; margin: 0 0 32px; padding: 0; }
.side-list a {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.side-list a:hover { color: var(--blue); }
.side-list .course-dot { box-shadow: none; }

.related {
  display: block; overflow: hidden;
  color: var(--ink); text-decoration: none;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out);
}
.related img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related span { display: block; padding: 16px 20px 20px; font: 700 1.1rem/1.35 var(--font-display); letter-spacing: -0.01em; }
.related:hover { transform: translateY(-3px); }
.related:hover span { color: var(--blue); }

/* ---------- Eğitimler sayfası: faydalar ---------- */

.benefits { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; }
.benefits li { padding: 26px 26px 24px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); }
.benefits h3 { font-size: 1.3rem; margin-bottom: 8px; }
.benefits p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Blog listesi ---------- */

.post-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.post-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.post-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0 0 20px; color: var(--ink-2); font-size: 1.05rem; }
.post-card .post-more { margin-top: auto; }
.post-card:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; }
.post-card h2 a:focus-visible { outline: none; }
@media (min-width: 760px) { .post-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-cards { grid-template-columns: repeat(3, 1fr); } }

.posts-more { margin-top: 28px; }

/* ---------- Blog yazısı ---------- */

.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: none; }
.article-cover { width: 100%; max-width: 1040px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-hover); margin-top: 36px; }
.article-body { padding-top: 56px; }
.article-body .btn-row { margin-top: 8px; }

/* ---------- İletişim ve form ---------- */

.contact-grid { display: grid; gap: 28px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid .visit-card .btn-row { margin-bottom: 14px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; } }

.form { padding: 28px 24px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (min-width: 900px) { .form { padding: 44px 40px; } }
.form h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 6px; }
.form > p { color: var(--ink-2); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: 500 1.0625rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hint { margin: 6px 0 0; font-size: .95rem; color: var(--ink-2); }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input { flex: 0 0 24px; width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--blue); }
.check label { margin: 0; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
@media (min-width: 560px) { .form .btn { width: auto; } }

.notice { margin: 0 0 20px; padding: 16px 18px; border-radius: var(--r-sm); font-weight: 600; }
.notice-ok { background: #E2F4E9; color: var(--green-deep); }
.notice-err { background: #FDE6E8; color: var(--red-deep); }

/* ---------- İletişim: harita ---------- */

.map-section { padding-top: 0; }
.map-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.map-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.map-head p { margin: 0; color: var(--ink-2); }
.map {
  overflow: hidden;
  height: clamp(320px, 50vw, 480px);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-btn { margin-top: 20px; }

/* ---------- 404 ---------- */

.not-found { padding: 72px 0 120px; }
.not-found .btn-row { margin-top: 28px; }

/* ---------- Hareketi azalt ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .post, .course, .course-media img, .course-go, .flow-step::before, .quick-bar, .post-card, .related, .faq summary::before, .faq summary::after { transition: none; }
  .btn:hover, .post:hover, .post-card:hover, .related:hover, .course:hover, .course:hover .course-media img { transform: none; }
}
