/* ==========================================================================
   Öztan Hastanesi — 40. Yıl Kartları
   Tasarım sistemi + halka açık site
   Değerler tasarım prototipinden (*.dc.html) birebir alınmıştır.
   ========================================================================== */

/* --- Font (yerel, Google Fonts'a bağımlılık yok) ------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tasarım değişkenleri ------------------------------------------------ */
:root {
  /* Marka */
  --brand: #1b6ca8;
  --brand-dark: #0d4a72;
  --brand-light: #2f8fd6;
  --brand-deep: #0d2b45;

  /* Metin */
  --ink: #1c2529;
  --muted: #4a565c;
  --muted-2: #6b767c;
  --muted-3: #8a9499;

  /* Yüzeyler */
  --page: #f5f7f9;
  --surface: #ffffff;
  --surface-alt: #eef2f5;
  --input-bg: #fbfcfd;
  --disabled-bg: #e3e8ec;
  --disabled-fg: #9aa4a9;
  --danger: #ae1800;
  --success: #0f7a3d;

  /* Kenarlık */
  --border: rgba(28, 37, 41, .18);
  --border-soft: rgba(28, 37, 41, .15);

  /* Gölge */
  --shadow-sm: 0 4px 20px rgba(28, 37, 41, .06);
  --shadow-md: 0 6px 26px rgba(28, 37, 41, .08);
  --shadow-form: 0 6px 28px rgba(28, 37, 41, .08);
  --shadow-btn: 0 6px 18px rgba(27, 108, 168, .28);
  --shadow-btn-lg: 0 10px 24px rgba(27, 108, 168, .28);
  --shadow-card3d: 0 22px 44px rgba(13, 43, 69, .26);
  --shadow-header: 0 1px 0 rgba(28, 37, 41, .08);

  /* Ölçü */
  --container: 1240px;
  --gutter: 28px;
}

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

/* display kuralli bilesenlerde de gizleme calissin */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: rgba(27, 108, 168, .25); }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 44px var(--gutter) 20px; }
.section-inner { max-width: var(--container); margin: 0 auto; }

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

/* --- Düğmeler ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease;
  text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border-soft);
}
.btn-ghost:hover { background: var(--surface-alt); color: var(--ink); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn:disabled,
.btn[aria-disabled='true'] {
  background: var(--disabled-bg);
  color: var(--disabled-fg);
  box-shadow: none;
  cursor: not-allowed;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-header);
  padding: 16px var(--gutter);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-header__brand { display: flex; align-items: center; gap: 14px; }
.site-header__brand img { height: 42px; width: auto; }
.site-header__divider { width: 1px; height: 26px; background: var(--border-soft); }
.site-header__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.site-header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-header__nav a.navlink {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.site-header__nav a.navlink:hover { color: var(--brand); }

.nav-toggle { display: none; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #eaf1f7 0%, var(--page) 100%);
  padding: 56px var(--gutter) 40px;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 22px 0 18px;
}
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 26px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn-primary { box-shadow: var(--shadow-btn-lg); }
.hero__domain { margin-top: 22px; font-size: 13px; color: var(--muted-3); }

/* --- 3B kart yığını ----------------------------------------------------- */
.card-stack {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1.18;
  margin: 0 auto;
  perspective: 1600px;
}
.card-stack__item {
  position: absolute;
  width: 62%;
  aspect-ratio: 1.5852;   /* 85,6 × 54 mm — basılı kartın gerçek oranı */
  container-type: size;

  /* Köşe yarıçapı, KARTIN kendi genişliğine göre.
     Burada cqw KULLANILAMAZ: bu kural elemanın kendi üzerinde ve eleman
     kendi container query birimlerinin kaynağı olamaz, dolayısıyla cqw
     görünüm alanına düşer. 1440 px ekranda 2.2cqw = 31,7 px oluyordu --
     kart genişliğinin %9,75'i, gerçek kartın iki buçuk katı. O kadar
     büyük bir yay sol üstteki logonun köşesini kesiyordu (overflow:hidden).
     Yüzde ise elemanın kendi kutusuna göre çözülür ve ekran boyutundan
     etkilenmez. 3,7 / 5,87 çifti oranı 1,5852 olan kartta tam DAİRESEL
     bir köşe verir ve CR-80'in gerçek 3,18 mm yarıçapına denk düşer. */
  border-radius: 3.7% / 5.87%;
  overflow: hidden;
  transform: rotateY(-19deg) rotateX(8deg) rotate(-3deg);
  box-shadow: var(--shadow-card3d);
}

/* Kart yüzü — "Kart Şablonları rev02" şablonu.
   Beyaz gövde, üstte kart renginde bant, sol köşede logonun oturduğu beyaz alan.
   Tüm ölçüler container query birimlerinde: aynı bileşen hem sitedeki 3B yığında
   hem de 85,6 × 54 mm baskı sayfasında bozulmadan ölçeklenir. */
.card-face {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  color: var(--ink);
}

/* --- Üst bant --- */
.card-face__band {
  height: 18cqh;
  background: var(--band);
  display: flex;
  align-items: stretch;
  flex: none;
}
/* Arka yuzun ust bandi on yuzle ayni yukseklikte: kart cevrildiginde
   renkli serit ayni kalinlikta gorunmeli. */
.card-face--back .card-face__band { height: 18cqh; }

.card-face__brand {
  background: #fff;
  width: 30cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
/* Logo, bandin izin verdigi kadar buyuk. Sebep baskida: "HASTANESİ"
   satiri kucuk punto ve ince olduğu icin dye-sublimation baskida
   okunmuyordu. Genislik 25cqw = ~21,4 mm; 660x240 kaynak bu olcude
   300 dpi'nin uzerinde kaliyor, buyutmek netligi bozmuyor. */
.card-face__brand img { width: 25cqw; height: auto; }

.card-face__kind {
  display: flex;
  align-items: center;
  padding-left: 4.5cqw;
  color: #fff;
  font-size: 2.5cqw;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* --- Gövde --- */
.card-face__body { flex: 1; position: relative; overflow: hidden; }

.card-face__watermark {
  position: absolute;
  /* Filigran ozgun boyutunda; alt kismi kartin disinda kalir. Konum,
     "40" secilebilecek kadar yukarida ama QR'in altindaki site adresine
     degmeyecek kadar asagida olacak sekilde secildi. */
  right: 9.5cqw;
  bottom: -10.8cqw;
  font-size: 40cqw;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.02em;
  color: rgba(28, 37, 41, var(--wm, .06));
  pointer-events: none;
}
.card-face--back .card-face__watermark { display: none; }

.card-face__content {
  position: absolute;
  inset: 0;
  padding: 5cqw 5.5cqw 4cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Ön yüz --- */
/* Şablonda kart adı bandın hemen altında değil, gövdenin ortasında durur */
.card-face__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3cqw;
  margin: auto 0;
}
.card-face__title {
  display: flex;
  flex-direction: column;
  gap: .4cqw;
  font-size: 6.2cqw;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.card-face__year { display: flex; align-items: center; gap: 1.6cqw; }
.card-face__nazar { width: 4.2cqw; height: 4.2cqw; flex: none; }

.card-face__qrbox {
  flex: none;
  /* Kutu, altindaki site adresini sigdiracak kadar genis; QR kendi
     olcusunde kalir ve saga hizalanir, boylece konumu degismez. */
  width: 26cqw;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1cqw;
  /* Kart adiyla ayni hizada baslamaz: yukari alinir ki altindaki site
     adresi arka plandaki buyuk "40" filigraninin uzerine binmesin. */
  margin-top: -8cqh;
}
.card-face__qrbox span {
  /* Baskida silik cikiyordu. Cozum punto: ince harfin sorunu kalinlik
     degil cizgi genisligi; dye-sublimation ince cizgiyi noktalayarak
     basiyor ve ton kayboluyor. Punto buyuyunce cizgi de kalinlasir.
     Renk kart turunun rengi kalir (tasarim boyle), koyulastirmadik. */
  font-size: 2.1cqw;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.card-face__qrbox .card-face__qr { width: 15cqw; }

.card-face__qr {
  width: 100%;
  background: #fff;
  border: .25cqw solid var(--band);
  border-radius: .5cqw;
  padding: .5cqw;
}

.card-face__rule { height: .2cqw; background: rgba(28, 37, 41, .22); }
.card-face__meta {
  margin-top: 2.2cqw;
  display: flex;
  justify-content: space-between;
  gap: 2cqw;
  /* Baskida okunakli olmasi icin buyutuldu ve koyulastirildi:
     ince ve acik gri metin dye-sublimation baskida siliniyor. */
  font-size: 2.3cqw;
  font-weight: 900;
  letter-spacing: .12em;
  color: rgba(28, 37, 41, .78);
  text-transform: uppercase;
}

/* --- Arka yüz --- */
.card-face__label {
  display: block;
  font-size: 1.95cqw;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .8cqw;
}
.card-face__terms {
  display: flex;
  justify-content: space-between;
  gap: 3cqw;
  font-size: 4cqw;
  font-weight: 900;
  color: #1c2529;
}
.card-face__terms-right { text-align: right; }

.card-face__scan {
  display: flex;
  align-items: center;
  gap: 3cqw;
}
.card-face__scan .card-face__qr { width: 13cqw; flex: none; }
.card-face__scan strong {
  display: block;
  font-size: 2.4cqw;
  font-weight: 800;
  color: #1c2529;
}
.card-face__scan span {
  display: block;
  margin-top: .5cqw;
  font-size: 2.15cqw;
  font-weight: 800;
  color: var(--ink);
}

.card-face__back-foot {
  margin-top: 2cqw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3cqw;
  font-size: 1.75cqw;
  /* Baskida silik kalmamasi icin kalin ve koyu */
  font-weight: 800;
  line-height: 1.45;
  color: rgba(28, 37, 41, .80);
}
.card-face__contact { text-align: right; flex: none; }
.card-face__contact strong {
  display: block;
  font-size: 2.2cqw;
  font-weight: 900;
  color: #1c2529;
  letter-spacing: -.01em;
}
.card-face__contact em {
  display: block;
  font-style: normal;
  font-size: 1.9cqw;
  font-weight: 800;
  color: var(--ink);
}

/* --- Bölüm başlığı ------------------------------------------------------ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head h2 { font-size: 32px; font-weight: 900; }
.section-head p { font-size: 14px; color: var(--muted-2); }

/* --- Kart ayrıcalıkları -------------------------------------------------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.tier-card {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.tier-card__head { padding: 24px 24px 22px; color: #fff; }
.tier-card__eyebrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.tier-card__year {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  opacity: .7;
  text-transform: uppercase;
}
.tier-card__name { font-size: 25px; font-weight: 900; letter-spacing: -.03em; margin-top: 10px; }
.tier-card__note { font-size: 13px; opacity: .85; margin-top: 2px; }
.tier-card__price { margin-top: 16px; display: flex; align-items: baseline; gap: 7px; }
.tier-card__price strong { font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.tier-card__price span { font-size: 13px; opacity: .8; }

.tier-card__body { padding: 22px 24px 0; }
.tier-card__desc { font-size: 14px; color: var(--muted); }
.tier-card__list { display: grid; gap: 12px; margin-top: 16px; }
.tier-card__list li {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.45;
}
.tier-card__list svg { margin-top: 4px; }

.tier-card__foot { margin-top: auto; padding: 20px 24px 24px; display: grid; gap: 12px; }
.tier-terms-toggle {
  width: 100%;
  border: 1.5px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--ink);
}
.tier-terms-toggle:hover { background: var(--surface-alt); }
.tier-terms {
  background: var(--page);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Nasıl alınır -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(27, 108, 168, .12);
  color: var(--brand-dark);
  font-weight: 900;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* --- Kart sorgulama ------------------------------------------------------ */
.query {
  background: var(--brand-dark);
  border-radius: 28px;
  padding: 38px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
}
.query h2 { font-size: 30px; font-weight: 900; }
.query p.query__lead { color: rgba(255, 255, 255, .78); margin: 12px 0 22px; font-size: 15px; }
.query__form { display: flex; gap: 10px; flex-wrap: wrap; }
.query__form input {
  flex: 1 1 180px;
  min-width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .35);
  padding: 13px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
.query__form input::placeholder { color: rgba(255, 255, 255, .55); }
.query__form input:focus { outline: none; border-color: #fff; }
.query__form button { background: #fff; color: var(--brand-dark); box-shadow: none; }
.query__form button:hover { background: var(--surface-alt); color: var(--brand-deep); }
.query__hint { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

.query__panel {
  background: rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 26px;
  min-height: 200px;
}
.query__empty { display: grid; place-items: center; gap: 12px; text-align: center; min-height: 150px; }
.query__empty strong { font-size: 15px; font-weight: 800; }
.query__empty span { font-size: 13.5px; color: rgba(255, 255, 255, .7); max-width: 34ch; }

.query__result-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.query__label {
  font-size: 10px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.query__owner { font-size: 21px; font-weight: 900; letter-spacing: -.02em; margin-top: 5px; }
.query__tier { font-size: 19px; font-weight: 900; letter-spacing: -.02em; margin-top: 5px; }
.query__sub { font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 3px; }

.query__rights { display: grid; gap: 8px; margin-top: 18px; }
.query__right {
  display: flex; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, .09);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13.5px;
}
.query__right b { font-weight: 800; white-space: nowrap; }
.query__history { margin-top: 20px; display: grid; gap: 8px; }
.query__history-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255, 255, 255, .8);
}

/* --- İki hastane --------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.hospital {
  background: var(--surface);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.hospital__name { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 900; }
.hospital__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hospital ul { display: grid; gap: 11px; margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* --- İstatistik ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.stat {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 36px; font-weight: 900; color: var(--brand); letter-spacing: -.03em; }
.stat span { font-size: 14px; color: var(--muted); }

/* --- Kapanış CTA --------------------------------------------------------- */
.cta {
  background: var(--brand);
  border-radius: 28px;
  padding: 40px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  align-items: center;
}
.cta h2 { font-size: 30px; font-weight: 900; }
.cta p { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta__actions .btn-white { background: #fff; color: var(--brand-dark); box-shadow: none; }
.cta__actions .btn-white:hover { background: var(--surface-alt); }
.cta__actions .btn-translucent { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.cta__actions .btn-translucent:hover { background: rgba(255, 255, 255, .26); color: #fff; }

/* --- Yasal uyarı --------------------------------------------------------- */
.legal {
  background: var(--surface-alt);
  border-radius: 20px;
  padding: 24px 26px;
}
.legal h3 {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted-2); margin-bottom: 10px;
}
.legal p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.legal__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.legal__list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  margin-top: 44px;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 40px var(--gutter);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.site-footer img { height: 40px; width: auto; }
.site-footer h4 {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted-2); margin-bottom: 12px;
}
.site-footer ul { display: grid; gap: 9px; font-size: 14px; }
.site-footer p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.site-footer__bottom {
  max-width: var(--container);
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--muted-3);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Formlar ------------------------------------------------------------- */
.form-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px var(--gutter) 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: start;
}
.form-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-form);
}
.form-card h1 { font-size: 32px; font-weight: 900; }
.form-card > p.form-lead { color: var(--muted); margin: 12px 0 26px; font-size: 15px; }

.field-grid { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.field label,
.field > .field-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  background: var(--input-bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.field .error { color: var(--danger); font-size: 13px; margin-top: 6px; font-weight: 600; }
.field__hint { color: var(--muted-2); font-size: 12.5px; margin-top: 6px; line-height: 1.45; }

/* Hep büyük harf yazılan alanlar (ad, soyad, kart no).
   Sayfanın kökünde lang="tr" olduğu için tarayıcı Türkçe kuralını
   uygular: "i" harfi "I" değil "İ" olur. Bu yalnız GÖRÜNÜMDÜR;
   kutunun asıl değerini alan bırakılırken JS, kaydederken de sunucu
   büyütür -- yani JavaScript kapalı olsa da kayıt büyük harf gider. */
.field input.upper { text-transform: uppercase; }

/* Aile uyesi satirlari — HEM panelde HEM siteden gelen basvuru
   formunda kullanilir, o yuzden panel.css'te degil burada duruyor:
   halka acik sayfalar yalniz kart.css yukler. */
/* --- Aile üyeleri ------------------------------------------------------------ */
.family-rows { display: grid; gap: 12px; }

/* Ad · Soyad · TC · Yakınlık · Kaldır
   Grid yerine esneyen satır: aynı bileşen hem panelin geniş kolonunda
   hem başvuru formunun dar kolonunda kullanılıyor. Sabit sütun sayısı
   dar yerde TC numarasını kutuya sığdıramıyordu; burada alanlar yer
   kalmayınca kendiliğinden alt satıra iniyor. */
.family-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}
.family-row .field { margin: 0; flex: 1 1 140px; min-width: 0; }
.family-row__remove {
  flex: 0 0 auto;
  background: rgba(174, 24, 0, .1);
  color: var(--danger);
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  height: 46px;
}
.family-row__remove:hover { background: rgba(174, 24, 0, .18); }


.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] { border-color: var(--danger); }

/* Kart türü seçimi */
.tier-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 10px; }
.tier-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tier-pick label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  border: 1.5px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px;
  background: var(--input-bg);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.tier-pick .dot { width: 10px; height: 10px; border-radius: 50%; }
.tier-pick .nm { font-size: 15px; font-weight: 800; color: var(--ink); }
.tier-pick .fee { font-size: 12px; font-weight: 700; color: var(--muted-3); }
.tier-pick input:checked + label { color: #fff; }
.tier-pick input:checked + label .nm { color: #fff; }
.tier-pick input:checked + label .fee { color: rgba(255, 255, 255, .8); }
.tier-pick input:checked + label .dot { background: rgba(255, 255, 255, .9) !important; }
.tier-pick input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }

.consent {
  background: var(--page);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.consent input[type='checkbox'] { accent-color: var(--brand); width: 18px; height: 18px; margin-top: 1px; flex: none; }

.form-note { font-size: 12px; color: var(--muted-3); }

/* Sağ kolon bilgi kartları */
.aside-stack { display: grid; gap: 18px; }
.info-card { background: var(--surface); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); }
.info-card--dark { background: var(--brand-dark); color: #fff; }
.info-card--dark .info-card__label { color: rgba(255, 255, 255, .6); }
.info-card__label {
  font-size: 10px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-2);
}
.info-card__phone { font-size: 30px; font-weight: 900; letter-spacing: -.03em; margin: 8px 0 10px; color: #fff; }
.info-card h3 { font-size: 17px; font-weight: 800; margin: 8px 0; }
.info-card p { font-size: 14px; line-height: 1.65; }
.info-card--dark p { color: rgba(255, 255, 255, .8); }
.info-card:not(.info-card--dark) p { color: var(--muted); }

/* Başarı durumu */
.success-state { display: grid; gap: 16px; justify-items: start; }
.success-state__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(27, 108, 168, .12);
}
.success-state h2 { font-size: 26px; font-weight: 900; }
.success-state p { color: var(--muted); font-size: 15px; }
.success-state__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* --- Uyarı kutuları ------------------------------------------------------ */
.alert { border-radius: 14px; padding: 14px 18px; font-size: 14px; font-weight: 600; }
.alert-error { background: rgba(174, 24, 0, .1); color: var(--danger); }
.alert-success { background: rgba(15, 122, 61, .1); color: var(--success); }
.alert-info { background: rgba(27, 108, 168, .1); color: var(--brand-dark); }

/* --- Mobil --------------------------------------------------------------- */
@media (max-width: 860px) {
  :root { --gutter: 20px; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    background: var(--surface-alt);
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
  }
  .site-header__nav {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 14px;
  }
  .site-header__nav.is-open { display: flex; }
  .site-header__nav .btn, .site-header__nav .pill { justify-content: center; }

  .hero { padding: 40px var(--gutter) 32px; }
  .card-stack { max-width: 420px; }
  .query { padding: 26px; border-radius: 22px; }
  .cta { padding: 28px; border-radius: 22px; }
  .cta__actions { justify-content: flex-start; }
  .form-card { padding: 24px; }
  .section-head h2 { font-size: 26px; }
}

@media (max-width: 420px) {
  .card-stack { max-width: 340px; }
  .hero h1 { font-size: 34px; }
}

@media print {
  .site-header, .site-footer, .btn { display: none !important; }
}
