/* ============================================================
   Özcan Ağız ve Diş Sağlığı Polikliniği
   Tasarım sistemi — logodan türetilmiş mavi palet,
   Bricolage Grotesque (display) + Inter (gövde).
   Signature: logodaki yörünge halkası + canlı "açık" göstergesi.
   ============================================================ */

:root {
  /* Renkler — logodan */
  --navy:  #163A6B;
  --navy-deep: #0E274A;
  --blue:  #2B6CB0;
  --sky:   #4AA3D8;
  --light: #8FD4EE;
  --ice:   #EFF7FC;
  --ice-2: #E2F0F9;
  --white: #ffffff;
  --ink:   #15243A;
  --muted: #5A6B82;
  --line:  #DCE8F2;
  --open:  #1FB57A;   /* canlı "açık" yeşili */

  --grad: linear-gradient(135deg, var(--sky) 0%, var(--blue) 55%, var(--navy) 100%);
  --grad-soft: linear-gradient(180deg, var(--ice) 0%, var(--white) 100%);

  /* Tipografi */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçek */
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.55rem, 1.3rem + 1.2vw, 2.25rem);
  --step-3:  clamp(2rem, 1.5rem + 2.5vw, 3.4rem);
  --step-4:  clamp(2.6rem, 1.7rem + 4.5vw, 5rem);

  /* Yapı */
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -25px rgba(22, 58, 107, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(22, 58, 107, 0.45);
  --ring: 0 0 0 4px rgba(74, 163, 216, 0.28);
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

/* ---------- Reset & temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { color: var(--muted); }
strong { color: var(--ink); }

/* ---------- Yardımcılar ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy-deep); color: #cfe1f4; }
.center { text-align: center; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--sky); border-radius: 2px;
}
.section--navy .eyebrow { color: var(--light); }
.section--navy h2 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 0.9rem; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--wa { background: var(--open); color: #fff; box-shadow: 0 12px 28px -12px rgba(31,181,122,.7); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(31,181,122,.8); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(43,108,176,.8); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--sky); color: var(--blue); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: var(--step-1); }

/* ---------- Açık/kapalı canlı rozet ---------- */
.status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--open); position: relative;
}
.status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--open); opacity: .45;
  animation: pulse 2s ease-out infinite;
}
.status.is-closed .status__dot { background: #c2502f; }
.status.is-closed .status__dot::after { background: #c2502f; animation: none; opacity: 0; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(22,58,107,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy); letter-spacing: -0.01em; }
.brand__sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.55rem 0.85rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--ice); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--ice-2); }
.header__cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .3s, opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg) translate(4px, -4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--grad-soft); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero__content { position: relative; z-index: 2; max-width: 36ch; }
.hero h1 { margin: 1.1rem 0 0; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 1.3rem; font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__meta-item { font-size: var(--step--1); color: var(--muted); }
.hero__meta-item b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); line-height: 1; }

/* Signature: yörünge halkası + diş görseli */
.hero__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orbit {
  position: absolute; inset: 0; margin: auto;
  width: 100%; height: 100%;
  animation: spin 38s linear infinite;
}
.orbit__ring { fill: none; stroke: var(--sky); stroke-width: 1.4; opacity: .55; }
.orbit__ring--2 { stroke: var(--blue); opacity: .35; }
.orbit__node { fill: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__disc {
  position: relative; z-index: 2;
  width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--ice-2) 70%);
  box-shadow: var(--shadow), inset 0 2px 10px rgba(255,255,255,.9);
  display: grid; place-items: center;
}
.hero__disc img { width: 72%; filter: drop-shadow(0 18px 30px rgba(22,58,107,.28)); }
/* küçük yüzen rozet */
.hero__badge {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); font-weight: 600; color: var(--navy);
}
.hero__badge svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.hero__badge--tl { top: 6%; left: -2%; }
.hero__badge--br { bottom: 8%; right: -3%; }
.hero__badge small { display: block; font-weight: 500; color: var(--muted); }

/* ============================================================
   HİZMET KARTLARI
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ice); color: var(--blue); margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--navy); }
.card p { margin-top: 0.6rem; font-size: var(--step--1); line-height: 1.6; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem;
  font-weight: 600; font-size: 0.92rem; color: var(--blue);
}
.card__link svg { width: 1em; height: 1em; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ============================================================
   NEDEN BİZ — özellikler
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem 2rem; }
.feature { display: flex; gap: 1rem; }
.feature__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(74,163,216,.16); color: var(--light); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; color: #fff; }
.feature p { font-size: var(--step--1); margin-top: 0.35rem; color: #b9cde6; }

/* ============================================================
   RANDEVU FORMU
   ============================================================ */
.appointment { position: relative; }
.appointment__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--ice); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background: #fff; box-shadow: var(--ring);
}
.field textarea { resize: vertical; min-height: 96px; }
.form__note { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }
.form .btn--wa { width: 100%; margin-top: 0.3rem; }

/* ============================================================
   SSS — akordeon
   ============================================================ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.faq__q {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--blue); transition: transform .3s; line-height: 1; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem 1.2rem; }
.faq__a p { font-size: var(--step--1); }

/* ============================================================
   GALERİ — öncesi/sonrası
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.ba {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba__cell { position: relative; aspect-ratio: 4/5; }
.ba__cell img { width: 100%; height: 100%; object-fit: cover; }
.ba__cell--ph { background: var(--grad); display: grid; place-items: center; color: rgba(255,255,255,.9); }
.ba__cell--ph svg { width: 40px; height: 40px; opacity: .8; }
.ba__tag {
  position: absolute; top: 0.7rem; left: 0.7rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px;
  background: rgba(14,39,74,.78); color: #fff; backdrop-filter: blur(4px);
}
.ba__cell + .ba__cell .ba__tag { background: var(--open); }
.ba__foot { padding: 0.9rem 1.1rem; font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--ph { background: var(--grad); display: grid; place-items: center; color: rgba(255,255,255,.85); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,20,38,.92); display: none; place-items: center; padding: 1.5rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255,255,255,.25); }

/* ============================================================
   HEKİM
   ============================================================ */
.doctor { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.doctor__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor__photo--ph { background: var(--grad); display: grid; place-items: center; color: rgba(255,255,255,.9); }
.doctor__photo--ph svg { width: 90px; height: 90px; opacity: .85; }
.doctor h2 { margin-bottom: 0.3rem; }
.doctor__role { color: var(--blue); font-weight: 600; margin-bottom: 1.2rem; }
.doctor__bio p + p { margin-top: 0.9rem; }

/* ============================================================
   PAGE HERO (iç sayfalar)
   ============================================================ */
.page-hero { background: var(--grad-soft); padding-block: clamp(2.6rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 2; max-width: 680px; }
.page-hero h1 { font-size: var(--step-3); margin-top: 0.7rem; }
.page-hero p { margin-top: 0.9rem; font-size: var(--step-1); color: var(--muted); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* dekoratif köşe halkası */
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; border: 1.5px solid var(--light); opacity: .5;
}

/* hizmet detay listesi */
.service-list { display: grid; gap: 1.2rem; }
.service-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
  transition: box-shadow .3s, transform .3s;
}
.service-row:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-row__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.service-row__icon svg { width: 32px; height: 32px; }

/* iletişim ızgarası */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-list { display: grid; gap: 1.1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--font-display); color: var(--navy); font-size: 1rem; }
.info-item a, .info-item p { color: var(--muted); font-size: var(--step--1); }
.info-item a:hover { color: var(--blue); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* prose (kvkk / metin) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-1); margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.4rem; margin-top: 0.6rem; }
.prose p + p { margin-top: 0.9rem; }

/* ============================================================
   CTA şeridi
   ============================================================ */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 48ch; margin: 0.8rem auto 0; }
.cta-band .hero__actions { justify-content: center; margin-top: 1.8rem; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.cta-band::before { width: 260px; height: 260px; top: -120px; left: -60px; }
.cta-band::after { width: 200px; height: 200px; bottom: -110px; right: -40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: #b9cde6; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer__brand img { width: 44px; height: 44px; object-fit: contain; }
.footer__brand b { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.footer p { color: #93aece; font-size: var(--step--1); }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a, .footer address a { color: #b9cde6; font-size: var(--step--1); transition: color .2s; font-style: normal; }
.footer__links a:hover, .footer address a:hover { color: #fff; }
.footer address { display: grid; gap: 0.6rem; line-height: 1.5; }
.social { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.4rem; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: var(--step--1); font-weight: 600; transition: background .25s; }
.social:hover { background: rgba(255,255,255,.12); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.82rem; color: #7e98ba; }

/* Yüzen WhatsApp butonu */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--open); color: #fff;
  display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(31,181,122,.7);
  transition: transform .25s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--open); animation: fab-pulse 2.4s ease-out infinite; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ============================================================
   Scroll-reveal animasyonu
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* Scroll-linked parallax — derinlik için dekoratif öğelerde hafif kayma */
[data-parallax] { will-change: transform; }

/* Üstte ince scroll ilerleme çubuğu (bölümler arası yön hissi) */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .appointment__grid, .doctor, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .header__cta .btn--text { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .form__row { grid-template-columns: 1fr; }
  .ba__pair { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge--tl { left: 0; }
  .hero__badge--br { right: 0; }
}

/* ============================================================
   Erişilebilirlik — hareketi azalt
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
