/* ==========================================================================
   Nova Evde Sağlık — Ana Stil Dosyası
   İçindekiler:
   01. Tasarım belirteçleri (renk, gölge, ölçü)
   02. Temel sıfırlama ve tipografi
   03. Yardımcı sınıflar, ikonlar, butonlar
   04. Üst menü (header) ve mobil menü
   05. Hero
   06. Güven bandı ve sayaçlar
   07. Hizmet kartları
   08. Sinematik sahne (Neden Biz?)
   09. Bento ızgara
   10. Süreç (3 adım)
   11. Randevu formu
   12. Footer
   13. Mobil aksiyon barı, toast, ilerleme çubuğu
   14. Yasal sayfalar (KVKK / Gizlilik)
   15. Duyarlı (responsive) kurallar
   16. Hareket azaltma tercihi
   ========================================================================== */

/* 01. TASARIM BELİRTEÇLERİ ------------------------------------------------ */
:root {
  /* Marka renkleri */
  --bg: #F8FAFC;              /* Kırık beyaz / buz mavisi zemin */
  --surface: #FFFFFF;
  --navy-950: #0B1222;
  --navy-900: #0F172A;        /* Derin klinik lacivert */
  --navy-800: #1E293B;
  --blue-900: #1E3A8A;        /* Otorite mavisi */
  --blue-700: #1D4ED8;
  --teal-700: #0F766E;
  --teal-600: #0D9488;        /* Tıbbi turkuaz vurgu */
  --teal-500: #14B8A6;
  --teal-300: #5EEAD4;
  --teal-50: #F0FDFA;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --red-600: #DC2626;
  --red-300: #FCA5A5;

  --line: rgba(15, 23, 42, .08);
  --line-strong: rgba(15, 23, 42, .14);

  /* Gölgeler (yumuşak, katmanlı) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px -2px rgba(15, 23, 42, .06);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, .04), 0 12px 32px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 4px 8px rgba(15, 23, 42, .04), 0 24px 60px -16px rgba(15, 23, 42, .22);
  --shadow-teal: 0 10px 28px -10px rgba(13, 148, 136, .65);

  /* Ölçüler */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --header-h: 78px;
  --container: 1240px;
  --gutter: 24px;

  /* Tipografi */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 02. TEMEL SIFIRLAMA VE TİPOGRAFİ ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--slate-700);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(13, 148, 136, .18); color: var(--navy-900); }
:focus-visible { outline: 3px solid rgba(13, 148, 136, .55); outline-offset: 3px; border-radius: 8px; }

/* 03. YARDIMCI SINIFLAR, İKONLAR, BUTONLAR -------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.text-gradient {
  background: linear-gradient(100deg, var(--blue-900) 0%, var(--teal-600) 70%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-md);
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker-light { color: var(--teal-300); }

.section { padding-block: clamp(84px, 10vw, 140px); position: relative; }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .kicker::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; }
.section-lead { margin-top: 18px; font-size: 1.075rem; color: var(--slate-600); }

/* Butonlar */
.btn {
  --btn-pad-y: .9em; --btn-pad-x: 1.45em;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 14px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .975rem; line-height: 1.2;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(13, 148, 136, .75); }
.btn-ghost { background: var(--surface); color: var(--navy-900); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-sm { --btn-pad-y: .72em; --btn-pad-x: 1.1em; font-size: .9rem; border-radius: 12px; }
.btn-lg { --btn-pad-y: 1.05em; --btn-pad-x: 1.6em; font-size: 1.02rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .35s var(--ease-out); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--teal-600); }
.link-arrow .ico { transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow-light { color: #fff; }

/* Canlı nabız noktası */
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* İkon kutusu (rozetlerde ortak) */
.trust-icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, var(--teal-50), #E0F2FE);
  color: var(--teal-600); border: 1px solid rgba(13, 148, 136, .14);
}
.trust-icon .ico { width: 24px; height: 24px; }
.trust-icon-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .22); }
.trust-icon-glass { background: rgba(255, 255, 255, .08); color: var(--teal-300); border-color: rgba(255, 255, 255, .12); width: 46px; height: 46px; }

/* 04. ÜST MENÜ ------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .25);
  --header-h: 68px;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(30, 58, 138, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--navy-900); letter-spacing: -.03em; }
.brand-text small { margin-top: 5px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: var(--slate-400); }

.main-nav ul { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); }
.main-nav a {
  display: block; padding: 9px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--slate-600);
  transition: color .25s, background-color .25s;
}
.main-nav a:hover { color: var(--navy-900); background: rgba(15, 23, 42, .05); }
.main-nav a.is-active { color: #fff; background: var(--navy-900); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; line-height: 1.15; }
.header-phone small { display: block; font-size: .7rem; color: var(--slate-500); font-weight: 500; }
.header-phone strong { font-family: var(--font-head); color: var(--navy-900); font-size: .98rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center;
  background: #fff; border: 1px solid var(--line-strong); color: var(--navy-900);
}
.nav-toggle .ico { width: 22px; height: 22px; }

.mobile-menu {
  position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; gap: 12px;
  transform-origin: top center;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 15px 14px; border-radius: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--navy-900); border-bottom: 1px solid var(--line); }
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu nav a:active { background: var(--slate-100); }
.mobile-menu-note { text-align: center; font-size: .85rem; color: var(--slate-500); }

/* 05. AÇILIŞ (sinematik sahne) + HERO ------------------------------------ */
/* Aydınlık tema: ferah görsel + buz mavisi/beyaz yumuşak geçiş, lacivert metin.
   Varsayılan (JS'siz / hareket azaltılmış): tam ekran açılış + altında hero */
.opener { position: relative; }
.opener-stage { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--bg); }
.opener-bg { position: absolute; inset: 0; pointer-events: none; }
.opener-media { position: absolute; inset: 0; overflow: hidden; background: #EAF3F8; will-change: clip-path; }
.op-zoom { position: absolute; inset: 0; will-change: transform; }
/* Masaüstünde görsel sağa kaydırılır: hekim ve hasta metnin arkasında kalmaz */
.op-zoom img { position: absolute; left: 0; top: 0; width: 130%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Okunabilirlik katmanı: solda kırık beyaz, sağa doğru görsel açığa çıkar */
.opener-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 480px at 18% 38%, rgba(204, 251, 241, .55), transparent 70%),
    linear-gradient(90deg, rgba(248, 250, 252, .97) 0%, rgba(248, 250, 252, .93) 30%, rgba(240, 249, 255, .66) 50%, rgba(240, 249, 255, .12) 70%, rgba(240, 249, 255, 0) 85%),
    linear-gradient(180deg, rgba(248, 250, 252, .35) 0%, rgba(248, 250, 252, 0) 25%, rgba(248, 250, 252, 0) 75%, rgba(248, 250, 252, .55) 100%);
}

/* Sahne içindeki metinler masaüstünde sola, container hizasına yaslanır */
.opener-intro, .opener-words {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.opener-intro {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left;
  padding: calc(var(--header-h) + 24px) var(--gutter) 96px var(--edge);
  color: var(--navy-900);
}
.opener-intro > * { max-width: 640px; }
.opener-intro > :first-child { margin-top: auto; }
.opener-intro > :last-child { margin-bottom: auto; }
.opener-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  font-size: .85rem; font-weight: 600; color: var(--slate-700);
}
.opener-title {
  margin-top: 26px; max-width: 14ch; color: var(--navy-900);
  font-size: clamp(2.4rem, .9rem + 3.9vw, 4.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em;
}
.opener-title span { background: linear-gradient(100deg, var(--blue-900) 0%, var(--teal-600) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.opener-lead { margin-top: 22px; max-width: 520px; font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: var(--slate-600); }
.opener-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.opener-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; font-weight: 500; color: var(--slate-600); }
.opener-meta li { display: inline-flex; align-items: center; gap: 8px; }
.opener-meta .ico { color: var(--teal-600); }

.opener-words { display: none; position: absolute; inset: 0; z-index: 2; place-items: center start; text-align: left; color: var(--navy-900); padding: 0 var(--gutter) 0 var(--edge); pointer-events: none; }
.op-line { grid-area: 1 / 1; max-width: 920px; }
.op-word { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, .5rem + 9vw, 6.5rem); letter-spacing: -.03em; line-height: 1; padding-top: .1em; background: linear-gradient(100deg, var(--navy-900) 10%, var(--blue-900) 50%, var(--teal-600) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; }
.op-line p { margin-top: 22px; max-width: 480px; font-size: clamp(1rem, .9rem + .4vw, 1.22rem); color: var(--slate-600); }

.opener-end { position: relative; padding: clamp(72px, 9vw, 120px) 0; }

/* JS ile sahne etkinleştiğinde */
.opener.is-op-active .opener-words { display: grid; }
.opener.is-op-active .opener-media { clip-path: inset(0px 0px 0px 0px round 0px); }
.opener.is-intro-gone .opener-intro { pointer-events: none; }
.scroll-cue { transition: opacity .4s; }
.opener.is-intro-gone .scroll-cue { opacity: 0; pointer-events: none; }

@media (min-width: 1025px) {
  /* Masaüstü: hero düzeni sahnenin üstüne bindirilir, sonunda ortaya çıkar */
  .opener.is-op-active .opener-end {
    position: absolute; inset: 0 0 auto 0; z-index: 3; height: 100vh;
    padding: var(--header-h) 0 0; display: flex; align-items: center; pointer-events: none;
  }
  .opener.is-op-active.is-end .opener-end .hero-grid { pointer-events: auto; }
  .opener.is-op-active .hero-visual { max-height: calc(100vh - var(--header-h) - 90px); }
}

/* Tablet ve mobil: metin ortalanır, katman yukarıdan aşağı yumuşar */
@media (max-width: 1024px) {
  .opener-intro { align-items: center; text-align: center; padding-left: var(--gutter); }
  .opener-intro > * { margin-inline: auto; }
  .opener-actions, .opener-meta { justify-content: center; }
  .opener-words { place-items: center; text-align: center; padding-left: var(--gutter); }
  .op-line p { margin-inline: auto; }
  .op-zoom img { width: 100%; object-position: 72% 30%; }
  .opener-shade {
    background:
      radial-gradient(520px 420px at 50% 38%, rgba(204, 251, 241, .5), transparent 70%),
      linear-gradient(180deg, rgba(248, 250, 252, .9) 0%, rgba(248, 250, 252, .88) 55%, rgba(240, 249, 255, .72) 100%);
  }
}

.orb { position: absolute; border-radius: 50%; }
.orb-1 { width: 900px; height: 900px; right: -260px; top: -320px; background: radial-gradient(closest-side, rgba(20, 184, 166, .18), transparent); }
.orb-2 { width: 760px; height: 760px; left: -300px; bottom: -340px; background: radial-gradient(closest-side, rgba(30, 58, 138, .12), transparent); }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: .85rem; font-weight: 600; color: var(--slate-700);
}
.eyebrow .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); }

.hero-heading { margin-top: 22px; font-size: clamp(2rem, 1rem + 2.5vw, 3.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.hero-lead { margin-top: 24px; max-width: 580px; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--slate-600); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-assurance { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-assurance li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--slate-600); }
.hero-assurance .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--teal-600); color: #fff; stroke-width: 3; }

/* Intro animasyonu öncesi gizli durum (GSAP açarsa) */
.js [data-intro] { opacity: 0; }
.no-anim [data-intro] { opacity: 1 !important; transform: none !important; }

.hero-visual { position: relative; aspect-ratio: 4 / 4.7; max-height: 700px; width: 100%; }
.hero-ring { position: absolute; inset: -22px; border-radius: calc(var(--radius-xl) + 18px); border: 1px dashed rgba(13, 148, 136, .35); }
.hero-frame {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--slate-200);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 60%;
  will-change: transform;
}
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .35)); pointer-events: none; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }

.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 18px; font-size: .86rem; line-height: 1.3; }
.float-card small { display: block; color: var(--slate-500); font-size: .74rem; font-weight: 500; }
.float-card strong { font-family: var(--font-head); color: var(--navy-900); font-size: .92rem; }
.fc-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.fc-icon .ico { width: 21px; height: 21px; }
.fc-icon-teal { background: var(--teal-50); color: var(--teal-600); }
.fc-icon-navy { background: var(--navy-900); color: #fff; }
.fc-eta { top: 9%; left: -44px; }
.fc-sterile { top: 44%; right: -36px; }
.fc-call { bottom: 7%; left: -52px; flex-direction: column; align-items: flex-start; gap: 10px; width: 272px; padding: 16px; }
.fc-call-title { font-size: 1rem !important; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; }
.fc-call-actions { display: flex; gap: 8px; width: 100%; }
.mini-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: #fff; transition: transform .25s var(--ease-out), filter .25s; }
.mini-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.mini-btn .ico { width: 16px; height: 16px; }
.mini-btn-navy { background: var(--navy-900); }
.mini-btn-teal { background: var(--teal-600); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-500); z-index: 2; }
.scroll-cue-line { width: 1px; height: 44px; background: linear-gradient(var(--slate-300), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--teal-600); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { to { top: 110%; } }

/* 06. GÜVEN BANDI --------------------------------------------------------- */
.trust { padding: 24px 0 clamp(64px, 8vw, 110px); position: relative; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(13, 148, 136, .25); }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1.02rem; line-height: 1.3; }
.trust-item p { margin-top: 6px; font-size: .9rem; color: var(--slate-500); line-height: 1.55; }

.stats {
  margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), #12224a 60%, var(--blue-900));
  box-shadow: var(--shadow-lg); position: relative;
}
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 85% 0%, rgba(20, 184, 166, .22), transparent 70%); pointer-events: none; }
.stat { position: relative; padding: 30px 28px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .12); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); color: #fff; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat em { font-style: normal; color: var(--teal-300); font-size: .62em; margin-inline: 2px; }
.stat > span { display: block; margin-top: 10px; font-size: .88rem; color: var(--slate-300); }

/* 07. HİZMET KARTLARI ----------------------------------------------------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, #EEF4F8 50%, var(--bg) 100%); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--slate-600);
  transition: all .25s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--navy-900); color: var(--navy-900); }
.chip span { font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: var(--slate-100); color: var(--slate-600); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }
.chip.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(13, 148, 136, .28); }
.svc-card.is-hidden { display: none; }
.svc-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--slate-200); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, .55)); }
.svc-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--navy-900);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.svc-no { position: absolute; right: 18px; bottom: 10px; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: rgba(255, 255, 255, .92); letter-spacing: -.04em; line-height: 1; }
.svc-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; flex: 1; }
.svc-body h3 { font-size: 1.16rem; font-weight: 700; line-height: 1.3; }
.svc-body p { font-size: .93rem; color: var(--slate-600); line-height: 1.6; }
.svc-points { display: grid; gap: 6px; margin-top: 2px; }
.svc-points li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--slate-700); }
.svc-points .ico { width: 16px; height: 16px; color: var(--teal-600); stroke-width: 2.6; }
.svc-cta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 14px 18px; border-radius: 14px;
  background: var(--slate-100); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy-900);
  transition: background-color .3s, color .3s, border-color .3s;
}
.svc-points { margin-bottom: 8px; }
.svc-cta .ico { transition: transform .35s var(--ease-out); }
.svc-cta:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.svc-cta:hover .ico { transform: translateX(4px); }

.svc-card-cta { background: linear-gradient(150deg, var(--navy-900) 0%, var(--blue-900) 100%); border: 0; color: #fff; }
.svc-card-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 260px at 90% 10%, rgba(20, 184, 166, .35), transparent 70%); }
.svc-cta-inner { position: relative; padding: 36px 30px; display: flex; flex-direction: column; gap: 16px; justify-content: center; height: 100%; }
.svc-cta-inner h3 { color: #fff; font-size: 1.5rem; }
.svc-cta-inner p { color: var(--slate-300); }
.svc-cta-inner .btn { align-self: flex-start; margin-top: 8px; }
/* Yönlendirme kartı: son satırda tam genişlik şerit (tablet ve üzeri) */
.svc-card-cta { grid-column: 1 / -1; }
@media (min-width: 769px) {
  .svc-cta-inner {
    display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon title btn" "icon text btn";
    align-items: center; column-gap: 24px; row-gap: 6px; padding: 32px 36px;
  }
  .svc-cta-inner .trust-icon { grid-area: icon; width: 60px; height: 60px; }
  .svc-cta-inner h3 { grid-area: title; align-self: end; }
  .svc-cta-inner p { grid-area: text; align-self: start; }
  .svc-cta-inner .btn { grid-area: btn; align-self: center; margin-top: 0; }
}

/* 09. BENTO IZGARA -------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 20px; }
.bento-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-card h3 { font-size: 1.2rem; margin-top: auto; }
.bento-card p { font-size: .93rem; color: var(--slate-600); }
.bento-lg { grid-column: span 2; grid-row: span 2; padding: 40px; }
.bento-dark { background: var(--navy-900); border: 0; color: #fff; justify-content: flex-end; }
.bento-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; transition: transform 1.2s var(--ease-out); }
.bento-dark:hover .bento-bg { transform: scale(1.05); }
.bento-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .92) 70%); }
.bento-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.bento-dark h3 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); margin-top: 8px; }
.bento-dark p { color: var(--slate-300); font-size: 1rem; }
.bento-list { display: grid; gap: 10px; margin-top: 4px; }
.bento-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #E2E8F0; }
.bento-list .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--teal-600); color: #fff; stroke-width: 3; }
.bento-accent { background: linear-gradient(150deg, var(--teal-600), var(--teal-700)); border: 0; color: #fff; }
.bento-accent h3 { color: #fff; }
.bento-accent p { color: rgba(255, 255, 255, .85); }

/* 10. SÜREÇ --------------------------------------------------------------- */
.process { padding-bottom: clamp(60px, 8vw, 110px); }
.process-pin { position: relative; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; min-height: calc(100vh - var(--header-h) - 40px); }

.process-steps { position: relative; display: grid; gap: 16px; counter-reset: step; --p: 0; }
.process-steps::before, .process-steps::after { content: ""; position: absolute; left: 51px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px; }
.process-steps::before { background: var(--slate-200); }
.process-steps::after { background: linear-gradient(var(--teal-500), var(--blue-900)); transform-origin: top; transform: scaleY(var(--p)); transition: transform .2s linear; }

.step {
  position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 26px; border-radius: var(--radius-lg); border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, box-shadow .5s, opacity .5s;
  opacity: .5;
}
.step.is-active { opacity: 1; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-md); }
.no-anim .step { opacity: 1; }
.step-no {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--slate-500);
  background: var(--bg); border: 2px solid var(--slate-200);
  transition: all .5s var(--ease-out);
}
.step.is-active .step-no { color: #fff; background: linear-gradient(135deg, var(--teal-600), var(--blue-900)); border-color: transparent; box-shadow: var(--shadow-teal); transform: scale(1.06); }
.step-body h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); }
.step-body h3 .ico { color: var(--teal-600); }
.step-body p { margin-top: 10px; color: var(--slate-600); font-size: .98rem; }
.step-media-mobile { display: none; margin: 0; grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--slate-200); }
.step-media-mobile img { width: 100%; height: 100%; object-fit: cover; }

.process-visual { position: relative; }
.process-frame { position: relative; aspect-ratio: 4 / 4.6; max-height: 76vh; margin-left: auto; width: 100%; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--slate-200); }
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.pv-img.is-active { opacity: 1; transform: scale(1); }
.pv-badge { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; }
.pv-badge strong { font-family: var(--font-head); color: var(--navy-900); font-size: .92rem; white-space: nowrap; }
.pv-progress { flex: 1; height: 6px; border-radius: 6px; background: var(--slate-200); overflow: hidden; }
.pv-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-500), var(--blue-900)); transform-origin: left; transform: scaleX(.333); transition: transform .5s var(--ease-out); }

/* 11. RANDEVU FORMU ------------------------------------------------------- */
.contact { background: linear-gradient(180deg, var(--bg), #EAF1F6); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-aside {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 48px); border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--navy-900) 0%, #111f44 55%, var(--blue-900) 100%);
  color: var(--slate-300); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.contact-aside::before { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 184, 166, .28), transparent); pointer-events: none; }
.contact-aside > * { position: relative; }
.contact-aside .kicker { margin-bottom: 4px; }
.contact-aside h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 800; letter-spacing: -.03em; }
.contact-aside h2 span { color: var(--teal-300); }
.contact-aside-lead { margin-bottom: 10px; font-size: .98rem; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 12px; margin-inline: -12px; border-radius: 16px; transition: background-color .25s; }
.contact-line:hover { background: rgba(255, 255, 255, .06); }
.contact-line small { display: block; font-size: .78rem; color: var(--slate-400); }
.contact-line strong { font-family: var(--font-head); color: #fff; font-size: 1.08rem; word-break: break-word; }
.contact-assure { display: grid; gap: 10px; margin: 8px 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-assure li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.contact-assure .ico { color: var(--teal-300); }
.emergency-note { margin-top: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(239, 68, 68, .12); border: 1px solid rgba(248, 113, 113, .28); font-size: .88rem; color: #FDE2E2; }
.emergency-note .ico { color: var(--red-300); width: 22px; height: 22px; margin-top: 1px; }
.emergency-note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.form-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .9); }
.form-head { margin-bottom: 26px; }
.form-head h3 { font-size: 1.5rem; font-weight: 800; }
.form-head p { margin-top: 6px; color: var(--slate-500); font-size: .92rem; }
.req { color: var(--red-600); }
.appt-form { display: grid; gap: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 6px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .87rem; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--slate-200); background: var(--bg);
  font-size: 1rem; /* 16px: iOS'ta otomatik yakınlaştırmayı engeller */
  color: var(--navy-900);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); background: #fff; box-shadow: 0 0 0 4px rgba(13, 148, 136, .14); }
.field .is-invalid, .field .is-invalid:focus { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); background: #FFFBFB; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--slate-500); border-bottom: 2px solid var(--slate-500); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 44px; cursor: pointer; }
.field select:invalid { color: var(--slate-400); }
.field select option { color: var(--navy-900); }
.field-error { min-height: 1.2em; margin-top: 6px; font-size: .8rem; font-weight: 500; color: var(--red-600); }
.field-hint { margin-top: 6px; text-align: right; font-size: .78rem; color: var(--slate-400); }
.field.is-highlight .select-wrap select { animation: highlight 1.6s var(--ease-out) 2; }
@keyframes highlight { 0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); } 40% { box-shadow: 0 0 0 7px rgba(13, 148, 136, .25); border-color: var(--teal-600); } }

.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; font-size: .85rem; color: var(--slate-600); line-height: 1.55; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent-box { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; border: 1.5px solid var(--slate-300); background: #fff; display: grid; place-items: center; transition: all .2s; margin-top: 1px; }
.consent-box .ico { width: 14px; height: 14px; color: #fff; stroke-width: 3.2; opacity: 0; transform: scale(.6); transition: all .2s var(--ease-out); }
.consent input:checked + .consent-box { background: var(--teal-600); border-color: var(--teal-600); }
.consent input:checked + .consent-box .ico { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .consent-box { box-shadow: 0 0 0 4px rgba(13, 148, 136, .2); }
.consent input.is-invalid + .consent-box { border-color: var(--red-600); }
.consent a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.submit-btn { margin-top: 12px; position: relative; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.submit-btn.is-loading { pointer-events: none; opacity: .9; }
.submit-btn.is-loading .spinner { display: inline-block; }
.submit-btn.is-loading .ico { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-foot { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--slate-500); }
.form-foot .ico { width: 15px; height: 15px; color: var(--teal-600); }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; pointer-events: none; }

.form-success { text-align: center; padding: 40px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; outline: none; }
.form-success[hidden] { display: none; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: var(--shadow-teal), 0 0 0 10px rgba(20, 184, 166, .12); animation: pop .7s var(--ease-out) both; }
.success-icon .ico { width: 40px; height: 40px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: 1.7rem; margin-top: 8px; }
.form-success p { max-width: 420px; color: var(--slate-600); }
.form-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* 12. FOOTER -------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding: 64px 0 40px; font-size: .93rem; }
.footer-emergency { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); background: rgba(239, 68, 68, .08); border: 1px solid rgba(248, 113, 113, .2); color: #F3D4D4; }
.footer-emergency .ico { color: var(--red-300); width: 24px; height: 24px; margin-top: 1px; }
.footer-emergency strong { color: #fff; }
.footer-emergency a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 40px; padding: 56px 0 44px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand p { max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--teal-500); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }
.footer-disclaimer { flex-basis: 100%; font-size: .8rem; color: var(--slate-500); }

/* 13. MOBİL BAR, TOAST, İLERLEME ÇUBUĞU ----------------------------------- */
.mobile-bar { display: none; }

.toast {
  position: fixed; z-index: 70; top: 92px; right: 24px; width: min(400px, calc(100vw - 32px));
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateY(-16px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.toast[hidden] { display: none; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-600); color: #fff; flex-shrink: 0; }
.toast-icon .ico { stroke-width: 3; }
.toast strong { font-family: var(--font-head); color: var(--navy-900); }
.toast p { font-size: .88rem; color: var(--slate-600); margin-top: 2px; }
.toast-close { margin-left: auto; color: var(--slate-400); padding: 4px; border-radius: 8px; }
.toast-close:hover { color: var(--navy-900); background: var(--slate-100); }
.toast.is-error .toast-icon { background: var(--red-600); }

.scroll-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--blue-900)); transform-origin: left; transform: scaleX(0); }

/* 13b. WHATSAPP İLETİŞİM PENCERESİ ---------------------------------------- */
.wa-widget { --wa-green: #25D366; --wa-dark: #075E54; --wa-mid: #128C7E; position: fixed; right: 24px; bottom: 24px; z-index: 58; }

/* Yüzen buton */
.wa-fab {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #2EE073, var(--wa-green) 55%, #1EBE5A);
  box-shadow: 0 14px 30px -10px rgba(18, 140, 126, .75), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa-green); z-index: -1; animation: waPulse 2.4s ease-out infinite; }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -10px rgba(18, 140, 126, .85); }
.wa-fab .ico { width: 32px; height: 32px; }
.wa-fab[aria-expanded="true"]::before { animation: none; opacity: 0; }
.wa-fab-badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #EF4444; color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.wa-widget.is-seen .wa-fab-badge { display: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

/* Davet balonu */
.wa-teaser {
  position: absolute; right: 0; bottom: 78px; width: 270px; padding: 14px 36px 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .88rem; color: var(--slate-600); line-height: 1.5;
  animation: waIn .5s var(--ease-out) both;
}
.wa-teaser::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 14px; height: 14px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.wa-teaser strong { color: var(--navy-900); display: block; font-family: var(--font-head); }
.wa-teaser-close { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; color: var(--slate-400); }
.wa-teaser-close:hover { background: var(--slate-100); color: var(--navy-900); }
.wa-teaser-close .ico { width: 14px; height: 14px; }

/* Sohbet paneli */
.wa-panel {
  position: absolute; right: 0; bottom: 78px; width: 372px;
  max-height: min(620px, calc(100vh - 130px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .45), 0 4px 14px rgba(15, 23, 42, .1);
  transform-origin: bottom right; opacity: 0; transform: translateY(12px) scale(.96);
  transition: opacity .28s ease, transform .4s var(--ease-out);
}
.wa-panel.is-open { opacity: 1; transform: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; color: #fff; background: linear-gradient(135deg, var(--wa-dark), var(--wa-mid)); }
.wa-avatar { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.wa-avatar svg { width: 34px; height: 34px; }
.wa-online { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--wa-green); border: 2px solid #fff; }
.wa-head-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wa-head-text strong { font-family: var(--font-head); font-size: 1rem; }
.wa-head-text small { font-size: .76rem; color: rgba(255, 255, 255, .8); }
.wa-close { margin-left: auto; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); transition: background-color .2s; }
.wa-close:hover { background: rgba(255, 255, 255, .22); }

.wa-body {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px;
  background-color: #EFEAE2;
  background-image: radial-gradient(rgba(7, 94, 84, .06) 1px, transparent 1.2px);
  background-size: 18px 18px;
  min-height: 220px;
}
.wa-bubble, .wa-typing {
  position: relative; align-self: flex-start; max-width: 90%;
  background: #fff; border-radius: 4px 16px 16px 16px; padding: 10px 14px 8px;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
  font-size: .92rem; color: #111B21; line-height: 1.5;
}
.wa-bubble::before, .wa-typing::before { content: ""; position: absolute; left: -7px; top: 0; border-top: 10px solid #fff; border-left: 8px solid transparent; }
.wa-bubble strong { display: block; font-size: .78rem; color: var(--wa-mid); margin-bottom: 2px; }
.wa-bubble p + p { margin-top: 6px; }
.wa-bubble time { display: block; text-align: right; font-size: .7rem; color: #667781; margin-top: 2px; }
.wa-bubble[hidden], .wa-typing[hidden] { display: none; }
.wa-bubble.is-in { animation: waIn .4s var(--ease-out) both; }
.wa-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.wa-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9AA5AD; animation: waDot 1.1s infinite ease-in-out; }
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.wa-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 2px; }
.wa-chips[hidden] { display: none; }
.wa-chips button {
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #D1D7DB;
  font-size: .85rem; font-weight: 600; color: var(--wa-dark);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.wa-chips button:hover { background: #E7F8EE; border-color: var(--wa-green); }
.wa-chips button.is-active { background: var(--wa-mid); border-color: var(--wa-mid); color: #fff; }

.wa-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: #F0F2F5; }
.wa-compose textarea {
  flex: 1; resize: none; border: 0; border-radius: 22px; padding: 11px 16px; max-height: 120px;
  background: #fff; font-size: 1rem; line-height: 1.4; color: #111B21;
}
.wa-compose textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(18, 140, 126, .35); }
.wa-send { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--wa-green); color: #fff; transition: transform .25s var(--ease-out), filter .2s; }
.wa-send:hover { transform: scale(1.06); filter: brightness(1.05); }
.wa-send .ico { width: 20px; height: 20px; margin-left: -2px; }
.wa-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px 10px; background: #F0F2F5; font-size: .72rem; color: #667781; }
.wa-foot .ico { width: 12px; height: 12px; }

@media (max-width: 768px) {
  /* Mobilde alt bardaki WhatsApp butonu pencereyi açar; yüzen buton gizlenir */
  .wa-widget { left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); pointer-events: none; }
  .wa-fab, .wa-teaser { display: none; }
  .wa-panel { position: relative; bottom: 0; width: 100%; max-height: calc(100svh - 190px); pointer-events: auto; transform-origin: bottom center; }
  .wa-panel[hidden] { display: none; }
}

/* 14. YASAL SAYFALAR ------------------------------------------------------ */
.legal-page .site-header { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.legal-hero { padding: calc(var(--header-h) + 64px) 0 40px; }
.legal-hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; }
.legal-hero p { margin-top: 12px; color: var(--slate-500); }
.legal-content { padding-bottom: 96px; }
.legal-content article { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-sm); }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--slate-600); }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal-content a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin-top: 32px; padding: 16px 18px; border-radius: 14px; background: var(--teal-50); border: 1px solid rgba(13, 148, 136, .2); font-size: .9rem; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 600; color: var(--teal-700); }
.legal-back .ico { transform: rotate(180deg); }

/* 15. DUYARLI KURALLAR ---------------------------------------------------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .fc-eta { left: -20px; }
  .fc-sterile { right: -16px; }
  .fc-call { left: -24px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .nav-toggle { display: grid; }

  .opener-end { padding: 64px 0 24px; }
  .opener.is-op-active .opener-end { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-assurance { justify-content: center; }
  .opener-end .hero-visual { display: none; } /* görsel mobilde açılış sahnesinde kart olarak kalır */

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-row: span 1; min-height: 440px; }

  .process-grid { grid-template-columns: 1fr; min-height: 0; }
  .process-visual { display: none; }
  .step { opacity: 1; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
  .step .step-no { color: #fff; background: linear-gradient(135deg, var(--teal-600), var(--blue-900)); border-color: transparent; }
  .step-media-mobile { display: block; }
  .process-steps::before, .process-steps::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-bottom: 92px; }
  body.legal-page { padding-bottom: 0; }
  .mobile-bar {
    position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 8px;
    border-radius: 22px; background: rgba(15, 23, 42, .92);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .55);
    transition: transform .45s var(--ease-out), opacity .3s;
  }
  .mobile-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mobile-bar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 52px; padding: 0 10px; border-radius: 15px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; white-space: nowrap; }
  .mobile-bar-btn .ico { width: 20px; height: 20px; }
  .mobile-bar-call { background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; }
  .mobile-bar-wa { width: 52px; padding: 0; background: rgba(255, 255, 255, .1); color: #fff; }
  .mobile-bar-appt { background: #fff; color: var(--navy-900); }
  .toast { top: auto; bottom: calc(100px + env(safe-area-inset-bottom)); right: 16px; left: 16px; width: auto; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius-xl: 28px; --radius-lg: 22px; }
  .header-cta { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.25rem; }

  .opener-intro { padding-bottom: 120px; }
  .opener-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .opener-actions .btn { width: 100%; }
  .opener-meta { flex-direction: column; align-items: center; gap: 8px; font-size: .86rem; }
  .scroll-cue { display: none; } /* küçük ekranda içerik ve alt bar ile çakışmasın */
  .eyebrow { font-size: .78rem; text-align: left; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-assurance { flex-direction: column; align-items: center; gap: 8px; }
  .hero-visual { aspect-ratio: 4 / 4.6; }
  .hero-ring { inset: -10px; }
  .float-card { padding: 10px 12px; font-size: .8rem; gap: 10px; border-radius: 14px; }
  .float-card strong { font-size: .82rem; }
  .fc-icon { width: 34px; height: 34px; border-radius: 10px; }
  .fc-icon .ico { width: 17px; height: 17px; }
  .fc-eta { top: 4%; left: -6px; }
  .fc-sterile { top: 22%; right: -6px; }
  .fc-call { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 12px; }
  .fc-call-title { font-size: .88rem !important; }

  .trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .trust-item { padding: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 14px; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }

  /* Mobilde filtreler yatay kaydırılır */
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }

  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-body { padding: 20px; }


  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .bento-lg { grid-column: auto; min-height: 460px; padding: 28px; }
  .bento-card { padding: 24px; }
  .bento-card h3 { margin-top: 8px; }

  .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .step-no { width: 44px; height: 44px; font-size: .9rem; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-head h3 { font-size: 1.3rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 32px; }
  .footer-emergency { padding: 16px; font-size: .88rem; }
}

/* Küçük telefonlar: açılış ekranı tek bakışta sığsın (ör. 360×640 Android) */
@media (max-width: 640px) {
  .opener-intro { padding-top: calc(var(--header-h) + 14px); padding-bottom: 108px; }
  .opener-eyebrow { font-size: .8rem; padding: 6px 14px; }
  .opener-title { margin-top: 18px; font-size: clamp(2rem, 1.1rem + 4.2vw, 2.55rem); }
  .opener-lead { margin-top: 14px; font-size: .98rem; }
  .opener-actions { margin-top: 22px; gap: 10px; }
  .opener-actions .btn-lg { --btn-pad-y: .95em; --btn-pad-x: 1em; font-size: .98rem; }
  .opener-meta { margin-top: 18px; }
}
@media (max-width: 640px) and (max-height: 780px) {
  .opener-meta { display: none; }
}
@media (max-width: 640px) and (max-height: 580px) {
  .opener-eyebrow { display: none; }
  .opener-title { margin-top: 0; font-size: 1.9rem; }
}

/* 16. HAREKET AZALTMA TERCİHİ --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-intro] { opacity: 1; }
}
