/* ============================================================
   Atlas Dent Ağız ve Diş Sağlığı Polikliniği — style.css
   Tek dosya, framework yok. TR / EN / AR (RTL) ortak stil.
   ============================================================ */

:root {
  --blue-dark: #0B5FA5;
  --blue-deep: #07406F;
  --blue-bright: #1E88D2;
  --teal: #28C3C9;
  --wa-green: #25D366;
  --ink: #12283A;
  --body: #3E5568;
  --bg: #FFFFFF;
  --bg-alt: #F4F8FB;
  --footer-bg: #082A47;
  --radius: 16px;
  --radius-lg: 18px;
  --shadow-soft: 0 6px 24px rgba(11, 63, 108, 0.08);
  --shadow-lift: 0 16px 38px rgba(11, 63, 108, 0.16);
  --grad-brand: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-bright) 60%, var(--teal) 120%);
  --header-h: 78px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --bar-h: 64px; /* mobil sabit destek barı */
}

/* Arapça sayfada tüm metinler Cairo ile */
html[lang="ar"] body,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] button, html[lang="ar"] .btn {
  font-family: "Cairo", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; }

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

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

button { font-family: inherit; cursor: pointer; }

section { scroll-margin-top: calc(var(--header-h) + 8px); }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 24px; }

/* Erişilebilirlik */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1200;
  background: var(--blue-dark); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 500; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------------------------------------------------------- */
/* Header                                                     */
/* ---------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 95, 165, 0.08);
  transition: background 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(11, 63, 108, 0.12);
}
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 58px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: inline-block; padding: 10px 15px;
  border-radius: 10px; font-weight: 500; color: var(--ink); font-size: 0.98rem;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 15px; bottom: 6px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.25s;
}
.main-nav a:hover { color: var(--blue-dark); }
.main-nav a:hover::after { transform: scaleX(1); }

/* Dil seçici — her ekranda görünür */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg-alt); border: 1px solid rgba(11, 95, 165, 0.10);
  border-radius: 999px; padding: 4px; flex-shrink: 0;
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; min-height: 34px; padding: 2px 8px;
  border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  color: var(--body);
}
.lang-switch a:hover { color: var(--blue-dark); }
.lang-switch a[aria-current="true"] {
  background: var(--grad-brand); color: #fff;
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 10px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------- */
/* Hero — tam ekran video                                      */
/* ---------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--blue-dark);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(11, 95, 165, 0.93) 0%,
    rgba(11, 95, 165, 0.80) 32%,
    rgba(11, 95, 165, 0.30) 55%,
    rgba(11, 95, 165, 0) 70%);
}
[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg,
    rgba(11, 95, 165, 0.93) 0%,
    rgba(11, 95, 165, 0.80) 32%,
    rgba(11, 95, 165, 0.30) 55%,
    rgba(11, 95, 165, 0) 70%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 680px;
  padding-top: var(--header-h);
}
.hero h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic; font-weight: 800;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.14; letter-spacing: 0;
  color: #fff;
  filter: drop-shadow(0 4px 20px rgba(4, 26, 42, 0.45));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(105deg, #FFFFFF 30%, #A9E9EC 78%, #6FD8DD 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
html[lang="ar"] .hero h1 {
  font-family: "Cairo", "Segoe UI", sans-serif;
  font-style: normal; font-weight: 700;
}
.hero-sub {
  margin-top: 20px; color: rgba(255, 255, 255, 0.93);
  font-size: clamp(1rem, 1.5vw, 1.18rem); font-weight: 500; max-width: 52ch;
}
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue-dark);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border: 0; border-radius: 999px; padding: 15px 30px; min-height: 48px;
  box-shadow: 0 14px 34px rgba(4, 26, 42, 0.35);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); background: var(--teal); color: #fff; }
.hero-cta svg { width: 20px; height: 20px; }
.hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.10); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  border-radius: 999px; padding: 14px 26px; min-height: 48px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ---------------------------------------------------------- */
/* GÜZEL GÜLÜŞ DESTEK HATTI banner'ı                          */
/* ---------------------------------------------------------- */
.support-banner {
  position: relative; overflow: hidden;
  width: 100%; border: 0; color: #fff; text-align: start;
  background:
    radial-gradient(700px 320px at 12% -40%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(100deg, var(--blue-deep) 0%, var(--blue-dark) 34%, var(--blue-bright) 66%, var(--teal) 100%);
  padding: 30px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: center; gap: 22px;
  transition: filter 0.2s;
}
.support-banner:hover { filter: brightness(1.08); }
.support-banner::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  inset-inline-start: -60%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.20) 50%, transparent 80%);
  animation: shine 5.5s ease-in-out infinite; pointer-events: none;
}
@keyframes shine {
  0%, 55% { inset-inline-start: -60%; }
  85%, 100% { inset-inline-start: 130%; }
}
.support-banner .pulse-ring {
  position: relative; width: 62px; height: 62px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.16); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.support-banner .pulse-ring::after,
.support-banner .pulse-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  animation: pulse 2s ease-out infinite;
}
.support-banner .pulse-ring::before { animation-delay: 0.7s; }
.support-banner .pulse-ring svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse {
  0%   { transform: scale(1);    opacity: 1; }
  100% { transform: scale(1.85); opacity: 0; }
}
.support-banner .banner-text { display: flex; flex-direction: column; align-items: flex-start; text-align: start; }
.support-banner .banner-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: 1.5px; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(4, 26, 42, 0.3);
}
html[lang="ar"] .support-banner .banner-title { letter-spacing: 0; }
.support-banner .banner-sub {
  font-size: clamp(0.82rem, 1.4vw, 0.98rem); font-weight: 500;
  color: rgba(255, 255, 255, 0.92); margin-top: 4px;
}
.banner-channels {
  display: flex; flex-direction: column; gap: 8px; margin-inline-start: 18px; flex-shrink: 0;
}
.banner-channels .chan {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  white-space: nowrap; direction: ltr;
}
.banner-channels .chan svg { width: 16px; height: 16px; fill: #fff; }
.banner-channels .chan.wa { background: rgba(37, 211, 102, 0.30); border-color: rgba(37, 211, 102, 0.55); }

/* Masaüstü: sağ altta yüzen WhatsApp butonu */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 950;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 140, 70, 0.45);
  transition: transform 0.2s;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.8);
  animation: pulse 2.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------------------------------------------------------- */
/* Bölüm başlıkları                                           */
/* ---------------------------------------------------------- */
.section { position: relative; padding-block: 96px; }
.section-alt {
  background:
    radial-gradient(700px 420px at 92% 6%, rgba(40, 195, 201, 0.07), transparent 60%),
    radial-gradient(600px 420px at 4% 96%, rgba(30, 136, 210, 0.07), transparent 60%),
    var(--bg-alt);
}
.section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
.section-head p { margin-top: 14px; font-size: 1.03rem; }

/* ---------------------------------------------------------- */
/* Öne çıkanlar şeridi — banner'ın üzerine taşan kartlar       */
/* ---------------------------------------------------------- */
.feature-strip { position: relative; z-index: 5; padding-block: 0 30px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFF 100%);
  border-radius: 20px;
  border: 1px solid rgba(11, 95, 165, 0.09);
  box-shadow: 0 18px 42px rgba(11, 63, 108, 0.12);
  padding: 28px 26px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card::after {
  content: ""; position: absolute; inset-inline-start: 26px; bottom: 0;
  width: 46px; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
[dir="rtl"] .feature-card::after { transform-origin: right; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(11, 63, 108, 0.18); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card .feat-icon {
  width: 58px; height: 58px; border-radius: 18px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(40, 195, 201, 0.12), 0 10px 22px rgba(11, 95, 165, 0.30);
  margin-bottom: 18px;
  transition: transform 0.3s;
}
.feature-card:hover .feat-icon { transform: scale(1.07) rotate(-4deg); }
.feature-card .feat-icon svg { width: 27px; height: 27px; fill: #fff; }
.feature-card h3 { font-size: 1.04rem; font-weight: 600; }
.feature-card p { margin-top: 7px; font-size: 0.9rem; }

/* ---------------------------------------------------------- */
/* Doktor kartları                                            */
/* ---------------------------------------------------------- */
.doctor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 1040px; margin-inline: auto;
}
.doctor-card {
  position: relative;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-soft); text-align: center;
  border: 1px solid rgba(11, 95, 165, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.doctor-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: var(--grad-brand); z-index: 1;
  opacity: 0; transition: opacity 0.25s;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.doctor-card:hover::before { opacity: 1; }
.doctor-card .doctor-photo { overflow: hidden; }
.doctor-card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 0.45s;
}
.doctor-card:hover img { transform: scale(1.04); }
.doctor-card .card-body { padding: 24px 22px 28px; }
.doctor-card h3 { font-size: 1.18rem; font-weight: 600; }
.doctor-card .doctor-title {
  display: inline-block; margin-top: 6px; font-size: 0.85rem; font-weight: 500;
  color: var(--blue-dark); background: rgba(30, 136, 210, 0.10);
  border-radius: 999px; padding: 3px 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; padding: 12px 24px; min-height: 46px;
  border: 0; transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px rgba(11, 95, 165, 0.28); }
.btn-primary:hover { filter: brightness(1.1); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--blue-dark);
  border: 2px solid rgba(11, 95, 165, 0.35);
}
.btn-outline::after { content: "→"; font-family: var(--font-body); transition: transform 0.2s; }
[dir="rtl"] .btn-outline::after { content: "←"; }
.btn-outline:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline:hover::after { transform: translateX(3px); }
[dir="rtl"] .btn-outline:hover::after { transform: translateX(-3px); }
.doctor-card .btn { margin-top: 18px; width: 100%; }

/* ---------------------------------------------------------- */
/* Hizmet kartları                                            */
/* ---------------------------------------------------------- */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 26px;
}
.service-card {
  position: relative;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(11, 95, 165, 0.07);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: var(--grad-brand); z-index: 1;
  opacity: 0; transition: opacity 0.25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.service-card:hover::before { opacity: 1; }
.service-card .service-img { overflow: hidden; position: relative; }
.service-card .service-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(7, 64, 111, 0.28) 100%);
  pointer-events: none;
}
.service-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 0.45s;
}
.service-card:hover img { transform: scale(1.06); }
.service-card .card-body {
  padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1;
}
.service-card h3 { font-size: 1.05rem; font-weight: 600; }
.service-card p { margin-top: 10px; font-size: 0.92rem; flex: 1; }
.service-card .btn { margin-top: 18px; width: 100%; font-size: 0.88rem; }

/* ---------------------------------------------------------- */
/* İletişim + harita                                          */
/* ---------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(320px, 1.05fr) 1.35fr;
  gap: 34px; align-items: stretch;
}
.contact-card {
  background: #fff; border-radius: 20px;
  border: 1px solid rgba(11, 95, 165, 0.07);
  box-shadow: var(--shadow-soft); padding: 32px;
  border-top: 4px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad-brand);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.contact-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 18px; }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding-block: 15px; border-top: 1px solid var(--bg-alt);
}
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row .icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px;
  background: linear-gradient(135deg, rgba(30, 136, 210, 0.12), rgba(40, 195, 201, 0.14));
  display: flex; align-items: center; justify-content: center;
}
.contact-row .icon svg { width: 21px; height: 21px; fill: var(--blue-dark); }
.contact-row .label {
  display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--teal);
}
html[lang="ar"] .contact-row .label { letter-spacing: 0; }
.contact-row .value { font-weight: 500; color: var(--ink); font-size: 0.98rem; }
.contact-row a.value:hover { color: var(--teal); }

.map-col { display: flex; flex-direction: column; gap: 18px; }
.map-frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(11, 95, 165, 0.10);
  box-shadow: var(--shadow-soft); line-height: 0; flex: 1;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.btn-directions { width: 100%; font-size: 1rem; padding: 16px 24px; }
.btn-directions svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------------------------------------------------------- */
/* Footer                                                     */
/* ---------------------------------------------------------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(700px 300px at 88% 0%, rgba(40, 195, 201, 0.10), transparent 60%),
    var(--footer-bg);
  color: rgba(255, 255, 255, 0.82);
}
.site-footer::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: var(--grad-brand);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 44px; padding-block: 64px 48px;
}
.footer-brand .logo-chip {
  display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px;
}
.footer-brand .logo-chip img { height: 56px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: 0.94rem; max-width: 34ch; }
.site-footer h3 {
  color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.82); font-size: 0.94rem; }
.footer-links a:hover { color: var(--teal); }
.footer-contact p { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.94rem; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--teal); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: rgba(255, 255, 255, 0.9); }
.footer-contact a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px; text-align: center; font-size: 0.85rem;
}

/* ---------------------------------------------------------- */
/* İletişim seçenek kutusu (modal / bottom-sheet)              */
/* ---------------------------------------------------------- */
.contact-sheet-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(4, 26, 42, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.contact-sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.contact-sheet {
  background: #fff; width: min(440px, calc(100% - 32px));
  border-radius: 20px; padding: 28px;
  border-top: 4px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad-brand);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 24px 60px rgba(4, 26, 42, 0.35);
  transform: translateY(14px) scale(0.98); transition: transform 0.25s;
  position: relative;
}
.contact-sheet-backdrop.open .contact-sheet { transform: none; }
.contact-sheet h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--ink);
  padding-inline-end: 40px;
}
.contact-sheet .sheet-sub { margin-top: 6px; font-size: 0.92rem; }
.sheet-close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 44px; height: 44px; border: 0; background: var(--bg-alt);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--ink); line-height: 1;
}
.sheet-close:hover { background: var(--teal); color: #fff; }
.sheet-options { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.sheet-option {
  display: flex; align-items: center; gap: 16px;
  border-radius: 14px; padding: 16px 18px; min-height: 64px;
  color: #fff; transition: filter 0.2s, transform 0.2s;
}
.sheet-option:hover { filter: brightness(1.1); transform: translateY(-2px); color: #fff; }
.sheet-option.call { background: linear-gradient(120deg, var(--blue-dark), var(--blue-bright)); }
.sheet-option.wa { background: linear-gradient(120deg, #1DA851, var(--wa-green)); }
.sheet-option svg { width: 28px; height: 28px; fill: #fff; flex-shrink: 0; }
.sheet-option .opt-label { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; display: block; }
.sheet-option .opt-value { font-size: 0.88rem; opacity: 0.92; direction: ltr; unicode-bidi: embed; }
.sheet-option .opt-text { text-align: start; }

/* ---------------------------------------------------------- */
/* Görünüm animasyonu                                          */
/* ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- */
/* Responsive                                                  */
/* ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .doctor-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .map-frame iframe { height: 380px; }
}

/* Masaüstünde öne çıkan kartlar banner'ın alt kenarına taşar */
@media (min-width: 861px) {
  .support-banner { padding-bottom: 86px; }
  .feature-strip { margin-top: -56px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 30px rgba(11, 63, 108, 0.12);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 14px 10px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-inline-start: auto; }

  .section { padding-block: 62px; }
  .section-head { margin-bottom: 38px; }
  .feature-strip { padding-block: 54px 8px; }
  .banner-channels { display: none; }

  /* Hero: mavi panel alt yarıyı kaplayan degrade olur */
  .hero-overlay,
  [dir="rtl"] .hero-overlay {
    background: linear-gradient(0deg,
      rgba(11, 95, 165, 0.94) 0%,
      rgba(11, 95, 165, 0.72) 38%,
      rgba(11, 95, 165, 0.18) 66%,
      rgba(11, 95, 165, 0) 82%);
  }
  .hero { align-items: flex-end; }
  .hero-content { padding-top: 0; padding-bottom: 48px; }
}

@media (max-width: 768px) {
  /* Destek banner'ı: her zaman ekranın altında sabit bar */
  .support-banner {
    position: fixed; bottom: 0; inset-inline: 0; z-index: 999;
    min-height: var(--bar-h);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 12px; justify-content: flex-start;
    box-shadow: 0 -6px 20px rgba(4, 26, 42, 0.3);
  }
  .support-banner .pulse-ring { width: 44px; height: 44px; }
  .support-banner .pulse-ring svg { width: 20px; height: 20px; }
  .support-banner .banner-title { font-size: 1rem; letter-spacing: 0.5px; }
  .support-banner .banner-sub { font-size: 0.72rem; margin-top: 2px; }

  /* İçerik sabit barın altında ezilmesin */
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 12px); }

  .hero-content {
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 34px);
  }

  .wa-float { display: none; }

  /* Modal yerine alttan kayan bottom-sheet */
  .contact-sheet-backdrop { align-items: flex-end; }
  .contact-sheet {
    width: 100%; border-radius: 20px 20px 0 0;
    padding: 26px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }

  .doctor-grid { grid-template-columns: 1fr; max-width: 420px; }
  .feature-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .service-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .map-frame iframe { height: 300px; min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 48px 36px; }
}

@media (min-width: 769px) {
  .support-banner { cursor: pointer; }
}

@media (max-width: 400px) {
  .container { padding-inline: 16px; }
  .brand img { height: 48px; }
  .support-banner .banner-title { font-size: 0.9rem; }
  .support-banner .banner-sub { display: none; }
  .hero h1 { font-size: 1.9rem; }
  .hero-actions .hero-ghost { display: none; }
}

/* ---------------------------------------------------------- */
/* Hareket azaltma tercihi                                     */
/* ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .support-banner::after { display: none; }
}
