/* ==========================================================================
   Yenişehir Aile Sağlığı Merkezi — Ana Stil Dosyası
   --------------------------------------------------------------------------
   İçindekiler:
   01. Değişkenler & Tasarım Sistemi
   02. Sıfırlama & Temel
   03. Tipografi & Yardımcılar
   04. Butonlar & Rozetler
   05. Üst Bilgi Çubuğu (Topbar)
   06. Site Başlığı (Header)
   07. Ana Menü (Navigasyon)
   08. Hero (Vitrin)
   09. Hızlı Erişim Kartları
   10. Bilgi Şeridi
   11. Bölüm Başlıkları
   12. Hizmet Kartları
   13. Hekim Kartları
   14. Duyuru Kartları
   15. CTA Bandı
   16. Footer
   17. Alt Sayfa Bileşenleri (kurumsal, iletişim vb.)
   18. Animasyonlar & Reveal
   19. Yukarı Çık Butonu
   20. Responsive
   ========================================================================== */

/* ============================ 01. DEĞİŞKENLER ============================ */
:root {
  /* Renkler */
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;
  --cyan-500: #06b6d4;
  --navy-900: #0a2540;
  --navy-800: #10355c;
  --navy-700: #16456f;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --red-600: #dc2626;
  --red-500: #e63946;
  --ink: #1e3a52;
  --text: #40586e;
  --muted: #6b8299;
  --line: #e2ecf1;
  --bg: #ffffff;
  --bg-soft: #f3f9f9;
  --bg-softer: #eaf4f4;

  /* Gradyanlar */
  --grad-primary: linear-gradient(135deg, var(--teal-600) 0%, #0891b2 100%);
  --grad-navy: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  --grad-hero: linear-gradient(180deg, #eef9f8 0%, #f7fcfc 60%, #ffffff 100%);

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

  /* Ölçüler */
  --container: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Gölgeler */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .07);
  --shadow: 0 10px 30px -8px rgba(10, 37, 64, .14);
  --shadow-lg: 0 24px 50px -12px rgba(10, 37, 64, .22);
  --shadow-teal: 0 14px 30px -10px rgba(13, 148, 136, .45);

  /* Geçiş */
  --tr: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ============================ 02. SIFIRLAMA ============================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

::selection { background: var(--teal-600); color: #fff; }

:focus-visible { outline: 3px solid rgba(13, 148, 136, .45); outline-offset: 2px; border-radius: 4px; }

/* ========================= 03. TİPOGRAFİ & YARDIMCI ===================== */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; font-weight: 700; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.section { padding: clamp(64px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--soft-alt { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }

.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }

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

/* ============================ 04. BUTONLAR ============================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr);
  white-space: nowrap;
}
.btn .icon { transition: transform var(--tr); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(13, 148, 136, .55); }

.btn--white { background: #fff; color: var(--teal-700); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn--outline { border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-3px); }

.btn--ghost { border: 2px solid var(--line); color: var(--teal-700); background: #fff; }
.btn--ghost:hover { border-color: var(--teal-500); background: var(--teal-50); transform: translateY(-3px); }

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--teal-100); color: var(--teal-700);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--amber { background: #fef3c7; color: #b45309; }
.badge--navy { background: #dbe7f3; color: var(--navy-700); }
.badge--red { background: #fde2e4; color: var(--red-600); }

/* ============================ 05. TOPBAR ================================ */
.topbar { background: var(--navy-900); color: #c8d6e5; font-size: 13px; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { width: 14px; height: 14px; color: var(--teal-500); }
.topbar a:hover { color: #fff; }
.topbar__pill { background: rgba(20, 184, 166, .16); color: #5eead4; padding: 3px 12px; border-radius: 999px; font-weight: 600; }

/* ============================ 06. HEADER ================================ */
.site-header { background: #fff; position: relative; z-index: 55; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }

.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__logo { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 6px 14px rgba(13, 148, 136, .35)); }
.brand__gov { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.brand__name { font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; line-height: 1.15; }
.brand__sub { font-size: 13px; color: var(--teal-700); font-weight: 600; }

.header__meta { display: flex; align-items: center; gap: 14px; }
.header__hours { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.header__hours .icon { width: 30px; height: 30px; color: var(--teal-600); }
.header__hours b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.header__hours span { font-size: 12px; color: var(--muted); }

.header__phone {
  display: flex; align-items: center; gap: 12px;
  background: var(--grad-primary); color: #fff;
  padding: 12px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-teal); transition: transform var(--tr), box-shadow var(--tr);
}
.header__phone:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(13, 148, 136, .55); }
.header__phone .icon { width: 26px; height: 26px; }
.header__phone small { display: block; font-size: 11px; opacity: .85; letter-spacing: .05em; }
.header__phone b { font-size: 16.5px; letter-spacing: .02em; }

/* ============================ 07. ANA MENÜ ============================== */
.main-nav {
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 4px 20px -6px rgba(10, 37, 64, .1);
  position: sticky; top: 0; z-index: 50;
}
.main-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.main-nav__list { display: flex; align-items: stretch; }
.main-nav__list > li:last-child { margin-left: auto; }
.main-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 20px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  transition: color var(--tr);
}
.main-nav__link::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 10px;
  height: 3px; border-radius: 3px; background: var(--grad-primary);
  transform: scaleX(0); transform-origin: left; transition: transform var(--tr);
}
.main-nav__link:hover { color: var(--teal-700); }
.main-nav__link:hover::after { transform: scaleX(1); }
.main-nav__link--active { color: var(--teal-700); }
.main-nav__link--active::after { transform: scaleX(1); }

.nav-cta { margin: 8px 0; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; color: var(--navy-900); }
.nav-toggle__close { display: none; }

/* ============================ 08. HERO ================================== */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, .16), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; bottom: -220px; left: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .12), transparent 65%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
}
.hero__title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); margin: 18px 0 16px; }
.hero__title em { font-style: normal; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: clamp(15.5px, 1.6vw, 18px); color: var(--text); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.hero__trust-item { display: flex; align-items: center; gap: 12px; }
.hero__trust-item .icon { width: 30px; height: 30px; color: var(--teal-600); }
.hero__trust-item b { display: block; font-family: var(--font-head); font-size: 19px; color: var(--navy-900); line-height: 1.2; }
.hero__trust-item span { font-size: 12.5px; color: var(--muted); }

.hero__art { position: relative; min-width: 0; }
.hero__art > img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(10, 37, 64, .18)); }

.hero__card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .7);
  padding: 12px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 5.5s ease-in-out infinite;
}
.hero__card .icon { width: 30px; height: 30px; color: var(--teal-600); }
.hero__card b { display: block; font-size: 13.5px; color: var(--navy-900); line-height: 1.25; }
.hero__card span { font-size: 12px; color: var(--muted); }
.hero__card--hours { left: -26px; top: 12%; }
.hero__card--pulse { right: -18px; bottom: 10%; animation-delay: 1.4s; }
.hero__card--pulse .icon { color: var(--red-500); }

/* ========================= 09. HIZLI ERİŞİM ============================ */
.quick-access { position: relative; z-index: 5; margin-top: -46px; }
.quick-access__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qa-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 236, 241, .8);
  transition: transform var(--tr), box-shadow var(--tr);
  position: relative; overflow: hidden;
}
.qa-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px;
  border-radius: 50%; background: var(--teal-50); transition: transform .4s ease;
}
.qa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.qa-card:hover::before { transform: scale(1.6); }
.qa-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-primary); color: #fff;
  box-shadow: var(--shadow-teal); position: relative; z-index: 1;
}
.qa-card__icon .icon { width: 26px; height: 26px; }
.qa-card h3 { font-size: 16.5px; position: relative; z-index: 1; }
.qa-card p { font-size: 13.5px; color: var(--muted); position: relative; z-index: 1; }
.qa-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--teal-700); position: relative; z-index: 1; }
.qa-card__link .icon { transition: transform var(--tr); }
.qa-card:hover .qa-card__link .icon { transform: translateX(4px); }

/* ========================= 10. BİLGİ ŞERİDİ ============================= */
.info-strip { background: var(--grad-navy); color: #dce9f5; padding: 30px 0; position: relative; overflow: hidden; }
.info-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.info-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.info-strip__item { display: flex; align-items: center; gap: 14px; }
.info-strip__icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: rgba(20, 184, 166, .18); color: #5eead4;
}
.info-strip__icon .icon { width: 24px; height: 24px; }
.info-strip__item b { display: block; font-family: var(--font-head); font-size: 16px; color: #fff; letter-spacing: .02em; }
.info-strip__item span { font-size: 12.5px; color: #9fb6cc; }
.info-strip__item--alert .info-strip__icon { background: rgba(230, 57, 70, .2); color: #fda4af; }

/* ========================= 11. BÖLÜM BAŞLIKLARI ========================= */
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 12px;
}
.section-head__eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-primary); }
.section-head--center .section-head__eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-primary); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.015em; color: var(--navy-900); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* ========================= 12. HİZMET KARTLARI ========================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-primary); transform: scaleY(0); transition: transform .35s ease;
  transform-origin: top;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleY(1); }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700);
  border: 1px solid var(--teal-100);
  transition: background var(--tr), color var(--tr);
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--grad-primary); color: #fff; }
.service-card h3 { font-size: 17.5px; }
.service-card p { font-size: 14px; color: var(--muted); }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--teal-700); }
.service-card__more .icon { transition: transform var(--tr); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* ========================= 13. HEKİM KARTLARI =========================== */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.doctor-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); text-align: center;
  transition: transform var(--tr), box-shadow var(--tr);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-card__avatar { background: linear-gradient(160deg, var(--bg-softer), #dff1f0); padding: 26px 26px 0; position: relative; }
.doctor-card__avatar img { width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow); background: #fff; object-fit: cover; }
.doctor-card__body { padding: 20px 20px 24px; }
.doctor-card__body h3 { font-size: 16.5px; }
.doctor-card__role { font-size: 13px; color: var(--teal-700); font-weight: 700; margin-top: 4px; }
.doctor-card__unit { display: inline-flex; margin-top: 12px; font-size: 12px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }

/* ========================= 14. DUYURU KARTLARI ========================== */
.ann-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ann-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.ann-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ann-card__date {
  flex: none; width: 64px; border-radius: var(--radius); overflow: hidden;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.ann-card__date b { display: block; background: var(--grad-primary); color: #fff; font-family: var(--font-head); font-size: 24px; padding: 8px 0 4px; }
.ann-card__date span { display: block; background: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); padding: 5px 0; }
.ann-card__body h3 { font-size: 16px; margin-bottom: 6px; }
.ann-card__body p { font-size: 13.5px; color: var(--muted); }
.ann-card__cat { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-500); display: block; margin-bottom: 6px; }

/* ========================= 15. CTA BANDI ================================ */
.cta-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-navy); color: #fff; padding: clamp(36px, 5vw, 60px); }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-banner::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .4), transparent 65%);
}
.cta-banner__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; }
.cta-banner p { color: #b9cddd; margin-top: 10px; max-width: 52ch; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================ 16. FOOTER ================================ */
.site-footer { background: var(--navy-900); color: #a9bfd4; margin-top: clamp(64px, 8vw, 96px); }
.footer-cta-line { height: 5px; background: linear-gradient(90deg, var(--teal-500), var(--cyan-500), var(--amber-500)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer__brand .brand__name { color: #fff; font-size: 20px; }
.footer__brand .brand__gov { color: #7e96ad; }
.footer__brand .brand__sub { color: #5eead4; }
.footer__about { font-size: 14px; margin-top: 16px; color: #93a9be; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #c8d6e5; transition: background var(--tr), transform var(--tr);
}
.footer__social a:hover { background: var(--teal-600); color: #fff; transform: translateY(-3px); }
.footer__social .icon { width: 19px; height: 19px; }

.footer__title { color: #fff; font-size: 15.5px; letter-spacing: .04em; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-primary); }
.footer__links li { margin-bottom: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; transition: color var(--tr), transform var(--tr); }
.footer__links a .icon { width: 13px; height: 13px; color: var(--teal-500); }
.footer__links a:hover { color: #fff; transform: translateX(4px); }

.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.footer__contact .icon { width: 20px; height: 20px; color: var(--teal-500); margin-top: 2px; }
.footer__contact b { color: #e7eff7; font-weight: 600; }
.footer__contact a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0; font-size: 13px; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #5eead4; }
.footer-bottom a:hover { text-decoration: underline; }

/* ===================== 17. ALT SAYFA BİLEŞENLERİ ======================== */
.page-hero { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; padding: clamp(48px, 6vw, 72px) 0; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.page-hero::after {
  content: ""; position: absolute; right: -140px; bottom: -200px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20, 184, 166, .35), transparent 65%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.015em; }
.page-hero p { color: #b9cddd; margin-top: 12px; max-width: 62ch; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; margin-bottom: 18px; color: #9fb6cc; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: #c8d6e5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .7; }
.breadcrumb [aria-current] { color: #5eead4; font-weight: 700; }

/* Kurumsal — hikaye + misyon vizyon */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split__media { position: relative; min-width: 0; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--teal-100);
}
.split__body h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.split__body p + p { margin-top: 12px; }
.check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check-list .icon { width: 22px; height: 22px; color: var(--teal-600); margin-top: 2px; }

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform var(--tr), box-shadow var(--tr); position: relative; overflow: hidden; }
.mv-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-primary); }
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mv-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 18px; }
.mv-card__icon .icon { width: 27px; height: 27px; }
.mv-card h3 { font-size: 18px; margin-bottom: 10px; }
.mv-card p { font-size: 14.5px; color: var(--muted); }

/* Değerler / istatistik */
.stats-band { background: var(--grad-primary); border-radius: var(--radius-lg); color: #fff; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; box-shadow: var(--shadow-teal); }
.stats-band__item { text-align: center; position: relative; }
.stats-band__item + .stats-band__item::before { content: ""; position: absolute; left: -12px; top: 10%; bottom: 10%; width: 1px; background: rgba(255, 255, 255, .25); }
.stats-band__item b { display: block; font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.stats-band__item span { font-size: 13.5px; opacity: .9; }

/* Hizmet standartları tablosu / listeler */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 26px; }
.panel h2 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.panel h2 .icon { width: 26px; height: 26px; color: var(--teal-600); }
.panel > p { color: var(--muted); margin-bottom: 18px; }

.standards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.standard-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px; }
.standard-item b { color: var(--ink); font-weight: 600; }
.standard-item span { flex: none; font-weight: 800; font-family: var(--font-head); color: var(--teal-700); background: #fff; border: 1px solid var(--teal-100); padding: 4px 14px; border-radius: 999px; font-size: 13px; }

/* Öncelikli hastalar */
.priority-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.priority-card { text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; transition: transform var(--tr), background var(--tr); }
.priority-card:hover { transform: translateY(-4px); background: var(--teal-50); }
.priority-card .icon { width: 34px; height: 34px; color: var(--teal-700); margin: 0 auto 12px; }
.priority-card b { display: block; font-size: 14.5px; color: var(--ink); }
.priority-card span { font-size: 12.5px; color: var(--muted); }

/* Hizmet detayları (hizmetlerimiz sayfası) */
.service-detail { display: grid; grid-template-columns: 84px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); transition: box-shadow var(--tr), transform var(--tr); }
.service-detail:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-detail + .service-detail { margin-top: 22px; }
.service-detail__icon { width: 84px; height: 84px; border-radius: 22px; background: var(--grad-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-teal); }
.service-detail__icon .icon { width: 40px; height: 40px; }
.service-detail h2 { font-size: clamp(18px, 2.2vw, 22px); margin-bottom: 8px; }
.service-detail > div > p { color: var(--muted); font-size: 15px; }
.service-detail ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-detail ul li { font-size: 13px; font-weight: 600; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: 5px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.service-detail ul li .icon { width: 13px; height: 13px; }

/* Personel bölüm başlığı (hekimlerimiz) */
.staff-group + .staff-group { margin-top: clamp(48px, 6vw, 72px); }
.staff-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.staff-group__head .icon { width: 34px; height: 34px; color: var(--teal-600); }
.staff-group__head h2 { font-size: clamp(22px, 3vw, 30px); }
.staff-group__head p { color: var(--muted); font-size: 14px; }

/* Duyurular sayfası */
.ann-list { display: grid; gap: 18px; }
.ann-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--tr); }
.ann-item:hover { box-shadow: var(--shadow); }
.ann-item__head { display: flex; gap: 20px; align-items: center; padding: 22px 26px; cursor: pointer; width: 100%; text-align: left; }
.ann-item__date { flex: none; width: 70px; border-radius: var(--radius); overflow: hidden; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ann-item__date b { display: block; background: var(--grad-primary); color: #fff; font-family: var(--font-head); font-size: 26px; padding: 8px 0 4px; }
.ann-item__date span { display: block; background: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); padding: 5px 0; }
.ann-item__title { flex: 1; min-width: 0; }
.ann-item__title .ann-card__cat { margin-bottom: 4px; }
.ann-item__title h2 { font-size: clamp(16px, 2vw, 19px); }
.ann-item__chevron { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--teal-700); transition: transform var(--tr), background var(--tr), color var(--tr); }
.ann-item__chevron .icon { width: 20px; height: 20px; }
.ann-item--open .ann-item__chevron { transform: rotate(180deg); background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.ann-item__body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.ann-item__body-inner { padding: 0 26px 26px 116px; color: var(--text); font-size: 15px; }
.ann-item__body-inner p + p { margin-top: 10px; }
.ann-item__body-inner ul { margin-top: 10px; display: grid; gap: 8px; }
.ann-item__body-inner ul li { display: flex; gap: 10px; align-items: flex-start; }
.ann-item__body-inner ul .icon { width: 18px; height: 18px; color: var(--teal-600); margin-top: 3px; }

/* İletişim sayfası */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; transition: transform var(--tr), box-shadow var(--tr); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card__icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 18px; background: var(--grad-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-teal); }
.contact-card__icon .icon { width: 28px; height: 28px; }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); }
.contact-card a { display: block; font-weight: 700; color: var(--teal-700); margin-top: 4px; }
.contact-card a:hover { text-decoration: underline; }

.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px; align-items: stretch; }
.contact-split > * { min-width: 0; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; position: relative; background: var(--bg-softer); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hours-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-card__head { background: var(--grad-navy); color: #fff; padding: 22px 28px; display: flex; align-items: center; gap: 14px; }
.hours-card__head .icon { width: 26px; height: 26px; color: #5eead4; }
.hours-card__head h3 { color: #fff; font-size: 17px; }
.hours-card__head span { font-size: 12.5px; color: #9fb6cc; display: block; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 14px 28px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.hours-table th { color: var(--ink); font-weight: 600; width: 45%; }
.hours-table td { color: var(--text); font-weight: 700; font-family: var(--font-head); font-size: 13.5px; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr:nth-child(even) { background: var(--bg-soft); }
.hours-table .is-closed { color: var(--red-500); }

.phone-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.phone-list a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr); }
.phone-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-500); }
.phone-list .num { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.phone-list a b { display: block; font-size: 14.5px; color: var(--ink); }
.phone-list a span { font-size: 12.5px; color: var(--muted); }
.phone-list a.is-emergency .num { background: #fde2e4; border-color: #f5c2c7; color: var(--red-600); }

.transport-list { display: grid; gap: 14px; }
.transport-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; }
.transport-list .icon { width: 24px; height: 24px; color: var(--teal-600); margin-top: 2px; }
.transport-list b { color: var(--ink); }

/* Not kutusu */
.note-box { display: flex; gap: 14px; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 18px 20px; font-size: 14px; color: #92600a; }
.note-box .icon { width: 22px; height: 22px; color: var(--amber-500); margin-top: 1px; }

/* ==================== 18. ANİMASYONLAR & REVEAL ========================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(14px); }
}
.anim-drift { animation: drift 7s ease-in-out infinite; }
.anim-drift--slow { animation: drift 10s ease-in-out infinite reverse; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ======================= 19. YUKARI ÇIK BUTONU ========================== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-teal);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top .icon { width: 22px; height: 22px; }

/* ========================= 20. RESPONSIVE =============================== */
@media (max-width: 1080px) {
  .header__hours { display: none; }
  .services-grid, .doctors-grid, .quick-access__grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .priority-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-band__item + .stats-band__item::before { display: none; }
}

@media (max-width: 920px) {
  html { scroll-padding-top: 90px; }
  .nav-toggle { display: inline-flex; }
  .main-nav__list {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav--open .main-nav__list { max-height: 480px; }
  .main-nav__link { padding: 15px 22px; border-top: 1px solid var(--line); }
  .main-nav__link::after { display: none; }
  .main-nav__link--active { background: var(--teal-50); }
  .nav-cta { margin: 12px 22px 18px; justify-content: center; }
  .main-nav--open .nav-toggle__open { display: none; }
  .main-nav--open .nav-toggle__close { display: block; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__art { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__card--hours { left: 0; }
  .hero__card--pulse { right: 0; }
  .split, .contact-split { grid-template-columns: minmax(0, 1fr); }
  .split__media { max-width: 560px; }
  .ann-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ann-item__body-inner { padding-left: 26px; }
}

@media (max-width: 640px) {
  .topbar__group--left .topbar__item--address { display: none; }
  .topbar__group { gap: 12px; }
  .topbar__group > span.topbar__item { display: none; }
  .site-header__inner { gap: 12px; }
  .brand { gap: 12px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 16px; }
  .brand__sub { font-size: 12px; }
  .header__phone b { font-size: 13.5px; }
  .header__phone small { display: none; }
  .header__phone { display: none; }
  .quick-access { margin-top: -30px; }
  .quick-access__grid, .services-grid, .doctors-grid, .info-strip__grid,
  .standards-grid, .phone-list, .priority-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .stats-band { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .ann-item__head { gap: 14px; padding: 18px; }
  .ann-item__date { width: 58px; }
  .ann-item__date b { font-size: 20px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__icon { width: 64px; height: 64px; border-radius: 16px; }
  .service-detail__icon .icon { width: 32px; height: 32px; }
}
