/* ==========================================================================
   Energy Klinik — global stylesheet
   Implementation of "Energy Klinik.dc.html". Every value here traces back to
   that prototype; the prototype's inline styles are expressed as classes.
   Plain CSS + custom properties. No framework.
   ========================================================================== */

/* --------------------------------------------------------------- 1. base */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}

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

*:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* display:none that also works on SVG elements (the [hidden] UA rule does not) */
.is-hidden { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur-base) var(--ease-brand);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- 2. motion */
@keyframes klinikPulse { 0% { opacity: .9 } 40% { opacity: 1 } 100% { opacity: .9 } }
@keyframes ekFloat { 0% { transform: translateY(0) } 50% { transform: translateY(-14px) } 100% { transform: translateY(0) } }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].ek-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

[data-parallax] { will-change: transform; }

/* No JS: never leave revealed content hidden. */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* Yapışkan başlık 69px; çapa bağlantısıyla (#cerezler gibi) gelinen bölümün
   başlığı onun altında kalmasın diye kaydırmaya pay bırakıyoruz. */
[id] { scroll-margin-top: 88px; }

/* ------------------------------------------------------------- 3. layout */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap--narrow { max-width: 720px; }
.wrap--reading { max-width: 760px; }
.wrap--mid { max-width: 820px; }

.section { padding-top: 64px; padding-bottom: 64px; }
.section--tight { padding-top: 40px; padding-bottom: 40px; }
.section--cta { padding-top: 72px; padding-bottom: 72px; }

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------- 4. type */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--muted  { color: var(--ink-soft); }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.h-page {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  letter-spacing: var(--ls-display);
  color: var(--ink);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.12;
  margin: 0 0 8px;
}
.h-page--tall { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.h-page--hero { font-size: clamp(40px, 6vw, 64px); line-height: 1.03; margin-bottom: 16px; }
.h-page--legal { font-size: clamp(30px, 5vw, 44px); }

.h-section {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-display);
  color: var(--ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: var(--lh-heading);
  margin: 0 0 8px;
}
.h-section--sm { font-size: clamp(24px, 3vw, 32px); }

.h-card {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  color: var(--ink);
  line-height: var(--lh-snug);
  margin: 0 0 8px;
}

.lede { margin: 0 0 32px; max-width: 56ch; }
.measure { max-width: 68ch; }

/* ------------------------------------------------------------ 5. buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--w-semibold);
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 26px;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-brand),
              border-color var(--dur-base) var(--ease-brand),
              color var(--dur-base) var(--ease-brand);
}

.btn--primary { background: var(--energy); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); }

/* On the brand-blue surface: white fill, brand text. */
.btn--onbrand { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(21,32,41,.22); }
.btn--onbrand:hover { background: var(--blue-50); }

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

.btn--green { background: var(--band-green); color: #fff; }
.btn--green:hover { background: #35855c; }

.btn--nav { padding: 10px 20px; font-size: 15px; }
.btn--sm  { padding: 12px 22px; font-size: 15px; }
.btn--lg  { padding: 15px 30px; }
.btn--xl  { padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* --------------------------------------------------- 6. chips + options */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: var(--w-semibold);
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  transition: background-color var(--dur-base) var(--ease-brand),
              border-color var(--dur-base) var(--ease-brand),
              color var(--dur-base) var(--ease-brand);
}
.chip:hover { border-color: var(--accent); }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip:has(input:checked),
.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--energy);
  color: #fff;
  border-color: var(--energy);
}
.chip:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Radio cards (step 1 of the appointment form). */
.opt-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-brand),
              border-color var(--dur-base) var(--ease-brand),
              box-shadow var(--dur-base) var(--ease-brand);
}
.opt-card:hover { border-color: var(--accent); }
.opt-card input { position: absolute; opacity: 0; width: 0; height: 0; }
/* inset ring reproduces the prototype's 2px selected border without reflow */
.opt-card:has(input:checked) {
  background: var(--surface-tint);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.opt-card:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.opt-card__name { font-family: var(--font-display); font-weight: var(--w-semibold); color: var(--ink); font-size: 18px; }
.opt-card__desc { font-size: 15px; }

/* --------------------------------------------------------------- 7. head */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface-page) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: rgba(246, 248, 249, .92); }
}

/* Üç sütun: marka solda, menü ORTADA, randevu butonu sağda. Ortadaki sütunun
   `auto` olması ve iki yandaki `1fr`lerin eşitlenmesi sayesinde menü, marka ile
   butonun genişliğinden bağımsız olarak başlığın tam ortasında durur. */
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 18px;
}
/* Logo kare ve beyaz zeminli; daireye kırpıp ince bir halka veriyoruz ki
   açık başlık zemininde kenarı belirsiz kalmasın. */
.brand__logo {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
/* Ruhsattaki tam ad iki satırlık kilit halinde: üstte isim, altında birim.
   Tek satıra sığdırılırsa dar ekranda menüyü ve düğmeyi eziyor. */
.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 19px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: var(--ls-display);
}
.brand__sub {
  font-family: var(--font-body);
  font-weight: var(--w-medium);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--text-muted);
  margin-top: 2px;
}

.site-nav { justify-self: center; display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: var(--w-medium);
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-brand), background-color var(--dur-base) var(--ease-brand);
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link[aria-current="page"] { color: var(--ink); background: var(--surface-tint); }
.site-header__cta { justify-self: end; }

/* --------------------------------------------------------------- 8. hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-brand);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 24px 64px;
}
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__blob--a {
  top: -160px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(47,171,194,.55), rgba(47,171,194,0) 68%);
  filter: blur(6px);
}
.hero__blob--b {
  bottom: -200px; left: -140px; width: 560px; height: 560px;
  background: radial-gradient(circle at 50% 50%, rgba(21,32,41,.45), rgba(21,32,41,0) 70%);
}
.hero__blob--c {
  top: 38%; left: 52%; width: 220px; height: 220px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.10), rgba(255,255,255,0) 70%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero__copy { flex: 1 1 360px; min-width: 300px; color: #fff; }
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--teal-200);
  margin: 0 0 18px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: var(--w-extrabold);
  letter-spacing: var(--ls-display);
  color: #fff;
  font-size: clamp(44px, 6.4vw, 72px);
  line-height: 1.02;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero__lede {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 38ch;
  margin: 0 0 32px;
  color: var(--blue-100);
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__scroll {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__mouse {
  display: inline-block;
  width: 22px; height: 34px;
  border: 1.5px solid var(--teal-200);
  border-radius: 12px;
  position: relative;
}
.hero__mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  border-radius: 2px;
  background: var(--teal-200);
  animation: ekFloat 1.8s ease-in-out infinite;
}

/* ---------------------------------------------------------- 9. body map */
.bodymap { flex: 1 1 440px; min-width: 300px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }

.figure-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 240px;
  min-width: 230px;
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-100) 100%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.figure-card__glow {
  position: absolute;
  top: 16%; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, rgba(47,171,194,.16), rgba(47,171,194,0) 70%);
  pointer-events: none;
}
.figure-card__toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 8px;
}
.figure-card__toggle .chip { min-height: 40px; }
.figure-card__stage { position: relative; z-index: 1; max-width: 280px; margin: 0 auto; }
.figure-card__stage svg { display: block; overflow: visible; }
.figure-card__genel { margin-top: 14px; width: 100%; }

.figure-body { animation: klinikPulse 10s ease-in-out infinite; }

.region { cursor: pointer; }
.region__hit {
  fill: transparent;
  stroke: rgba(47,171,194,.55);
  stroke-width: 1.4;
  transition: fill var(--dur-base) var(--ease-brand);
}
.region:hover .region__hit { fill: rgba(47,171,194,.30); }
.region:focus-visible { outline: none; }
.region:focus-visible .region__hit { fill: rgba(47,171,194,.30); stroke: var(--teal-600); stroke-width: 2.6; }
.region.is-active .region__hit { fill: rgba(47,171,194,.82); }
.region__dot { fill: var(--teal-500); opacity: .82; pointer-events: none; }

.bodymap__panel { flex: 1 1 300px; min-width: 280px; }

/* Bölge çipleri: figürdeki hedefler parmak için dar olduğundan küçük ekranda
   aynı bölgeleri 44px'lik düğmeler olarak sunar. Masaüstünde figür zaten rahat
   tıklanıyor, orada gizli. .is-ready'i app.js listeyi doldurunca ekler —
   JS yoksa boş bir başlık asılı kalmaz. */
.region-chips { display: none; }
.region-chips__label {
  margin: 0 0 10px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .82);
}
.region-chips .chip-row { gap: 8px; }
/* Çipin varsayılan seçili rengi --energy; bu çipler hero'nun üstünde durduğu
   için aynı maviye denk geliyor ve seçim kayboluyordu. Koyu mürekkep hem
   zeminden ayrışıyor hem beyaz yazıyla okunur kalıyor. */
.region-chips .chip.is-active,
.region-chips .chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.panel__region {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-display);
  color: var(--ink);
  font-size: 28px;
  margin: 0 0 14px;
}
.panel__intro { margin: 0 0 14px; font-size: 16px; }
.panel__conds { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.panel__cond {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: var(--w-medium);
  transition: color var(--dur-base) var(--ease-brand);
}
.panel__cond:hover { color: var(--accent); }
.panel__cond span { color: var(--accent); }
.panel__svc {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  color: var(--ink);
  text-decoration: none;
  font-weight: var(--w-semibold);
  transition: border-color var(--dur-base) var(--ease-brand);
}
.panel__svc:hover { border-color: var(--accent); }

/* Sits on the brand-blue hero, so it takes on-brand colours rather than the
   prototype's --ink-soft on --line (1.6:1 against the blue). */
.panel-empty {
  border: 1px dashed var(--border-onbrand);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  color: rgba(255, 255, 255, .88);
}
.panel-empty p { margin: 0; font-size: 16px; }

/* no-JS fallback for the body map */
.bodymap-fallback {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.bodymap-fallback ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.bodymap-fallback a { color: var(--text-accent); }

/* ------------------------------------------------------- 10. card grids */
.grid { display: grid; gap: 24px; }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--steps    { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--bands    { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid--audience { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid--footer   { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }

/* Kart bir <a>; `color` verilmezse içindeki metin tarayıcının varsayılan link
   mavisini (#0000EE) miras alır. Renkleri burada açıkça kuruyoruz. */
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color var(--dur-base) var(--ease-brand);
}
.service-card:hover { border-color: var(--accent); }
.service-card h3 { font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.service-card p { margin: 0 0 16px; font-size: 16px; color: var(--ink-soft); }
/* --accent (teal-400) beyaz üstünde 2.72:1 — okunmuyor. teal-600 aynı ailede
   ve 5.26:1 ile AA'yı geçiyor. */
.service-card__cta { color: var(--teal-600); font-weight: var(--w-semibold); }
.service-card:hover .service-card__cta { color: var(--brand-hover); }

.step { border-top: 2px solid var(--accent); padding-top: 16px; }
.step__no { font-family: var(--font-mono); font-size: 14px; color: var(--accent); letter-spacing: .05em; }
.step h3 { font-size: 20px; margin: 6px 0 8px; }
.step p { margin: 0; font-size: 16px; }

.cta-band {
  background: var(--surface-brand);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.cta-band__copy { flex: 1 1 320px; }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-display);
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  line-height: var(--lh-heading);
  margin: 0 0 8px;
}
.cta-band p { margin: 0; color: rgba(255,255,255,.82); font-size: 17px; max-width: 48ch; }

/* --------------------------------------------------- 11. appointment form */
.progress {
  height: 6px;
  background: var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 8px;
}
.progress__fill {
  height: 100%;
  background: var(--energy);
  border-radius: var(--radius-pill);
  transition: width .4s var(--ease-brand);
}
.progress-label { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); margin: 0 0 24px; }

/* Steps are only collapsed once JS takes over. */
.randevu:not(.is-enhanced) .progress,
.randevu:not(.is-enhanced) .progress-label { display: none; }
.randevu.is-enhanced .step-panel[hidden] { display: none; }
.step-panel + .step-panel { margin-top: 48px; }
.randevu.is-enhanced .step-panel + .step-panel { margin-top: 0; }

.fieldset { border: none; padding: 0; margin: 0; }
.fieldset__legend {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  color: var(--ink);
  font-size: 24px;
  line-height: var(--lh-snug);
  margin-bottom: 16px;
  padding: 0;
}
.fieldset__hint { margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); }
.fieldset__sub {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  color: var(--ink);
  font-size: 18px;
  margin: 0 0 12px;
}

.stack { display: flex; flex-direction: column; gap: 12px; }
.stack--wide { gap: 18px; }

.field { display: block; }
.field__label { display: block; font-weight: var(--w-medium); color: var(--ink); margin-bottom: 6px; }
.field-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
}
.field-input[aria-invalid="true"] { border-color: var(--band-red); }
textarea.field-input { resize: vertical; }
.field-error { display: block; color: var(--band-red); font-size: 14px; margin-top: 6px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-top: 6px; }
.field-meta__warn { color: var(--band-red); }
.field-meta__count { font-family: var(--font-mono); color: var(--ink-soft); }

.rule { height: 1px; background: var(--line); margin: 4px 0; border: 0; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; color: var(--ink-soft); }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin: 0;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input:checked { background: var(--energy); border-color: var(--energy); }
.check input:checked::after { content: "\2713"; color: #fff; font-size: 14px; line-height: 1; }
.check span { font-size: 15px; }
.check a { color: var(--text-accent); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-nav { display: flex; gap: 12px; margin-top: 32px; }
.form-nav__next { margin-left: auto; }

.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.result-card__tick {
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--band-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
/* tesekkurler.html'de aynı kart sayfanın tek başlığı olduğu için h1 taşır. */
.result-card h2,
.result-card__title { font-family: var(--font-display); font-weight: var(--w-semibold); color: var(--ink); font-size: 26px; margin: 0 0 10px; }
.result-card p { margin: 0 0 20px; max-width: 52ch; }
.result-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.notice {
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}
.notice p { margin: 0 0 12px; color: var(--ink); font-weight: var(--w-semibold); }
.notice p:last-child { margin-bottom: 0; }
.notice--error { background: var(--danger-soft); border: 1px solid var(--band-red); padding: 24px; margin-top: 24px; }
.notice--error p { font-weight: var(--w-regular); }
.notice__body { font-weight: var(--w-regular); font-size: 15px; }
.notice__link { color: var(--text-accent); font-weight: var(--w-semibold); }

/* ------------------------------------------------------ 13. service page */
.service-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.service-hero__copy { flex: 1 1 380px; }
.service-hero__copy p { font-size: 18px; max-width: 56ch; margin: 0 0 24px; }
.service-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.service-hero__media { flex: 1 1 320px; min-width: 280px; }

.placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: repeating-linear-gradient(45deg, #e9eeea, #e9eeea 10px, #eff3f0 10px, #eff3f0 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.placeholder span { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }

/* Gerçek fotoğraflar. Çekimlerin çoğu dikey, çerçeve ise yatay: object-fit
   kırpar, oran sabit kaldığı için yükleme sırasında sayfa zıplamaz. */
.media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-sunken);
}
.media--tall { aspect-ratio: 3 / 4; }

/* ------------------------------------------------------------ 14. galeri */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  /* height="…" attribute'u presentational hint olarak yükseklik dayatıyor ve
     aspect-ratio'yu etkisiz bırakıyor; auto'ya çekmek şart. */
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-sunken);
}
.gallery figcaption {
  margin-top: 8px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.service-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

.band-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.band-card__dot { display: inline-block; width: 36px; height: 8px; border-radius: var(--radius-pill); }
.band-card h3 { font-size: 18px; margin: 12px 0 6px; }
.band-card p { margin: 0; font-size: 15px; }

.audience-item { border-left: 2px solid var(--accent); padding-left: 16px; }
.audience-item h3 { font-size: 18px; margin: 0 0 6px; }
.audience-item p { margin: 0; font-size: 15px; }

.redflags {
  border: 1px solid var(--band-red);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--danger-soft);
}
.redflags h2 { font-family: var(--font-display); font-weight: var(--w-semibold); color: var(--ink); font-size: 20px; margin: 0 0 12px; }
.redflags ul { margin: 0; padding-left: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.disclaimer { margin: 20px 0 0; font-size: 14px; color: var(--ink-soft); }

/* --------------------------------------------------------- 14. kvkk page */
.legal-sections { display: flex; flex-direction: column; gap: 28px; }
.legal-sections h2 { font-family: var(--font-display); font-weight: var(--w-semibold); color: var(--ink); font-size: 20px; margin: 0 0 8px; }
.legal-sections p { margin: 0; font-size: 16px; }
.legal-updated { margin: 0 0 32px; font-size: 15px; color: var(--ink-soft); }
.data-controller {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.data-controller p:last-child { margin: 0; font-size: 16px; color: var(--ink); }

/* ------------------------------------------------------------ 15. footer */
.site-footer { background: var(--ink); color: #b9c8c3; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 96px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer__mark {
  width: 28px; height: 28px;
  border-radius: var(--radius-md);
  background: var(--energy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
}
/* Koyu footer zemininde logonun kendi beyaz fonu rozet gibi çalışıyor. */
.site-footer__logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.site-footer__name { font-family: var(--font-display); font-weight: var(--w-bold); font-size: 18px; color: #f1f4f1; }
.site-footer p { margin: 0; font-size: 14px; line-height: 1.7; }
.site-footer__head {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #7c948e;
  margin: 0 0 12px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer a { color: #b9c8c3; text-decoration: none; transition: color var(--dur-base) var(--ease-brand); }
.site-footer a:hover { color: #f1f4f1; }
.site-footer__contact p { margin: 0 0 6px; font-size: 15px; }
.site-footer__contact a { color: #f1f4f1; }
/* Satır yüksekliği kadar olan bağlantılar 17–20px'lik dokunma hedefi bırakıyordu;
   dikey iç boşlukla 24px'lik alt sınırın üstüne çıkıyorlar. */
.site-footer__contact a,
.site-footer__links a { display: inline-block; padding: 4px 0; }
.site-footer__tel { font-family: var(--font-mono); font-weight: var(--w-medium); }
.site-footer__hours { font-size: 14px; color: #7c948e; }

/* -------------------------------------------------------- 16. mobile bar */
.mobilebar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(15,46,43,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobilebar__item {
  flex: 1;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: none;
  border-right: 1px solid var(--line);
  font-family: var(--font-body);
  cursor: pointer;
}
.mobilebar__item:last-child { border-right: none; }
.mobilebar__item--primary { background: var(--energy); color: #fff; }
.mobilebar__icon { font-size: 18px; }
.mobilebar__label { font-size: 13px; font-weight: var(--w-semibold); }
.mobilebar-spacer { display: none; height: 56px; }

/* ------------------------------------------------- 16b. Instagram balonu */
/* Sağ altta beliren davet kartı. z-index 45: başlığın (40) üstünde, mobil
   aksiyon çubuğunun (50) altında kalır. Görünürlüğü JS verir; JS kapalıysa
   aşağıdaki .no-js kuralı devreye girip kartı doğrudan gösterir. */
.igpop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 10px 8px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-brand),
              transform var(--dur-slow) var(--ease-brand);
}
.igpop.is-shown,
.no-js .igpop { opacity: 1; transform: none; pointer-events: auto; }

.igpop__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 2px;
}
.igpop__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
}
.igpop__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.igpop__title { font-size: 15px; font-weight: var(--w-semibold); line-height: 1.2; }
.igpop__handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.igpop__close {
  flex: none;
  width: 28px;
  height: 28px;
  align-self: flex-start;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.igpop__close:hover { color: var(--ink); background: var(--surface-sunken); }

/* -------------------------------------------------------- 17. responsive */
@media (max-width: 768px) {
  .mobilebar { display: flex; }
  .mobilebar-spacer { display: block; }

  /* Aksiyon çubuğunun üstüne çıkar, altına gizlenmesin. Dar ekranda geniş
     kart içeriğin (özellikle panelin Randevu Al düğmesinin) üstünü kapatıyordu;
     burada kullanıcı adını gizleyip küçük bir rozete iniyor. */
  .igpop {
    right: 12px;
    bottom: calc(56px + 12px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
    padding: 8px 6px 8px 10px;
  }
  .igpop__handle { display: none; }
  .igpop__icon { width: 32px; height: 32px; border-radius: 10px; }
  .igpop__icon svg { width: 18px; height: 18px; }
  .igpop__title { font-size: 14px; }
  .igpop__link { gap: 10px; }

  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header__inner { padding: 12px 16px; gap: 12px; }
  .site-footer__inner { padding: 48px 16px 96px; }

  /* Hero mobilde 100vh + iki blok yan yana değil alt alta olunca iki ekran
     boyuna çıkıyor ve figür katlamanın altında kalıyordu. Yükseklik dayatmasını
     ve "aşağı kaydırın" ipucunu kaldırınca figür ilk ekrana yaklaşıyor. */
  .hero {
    padding: 56px 16px 40px;
    min-height: 0;
    align-items: flex-start;
  }
  .hero__inner { gap: 28px; }
  .hero__scroll { display: none; }
  .hero__actions { margin-bottom: 4px; }
  .region-chips.is-ready { display: block; }

  /* Nav collapses to the primary action; full nav lives in the footer
     and the fixed action bar. Orta sütun boşalır, ızgara iki uca yapışır. */
  .site-nav__link { display: none; }
  .site-header__inner { grid-template-columns: auto 0 1fr; gap: 0; }

  /* Dar ekranda ruhsat ibaresi başlıkta "Randevu Al" düğmesine kadar
     dayanıyordu; orada isim tek başına yeter, birim adı footer'da duruyor. */
  .brand__sub { display: none; }
  .brand__name { font-size: 17px; }

  .panel { padding: 22px; }
  .result-card { padding: 24px; }
  .coverage-card { padding: 20px; }
  .service-card { padding: 22px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 480px) {
  .hero__actions .btn,
  .service-hero__actions .btn,
  .result-card__actions .btn { width: 100%; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; margin-left: 0; }
}
