/* =========================================================
   Psk. Dan. Samet Ağcaer – CAS Testi Ankara
   Tema: yeşil-beyaz. Koyu orman yeşili (güven, büyüme), beyaz ve
   açık nane yeşili zemin (sakinlik), az miktarda altın sarısı vurgu.
   Renkleri değiştirmek için sadece aşağıdaki :root bloğunu düzenleyin.
   ========================================================= */

:root {
  --forest: #0f3d2e;       /* koyu yeşil: giriş, iletişim bantları */
  --forest-deep: #0a2c21;  /* alt bilgi */
  --green: #1d7a55;        /* ana yeşil: başlık vurguları, seçili durumlar */
  --mint: #dcefe4;         /* açık yeşil yüzeyler */
  --mint-soft: #f0f8f3;    /* çok açık yeşil bant */
  --white: #ffffff;
  --line: #cfe2d6;         /* ince çizgiler */
  --ink: #0f2a20;          /* ana metin */
  --ink-soft: #476253;     /* ikincil metin */
  --on-dark: #ffffff;
  --on-dark-soft: #bcd8c9; /* koyu zemin üstünde ikincil metin */
  --sun: #f2b544;          /* altın sarısı: WhatsApp düğmeleri ve yıldız */
  --sun-deep: #e3a12c;

  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --shadow: 0 1px 2px rgb(15 42 32 / 0.06), 0 12px 32px -14px rgb(15 42 32 / 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #9dbfac var(--white);
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); }
h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--forest); text-decoration-thickness: 2px; }

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

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

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.75em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 1.05rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); color: var(--ink); }
.btn-outline-light { border-color: rgb(255 255 255 / 0.45); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--on-dark); color: var(--on-dark); background: rgb(255 255 255 / 0.08); }
.btn-small { min-height: 42px; padding: 0.5em 1.05em; font-size: 0.98rem; }
.btn-large { min-height: 58px; padding-inline: 1.6em; font-size: 1.1rem; }
.btn-forest { background: var(--forest); color: var(--on-dark); }
.btn-forest:hover { background: var(--green); color: var(--on-dark); }

/* ---------- Üst menü (koyu yeşil, girişle bütünleşik) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--forest);
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: rgb(255 255 255 / 0.1);
  box-shadow: 0 8px 24px -16px rgb(0 0 0 / 0.5);
}
.site-header :focus-visible { outline-color: var(--sun); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
}
.brand:hover { color: var(--on-dark); }
.brand-star { width: 30px; height: 30px; fill: var(--sun); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-size: 0.8rem; color: var(--on-dark-soft); }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 0;
  background: linear-gradient(var(--sun), var(--sun)) left bottom / 0 2px no-repeat;
  transition: background-size 0.25s var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--on-dark); background-size: 100% 2px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: 600 0.98rem var(--font-body);
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Ana giriş ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--on-dark);
  padding-block: clamp(48px, 8vw, 112px) clamp(72px, 10vw, 128px);
}
.hero :focus-visible { outline-color: var(--sun); }

/* büyük yıldız: logodaki işaretin dev, çok soluk hali */
.hero-mark {
  position: absolute;
  right: -14%;
  top: 50%;
  width: min(920px, 95vw);
  transform: translateY(-50%) rotate(12deg);
  fill: #15503c;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 15ch;
}

.lead {
  margin-top: 1.25em;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  color: var(--on-dark-soft);
  max-width: 42ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* PASS harf blokları */
.pass-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  max-width: 440px;
  justify-self: end;
  width: 100%;
}
.tile {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 48px -28px rgb(0 0 0 / 0.6);
}
.tile-letter {
  font: 500 clamp(3.4rem, 2.4rem + 4vw, 6rem)/0.9 var(--font-display);
  letter-spacing: -0.03em;
}
.tile-name { font-weight: 700; font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem); }
.tile-p  { background: var(--mint); color: var(--forest); transform: rotate(-3deg); }
.tile-a  { background: var(--sun); color: var(--ink); transform: rotate(2deg) translateY(14px); }
.tile-s1 { background: #2e8f66; color: #fff; transform: rotate(2deg); }
.tile-s2 { background: #fff; color: var(--forest); transform: rotate(-2deg) translateY(14px); }

/* ---------- Bölümler ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--mint-soft); }
.section-head { max-width: 60ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin-bottom: 0.25em; }
.section-lead { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); color: var(--ink-soft); max-width: 44ch; }

/* Büyük, serif "açıklama cümlesi" */
.statement {
  font: 400 clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem)/1.3 var(--font-display);
  color: var(--green);
  margin-top: -0.2em;
  max-width: 20ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.split h2 { margin-bottom: 0.35em; }
.split-body { max-width: 62ch; color: var(--ink-soft); padding-top: 0.6em; }
.split-body p:first-child { color: var(--ink); font-size: 1.2rem; }

/* ---------- Tanıdık geliyor mu? ---------- */
.quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.quotes li {
  font: 400 clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem)/1.35 var(--font-display);
  background: var(--mint-soft);
  border: 1.5px solid var(--line);
  padding: 16px 22px;
  border-radius: 22px 22px 22px 6px;   /* konuşma balonu */
  max-width: 100%;
}
.quotes li:nth-child(2n) { background: var(--white); }
.quotes li:nth-child(3) { background: var(--mint); border-color: var(--mint); }

.quotes-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.quotes-cta p {
  margin: 0;
  font: 500 clamp(1.5rem, 1.3rem + 0.8vw, 2rem)/1.2 var(--font-display);
}

/* ---------- CAS / PASS ---------- */
.pass-head { margin-top: clamp(72px, 10vw, 120px); }

.processes {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.process {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 20px;
  align-content: start;
}
.process > :not(.proc-icon) { grid-column: 2; }
.proc-icon { grid-row: 1 / span 3; width: 64px; height: 64px; overflow: visible; transition: transform 0.4s var(--ease-out); }
.process { transition: translate 0.4s var(--ease-out), box-shadow 0.4s; }
.process:hover { translate: 0 -4px; box-shadow: 0 4px 8px rgb(15 42 32 / 0.06), 0 24px 40px -18px rgb(15 42 32 / 0.3); }
.process:hover .proc-icon { transform: scale(1.08) rotate(-4deg); }
.process h3 { color: var(--forest); margin-bottom: 0.4em; }
.process p { color: var(--ink-soft); }

.tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--mint-soft);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Neden? ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.why-head { position: sticky; top: 110px; }
.why-head h2 { margin-bottom: 0.35em; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 0.45em; }
.why-list p { color: var(--ink-soft); max-width: 60ch; }

/* ---------- Süreç adımları (koyu zemin) ---------- */
.section-dark .section-head h2 { color: var(--on-dark); }
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.steps li { counter-increment: step; position: relative; padding-top: 76px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font: 500 1.4rem var(--font-display);
}
/* (adımları bağlayan çizgi artık .steps-line ile çiziliyor) */
.steps h3 { font-size: 1.35rem; margin-bottom: 0.5em; }
.steps p { color: var(--on-dark-soft); font-size: 1.02rem; }

/* ---------- Hizmetler ---------- */
.services {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.service { padding-top: 22px; border-top: 3px solid var(--forest); }
.service h3 { font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem); }
.service-sub { color: var(--green); font-weight: 700; margin: 0.3em 0 1em; }
.service-meta { font-size: 0.98rem; color: var(--ink-soft); }

/* ---------- Hakkımda ---------- */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.about h2 { color: var(--green); }
.about-text { max-width: 62ch; }
.about-lead {
  font: 400 clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem)/1.4 var(--font-display);
  color: var(--ink);
}
.about-text p:not(.about-lead) { color: var(--ink-soft); }

/* ---------- SSS ---------- */
.faq > * { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--green); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; max-width: 65ch; }

/* ---------- İletişim ---------- */
.section-dark { background: var(--forest); color: var(--on-dark); }
.section-dark .section-lead { color: var(--on-dark-soft); }
.section-dark :focus-visible { outline-color: var(--sun); }
.section-dark ::selection { background: var(--sun); color: var(--ink); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.contact-text .btn { margin-top: 0.75rem; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { border-top: 1px solid rgb(255 255 255 / 0.18); }
.contact-list li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.18); }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  color: var(--on-dark);
  text-decoration: none;
  font: 500 clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem)/1.25 var(--font-display);
  transition: color 0.2s, padding 0.3s var(--ease-out);
}
.contact-list a:hover { color: var(--sun); padding-left: 10px; }
.contact-list .icon { width: 28px; height: 28px; color: var(--sun); }
.contact-label {
  display: block;
  font: 400 0.92rem var(--font-body);
  color: var(--on-dark-soft);
  margin-bottom: 2px;
}

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--forest-deep); color: var(--on-dark-soft); font-size: 0.95rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 28px;
}

/* ---------- Telefonda alttaki WhatsApp düğmesi ---------- */
.wa-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgb(15 42 32 / 0.5);
  transform: translateY(150%);
  transition: transform 0.4s var(--ease-out);
}
.wa-bar:hover { color: var(--ink); background: var(--sun-deep); }
.wa-bar.is-visible { transform: none; }

/* =========================================================
   Tablet ve telefon
   ========================================================= */
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-inner, .split, .why { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .processes { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--forest);
    border-top: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 16px 24px -16px rgb(0 0 0 / 0.5);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); font-size: 1.1rem; background: none; }
  .nav-cta { margin-top: 16px; }

  .hero-grid { grid-template-columns: 1fr; }
  .pass-tiles { justify-self: start; max-width: 360px; }
  .hero-mark { right: -40%; top: 30%; width: 140vw; }

  .wa-bar { display: flex; }
  body { padding-bottom: 84px; }
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .hero-actions .btn { width: 100%; }
  .pass-tiles { max-width: none; gap: 10px; }
  .tile { aspect-ratio: 1.15; }
  .process { grid-template-columns: 1fr; }
  .process > :not(.proc-icon) { grid-column: 1; }
  .proc-icon { grid-row: auto; width: 52px; height: 52px; margin-bottom: 12px; }
  .steps { grid-template-columns: 1fr; }
  .contact-text .btn { width: 100%; }
  .quotes-cta .btn { width: 100%; }
}

/* Hareket istemeyen kullanıcılar için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Animasyonlar ve hareketli detaylar
   (JS çalışmazsa ya da "hareketi azalt" açıksa her şey normal görünür)
   ========================================================= */

/* --- Üstte kaydırdıkça uzayan çizgi, ucunda yıldız --- */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  overflow-x: clip;
  overflow-y: visible;
  pointer-events: none;
}
.progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--green), var(--sun));
  transform-origin: left center;
  transform: scaleX(0);
}
.progress-star {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  fill: var(--sun);
  filter: drop-shadow(0 0 4px rgb(242 181 68 / 0.8));
  opacity: 0;
}

/* --- Giriş başlığı satır satır gelir --- */
.hero h1 .line { display: inline-block; overflow: hidden; padding-bottom: 0.08em; vertical-align: top; }
.hero h1 .line > span { display: inline-block; }

/* --- PASS blokları: üzerine gelince kalkar --- */
.tile { transition: box-shadow 0.4s; cursor: default; }
.tile:hover { box-shadow: 0 34px 60px -28px rgb(0 0 0 / 0.75); }
.tile .tile-letter { transition: transform 0.5s var(--ease-out); }
.tile:hover .tile-letter { transform: scale(1.12) rotate(-6deg); }

/* --- Düğmeler: üzerine gelince küçük bir yıldız parlar --- */
.btn { position: relative; }
.btn-sun::after,
.btn-forest::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 10px;
  width: 16px;
  height: 16px;
  background: var(--sun);
  clip-path: path("M8 0c.5 4.2 3.5 7.2 8 8-4.5.8-7.5 3.8-8 8C7.5 11.8 4.5 8.8 0 8 4.5 7.2 7.5 4.2 8 0Z");
  transform: scale(0) rotate(-90deg);
  transition: transform 0.45s var(--ease-out);
}
.btn-sun::after { background: var(--white); }
.btn-sun:hover::after,
.btn-forest:hover::after,
.btn-sun:focus-visible::after,
.btn-forest:focus-visible::after { transform: scale(1) rotate(0); }
.btn:hover { transform: translateY(-2px); }

/* --- "Tanıdık geliyor mu?" balonları: önce "yazıyor..." noktaları --- */
.quotes li { position: relative; transform-origin: 0 100%; }
.quotes li.is-typing { color: transparent; }
.quotes li.is-typing::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 40px;
  height: 10px;
  margin-top: -5px;
  background: radial-gradient(circle, var(--ink-soft) 3.5px, transparent 4px) 0 0 / 13.33px 10px repeat-x;
  animation: typing 0.6s ease-in-out infinite alternate;
}
@keyframes typing { from { opacity: 0.3; } to { opacity: 1; } }

/* --- Süreç ikonları (ekrana girince bir kez oynar) --- */
.proc-icon { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.pi-plan .route { stroke-dasharray: 4 6; }
.pi-plan .node { fill: var(--mint); }
.pi-plan .flag { fill: var(--sun); stroke: var(--forest); stroke-width: 2.5; }
.pi-plan.is-in .route { animation: route 1.6s ease-out; }
.pi-plan.is-in .node { animation: pop 0.5s var(--ease-out) backwards; }
.pi-plan.is-in .node + .node { animation-delay: 0.6s; }
.pi-plan.is-in .flag { transform-origin: 54px 26px; animation: pop 0.6s var(--ease-out) 1.2s backwards; }
@keyframes route { from { stroke-dashoffset: 120; opacity: 0.2; } }
@keyframes pop { from { transform: scale(0); } }
.pi-plan .node, .pi-seq .sq { transform-box: fill-box; transform-origin: center; }

.pi-focus .ring { stroke-width: 2.5; }
.pi-focus .r1 { stroke: var(--line); }
.pi-focus .core { fill: var(--sun); stroke: var(--forest); stroke-width: 2; }
.pi-focus .distract { fill: var(--ink-soft); stroke: none; opacity: 0; }
.pi-focus.is-in .distract { animation: distract 1.8s ease-out; }
.pi-focus.is-in .ring { transform-origin: 32px 32px; animation: focus-in 1.2s var(--ease-out) 0.5s backwards; }
.pi-focus.is-in .r2 { animation-delay: 0.7s; }
.pi-focus.is-in .core { transform-origin: 32px 32px; animation: pop 0.6s var(--ease-out) 1.2s backwards; }
@keyframes distract { 0%, 40% { opacity: 0.8; } 100% { opacity: 0; } }
@keyframes focus-in { from { transform: scale(1.6); opacity: 0; } }

.pi-whole .pc { fill: var(--mint); stroke: var(--green); stroke-width: 2.5; }
.pi-whole .p4 { fill: var(--sun); stroke: var(--forest); }
.pi-whole.is-in .pc { animation: assemble 1.1s var(--ease-out) backwards; }
.pi-whole.is-in .p1 { --dx: -10px; --dy: -10px; --r: -12deg; }
.pi-whole.is-in .p2 { --dx: 12px; --dy: -8px; --r: 10deg; animation-delay: 0.12s; }
.pi-whole.is-in .p3 { --dx: -8px; --dy: 12px; --r: 8deg; animation-delay: 0.24s; }
.pi-whole.is-in .p4 { --dx: 12px; --dy: 10px; --r: -10deg; animation-delay: 0.36s; }
.pi-whole .pc { transform-box: fill-box; transform-origin: center; }
@keyframes assemble { from { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

.pi-seq .sq { fill: var(--mint); stroke: var(--green); stroke-width: 2.5; }
.pi-seq .s3 { fill: var(--sun); stroke: var(--forest); }
.pi-seq .arrow { stroke: var(--forest); stroke-width: 2.5; stroke-dasharray: 70; }
.pi-seq.is-in .sq { animation: pop 0.45s var(--ease-out) backwards; }
.pi-seq.is-in .s2 { animation-delay: 0.35s; }
.pi-seq.is-in .s3 { animation-delay: 0.7s; }
.pi-seq.is-in .arrow { animation: draw 1.2s ease-out 0.2s backwards; }
@keyframes draw { from { stroke-dashoffset: 70; } }

/* --- "Neden" maddeleri: üst çizgi soldan sağa çizilir --- */
.why-list li { position: relative; }
.why-list li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.why-list li.is-in::before { transform: scaleX(1); }

/* --- Yol haritası: kaydırdıkça dolan çizgi, sırayla yanan adımlar --- */
.steps-wrap { position: relative; }
.steps-line {
  position: absolute;
  top: 25px;
  left: 26px;
  right: 26px;
  height: 3px;
  background: rgb(255 255 255 / 0.18);
  border-radius: 3px;
  overflow: hidden;
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: var(--sun);
  transform-origin: left;
  transform: scaleX(1);
}
.steps li::before { z-index: 1; transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease-out), box-shadow 0.4s; }
.js-anim .steps li::before { background: var(--forest); color: var(--sun); box-shadow: inset 0 0 0 2px var(--sun); }
.js-anim .steps li.is-lit::before { background: var(--sun); color: var(--ink); transform: scale(1.12); box-shadow: 0 0 0 6px rgb(242 181 68 / 0.25); }
.js-anim .steps li { transition: opacity 0.5s; }
.js-anim .steps li:not(.is-lit) { opacity: 0.55; }

/* --- Hakkımda fotoğrafı --- */
.about-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-photo::after {
  /* logodaki yıldız, fotoğrafın köşesinde */
  content: "";
  position: absolute;
  right: -14px;
  top: -14px;
  width: 44px;
  height: 44px;
  background: var(--sun);
  clip-path: path("M22 0c1.3 11.6 9.7 20 22 22-12.3 2-20.7 10.4-22 22C20.7 32.4 12.3 24 0 22 12.3 20 20.7 11.6 22 0Z");
  animation: twinkle 3.5s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(0.8) rotate(45deg); } }

@media (max-width: 960px) {
  .steps-line { display: none; }
  .about-photo { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .steps li:not(.is-lit) { opacity: 1; }
  .about-photo::after { animation: none; }
}

/* =========================================================
   Hakkımda (uzun metin)
   ========================================================= */
.about-inner { align-items: start; }
.about-text { max-width: 64ch; }
.about-text p { margin-bottom: 1.1em; }
.about-text mark {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(transparent 58%, rgb(242 181 68 / 0.5) 58%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
  transition: background-size 1.2s var(--ease-out);
}
.js-anim .about-text mark { background-size: 0% 100%; }
.js-anim .about-text mark.is-in { background-size: 100% 100%; }

.about-belief {
  position: relative;
  margin-top: 1.6em;
  padding: 22px 24px 22px 64px;
  background: var(--mint-soft);
  border-radius: var(--radius);
  font: 400 clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem)/1.5 var(--font-display);
  color: var(--ink) !important;
}
.about-belief::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 26px;
  height: 26px;
  background: var(--green);
  clip-path: path("M13 0c.8 6.9 5.7 11.8 13 13-7.3 1.2-12.2 6.1-13 13C12.2 19.1 7.3 14.2 0 13 7.3 11.8 12.2 6.9 13 0Z");
}

@media (min-width: 961px) {
  .about-photo { position: sticky; top: 110px; }   /* uzun metin okunurken fotoğraf yanda kalır */
}

@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; }   /* telefonda fotoğraf üstte, yazı altta */
}

/* =========================================================
   Girişteki PASS kareleri: büyük harf + kelimenin devamı
   (P + lanning = Planning), altında Türkçesi
   ========================================================= */
.tile-word {
  display: flex;
  align-items: baseline;          /* büyük harf ile kelimenin devamı aynı çizgide */
  gap: 0.02em;
}
.tile .tile-letter { flex: none; }
.tile-rest {
  display: inline-flex;
  flex-direction: column;          /* "Processing" alta geçer, ilk satır harfle hizalı kalır */
  font: 500 clamp(1rem, 0.75rem + 0.9vw, 1.4rem)/1.1 var(--font-display);
  letter-spacing: -0.01em;
  min-width: 0;
}
.tile-rest > span:nth-child(2) { font-size: 0.86em; opacity: 0.85; }
.tile-name { line-height: 1.2; }
@media (max-width: 560px) {
  .tile { aspect-ratio: auto; min-height: 150px; }
  .tile-rest { font-size: 0.98rem; }
}

/* Yazılar karenin genişliğine göre ölçeklenir, böylece her ekranda kareye sığar */
.tile { container-type: inline-size; }
@container (min-width: 1px) {
  .tile-word .tile-letter { font-size: 36cqi; }
  .tile-rest { font-size: 10.5cqi; }
  .tile-name { font-size: max(0.85rem, 7.6cqi); }
}
.tile { padding: clamp(14px, 1.6vw, 22px); }
