/* ============================================================
   deltadis.com.tr — main stylesheet (rebuilt 2026-04-26)
   Mobile-first, modern, ASCII-only comments
   ============================================================ */

/* ---------- 1. Tokens (natural.clinic: derin petrol + sıcak bakır) ---------- */
:root {
  --primary: #004650;
  --primary-rgb: 0, 70, 80;
  --primary-dark: #00343b;
  --primary-light: #15535a;
  --primary-50: #e8efee;
  --primary-100: #c9dad8;
  --primary-200: #9bbab6;

  /* Sıcak aksan (bakır / taupe / blush) — natural.clinic imzası */
  --accent: #c28e7a;
  --accent-rgb: 194, 142, 122;
  --accent-dark: #a8745f;
  --accent-soft: #ecc9b5;
  --accent-50: #faf3ee;
  --taupe: #a78e83;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;

  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  --danger: #dc2626;
  --warning: #f59e0b;
  --success: #16a34a;

  --max-w: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,.15);

  --header-h: 72px;
  --bottom-nav-h: 64px;

  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .6em; font-weight: 700; line-height: 1.25; color: var(--gray-900); }
h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
.section { padding: 3rem 0; }
.section-sm { padding: 2rem 0; }
@media (min-width: 768px) { .section { padding: 4.5rem 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: .75rem; }
.section-title { margin-bottom: .5rem; }
.section-subtitle { color: var(--muted); font-size: 1.0625rem; margin: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.tag {
  display: inline-block; padding: .25rem .65rem; border-radius: var(--radius-full);
  background: var(--primary-50); color: var(--primary-dark);
  font-size: .75rem; font-weight: 600;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.btn-outline { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.0625rem; border-radius: var(--radius); }
.btn-block { display: flex; width: 100%; }
.btn-ig { background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); color:#fff; }

/* ---------- 5. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, backdrop-filter .2s;
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--border);
}
/* Anasayfada header şeffafken yazılar/butonlar beyaz */
body.has-hero-video .header:not(.is-scrolled) .main-nav > a,
body.has-hero-video .header:not(.is-scrolled) .main-nav > a > svg,
body.has-hero-video .header:not(.is-scrolled) .has-mega > a,
body.has-hero-video .header:not(.is-scrolled) .lang-btn,
body.has-hero-video .header:not(.is-scrolled) .mobile-toggle {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
body.has-hero-video .header:not(.is-scrolled) .lang-btn {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.has-hero-video .header:not(.is-scrolled) .lang-btn:hover {
  background: rgba(255,255,255,.25);
}
body.has-hero-video .header:not(.is-scrolled) .mobile-toggle {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.has-hero-video .header:not(.is-scrolled) .main-nav > a:hover,
body.has-hero-video .header:not(.is-scrolled) .has-mega > a:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
/* Mobil menü açıkken (beyaz panel) hero-video override'ını geri al */
body.has-hero-video .header:not(.is-scrolled) .main-nav.is-open > a,
body.has-hero-video .header:not(.is-scrolled) .main-nav.is-open .has-mega > a,
body.has-hero-video .header:not(.is-scrolled) .main-nav.is-open > a > svg,
body.has-hero-video .header:not(.is-scrolled) .main-nav.is-open .nav-ico {
  color: var(--gray-800);
  text-shadow: none;
}
body.has-hero-video .header:not(.is-scrolled) .main-nav.is-open > a:hover,
body.has-hero-video .header:not(.is-scrolled) .main-nav.is-open .has-mega > a:hover {
  background: var(--primary-50);
  color: var(--primary);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-overlay img {
  height: 56px; width: auto; max-width: 160px; object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 4px;
  box-shadow: none;
}
@media (min-width: 768px) { .logo-overlay img { height: 64px; max-width: 200px; } }

.main-nav { display: none; align-items: center; gap: .25rem; flex: 1; justify-content: center; }
@media (min-width: 1100px) { .main-nav { display: flex; } }
.main-nav > a, .main-nav .has-mega > a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .85rem;
  font-size: .92rem; font-weight: 600; color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav > a:hover, .main-nav .has-mega > a:hover { color: var(--primary); background: var(--primary-50); }
.main-nav .nav-ico { stroke: currentColor; flex-shrink: 0; }

/* Mega panel */
.has-mega { position: relative; }
/* Görünmez köprü — hover bağlantısını kopartmaz */
.has-mega::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: .6rem;
  pointer-events: none;
}
.has-mega:hover::after, .has-mega:focus-within::after { pointer-events: auto; }
.mega-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  margin-top: .5rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  min-width: 260px; max-width: 300px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.has-mega:hover > .mega-panel,
.has-mega:focus-within > .mega-panel,
.mega-panel:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-panel-mini { grid-template-columns: 1fr; min-width: 240px; padding: .5rem; }
.mega-col { display: flex; flex-direction: column; gap: .35rem; }
.mega-cat-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--gray-900); padding: .35rem 0;
  border-bottom: 1px solid var(--border); margin-bottom: .35rem;
}
.mega-cat-link:hover { color: var(--primary); }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .15rem; }
.mega-col ul li a, .mega-panel-mini ul li a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .55rem; border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.mega-col ul li a:hover, .mega-panel-mini ul li a:hover { background: var(--primary-50); color: var(--primary-dark); }
.mega-all-link { margin-top: .35rem; font-size: .8rem; color: var(--primary); font-weight: 600; }
.mega-all-link:hover { text-decoration: underline; }

.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; color: var(--gray-700);
  border: 1px solid var(--border); background: var(--white);
  transition: background var(--transition), border-color var(--transition);
}
.lang-btn:hover { background: var(--gray-50); border-color: var(--gray-300); }
.lang-btn .flag, .lang-dropdown a .flag { display: inline-flex; }
.flag-img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.flag-fallback { font-size: 1rem; }
.lang-dropdown {
  position: absolute; top: calc(100% + .35rem); right: 0;
  min-width: 200px; max-height: 360px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .35rem; display: flex; flex-direction: column; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 210;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-dropdown a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .65rem; border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--gray-700);
}
.lang-dropdown a:hover { background: var(--primary-50); color: var(--primary-dark); }
.lang-dropdown a.active { background: var(--primary); color: var(--white); }
.lang-dropdown a.active .flag-img { box-shadow: 0 0 0 1px rgba(255,255,255,.4); }

/* CTA */
.btn-contact-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .85rem;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), transform var(--transition);
}
.btn-contact-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.18); border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.btn-cta-icon svg { width: 20px; height: 20px; }
.btn-cta-text { display: inline-flex; flex-direction: column; line-height: 1.15; align-items: flex-start; }
.btn-cta-title { font-weight: 700; font-size: .85rem; white-space: nowrap; }
.btn-cta-sub { font-size: .7rem; opacity: .85; white-space: nowrap; }

/* Mobile menu toggle */
.mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.4rem; color: var(--gray-800);
  background: var(--gray-100);
}
@media (min-width: 1100px) { .mobile-toggle { display: none; } }

/* Mobile open nav (toggle 'is-open' on .main-nav) */
@media (max-width: 1099px) {
  body.nav-open { overflow: hidden; }
  .main-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--white); padding: 1rem; gap: .25rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 90; align-items: stretch; justify-content: flex-start;
  }
  .main-nav.is-open > a, .main-nav.is-open .has-mega > a {
    padding: .85rem 1rem; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0;
  }
  /* Tedaviler/İletişim butonları Home/About ile aynı genişlikte, hizalı */
  .main-nav.is-open .has-mega { width: 100%; }
  .main-nav.is-open .has-mega > a { display: flex; width: 100%; box-sizing: border-box; transition: background var(--transition), color var(--transition); }
  .main-nav.is-open .has-mega.open > a { color: var(--primary); background: var(--primary-50); }

  .main-nav.is-open .mega-panel,
  .main-nav.is-open .mega-panel-mini {
    position: static; transform: none; box-shadow: none; border: 0;
    grid-template-columns: 1fr;
    /* Dropdown = menü ile aynı genişlik & hizalı (masaüstü min/max-width sıfırlanır) */
    width: 100%; min-width: 0; max-width: none; box-sizing: border-box;
    background: var(--gray-50); border-radius: var(--radius-md);
    /* Varsayılan KAPALI — dokununca açılır (akordeon) */
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none;
    padding: 0 .6rem; margin: 0;
    transition: max-height .3s ease, opacity .22s ease, padding .22s ease, margin .22s ease;
  }
  .main-nav.is-open .has-mega.open > .mega-panel,
  .main-nav.is-open .has-mega.open > .mega-panel-mini {
    max-height: 1400px; opacity: 1; visibility: visible; pointer-events: auto;
    padding: .5rem .6rem .6rem; margin: .15rem 0 .4rem;
  }
}

/* ---------- 6. Hero (slider + video) ---------- */

/* Hero-video is the WHOLE hero section; bg + overlay absolute, content + cats stack */
.hero-video {
  position: relative;
  background: var(--gray-900);
  overflow: hidden;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  min-height: 88vh;
}
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-video-bg iframe, .hero-video-bg video, .hero-video-bg img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* cover the area without distortion using 16:9 trick */
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  min-width: 100%; min-height: 100%;
  border: 0;
  opacity: .55;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  transform: scale(1.04);
}
.hero-slide-bg.active { opacity: 1; }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Sol-ağırlıklı: yazı bölgesi (sol) koyu ve okunur, sağ taraf açık → video NET görünür.
     Turkuaz tint kaldırıldı (nötr), alta yumuşak geçiş. */
  background:
    linear-gradient(95deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 32%, rgba(0,0,0,.2) 58%, rgba(0,0,0,0) 78%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.15) 78%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.hero-video-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--header-h) + 1rem) 1rem 1.5rem;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  color: var(--white); text-align: left;
}
@media (min-width: 980px) {
  .hero-video-content {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: calc(var(--header-h) + 2.5rem) 1.5rem 3rem;
    gap: 3rem;
  }
}
/* Mobile: image stacks above content (responsive, no crop) */
@media (max-width: 979px) {
  .hero-video {
    min-height: 70vh;
  }
  .hero-video-bg {
    position: absolute;
    inset: 0;
  }
  .hero-slide-bg {
    background-size: cover;
    background-position: center;
  }
  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.85) 100%);
  }
  .hero-video-content {
    padding: calc(var(--header-h) + 3.5rem) 1rem 2rem;
  }
}
.hero-left { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.hero-right { display: flex; min-width: 0; }
.hero-right > .wa-form { width: 100%; }

.hero-slides {
  position: relative;
  display: grid;
  grid-template-areas: "slide";
}
.hero-slide {
  grid-area: slide;
  display: flex; flex-direction: column;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
  pointer-events: none;
}
.hero-slide.active, .hero-slide.is-on {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.hero-slide-eyebrow {
  display: inline-block; align-self: flex-start;
  padding: .35rem .8rem;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-slide-title {
  color: var(--white);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin: 0 0 .75rem; max-width: 560px;
}
.hero-slide-sub {
  color: rgba(255,255,255,.92);
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  max-width: 540px;
  margin: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .25rem; }
.btn-hero {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(13,148,136,.35); }
.btn-hero-primary:hover { background: var(--primary-dark); }
.btn-hero-outline { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-hero-outline:hover { background: rgba(255,255,255,.2); border-color: var(--white); }

.hero-dots {
  display: flex; gap: .5rem;
  margin-top: .5rem;
}
.hero-dot {
  width: 28px; height: 4px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.35);
  transition: background .25s, width .25s;
  cursor: pointer;
}
.hero-dot:hover { background: rgba(255,255,255,.6); }
.hero-dot.active, .hero-dot.is-on { background: var(--white); width: 44px; }

/* WA-form on dark hero gets a subtle frame */
.hero-right .wa-form {
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

/* Hero category cards — sits below .hero-video-content, full-width grid of clickable cards */
.hero-cats {
  position: relative; z-index: 2;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.hero-cats-inner {
  display: grid; gap: .6rem; padding: 1rem;
  grid-template-columns: repeat(3, 1fr);
  width: 100%; max-width: var(--max-w); margin: 0 auto;
}
@media (min-width: 640px) { .hero-cats-inner { gap: .85rem; padding: 1.25rem 1.5rem; } }
@media (min-width: 980px)  { .hero-cats-inner { grid-template-columns: repeat(6, 1fr); gap: 1rem; } }
.hero-cat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  padding: 1rem .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white); color: var(--gray-700);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.2;
  text-decoration: none;
  min-height: 96px;
}
.hero-cat:hover {
  background: var(--primary-50); color: var(--primary-dark);
  border-color: var(--primary-200, var(--primary-100));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero-cat-ico {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary);
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}
.hero-cat:hover .hero-cat-ico { background: var(--primary); color: var(--white); }
.hero-cat-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.hero-cat-lbl { line-height: 1.2; font-size: .78rem; }
@media (min-width: 640px) {
  .hero-cat { padding: 1.15rem .65rem; min-height: 110px; }
  .hero-cat-ico { width: 48px; height: 48px; }
  .hero-cat-ico svg { width: 26px; height: 26px; }
  .hero-cat-lbl { font-size: .85rem; }
}

/* Generic page hero */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 3rem 0; text-align: center; }
.page-hero h1 { color: var(--white); }

/* ---------- 7. Footer ---------- */
.footer {
  background: var(--gray-900); color: var(--gray-300);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer a { color: var(--gray-300); transition: color var(--transition); }
.footer a:hover { color: var(--white); }
.footer-row {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}
.footer-row > .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1rem .9rem;
}
.footer-row .footer-col-brand { align-items: center; text-align: center; }
.footer-row .footer-col-brand .footer-tagline,
.footer-row .footer-col-brand .footer-cert-caption { text-align: center; margin-left: auto; margin-right: auto; }
.footer-row .footer-list { width: 100%; }
.footer-row .footer-contact-list li { justify-content: flex-start; }
@media (min-width: 720px) {
  .footer-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1024px) {
  .footer-row {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 1.25rem;
    align-items: stretch;
  }
}
.footer-col h4 { color: var(--white); font-size: .9rem; margin: 0 0 .65rem; font-weight: 700; letter-spacing: .02em; }
.footer-col-contact h4 { margin-bottom: .35rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-list li { font-size: .82rem; line-height: 1.35; }
.footer-list a { color: rgba(255,255,255,.78); transition: color .2s ease; text-decoration: none; }
.footer-list a:hover { color: #fff; }
.footer-contact-list { margin-top: .85rem; gap: .55rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .45rem; color: rgba(255,255,255,.78); font-size: .8rem; line-height: 1.4; word-break: break-word; }
.footer-contact-list .fci { flex-shrink: 0; line-height: 1.3; }

.footer-col-brand { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.footer-brand-logo { display: inline-block; }
.footer-brand-logo img { max-width: 90px; height: auto; display: block; filter: brightness(0) invert(1); opacity: .92; }
.footer-cert-thumb {
  display: inline-block; padding: .35rem; background: #fff; border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.footer-cert-thumb:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.footer-cert-thumb img { display: block; max-width: 110px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.footer-cert-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.footer-cert-item {
  display: inline-block; padding: .35rem; background: #fff; border-radius: 6px;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.footer-cert-item:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.footer-cert-item img { display: block; max-width: 110px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.footer-cert-item-health img { max-height: 70px; max-width: 90px; }
.footer-cert-caption {
  font-size: .72rem;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
  max-width: 200px;
  margin-top: -.15rem;
}
.footer-cert-caption .footer-cert-no {
  display: inline-block;
  margin-top: .15rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .3px;
}
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.65); margin: .25rem 0 0; line-height: 1.45; max-width: 260px; }

.footer-cert-note {
  margin-top: 2rem; padding: .65rem 1rem;
  font-size: .72rem; color: rgba(255,255,255,.55); text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
  letter-spacing: .02em;
}

.footer-bottom {
  margin-top: .5rem; padding-top: 1rem;
  border-top: 1px solid var(--gray-800);
  font-size: .8rem; color: var(--gray-400);
  text-align: center;
}
.footer-bottom-copy { display: block; }
.footer-credit { opacity: .85; }
.footer-credit a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-credit a:hover { color: var(--primary); text-decoration: underline; }

.footer-col-legal .footer-legal-link { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s ease; display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.footer-col-legal .footer-legal-link:hover { color: #fff; }
.footer-col-legal .footer-legal-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: #2563eb; color: #fff;
  font-size: .62rem; font-weight: 700; flex-shrink: 0;
}

.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .25rem; }
.footer-social:empty { display: none; margin: 0; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--gray-800); color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }

/* Cert popup modal */
.cert-popup { position: fixed; inset: 0; z-index: 9998; display: none; align-items: center; justify-content: center; padding: 1rem; }
.cert-popup.is-open { display: flex; }
.cert-popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); cursor: pointer; }
.cert-popup-inner { position: relative; max-width: 92vw; max-height: 92vh; }
.cert-popup-inner img { display: block; max-width: 92vw; max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.6); background: #fff; }
.cert-popup-close {
  position: absolute; top: -42px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; border: none;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.cert-popup-close:hover { background: rgba(255,255,255,.3); }

/* ---------- 8. Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select,
.lang-input {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus, .lang-input:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ---------- 9. Generic cards & home sections ---------- */
.home-treatments, .home-doctors-v2, .home-partners-v2, .home-stats, .home-blog,
.home-gallery, .home-testimonials, .home-videos, .home-instagram, .home-hotels, .home-ba, .home-brands {
  padding: 3.5rem 0;
}

/* Instagram bölümü — etkileyici sıcak zemin + dekoratif glow */
.home-instagram {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(194,142,122,.20), transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(0,70,80,.15), transparent 46%),
    linear-gradient(180deg, #faf4ee 0%, #f2e7dc 100%);
}
.home-instagram::before {
  content: ""; position: absolute; right: -70px; top: -50px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,70,80,.16), transparent 70%);
  filter: blur(34px); pointer-events: none;
}
.home-instagram .container { position: relative; z-index: 1; }

/* Implant Brands - Marquee */
.home-brands {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(194,142,122,.14), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(0,70,80,.12), transparent 45%),
    linear-gradient(180deg, #f7f1ea 0%, #efe6da 100%);
}
.home-brands .section-head { margin-bottom: 2rem; }
.brands-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.brands-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: brandsScroll 35s linear infinite;
  align-items: center;
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
@keyframes brandsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  min-width: 180px;
  padding: 0 1.5rem;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: 10px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-color: var(--primary, #c9967b);
}
.brand-item img {
  max-height: 60px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter .25s ease;
}
.brand-item:hover img { filter: grayscale(0%); }
.brand-text { text-align: center; line-height: 1.2; }
.brand-text .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900, #111);
  letter-spacing: .5px;
}
.brand-text .brand-country {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary, #c9967b);
  margin-top: .25rem;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
}

/* Stats */
.home-stats { background: var(--primary); color: var(--white); }
.home-stats-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr); text-align: center;
}
@media (min-width: 768px) { .home-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.home-stat-val { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; margin-bottom: .35rem; color: var(--white); }
.home-stat-lbl { font-size: .9rem; opacity: .9; }

/* Treatments cards */
.home-treatments-cta { text-align: center; margin-top: 2rem; }
.tx-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .tx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tx-grid { grid-template-columns: repeat(3, 1fr); } }
.tx-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.tx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.tx-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--gray-100); overflow: hidden; }
.tx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tx-card:hover .tx-card-media img { transform: scale(1.05); }
.tx-card-badge { position: absolute; top: .75rem; left: .75rem; background: var(--primary); color: var(--white); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--radius-full); }
.tx-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.tx-card-title { font-size: 1.125rem; margin-bottom: .35rem; }
.tx-card-sub { color: var(--muted); font-size: .9rem; margin: 0 0 .75rem; flex: 1; }
.tx-card-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.tx-card-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; color: var(--primary); font-size: .9rem;
}
.tx-card-cta:hover { gap: .55rem; }

/* Photo treatment grid (home) — 2 cols mobile, 3 cols tablet+ (3×2 with 6 cats) */
.home-tx-photo-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .home-tx-photo-grid { grid-template-columns: repeat(3, 1fr); } }
/* Mobilde 2 sütun → tek satıra düşen 9. kartı gizle (4×2=8 düzenli görünür) */
@media (max-width: 767px) {
  .home-tx-photo-grid > .home-tx-photo-card:nth-child(n+9) { display: none; }
}
.home-tx-photo-card {
  position: relative; aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gray-100);
  display: flex; align-items: flex-end;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.home-tx-photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.home-tx-photo-card img,
.home-tx-photo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-tx-photo-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); font-size: 2rem; }
.home-tx-photo-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,70,80,.66) 0%, rgba(0,52,59,.56) 50%, rgba(0,42,48,.88) 100%);
  padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center;
  transition: background var(--transition);
}
.home-tx-photo-card:hover .home-tx-photo-overlay { background: linear-gradient(180deg, rgba(0,70,80,.78) 0%, rgba(0,52,59,.68) 50%, rgba(0,42,48,.94) 100%); }
.home-tx-photo-ico {
  display: inline-flex; width: 62px; height: 62px; align-items: center; justify-content: center;
  background: transparent; border: 2px solid rgba(255,255,255,.85); border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.home-tx-photo-card:hover .home-tx-photo-ico { transform: scale(1.06); background: rgba(255,255,255,.14); border-color: #fff; }
.home-tx-photo-ico svg { width: 30px; height: 30px; }
.home-tx-photo-lbl {
  font-family: var(--font-serif, inherit);
  font-weight: 600; font-size: 1.2rem; line-height: 1.2; padding: 0 .4rem;
  letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
@media (max-width: 767px) { .home-tx-photo-ico { width: 50px; height: 50px; } .home-tx-photo-ico svg { width: 25px; height: 25px; } .home-tx-photo-lbl { font-size: 1rem; } }
.home-tx-photo-arrow { display: none; }

/* Tedavi bölümü başlığı — şık eyebrow pill + copper alt çizgi */
.home-treatments .section-eyebrow {
  background: rgba(194,142,122,.14); color: #9c6b54;
  padding: .42rem 1.05rem; border-radius: var(--radius-full); margin-bottom: 1rem;
}
.home-treatments .section-title { font-size: clamp(2rem, 4.6vw, 2.9rem); margin-bottom: 0; }
.home-treatments .section-title::after {
  content: ""; display: block; width: 58px; height: 3px; background: var(--accent); border-radius: 3px; margin: 1rem auto 0;
}

/* Doctors — 3 columns x 2 rows */
.dr-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .dr-grid { gap: 1.25rem; grid-template-columns: repeat(2, 1fr); } }
/* Masaüstü: 4 hekim tek satırda (başhekim ayrı geniş kartta olduğu için kalan tam 4 → 4 sütun). */
@media (min-width: 960px) { .dr-grid { grid-template-columns: repeat(4, 1fr); } }
.dr-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.dr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dr-photo-wrap {
  position: relative; width: 100%; background: var(--gray-100); overflow: hidden; aspect-ratio: 3 / 4;
}
.dr-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.dr-photo-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-50), var(--primary-100)); color: var(--primary); font-size: 2rem; font-weight: 700; width: 100%; height: 100%; }
@media (max-width: 640px) { .dr-photo-wrap { height: auto; } }
.dr-body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.dr-name { font-size: 1.0625rem; font-weight: 700; margin-bottom: .15rem; line-height: 1.25; }
.dr-spec { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.dr-desc { display: block; color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.45; }

/* Single-doctor (founder) layout: image left, content right */
.dr-grid:has(> .dr-card:only-child) {
  grid-template-columns: 1fr; max-width: 1080px; margin: 0 auto;
}
.dr-grid:has(> .dr-card:only-child) .dr-card {
  flex-direction: row; align-items: stretch; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.dr-grid:has(> .dr-card:only-child) .dr-photo-wrap {
  flex: 0 0 42%; height: auto; min-height: 420px; max-width: 42%;
}
.dr-grid:has(> .dr-card:only-child) .dr-photo-wrap img { object-position: center top; }
.dr-grid:has(> .dr-card:only-child) .dr-body {
  flex: 1; padding: 2.25rem 2.5rem; gap: .5rem; justify-content: center;
}
.dr-grid:has(> .dr-card:only-child) .dr-name { font-size: 1.75rem; margin-bottom: .25rem; }
.dr-grid:has(> .dr-card:only-child) .dr-spec { font-size: .95rem; margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.dr-grid:has(> .dr-card:only-child) .dr-desc { font-size: 1rem; line-height: 1.7; white-space: pre-line; color: var(--gray-700); }
@media (max-width: 860px) {
  .dr-grid:has(> .dr-card:only-child) .dr-card { flex-direction: column; }
  .dr-grid:has(> .dr-card:only-child) .dr-photo-wrap { flex: 0 0 auto; max-width: 100%; min-height: 320px; }
  .dr-grid:has(> .dr-card:only-child) .dr-body { padding: 1.5rem 1.25rem; }
  .dr-grid:has(> .dr-card:only-child) .dr-name { font-size: 1.4rem; }
}

/* Hospital/partner cards (h-) */
.hp-grid, .home-partner-cards {
  display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .hp-grid, .home-partner-cards { gap: 1.25rem; grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .hp-grid, .home-partner-cards { grid-template-columns: repeat(3, 1fr); } }

/* Reduce columns when fewer cards exist so the grid feels balanced */
@media (min-width: 640px) {
  .home-partner-cards:has(> .home-partner-card:nth-child(2):last-child),
  .hp-grid:has(> .hp-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
  }
  .home-partner-cards:has(> .home-partner-card:only-child),
  .hp-grid:has(> .hp-card:only-child) {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
  }
}
.hp-card, .home-partner-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hp-card:hover, .home-partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hp-media, .home-partner-card-logo { aspect-ratio: 4 / 3; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.hp-media img, .home-partner-card-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hp-body, .home-partner-card-link { padding: .65rem .7rem .8rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.hp-icon, .home-partner-card-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .35rem; }
.hp-name, .home-partner-card-name { font-size: .9rem; font-weight: 700; margin: 0; line-height: 1.25; }
.hp-city, .home-partner-card-city { font-size: .72rem; color: var(--primary); font-weight: 600; }
.hp-desc, .home-partner-card-desc { display: none; color: var(--muted); font-size: .82rem; margin: 0; }
.hp-link { color: var(--primary); font-weight: 600; font-size: .8rem; margin-top: auto; }
@media (min-width: 640px) {
  .hp-body, .home-partner-card-link { padding: 1.1rem 1.2rem 1.25rem; gap: .35rem; }
  .hp-icon, .home-partner-card-icon { width: 44px; height: 44px; }
  .hp-name, .home-partner-card-name { font-size: 1.0625rem; }
  .hp-city, .home-partner-card-city { font-size: .85rem; }
  .hp-desc, .home-partner-card-desc { display: block; font-size: .9rem; }
  .hp-link { font-size: .9rem; }
}

.hotel-photo, .media-thumb, .video-thumb {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--gray-100);
}

/* Testimonials */
.ts-grid, .ts-grid-compact {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ts-grid { grid-template-columns: repeat(2, 1fr); } .ts-grid-compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ts-grid { grid-template-columns: repeat(3, 1fr); } .ts-grid-compact { grid-template-columns: repeat(4, 1fr); } }
.ts-card, .testimonial {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .85rem;
  position: relative;
}
.ts-card-compact { padding: 1.25rem; }
.testimonial-stars, .ts-stars { color: #f59e0b; letter-spacing: .1em; font-size: .95rem; }
.testimonial-text { color: var(--gray-700); font-size: .95rem; line-height: 1.6; margin: 0; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testimonial-avatar-fallback { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--primary-50); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-country { color: var(--muted); font-size: .8rem; }

.ts-c-media { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: .85rem; background: var(--gray-100); }
.ts-c-media img { width: 100%; height: 100%; object-fit: cover; }
.ts-c-media-icon, .ts-c-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); color: var(--white); }
.ts-c-svg { width: 48px; height: 48px; }
.ts-c-quote { color: var(--gray-700); font-size: .92rem; margin: 0 0 .75rem; }
.ts-c-foot { display: flex; align-items: center; gap: .5rem; }
.ts-c-name { font-weight: 700; font-size: .85rem; }
.ts-c-country, .ts-c-tx { color: var(--muted); font-size: .75rem; }
.ts-c-video-btn { background: var(--primary); color: var(--white); padding: .5rem .9rem; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 600; }

/* Blog */
.bl-toolbar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.bl-search { flex: 1; min-width: 200px; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.bl-count { font-size: .85rem; color: var(--muted); }
.bl-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .bl-grid { grid-template-columns: repeat(3, 1fr); } }
.bl-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.bl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bl-card-media { aspect-ratio: 16 / 10; background: var(--gray-100); }
.bl-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bl-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.bl-meta { display: flex; gap: .75rem; align-items: center; font-size: .78rem; color: var(--muted); }
.bl-dot { width: 4px; height: 4px; border-radius: var(--radius-full); background: var(--gray-400); }
.bl-readmore { color: var(--primary); font-weight: 600; font-size: .9rem; margin-top: auto; }
.bl-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Blog post */
.bp-hero { position: relative; min-height: 200px; color: var(--white); background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.bp-hero-inner { position: relative; z-index: 2; padding: 3rem 0 2rem; }
.bp-title { color: var(--white); }
.bp-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; opacity: .9; }
.bp-meta-item { display: inline-flex; align-items: center; gap: .35rem; }
.bp-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); margin: 1.5rem 0; }
.bp-layout {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 960px) { .bp-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.bp-article { font-size: 1.0625rem; line-height: 1.75; color: var(--gray-800); }
.bp-article h2, .bp-article h3 { margin-top: 2rem; }
.bp-article img { border-radius: var(--radius); margin: 1rem 0; }
.bp-lead { font-size: 1.125rem; color: var(--gray-700); }
.bp-section { margin-top: 1.5rem; }
.bp-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.bp-cta-card { background: var(--primary-50); border: 1px solid var(--primary-200); border-radius: var(--radius-lg); padding: 1.25rem; }
.bp-cta-icon { width: 44px; height: 44px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.bp-cta-btn { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; }
.bp-share { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.bp-share-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.bp-share-btn { width: 38px; height: 38px; border-radius: var(--radius-full); background: var(--gray-100); display: inline-flex; align-items: center; justify-content: center; color: var(--gray-700); transition: background var(--transition), color var(--transition); }
.bp-share-btn:hover { background: var(--primary); color: var(--white); }
.bp-body { font-size: 1.0625rem; line-height: 1.75; }

/* Treatment category page */
.cat-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); padding: 3rem 0;
}
.cat-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cat-hero-crumb { font-size: .85rem; opacity: .9; }
.cat-hero-crumb a { color: var(--white); text-decoration: underline; }
.cat-hero-ico { width: 64px; height: 64px; background: rgba(255,255,255,.2); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; }
.cat-hero-ico svg { width: 36px; height: 36px; stroke: var(--white); }
.cat-hero h1 { color: var(--white); margin: 0; }
.cat-hero-count { background: rgba(255,255,255,.2); padding: .35rem .75rem; border-radius: var(--radius-full); font-size: .85rem; font-weight: 600; }

.cat-subnav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h); z-index: 50; }
.cat-subnav-inner {
  display: flex; gap: .5rem; overflow-x: auto;
  padding: .85rem 0; scrollbar-width: none;
}
.cat-subnav-inner::-webkit-scrollbar { display: none; }
.cat-subnav-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  flex-shrink: 0; padding: .55rem .85rem;
  background: var(--gray-100); color: var(--gray-700);
  border-radius: var(--radius-full); font-size: .85rem; font-weight: 600;
  white-space: nowrap; transition: background var(--transition), color var(--transition);
}
.cat-subnav-chip:hover { background: var(--primary-50); color: var(--primary-dark); }
.cat-subnav-badge { background: var(--gray-200); padding: .15rem .45rem; border-radius: var(--radius-full); font-size: .7rem; }

.cat-sub { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.cat-sub:last-child { border-bottom: 0; }
.cat-sub-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.cat-sub-head-ico { width: 44px; height: 44px; background: var(--primary-50); color: var(--primary); border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; }

.tx-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .75rem; background: var(--gray-100);
  border-radius: var(--radius-full); font-size: .8rem; color: var(--gray-700);
}

.tx-category-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.tx-category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tx-category-body { padding: 1.25rem; }

/* Treatment detail */
.tx-detail-hero { background: linear-gradient(135deg, var(--primary-50), var(--primary-100)); padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.tx-detail-main { padding: 2.5rem 0; }
.tx-info-card { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.tx-faq { display: flex; flex-direction: column; gap: .75rem; }
.tx-faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.tx-faq-item summary { cursor: pointer; font-weight: 600; }

/* Gallery */
.gl-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gl-grid { grid-template-columns: repeat(4, 1fr); } }
.gl-item {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--gray-100);
}
.gl-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s; }
.gl-item:hover img { transform: scale(1.05); }
.gl-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background var(--transition); color: var(--white); }
.gl-item:hover .gl-overlay { background: rgba(0,0,0,.4); }
.gl-zoom { font-size: 1.5rem; opacity: 0; transition: opacity var(--transition); }
.gl-item:hover .gl-zoom { opacity: 1; }
.gl-play-badge, .ba-play, .play-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: rgba(0,0,0,.6); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

/* Lightbox */
.gl-lb {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
/* JS 'is-open' ekliyor, CSS 'is-on' bekliyordu → galeri lightbox'ı açılmıyordu. İkisi de kabul edilir. */
.gl-lb.is-on, .gl-lb.is-open { opacity: 1; visibility: visible; }
.gl-lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem; position: relative; }
.gl-lb-stage img, .gl-lb-stage video { max-width: 100%; max-height: 100%; border-radius: var(--radius); }
.gl-lb-close, .gl-lb-prev, .gl-lb-next {
  position: absolute; width: 48px; height: 48px;
  border-radius: var(--radius-full); background: rgba(255,255,255,.15); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem;
  transition: background var(--transition);
}
.gl-lb-close:hover, .gl-lb-prev:hover, .gl-lb-next:hover { background: rgba(255,255,255,.3); }
.gl-lb-close { top: 1rem; right: 1rem; }
.gl-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gl-lb-prev { left: 1rem; }
.gl-lb-next { right: 1rem; }
.gl-lb-foot { padding: 1rem; color: var(--white); display: flex; justify-content: space-between; align-items: center; }
.gl-lb-cap { font-size: .9rem; opacity: .9; }
.gl-lb-counter { font-size: .85rem; opacity: .7; }

/* Before/after grid */
.home-ba .ba-video, .ba-video { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; position: relative; }
.ba-video video { width: 100%; height: 100%; object-fit: cover; }

/* Home gallery / videos / instagram */
.home-gallery-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .home-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.home-gallery-item {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--gray-100);
}
/* Instagram: 3 columns x 3 rows, 9:16 cover */
.home-ig-grid {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(3, 1fr); /* mobil: 3 sütun (Instagram) */
}
@media (min-width: 768px) { .home-ig-grid { grid-template-columns: repeat(4, 1fr); gap: .65rem; } }
@media (min-width: 1024px) { .home-ig-grid { grid-template-columns: repeat(5, 1fr); gap: .75rem; } } /* masaüstü: 5 sütun */
.home-ig-item {
  position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--gray-100); /* 1080x1350 dikey */
}
.home-ig-placeholder { display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #FED576 0%, #F47133 26%, #BC3081 61%, #4C63D2 100%); }
.home-videos-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .home-videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .home-videos-grid { grid-template-columns: repeat(3, 1fr); } }
.home-video-card {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); display: block;
  border: 0; padding: 0; margin: 0; cursor: pointer; width: 100%; font: inherit; color: inherit; text-align: left;
}

/* Video popup modal */
.video-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.video-modal.open { display: block; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); cursor: pointer; }
.video-modal-dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: auto; max-width: 96vw; max-height: 92vh;
  background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.video-modal-close {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.6); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.video-modal-close:hover { background: rgba(255,255,255,.2); }
.video-modal-body { background: #000; display: flex; align-items: center; justify-content: center; }
.video-modal-body video { max-width: 96vw; max-height: 88vh; width: auto; height: auto; display: block; border: 0; }
.video-modal-body iframe { width: min(94vw, 1100px); aspect-ratio: 16 / 9; height: auto; display: block; border: 0; }
.home-ig-item {
  position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--gray-100);
}
.home-gallery-item img, .home-video-card img, .home-ig-item img,
.home-video-placeholder, .home-ig-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); color: #fff; font-size: 1.75rem; }
.home-video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: .65rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); color: #fff; font-size: .82rem; font-weight: 600; }
.home-ig-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0); color: var(--white); transition: background var(--transition); }
.home-ig-item:hover .home-ig-overlay { background: rgba(0,0,0,.45); }
.home-ig-heart { font-size: 1.5rem; opacity: 0; transition: opacity var(--transition); }
.home-ig-item:hover .home-ig-heart { opacity: 1; }
.home-ig-video-badge { position: absolute; top: .5rem; right: .5rem; background: rgba(0,0,0,.6); color: #fff; padding: .15rem .4rem; border-radius: var(--radius-sm); font-size: .7rem; }
.home-ig-placeholder { background: linear-gradient(135deg, var(--gray-200), var(--gray-300)); }
.ig-username-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 600; color: var(--primary); }

/* Home blog */
.home-blog-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .home-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 960px) { .home-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.home-blog-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.home-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.home-blog-img { aspect-ratio: 16 / 10; background: var(--gray-100); overflow: hidden; }
.home-blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-blog-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.home-blog-date { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.home-blog-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0; color: var(--text); }
.home-blog-excerpt { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-blog-cta { color: var(--primary); font-weight: 600; font-size: .85rem; margin-top: auto; padding-top: .25rem; }
@media (min-width: 640px) {
  .home-blog-title { font-size: 1.0625rem; }
}

/* About v4 */
.ab4-hero { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 4rem 0; }
.ab4-hero-inner { max-width: 760px; }
.ab4-eyebrow, .ab4-hero-sub { display: inline-block; padding: .35rem .85rem; background: rgba(255,255,255,.2); border-radius: var(--radius-full); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.ab4-hero-title { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.ab4-crumb { font-size: .85rem; opacity: .9; margin-bottom: 1rem; }
.ab4-section { padding: 3.5rem 0; }
.ab4-bg { background: var(--gray-50); }
.ab4-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.ab4-head-sub { color: var(--muted); font-size: 1.0625rem; }
.ab4-stats-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .ab4-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.ab4-stat { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.ab4-stat-val { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: .35rem; }
.ab4-stat-lbl { font-size: .85rem; color: var(--muted); }

.ab4-grid-4 {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ab4-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ab4-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.ab4-card, .ab4-card-sm {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem;
}
.ab4-num, .ab4-num-filled {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.ab4-num { background: var(--primary-50); color: var(--primary); border: 2px solid var(--primary); }
.ab4-num-filled { background: var(--primary); color: var(--white); }

.ab4-mv-grid, .ab4-story-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) { .ab4-mv-grid, .ab4-story-grid { grid-template-columns: repeat(2, 1fr); } }
.ab4-story-media img { border-radius: var(--radius-lg); }
.ab4-checklist { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: .5rem; }
.ab4-check { display: flex; align-items: center; gap: .5rem; }
.ab4-check::before { content: "✓"; color: var(--primary); font-weight: 800; }
.ab4-tag { display: inline-block; padding: .25rem .65rem; background: var(--primary-50); color: var(--primary-dark); border-radius: var(--radius-full); font-size: .75rem; font-weight: 600; margin-bottom: .5rem; }
.ab4-cta { background: var(--primary); color: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; text-align: center; }
.ab4-cta-eyebrow { display: inline-block; padding: .25rem .7rem; background: rgba(255,255,255,.2); border-radius: var(--radius-full); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .75rem; }
.ab4-cta h2 { color: var(--white); }
.ab4-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.ab4-cta-wrap { padding: 3rem 0; }

/* Contact / WhatsApp form */
.wa-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  overflow: hidden;
}
.wa-form-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1.25rem 1.5rem 1.4rem;
  text-align: left;
  margin: 0;
}
.wa-form-head h2, .wa-form-head h3 {
  color: var(--white);
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex; align-items: center; gap: .55rem;
}
.wa-form-head h3 svg, .wa-form-head h2 svg {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 5px;
  flex-shrink: 0;
  margin: 0 !important;
  vertical-align: middle !important;
}
.wa-form-head p { color: rgba(255,255,255,.9); margin: 0; font-size: .85rem; line-height: 1.35; }
.wa-form-body { display: flex; flex-direction: column; gap: .9rem; padding: 1.25rem 1.5rem 1.5rem; }
.wa-form-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
.wa-form-grid2 { display: contents; }
/* Hero formu (anasayfa): tedavi+dil masaüstünde de yan yana → daha kısa form */
.hero-c-form .wa-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.hero-c-form .wa-form-field { min-width: 0; }
.hero-c-form .wa-form-field input, .hero-c-form .wa-form-field select { min-width: 0; max-width: 100%; }
@media (min-width: 640px) { .wa-form-grid { grid-template-columns: repeat(2, 1fr); } }
.wa-form-field { display: flex; flex-direction: column; gap: .3rem; }
.wa-form-field label {
  font-size: .72rem; font-weight: 700; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: .05em;
}
.wa-form-field input, .wa-form-field textarea, .wa-form-field select {
  padding: .7rem .85rem; border: 1.5px solid var(--border); border-radius: 8px; background: #f8fafc; font-size: .95rem;
  color: #111827;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.wa-form-field select option { color: #111827; background: #fff; }
/* Mobilde form daha kompakt (yalnız mobil; masaüstü değişmez) + iOS zoom engeli (input >= 16px) */
@media (max-width: 640px) {
  .wa-form-field input, .wa-form-field select, .wa-form-field textarea { font-size: 16px; padding: .6rem .75rem; }
  /* Hero formu mobilde: isim+telefon ve tedavi+dil yan yana (daha kompakt) */
  .hero-c-form .wa-form-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hero-c-form .wa-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hero-c-form .wa-form-grid .wa-form-field, .hero-c-form .wa-form-grid2 .wa-form-field { min-width: 0; }
  .hero-c-form .wa-form-field input, .hero-c-form .wa-form-field select { min-width: 0; max-width: 100%; }
  .hero-c-form .wa-form-field label { font-size: .68rem; }
  .wa-form-head { padding: .8rem 1.05rem .9rem; }
  .wa-form-head h2, .wa-form-head h3 { font-size: 1rem; gap: .45rem; }
  .wa-form-head h3 svg, .wa-form-head h2 svg { width: 24px; height: 24px; padding: 4px; }
  .wa-form-head p { font-size: .76rem; line-height: 1.3; }
  .wa-form-body { padding: .95rem 1.05rem 1.05rem; gap: .55rem; }
  .wa-form .wa-form-actions { flex-direction: row; gap: .5rem; }
  .wa-form .wa-form-actions .wa-btn { width: auto; flex: 1 1 0; min-width: 0; padding: .68rem .5rem; font-size: .88rem; white-space: nowrap; }
  .wa-form .wa-form-actions .wa-btn-primary { flex: 1.5 1 0; }
  .wa-form .wa-form-actions .wa-btn svg { width: 16px; height: 16px; }
}
.wa-form-field input:hover, .wa-form-field textarea:hover, .wa-form-field select:hover { background: var(--white); }
.wa-form-field input:focus, .wa-form-field textarea:focus, .wa-form-field select:focus {
  outline: 0; border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .18);
}
.wa-form-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: .25rem; }
.wa-btn {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.25rem; border-radius: 10px; font-weight: 700; font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.wa-btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 6px 14px rgba(var(--primary-rgb), .32); }
.wa-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.wa-btn-outline { background: var(--white); color: var(--primary); border: 1.5px solid var(--primary-200); font-weight: 600; }
.wa-btn-outline:hover { background: var(--primary-50); border-color: var(--primary); color: var(--primary-dark); }
.wa-form-trust { text-align: center; font-size: .75rem; color: var(--muted); display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; padding-top: .25rem; }
.wa-form-trust span { display: inline-flex; align-items: center; gap: .25rem; }

/* Contact agents */
.contact-agents-section { background: linear-gradient(180deg, var(--gray-50), var(--white)); padding: 3rem 0; }
.contact-agents-head { text-align: center; margin-bottom: 2rem; display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.contact-agents-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; background: var(--wa-green); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; letter-spacing: .08em; box-shadow: 0 2px 8px rgba(37,211,102,.3); }
.contact-agents-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.contact-agents-head h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 0; }

.contact-agents-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .contact-agents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-agents-grid { grid-template-columns: repeat(3, 1fr); } }
/* Masaüstü 3 sütunda son satırda TEK kalan temsilciyi gizle (çirkin durmasın). Sadece tek kalırsa gizler. */
@media (min-width: 960px) { .contact-agents-grid .contact-agent-card:last-child:nth-child(3n+1) { display: none; } }

.contact-agent-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: .25rem 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1rem 1rem 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.contact-agent-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--wa-green), var(--wa-green-dark));
}
.contact-agent-card:hover {
  transform: translateY(-2px);
  border-color: var(--wa-green);
  box-shadow: 0 8px 24px rgba(37,211,102,.18);
}

.contact-agent-card .agent-avatar {
  position: relative;
  grid-row: 1 / span 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: visible;
  background: var(--gray-100);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-agent-card .agent-avatar img,
.contact-agent-card .agent-avatar-initials {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.25rem;
}
.contact-agent-card .agent-wa-badge {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  border: 2px solid var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

.contact-agent-card .agent-info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.contact-agent-card .agent-name {
  font-weight: 700; font-size: 1rem; color: var(--gray-900);
  line-height: 1.25;
  word-break: break-word;
}
.contact-agent-card .agent-role {
  color: var(--gray-500); font-size: .8rem; line-height: 1.3;
}
.contact-agent-card .agent-langs {
  display: flex; flex-wrap: wrap; gap: .25rem;
  margin-top: .35rem;
}
.contact-agent-card .agent-lang-badge {
  display: inline-flex; align-items: center;
  gap: .3rem;
  padding: .12rem .42rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.contact-agent-card .agent-lang-badge .flag-img {
  width: 16px; height: 12px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

.contact-agent-card .agent-cta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  padding: .6rem 1rem;
  margin-top: .85rem;
  background: var(--wa-green);
  color: #fff;
  border-radius: 10px;
  font-weight: 600; font-size: .88rem;
  transition: background .2s ease;
}
.contact-agent-card .agent-cta:hover { background: var(--wa-green-dark); }
.contact-agent-card .agent-cta svg { flex-shrink: 0; }

/* ---------- 10. WhatsApp floating + agents sheet ---------- */
.whatsapp-float {
  position: fixed; right: 1rem; bottom: calc(1rem + var(--bottom-nav-h, 0px));
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--wa-green); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 80;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (min-width: 768px) { .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 64px; height: 64px; } }

.wa-agents-mini {
  position: fixed; right: 1rem; bottom: calc(1rem + var(--bottom-nav-h, 0px));
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--wa-green); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 80;
  transition: transform var(--transition);
}
.wa-agents-mini:hover { transform: scale(1.08); }
@media (min-width: 768px) { .wa-agents-mini { bottom: 1.25rem; right: 1.25rem; width: 64px; height: 64px; } }

/* Closed state shows a real representative photo (not a WhatsApp icon) */
.wa-agents-mini-photo {
  background: var(--white); padding: 0; overflow: visible;
  border: 2px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.wa-agents-mini-photo::after {
  content: ""; position: absolute; inset: -6px; border-radius: var(--radius-full);
  border: 2px solid var(--wa-green); opacity: .55;
  animation: waMiniPulse 2s ease-out infinite;
}
@keyframes waMiniPulse { 0% { transform: scale(.85); opacity: .55; } 100% { transform: scale(1.25); opacity: 0; } }
.wa-agents-mini-photo img {
  width: 100%; height: 100%; border-radius: var(--radius-full); object-fit: cover;
  position: relative; z-index: 1;
}
.wa-mini-badge {
  position: absolute; right: -3px; bottom: -3px; z-index: 2;
  width: 24px; height: 24px; border-radius: var(--radius-full);
  background: var(--wa-green); border: 2px solid var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .wa-mini-badge { width: 26px; height: 26px; } }
.wa-mini-online {
  position: absolute; right: 2px; top: 2px; z-index: 2;
  width: 13px; height: 13px; border-radius: var(--radius-full);
  background: #22c55e; border: 2px solid var(--white);
}

.wa-agents-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 9000; opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.wa-agents-backdrop.is-on { opacity: 1; visibility: visible; }
/* Mobile: no dimming — the page stays visible behind the non-modal sheet */
@media (max-width: 767px) { .wa-agents-backdrop { display: none !important; } }

.wa-agents-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 9001;
  max-height: min(44vh, 335px);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -10px 40px rgba(0,0,0,.18);
}
.wa-agents-sheet.is-on { transform: translateY(0); }
@media (min-width: 768px) {
  .wa-agents-sheet {
    left: auto; right: 1.25rem; bottom: 1.25rem;
    width: 480px; max-width: calc(100vw - 2.5rem);
    max-height: min(640px, calc(100vh - 2.5rem));
    border-radius: var(--radius-xl);
    transform: translateY(20px) scale(.96);
    opacity: 0; visibility: hidden;
    transition: transform .28s, opacity .28s, visibility .28s;
  }
  .wa-agents-sheet.is-on { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
  /* Single agent: keep panel narrow */
  .wa-agents-sheet:has(.wa-agents-list.wa-count-1) { width: 360px; }
}

.wa-agents-header {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
  color: var(--white);
  padding: .7rem .9rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex; align-items: flex-start; gap: .65rem;
  position: sticky; top: 0; z-index: 2;
}
@media (min-width: 768px) { .wa-agents-header { padding: 1rem 1.1rem; } }
.wa-agents-header-inner { display: flex; gap: .7rem; align-items: center; flex: 1 1 auto; min-width: 0; }
.wa-agents-header-inner > div:last-child { flex: 1 1 auto; min-width: 0; }
.wa-agents-logo {
  position: relative; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
}
@media (min-width: 768px) { .wa-agents-logo { width: 42px; height: 42px; } }
.wa-agents-logo-badge {
  position: absolute; right: -2px; bottom: -2px;
  width: 22px; height: 22px; border-radius: var(--radius-full);
  background: var(--white); color: var(--wa-green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--wa-green);
}
.wa-agents-header h3 { color: var(--white); margin: 0 0 .1rem; font-size: .9rem; line-height: 1.2; word-break: normal; overflow-wrap: break-word; }
.wa-agents-header p { color: rgba(255,255,255,.85); margin: 0; font-size: .72rem; line-height: 1.25; word-break: normal; overflow-wrap: break-word; }
@media (min-width: 768px) {
  .wa-agents-header h3 { font-size: 1rem; margin-bottom: .15rem; }
  .wa-agents-header p { font-size: .78rem; }
}
.wa-agents-close {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.18); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.wa-agents-close:hover { background: rgba(255,255,255,.3); }

.wa-agents-counter {
  background: var(--gray-50); padding: .65rem 1.25rem;
  font-size: .82rem; color: var(--gray-700); font-weight: 600;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .35rem;
}
.wa-agents-counter::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--wa-green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* Grid: 1 agent => 1 col; 2+ agents => 2 cols (responsive, never breaks) */
.wa-agents-list {
  padding: .7rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
/* Custom scrollbar (subtle) */
.wa-agents-list::-webkit-scrollbar { width: 6px; }
.wa-agents-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 3px; }
.wa-agents-list::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.32); }
.wa-agents-list.wa-count-1 { grid-template-columns: 1fr; padding: 1rem; }
/* Mobile: 2 columns × 2 rows → 4 agents visible, rest scroll */
.wa-agents-list.wa-count-2,
.wa-agents-list.wa-count-4,
.wa-agents-list.wa-count-5plus { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Card: horizontal — photo left, name + flags stacked on the right */
.wa-agent {
  position: relative;
  display: flex; flex-direction: row; align-items: center; gap: .5rem;
  padding: .5rem .5rem;
  border: 1.5px solid var(--wa-green);
  border-radius: var(--radius);
  background: var(--white); color: inherit;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.wa-agent:hover { background: var(--gray-50); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,.15); }
.wa-agent-preferred { background: linear-gradient(180deg, rgba(37,211,102,.06), transparent); }

.wa-agent-avatar {
  position: relative; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--gray-100); color: var(--gray-500);
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-avatar-female { color: #ec4899; background: #fce7f3; }
.wa-avatar-male { color: #2563eb; background: #dbeafe; }
.wa-agent-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-avatar-icon { width: 36px; height: 36px; }
/* Photo wrapper holds the avatar (clipped circle) + the WhatsApp badge (not clipped) */
.wa-agent-pic { position: relative; flex-shrink: 0; display: inline-flex; }
/* Online dot — hidden on mobile (the WhatsApp corner badge signals availability), shown on desktop */
.wa-agent-online {
  display: none;
  position: absolute; right: 1px; bottom: 1px;
  width: 12px; height: 12px; border-radius: var(--radius-full);
  background: var(--wa-green); border: 2px solid var(--white);
}
/* Small WhatsApp icon on the photo's bottom-right corner */
.wa-agent-wa {
  position: absolute; right: -3px; bottom: -3px; z-index: 2;
  width: 22px; height: 22px; border-radius: var(--radius-full);
  background: var(--wa-green); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(37,211,102,.45);
}
.wa-agent-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .22rem;
}
.wa-agent-name {
  font-weight: 700; font-size: .76rem; color: var(--gray-900);
  line-height: 1.15;
  word-break: break-word;
  max-width: 100%;
}
.wa-agent-role { display: none; }
.wa-agent-langs { display: flex; gap: .18rem; flex-wrap: wrap; justify-content: flex-start; }
.wa-agent-langs .flag-img {
  width: 16px; height: 11px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
/* Right-side green button — desktop only (mobile uses the small badge under the photo) */
.wa-agent-cta {
  display: none;
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--radius-full); background: var(--wa-green); color: var(--white);
  align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(37,211,102,.35);
}
.wa-agent-cta svg { width: 14px !important; height: 14px !important; }

/* Desktop (≥768px): original 2-column panel with the green button on the right */
@media (min-width: 768px) {
  .wa-agents-list.wa-count-2,
  .wa-agents-list.wa-count-4,
  .wa-agents-list.wa-count-5plus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-agent { gap: .7rem; padding: .7rem .8rem; }
  .wa-agent-avatar { width: 52px; height: 52px; }
  .wa-agent-online { display: block; }
  .wa-agent-wa { display: none; }
  .wa-agent-cta { display: inline-flex; }
  .wa-agent-body { gap: .3rem; }
  .wa-agent-name { font-size: .88rem; }
  .wa-agent-langs { gap: .25rem; }
  .wa-agent-langs .flag-img { width: 19px; height: 13px; }
}

/* ---------- 11. Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-around;
  z-index: 70;
  padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
@media (min-width: 1024px) { .bottom-nav { display: none; } }
.bottom-nav-item {
  position: relative;
  flex: 1; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  padding: .3rem .15rem; color: var(--gray-500);
  font-size: .68rem; font-weight: 600;
  transition: color var(--transition);
  min-width: 0;
}
.bottom-nav-item::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent);
  transition: width .22s ease;
}
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active::before { width: 24px; }
.bottom-nav-ico { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.bottom-nav-item.active .bottom-nav-ico { transform: translateY(-1px); }
.bottom-nav-ico svg { width: 22px; height: 22px; }
.bottom-nav-lbl { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1; }

/* When bottom-nav is present, leave space at bottom of page */
@media (max-width: 1023px) {
  body:has(.bottom-nav) { padding-bottom: var(--bottom-nav-h); }
  body:has(.bottom-nav) { --bottom-nav-h: 64px; }
  body { --bottom-nav-h: 0px; }
  body:has(.bottom-nav) { --bottom-nav-h: 64px; }
  .footer { margin-bottom: 0; }
}

/* ---------- 12. RTL support ---------- */
.rtl { direction: rtl; }
.rtl .lang-dropdown { right: auto; left: 0; }
.rtl .gl-lb-prev { left: auto; right: 1rem; }
.rtl .gl-lb-next { right: auto; left: 1rem; }
.rtl .home-tx-photo-arrow { right: auto; left: .85rem; transform: scaleX(-1); }
.rtl .whatsapp-float, .rtl .wa-agents-mini { right: auto; left: 1rem; }
@media (min-width: 768px) {
  .rtl .whatsapp-float, .rtl .wa-agents-mini { left: 1.25rem; right: auto; }
  .rtl .wa-agents-sheet { right: auto; left: 1.25rem; }
}

/* ---------- 13. Utility / safety ---------- */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--primary); color: var(--white); }

img[loading="lazy"] { background: var(--gray-100); }

/* Mobile-specific tightening for header CTA */
@media (max-width: 720px) {
  .header-inner { gap: .55rem; padding-left: .75rem; padding-right: .75rem; min-width: 0; }
  .logo { min-width: 0; }
  .logo-overlay img { height: 70px; max-width: 180px; }
  .header-actions { gap: .35rem; flex-wrap: nowrap; }
  .lang-btn { padding: .4rem .55rem; font-size: .8rem; gap: .35rem; }
  .lang-btn .flag-img, .lang-dropdown a .flag-img { width: 22px; height: 16px; }
  .btn-cta-sub { display: none; }
  .btn-cta-title { font-size: .72rem; }
  .btn-contact-cta { padding: .4rem .55rem; gap: .4rem; border-radius: 10px; }
  .btn-cta-icon { width: 30px; height: 30px; }
  .btn-cta-icon svg { width: 16px; height: 16px; }
}
@media (max-width: 540px) {
  /* Bu noktada CTA metnini tamamen gizle, sadece ikon kalsın — taşma engellenir */
  .btn-cta-text { display: none; }
  .btn-contact-cta { padding: .4rem .55rem; gap: 0; }
  .btn-cta-icon { width: 32px; height: 32px; }
  .btn-cta-icon svg { width: 18px; height: 18px; }
  .lang-btn { padding: .4rem .5rem; font-size: .78rem; }
}
@media (max-width: 480px) {
  .logo-overlay img { height: 62px; max-width: 150px; }
  .mobile-toggle { width: 36px; height: 36px; font-size: 1.25rem; }
}
@media (max-width: 360px) {
  .btn-cta-title { display: none; }
  .btn-contact-cta { padding: .4rem .5rem; gap: 0; }
  .logo-overlay img { height: 56px; max-width: 130px; }
}

/* Yatay kayma güvenliği — küçük ekranlarda hiçbir bileşen viewport dışına taşmasın */
html, body { max-width: 100%; overflow-x: hidden; }

/* Print */
@media print {
  .header, .footer, .bottom-nav, .whatsapp-float, .wa-agents-mini, .wa-agents-sheet, .wa-agents-backdrop { display: none !important; }
}

/* ===== Before/After & Galeri Sekmeleri ===== */
.ba-tabs { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin:0 auto 2rem; }
.ba-tab { display:inline-flex; align-items:center; gap:.5rem; padding:.7rem 1.25rem; border:1.5px solid var(--gray-300); background:var(--white); color:var(--gray-700); font-weight:600; font-size:.95rem; border-radius:999px; cursor:pointer; transition:all var(--transition); }
.ba-tab:hover { border-color:var(--primary); color:var(--primary); }
.ba-tab.is-active { background:var(--primary); border-color:var(--primary); color:var(--white); box-shadow:0 4px 12px rgba(0,0,0,.12); }
.ba-tab-count { display:inline-flex; align-items:center; justify-content:center; min-width:1.5rem; height:1.5rem; padding:0 .4rem; background:rgba(0,0,0,.1); color:inherit; border-radius:999px; font-size:.75rem; font-weight:700; }
.ba-tab.is-active .ba-tab-count { background:rgba(255,255,255,.25); }
.ba-panel { display:none; }
.ba-panel.is-active { display:block; animation: baFade .3s ease; }
@keyframes baFade { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }


/* ============================================================
   12. Mobile Carousel (mobile-carousel.js ile calisir)
   640px altinda: tek sutun + scroll-snap + ok + dot + autoplay
============================================================ */
@media (max-width: 640px) {
  .mc-wrap { position: relative; }
  .mc-track {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    margin: 0;
  }
  .mc-track::-webkit-scrollbar { display: none; }
  .mc-track > * {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }
  .mc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .2s ease;
  }
  .mc-arrow:hover, .mc-arrow:active { background: rgba(0,0,0,.65); }
  .mc-prev { left: 8px; }
  .mc-next { right: 8px; }
  .mc-arrow svg { display: block; }
  .mc-dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: .85rem;
  }
  .mc-dot {
    width: 8px; height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.2);
    padding: 0;
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
  }
  .mc-dot.is-active {
    background: var(--primary, #c9967b);
    width: 22px;
    border-radius: 4px;
  }
  /* Dark sections: white dots */
  .home-doctors-v2 .mc-dot { background: rgba(255,255,255,.25); }
  .home-doctors-v2 .mc-dot.is-active { background: #fff; }

  /* Instagram on mobile: tam 3 satır (3 sütun × 3 = 9) */
  .home-ig-grid > a:nth-child(n+10) { display: none !important; }
}


/* === Gallery filter (ba-tabs) mobile: hepsi sigsin, alt alta sarsin === */
@media (max-width: 640px) {
  .ba-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem;
    padding: 0 .25rem;
    margin: 0 0 1.25rem;
  }
  .ba-tab {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: .4rem .65rem;
    font-size: .72rem;
    gap: .25rem;
    border-width: 1px;
    line-height: 1;
  }
  .ba-tab-count {
    min-width: 1.05rem;
    height: 1.05rem;
    font-size: .62rem;
    padding: 0 .25rem;
  }
}

/* === Contact agent card overrides (legacy, replaced by main rules above) === */
/* Footer cert label always visible */
.footer-cert-label { color: rgba(255,255,255,.95); }


/* === Footer legal links + Modal === */
/* Standalone .footer-legal-links rules moved into .footer-bottom scope above */
.footer-legal-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  cursor: pointer;
  padding: .15rem 0;
  transition: color .2s ease;
  background: none;
  border: none;
}
.footer-legal-link:hover { color: #fff; }

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.legal-modal.is-open { display: flex; }
.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.legal-modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
  animation: legalIn .25s ease-out;
}
@keyframes legalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
  flex-shrink: 0;
}
.legal-modal-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--gray-900, #111827);
  font-weight: 700;
}
.legal-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gray-500, #6b7280);
  cursor: pointer;
  padding: 0 .25rem;
  transition: color .2s;
}
.legal-modal-close:hover { color: var(--gray-900, #111827); }
.legal-modal-body {
  padding: 1.25rem 1.5rem 1.75rem;
  overflow-y: auto;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--gray-700, #374151);
  flex: 1;
}
.legal-modal-body p { margin: 0 0 .85rem; }
.legal-modal-body h2,
.legal-modal-body h3 {
  margin: 1.25rem 0 .6rem;
  color: var(--gray-900, #111827);
  font-weight: 700;
}
.legal-modal-body h2 { font-size: 1.1rem; }
.legal-modal-body h3 { font-size: 1rem; }
.legal-modal-body ul,
.legal-modal-body ol { margin: 0 0 .85rem 1.25rem; padding: 0; }
.legal-modal-body li { margin-bottom: .35rem; }
.legal-modal-body a { color: var(--primary, #c9967b); text-decoration: underline; }

@media (max-width: 640px) {
  .legal-modal { padding: 0; }
  .legal-modal-dialog { max-height: 100vh; height: 100%; border-radius: 0; }
}

/* === Page media gallery (admin-uploaded) === */
.page-media-section { padding: 3rem 0; background: #fafafa; }
.page-media-heading { font-size: 1.6rem; margin: 0 0 1.5rem; text-align: center; color: var(--gray-900, #111); }
.page-media-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.page-media-item { position: relative; display: block; overflow: hidden; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); background: #000; aspect-ratio: 4/3; }
.page-media-item img, .page-media-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.page-media-item:hover img { transform: scale(1.04); }
.page-media-item video { background: #000; }
@media (max-width: 600px) { .page-media-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .65rem; } .page-media-section { padding: 2rem 0; } }

/* ---------- Home stats band (güven rakamları) ---------- */
.home-stats { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 2.75rem 0; }
.home-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.home-stat { position: relative; padding: .5rem 0; }
.home-stat + .home-stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 56%; width: 1px; background: rgba(255,255,255,.22); }
.home-stat-num { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.home-stat-label { margin-top: .55rem; font-size: .95rem; font-weight: 500; opacity: .92; }
@media (max-width: 640px) { .home-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; } .home-stat::before { display: none !important; } }

/* ---------- Sade ortalanmış hero (natural.clinic tarzı) ---------- */
.hero-video { min-height: 82vh; display: flex; align-items: center; }
.hero-video-content.hero-centered { position: relative; z-index: 3; max-width: 880px; margin: 0 auto; width: 100%; min-height: 88vh; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(var(--header-h) + 1.5rem) 1.25rem 3.5rem; }
.hero-c-eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); padding: .42rem 1.05rem; border-radius: 999px; margin-bottom: 1.4rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero-c-title { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.85rem); line-height: 1.07; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.15rem; text-shadow: 0 2px 28px rgba(0,0,0,.28); }
.hero-c-sub { color: rgba(255,255,255,.93); font-size: clamp(1rem, 1.7vw, 1.28rem); line-height: 1.62; max-width: 660px; margin: 0 auto 2.1rem; }
.hero-c-actions { display: flex; gap: .85rem; flex-wrap: wrap; justify-content: center; }
/* C düzeni: split-hero — solda metin+butonlar, sağda form (masaüstü); mobilde alt alta */
.hero-video-content.hero-split { position: relative; z-index: 3; width: 100%; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: center; text-align: left; padding: calc(var(--header-h) + 1.5rem) 1.25rem 2.5rem; min-height: 0; }
.hero-split .hero-c-eyebrow { text-align: left; }
.hero-split .hero-c-sub { margin-left: 0; margin-right: 0; max-width: 540px; }
.hero-split .hero-c-actions { justify-content: flex-start; }
.hero-c-form { width: 100%; max-width: 460px; }
.hero-c-form .wa-form { box-shadow: 0 30px 70px rgba(0,0,0,.4); }
@media (min-width: 900px) { .hero-video-content.hero-split { grid-template-columns: 1.05fr .95fr; gap: 2.5rem; min-height: 90vh; } .hero-c-form { justify-self: end; } }
@media (max-width: 899px) { .hero-c-form { max-width: 100%; margin-top: .4rem; } }
.btn-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .98rem 2.1rem; border-radius: 999px; font-weight: 600; font-size: 1.0625rem; transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.btn-pill-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 24px rgba(var(--accent-rgb), .35); }
.btn-pill-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--accent-rgb), .45); }
.btn-pill-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-pill-ghost:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .hero-video { min-height: 76vh; } .hero-video-content.hero-centered { padding: calc(var(--header-h) + 1.5rem) 1.1rem 2.5rem; } .hero-c-actions { width: 100%; } .btn-pill { flex: 1 1 auto; justify-content: center; } }

/* ---------- Galeri coverflow carousel (natural.clinic ba-slider) ---------- */
.home-cf { position: relative; max-width: 1120px; margin: 1rem auto 0; }
.home-cf-track { position: relative; height: clamp(300px, 42vw, 470px); }
.home-cf-slide { position: absolute; left: 50%; top: 50%; width: clamp(270px, 40vw, 450px); aspect-ratio: 4 / 3; transform: translate(-50%, -50%); transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .55s ease; will-change: transform, opacity; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -18px rgba(0,70,80,.4); cursor: pointer; background: #04343b; }
.home-cf-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-cf-slide.is-active { box-shadow: 0 32px 72px -16px rgba(0,70,80,.55); }
.home-cf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .95rem .85rem; color: #fff; font-size: .92rem; font-weight: 500; background: linear-gradient(transparent, rgba(0,52,59,.9)); opacity: 0; transition: opacity .35s; }
.home-cf-slide.is-active .home-cf-cap { opacity: 1; }
.home-cf-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--primary); border: 1px solid var(--primary-100); font-size: 1.9rem; line-height: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.14); transition: var(--transition); }
.home-cf-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.home-cf-nav.prev { left: 1%; } .home-cf-nav.next { right: 1%; }
.btn-pill-outline-dark { display: inline-flex; align-items: center; gap: .4rem; padding: .85rem 1.95rem; border-radius: 999px; font-weight: 600; border: 2px solid var(--primary); color: var(--primary); background: transparent; transition: var(--transition); }
.btn-pill-outline-dark:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .home-cf-nav { width: 42px; height: 42px; font-size: 1.5rem; } .home-cf-nav.prev { left: 0; } .home-cf-nav.next { right: 0; } }

/* ---------- Üst Google Reviews barı ---------- */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.9); font-size: .82rem; line-height: 1.2; position: relative; z-index: 101; }
.topbar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .55rem; padding: .5rem 1rem; }
.topbar-reviews { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 500; }
.topbar-reviews:hover { opacity: .9; }
.tb-g { background: #fff; border-radius: 3px; padding: 2px; box-sizing: content-box; }
.tb-stars { color: #FBBC05; letter-spacing: 1px; font-size: .85rem; }
.tb-rating { font-weight: 700; color: #fff; }
.tb-sep { opacity: .4; }
.tb-stat strong { color: #fff; font-weight: 700; }
@media (max-width: 600px) { .topbar { font-size: .72rem; } .topbar-inner { gap: .4rem; } }

/* ---------- Pill (kapsül) menü — natural.clinic ---------- */
.main-nav { gap: .35rem; }
.main-nav > a, .main-nav .has-mega > a { border-radius: 999px !important; border: 1px solid transparent; padding: .56rem 1.05rem; }
.header.is-scrolled .main-nav > a, .header.is-scrolled .main-nav .has-mega > a { border-color: var(--border); }
.header.is-scrolled .main-nav > a:hover, .header.is-scrolled .main-nav .has-mega > a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
body.has-hero-video .header:not(.is-scrolled) .main-nav > a,
body.has-hero-video .header:not(.is-scrolled) .has-mega > a { border-color: rgba(255,255,255,.28) !important; background: rgba(255,255,255,.08) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.has-hero-video .header:not(.is-scrolled) .main-nav > a:hover,
body.has-hero-video .header:not(.is-scrolled) .has-mega > a:hover { background: rgba(255,255,255,.95) !important; color: var(--primary) !important; border-color: #fff !important; }
/* Tedaviler dropdown — sade satır + › oku, TEK sütun (dar) */
.mega-panel { min-width: 250px; max-width: 300px; padding: 1rem 1.1rem; }
.mega-cat-link { font-size: .95rem; letter-spacing: .01em; padding-bottom: .55rem; margin-bottom: .55rem; }
.mega-col ul { display: grid; grid-template-columns: 1fr; gap: .1rem; }
.mega-panel-mini ul { display: block; }
.mega-col ul li a, .mega-panel-mini ul li a { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .55rem .7rem; border-radius: 10px; font-size: .9rem; line-height: 1.25; }
.mega-col ul li a::after, .mega-panel-mini ul li a::after { content: "›"; margin-left: auto; color: var(--accent); font-size: 1.2em; line-height: 1; opacity: .7; transition: transform var(--transition), opacity var(--transition); }
.mega-col ul li a:hover, .mega-panel-mini ul li a:hover { background: var(--primary-50); color: var(--primary); }
.mega-col ul li a:hover::after, .mega-panel-mini ul li a:hover::after { opacity: 1; transform: translateX(3px); color: var(--primary); }
.mega-all-link { margin-top: .6rem; padding-top: .55rem; border-top: 1px solid var(--border); }
@media (max-width: 1100px) { .mega-col ul { grid-template-columns: 1fr; } }

/* ---------- Dropdown: koyu/cam panel (natural.clinic) ---------- */
.mega-panel, .mega-panel-mini {
  background: rgba(7, 42, 48, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 28px 64px rgba(0,0,0,.45);
}
.mega-cat-link { color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.mega-cat-link:hover { color: var(--accent-soft); }
.mega-cat-link .nav-ico { color: var(--accent); }
.mega-col ul li a, .mega-panel-mini ul li a { color: rgba(255,255,255,.82); }
.mega-col ul li a:hover, .mega-panel-mini ul li a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mega-col ul li a::after, .mega-panel-mini ul li a::after { color: var(--accent); opacity: .85; }
.mega-col ul li a:hover::after, .mega-panel-mini ul li a:hover::after { color: var(--accent-soft); }
.mega-all-link { color: var(--accent-soft) !important; border-top-color: rgba(255,255,255,.14); }
.mega-all-link:hover { color: #fff !important; }

/* ---------- Mobil alt menü: gerçek marka ikonları (app-icon) + dil sheet ---------- */
.bottom-nav-item { font-size: .6rem; padding: .25rem .05rem; gap: .14rem; }
.bottom-nav-item.active .bottom-nav-ico { background: var(--primary-50); border-radius: 999px; padding: .24rem .5rem; }
.bottom-nav-ico { transition: background .2s; width: auto; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.bottom-nav-ico svg { width: 22px; height: 22px; }
.bottom-nav-ico-instagram svg, .bottom-nav-ico-facebook svg, .bottom-nav-ico-youtube svg, .bottom-nav-ico-whatsapp svg { width: 28px; height: 28px; }
.bn-flag-tile { width: 26px; height: 19px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; line-height: 1; overflow: hidden; background: transparent; box-shadow: none; }
.bn-flag-tile .flag-img { width: 100%; height: 100%; object-fit: cover; }
.bn-lang-sheet { position: fixed; inset: 0; z-index: 200; }
.bn-lang-sheet[hidden] { display: none; }
.bn-lang-backdrop { position: absolute; inset: 0; background: rgba(0,52,59,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.bn-lang-panel { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom)); max-height: 78vh; overflow-y: auto; box-shadow: 0 -10px 40px rgba(0,0,0,.22); animation: bnSheetUp .26s cubic-bezier(.4,0,.2,1); }
@keyframes bnSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.bn-lang-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--primary); padding: .25rem .4rem .8rem; border-bottom: 1px solid var(--border); margin-bottom: .6rem; }
.bn-lang-head button { font-size: 1.15rem; color: var(--gray-500); width: 34px; height: 34px; border-radius: 50%; }
.bn-lang-head button:hover { background: var(--gray-100); }
.bn-lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.bn-lang-list a { display: flex; align-items: center; gap: .6rem; padding: .72rem .85rem; border-radius: 12px; color: var(--gray-800); font-weight: 500; }
.bn-lang-list a:hover, .bn-lang-list a.active { background: var(--primary-50); color: var(--primary); }
.bn-lang-list a.active { font-weight: 700; }
.bn-lang-list .flag { font-size: 1.25rem; }

/* ---------- Before / After (slaytın hemen altında, petrol zemin) ---------- */
.home-ba2 { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 2.75rem 0 3.25rem; }
.home-ba2 .section-head { text-align: center; max-width: 760px; margin: 0 auto 1.4rem; }
.home-ba2-eyebrow { display: block; color: var(--accent-soft); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; margin-bottom: .4rem; }
.home-ba2-title { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.home-ba2 .section-head { margin-bottom: 2rem; position: relative; z-index: 4; }
.home-ba2 .home-cf { margin-top: 1rem; }
/* Uniform width, height follows each image's own aspect-ratio (set inline) — landscape & portrait both fit cleanly */
.home-ba2 .home-cf-track { height: clamp(360px, 72vw, 600px); }
.home-ba2 .home-cf-slide.ba2-slide { width: clamp(240px, 42vw, 440px); height: auto; aspect-ratio: auto; border-radius: 14px; box-shadow: 0 26px 60px -16px rgba(0,0,0,.5); }
.home-ba2 .home-cf-slide.ba2-slide img { object-fit: cover; background: #0a2e34; }

/* ---------- Contact bento card (natural/smarthair style) ---------- */
.cc-section { padding: clamp(3rem, 6vw, 5.5rem) 0; background: linear-gradient(180deg, var(--white), var(--gray-50)); }
.cc-head { text-align: center; max-width: 640px; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.cc-eyebrow { color: var(--primary); font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.cc-title { font-family: var(--font-serif, inherit); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gray-900); margin: .5rem 0 .75rem; }
.cc-intro { color: var(--gray-600); font-size: 1rem; line-height: 1.6; margin: 0 auto; max-width: 520px; }

.cc-card {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border-radius: 28px; background: var(--white);
  box-shadow: 0 30px 70px -28px rgba(0,70,80,.35);
  border: 1px solid var(--border);
}
@media (min-width: 900px) { .cc-card { grid-template-columns: 5fr 7fr; } .cc-card.cc-3 { grid-template-columns: 4.5fr 3fr 4.5fr; } }
.cc-formcol { background: var(--white); display: flex; }
.cc-formcol .wa-form { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.cc-formcol .wa-form-grid { grid-template-columns: 1fr; }
.cc-formcol .wa-form-body { padding: 1.1rem 1.25rem 1.35rem; }
/* Anasayfa konsültasyon formu — B düzeni (masaüstü 2 sütun) */
.bd-leadB { background: linear-gradient(180deg, var(--primary-50), var(--white)); }
.bd-leadB-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .bd-leadB-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.bd-leadB-text .section-eyebrow { color: var(--accent); }
.bd-leadB-list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.bd-leadB-list li { display: flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--gray-800); font-size: 1.02rem; }
.bd-leadB-list li svg { color: var(--primary); flex: none; }
.bd-leadB .wa-form-head { display: none; }
.bd-leadB .wa-form { box-shadow: 0 20px 50px rgba(0,52,59,.14); }

.cc-left {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 60%, #062a30 100%);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.cc-left::before { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(194,142,122,.20); filter: blur(22px); pointer-events: none; }
.cc-reach { position: relative; display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-soft, #ecc9b5); }
.cc-clinic { position: relative; font-family: var(--font-serif, inherit); font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.15; margin: .5rem 0 0; color: #fff; }
.cc-clinic span { display: block; font-family: inherit; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.7); margin-top: .25rem; }

.cc-addr { position: relative; display: flex; gap: .65rem; align-items: flex-start; margin-top: 1.5rem; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.cc-addr svg { color: var(--accent-soft, #ecc9b5); flex-shrink: 0; margin-top: 2px; }
.cc-addr p { margin: 0; font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.85); }

.cc-tiles { position: relative; display: flex; flex-direction: column; gap: .6rem; margin-top: 1.25rem; }
.cc-tile {
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.cc-tile:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.cc-tile .cc-ico { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: #fff; }
.cc-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-lbl { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cc-val { font-size: .95rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-arrow { color: rgba(255,255,255,.5); flex-shrink: 0; transition: transform var(--transition); }
.cc-tile:hover .cc-arrow { transform: translate(2px,-2px); color: #fff; }

.cc-tile-wa { background: var(--wa-green); border-color: rgba(0,0,0,.06); box-shadow: 0 10px 26px -8px rgba(37,211,102,.5); }
.cc-tile-wa:hover { background: var(--wa-green-dark, #1da851); }
.cc-tile-wa .cc-ico { background: rgba(255,255,255,.22); }
.cc-tile-wa .cc-lbl { color: rgba(255,255,255,.85); }
.cc-tile-wa .cc-arrow { color: rgba(255,255,255,.85); }

.cc-maps { position: relative; display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-size: .9rem; font-weight: 600; color: var(--accent-soft, #ecc9b5); transition: color var(--transition); }
.cc-maps:hover { color: #fff; }
.cc-maps .cc-arrow { color: currentColor; }

.cc-right { position: relative; min-height: 300px; background: var(--gray-100); }
.cc-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.rtl .cc-reach, .rtl .cc-clinic, .rtl .cc-addr, .rtl .cc-tiles, .rtl .cc-tx { text-align: right; }
.home-ba2 .home-cf-nav { background: #fff; color: var(--primary); }
.home-ba2 .home-cf-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Video coverflow (YouTube galeri) ---------- */
.home-vidcf { margin-top: 1.75rem; }
.home-vidcf .home-cf-track { height: clamp(220px, 46vw, 400px); }
.home-vidcf .home-cf-slide.vid-slide { width: clamp(280px, 62vw, 600px); aspect-ratio: 16 / 9; border-radius: 16px; box-shadow: 0 26px 60px -18px rgba(0,0,0,.65); background: #000; }
.home-vidcf .vid-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: var(--gray-800, #1f2937); }
.vid-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.vid-play svg { margin-left: 2px; }
.vid-slide.is-active .vid-play { background: var(--accent); color: #fff; }
.vid-slide.is-active:hover .vid-play { transform: translate(-50%,-50%) scale(1.08); }
.home-vidcf .home-cf-cap { font-size: 1rem; font-weight: 600; }

/* ---------- Zarif serif başlıklar (natural.clinic tarzı) ---------- */
:root { --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif; }
.hero-c-title, .home-ba2-title, .section-title, .ab4-hero-title, .ab4-section h2, .home-doctors-v2 .section-title, .home-videos .section-title, .home-blog .section-title {
  font-family: var(--font-serif); font-weight: 700; letter-spacing: 0;
}
.hero-c-title { font-weight: 800; }
/* Before/After: üst satır bakır italik serif (Your Transformation Journey gibi), alt satır beyaz serif */
.home-ba2-eyebrow { font-family: var(--font-serif); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: .01em; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--accent); margin-bottom: .1rem; }
.home-ba2-title { font-weight: 700; font-size: clamp(1.7rem, 3.8vw, 2.7rem); }

/* ---------- Hastalarımız + Kliniğimiz galerileri ---------- */
.gv-section { background: linear-gradient(180deg,#ffffff,#faf5ef); }
.gv-tabs { display:flex; justify-content:center; gap:.5rem; margin-bottom:1.6rem; flex-wrap:wrap; }
.gv-tab { display:inline-flex; align-items:center; gap:.45rem; padding:.6rem 1.35rem; border-radius:var(--radius-full); background:var(--white); border:1.5px solid var(--border); color:var(--gray-700); font-weight:600; font-size:.95rem; transition:var(--transition); }
.gv-tab:hover { border-color:var(--primary); color:var(--primary); }
.gv-tab.is-active { background:var(--primary); border-color:var(--primary); color:#fff; }
.gv-count { font-size:.72rem; background:rgba(0,0,0,.12); padding:.1rem .45rem; border-radius:var(--radius-full); }
.gv-tab.is-active .gv-count { background:rgba(255,255,255,.25); }
.gv-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:.7rem; }
@media (min-width:640px){ .gv-grid{ grid-template-columns:repeat(3,1fr);} }
@media (min-width:1024px){ .gv-grid{ grid-template-columns:repeat(4,1fr); gap:1rem;} }
.gv-item { position:relative; display:block; overflow:hidden; border-radius:16px; aspect-ratio:1/1; background:var(--gray-100); cursor:pointer; box-shadow:0 10px 26px -14px rgba(0,70,80,.32); padding:0; border:0; -webkit-appearance:none; appearance:none; width:100%; }
.gv-grid-video .gv-item { background:#0a2e34; }
.gv-grid-video .gv-item { aspect-ratio:3/4; }
.gv-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; display:block; }
.gv-item:hover img { transform:scale(1.06); }
.gv-zoom { position:absolute; right:.6rem; bottom:.6rem; width:36px; height:36px; border-radius:var(--radius-full); background:rgba(0,70,80,.72); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; transform:translateY(6px); transition:.25s; }
.gv-item:hover .gv-zoom { opacity:1; transform:none; }
.gv-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:54px; height:54px; border-radius:var(--radius-full); background:rgba(255,255,255,.92); color:var(--primary); display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.35); transition:.25s; }
.gv-video:hover .gv-play { transform:translate(-50%,-50%) scale(1.1); background:var(--accent); color:#fff; }
.gv-vplaceholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:2rem; background:#0a2e34; }
/* Kliniğimiz — masonry */
.gv-clinic { background:linear-gradient(180deg,#f2e7dc,#faf5ef); }
.gv-masonry { columns:2; column-gap:.8rem; }
@media (min-width:768px){ .gv-masonry{ columns:3; column-gap:1rem;} }
@media (min-width:1100px){ .gv-masonry{ columns:4;} }
.gv-mitem { position:relative; display:block; break-inside:avoid; margin-bottom:.8rem; border-radius:16px; overflow:hidden; cursor:pointer; box-shadow:0 12px 30px -16px rgba(0,70,80,.38); }
@media (min-width:768px){ .gv-mitem{ margin-bottom:1rem;} }
.gv-mitem img { width:100%; display:block; transition:transform .5s ease; }
.gv-mitem:hover img { transform:scale(1.05); }
/* Lightbox */
.gv-lightbox { position:fixed; inset:0; z-index:9500; background:rgba(0,0,0,.92); display:none; align-items:center; justify-content:center; }
.gv-lightbox.open { display:flex; }
.gv-lb-img { max-width:92vw; max-height:86vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.6); }
.gv-lb-close { position:absolute; top:1rem; right:1.2rem; width:44px; height:44px; border-radius:var(--radius-full); background:rgba(255,255,255,.15); color:#fff; font-size:1.8rem; line-height:1; }
.gv-lb-nav { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:var(--radius-full); background:rgba(255,255,255,.15); color:#fff; font-size:2rem; line-height:0; }
.gv-lb-prev { left:1rem; } .gv-lb-next { right:1rem; }
.gv-lb-nav:hover, .gv-lb-close:hover { background:rgba(255,255,255,.3); }
/* Kliniğimiz tanıtım videosu */
.gv-intro { position:relative; max-width:960px; margin:0 auto 2.2rem; border-radius:20px; overflow:hidden; box-shadow:0 30px 70px -28px rgba(0,70,80,.5); aspect-ratio:16/9; background:#000; }
.gv-intro-video { width:100%; height:100%; object-fit:cover; display:block; }
.gv-intro-play { position:absolute; left:50%; bottom:1.1rem; transform:translateX(-50%); display:inline-flex; align-items:center; gap:.5rem; padding:.7rem 1.4rem; border-radius:var(--radius-full); background:rgba(0,0,0,.5); color:#fff; font-weight:600; font-size:.92rem; border:1px solid rgba(255,255,255,.35); backdrop-filter:blur(6px); transition:var(--transition); }
.gv-intro-play:hover { background:var(--accent); border-color:var(--accent); transform:translateX(-50%) translateY(-2px); }
/* Hasta foto — kreatif mozaik (öne çıkan büyük kareler) */
.gv-mosaic { display:grid; grid-template-columns:repeat(2,1fr); grid-auto-flow:dense; gap:.6rem; }
@media(min-width:768px){ .gv-mosaic{ grid-template-columns:repeat(4,1fr); gap:.85rem;} }
.gv-mosaic .gv-item { aspect-ratio:1/1; }
.gv-mosaic .gv-big { grid-column:span 2; grid-row:span 2; }
/* Galeri/instagram eyebrow'u tek başına başlık görevinde — daha belirgin */
.gv-eyebrow, .home-instagram .section-eyebrow { font-size:1.1rem; letter-spacing:.16em; }
/* Videolar bölümü — petrol zemin + serif beyaz başlık + copper alt çizgi */
.home-videos { background:linear-gradient(160deg, var(--primary-dark) 0%, #062a30 100%); }
.home-videos-title { color:#fff; font-size:clamp(2rem,4.6vw,2.9rem); margin-bottom:0; }
.home-videos-title::after { content:""; display:block; width:58px; height:3px; background:var(--accent); border-radius:3px; margin:1rem auto 0; }

/* İç sayfalar (anasayfa hero yok): koyu petrol header — gold logo + beyaz yazı belirgin */
body:not(.has-hero-video) .header,
body:not(.has-hero-video) .header.is-scrolled {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
body:not(.has-hero-video) .header .main-nav > a,
body:not(.has-hero-video) .header .main-nav > a > svg,
body:not(.has-hero-video) .header .has-mega > a,
body:not(.has-hero-video) .header .has-mega > a > svg,
body:not(.has-hero-video) .header .nav-ico,
body:not(.has-hero-video) .header .lang-btn { color: #fff; }
body:not(.has-hero-video) .header .lang-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
body:not(.has-hero-video) .header .mobile-toggle { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
body:not(.has-hero-video) .header .main-nav > a:hover,
body:not(.has-hero-video) .header .has-mega > a:hover { background: rgba(255,255,255,.15); color: #fff; }
/* CTA koyu zeminde copper ile öne çıksın */
body:not(.has-hero-video) .header .btn-contact-cta { background: var(--accent); }
body:not(.has-hero-video) .header .btn-contact-cta:hover { background: #a8705a; }
/* Mobil menü açıkken (beyaz panel) koyu yazı geri */
body:not(.has-hero-video) .header .main-nav.is-open > a,
body:not(.has-hero-video) .header .main-nav.is-open .has-mega > a,
body:not(.has-hero-video) .header .main-nav.is-open .nav-ico { color: var(--gray-800); }
body:not(.has-hero-video) .header .main-nav.is-open > a:hover,
body:not(.has-hero-video) .header .main-nav.is-open .has-mega > a:hover { background: var(--primary-50); color: var(--primary); }

/* ============ Revizyon batch (18 madde) ============ */
/* Tek başına eyebrow'lar → şık serif başlık (task 3, 8) */
.home-treatments .section-eyebrow,
.home-blog .section-eyebrow,
.home-brands .section-eyebrow,
.home-instagram .section-eyebrow,
.home-videos .home-videos-eyebrow,
.gv-eyebrow {
  display: inline-block;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 600; line-height: 1.15;
  text-transform: none; letter-spacing: 0;
  color: var(--primary);
  background: none; padding: 0; margin: 0;
}
.home-videos .home-videos-eyebrow { color: #fff; }
/* Başlık-içerik boşlukları azalt (task 2,3,6,9) */
.home-treatments .section-head,
.home-blog .section-head,
.home-brands .section-head,
.home-instagram .section-head,
.gv-section .section-head,
.gv-clinic .section-head,
.home-videos .section-head { margin-bottom: 1.4rem; }
.home-ba2 .section-head { margin-bottom: .9rem; }
.home-ba2 .home-cf { margin-top: .4rem; }
/* task 6: Hastalarımız — koyu kreatif zemin */
.gv-section {
  padding-top: 2.5rem; color: #fff;
  background:
    radial-gradient(circle at 16% 12%, rgba(194,142,122,.22), transparent 42%),
    radial-gradient(circle at 84% 88%, rgba(0,150,160,.16), transparent 46%),
    linear-gradient(160deg, var(--primary-dark) 0%, #052227 100%);
}
.gv-section .gv-eyebrow { color: var(--accent-soft, #ecc9b5); }
.gv-section .gv-tab { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.gv-section .gv-tab:hover { border-color: var(--accent); color: #fff; }
.gv-section .gv-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gv-section .gv-count { background: rgba(255,255,255,.2); }
/* task 7: Instagram zemini daha doygun */
.home-instagram {
  background:
    radial-gradient(circle at 15% 18%, rgba(194,142,122,.32), transparent 45%),
    radial-gradient(circle at 85% 82%, rgba(0,70,80,.2), transparent 48%),
    linear-gradient(180deg, #efe1d3 0%, #e6d3c1 100%) !important;
}
.home-instagram::before { background: radial-gradient(circle, rgba(0,70,80,.22), transparent 70%) !important; }
/* task 17: Kliniğimiz galerisi düzgün ızgara */
.gv-masonry { display: grid !important; grid-template-columns: repeat(2,1fr); column-gap: .7rem; row-gap: .7rem; }
@media (min-width: 768px){ .gv-masonry{ grid-template-columns: repeat(3,1fr); column-gap: .9rem; row-gap: .9rem;} }
@media (min-width: 1100px){ .gv-masonry{ grid-template-columns: repeat(4,1fr);} }
.gv-mitem { aspect-ratio: 3/4; margin-bottom: 0 !important; }
.gv-mitem img { width:100%; height:100%; object-fit: cover; }
/* task 13: footer health logosu küçült */
.footer-cert-item-health img { max-height: 44px !important; max-width: 62px !important; }
/* task 14: mobil bottom bar koyu petrol */
.bottom-nav { background: rgba(7,42,48,.97); border-top: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bottom-nav-item { color: rgba(255,255,255,.62); }
.bottom-nav-item:hover, .bottom-nav-item.active { color: #fff; }
/* task 15/16: menüler koyu cam */
.mega-panel { background: rgba(7,42,48,.97); border-color: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mega-cat-link { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.mega-cat-link:hover { color: var(--accent-soft, #ecc9b5); }
.mega-col ul li a, .mega-panel-mini ul li a { color: rgba(255,255,255,.82); }
.mega-col ul li a:hover, .mega-panel-mini ul li a:hover { background: rgba(255,255,255,.1); color: #fff; }
.mega-all-link { color: var(--accent-soft, #ecc9b5); }
@media (max-width: 1099px) {
  .main-nav.is-open { background: rgba(7,42,48,.98) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .main-nav.is-open > a, .main-nav.is-open .has-mega > a,
  .main-nav.is-open > a > svg, .main-nav.is-open .nav-ico { color: #fff !important; border-bottom-color: rgba(255,255,255,.12) !important; }
  .main-nav.is-open > a:hover, .main-nav.is-open .has-mega > a:hover { background: rgba(255,255,255,.1) !important; color:#fff !important; }
  .main-nav.is-open .mega-panel, .main-nav.is-open .mega-panel-mini { background: rgba(255,255,255,.05) !important; }
}
/* Hero rozet — 2 satır ortalı (İstanbul Deltadiş Ağız ve Diş Sağlığı Polikliniği / 12 Yıllık Tecrübe) */
.hero-c-eyebrow { text-align: center; line-height: 1.5; }

/* ---------- SSS / FAQ ---------- */
.home-faq { background: linear-gradient(180deg,#ffffff,#f7f1ea); }
.home-faq .section-eyebrow { display:inline-block; font-family:var(--font-serif,Georgia,serif); font-size:clamp(1.7rem,3.8vw,2.4rem); font-weight:600; text-transform:none; letter-spacing:0; color:var(--primary); background:none; padding:0; }
.home-faq .section-head { margin-bottom: 1.6rem; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px -16px rgba(0,70,80,.3); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1.02rem; color: var(--gray-900); cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50, rgba(0,70,80,.1)); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; line-height: 1; transition: transform .25s, background .25s, color .25s; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { padding: 0 1.3rem 1.15rem; color: var(--gray-600); line-height: 1.65; }
.rtl .faq-q { text-align: right; }

/* FAQ — daha minimal (iletişim altında) */
.home-faq { background: var(--white); padding-top: 2.2rem; }
.home-faq .section-eyebrow { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.home-faq .section-head { margin-bottom: 1.1rem; }
.faq-list { gap: .5rem; }
.faq-item { box-shadow: none; border: 1px solid var(--border); border-radius: 12px; }
.faq-item[open] { border-color: var(--primary-100, rgba(0,70,80,.2)); }
.faq-q { padding: .9rem 1.1rem; font-size: .95rem; }
.faq-ico { width: 24px; height: 24px; font-size: 1.2rem; }
.faq-a { padding: 0 1.1rem 1rem; font-size: .92rem; }

/* ---------- Tedavi detay sayfası (yeniden tasarım) ---------- */
.txd-hero { position: relative; padding: clamp(2.6rem,7vw,5rem) 0; background-size: cover; background-position: center; color: #fff; }
.txd-hero-inner { position: relative; z-index: 1; }
.txd-crumb { font-size: .85rem; opacity: .92; margin-bottom: .7rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.txd-crumb a { color: #fff; }
.txd-crumb a:hover { color: var(--accent-soft, #ecc9b5); }
.txd-title { font-family: var(--font-serif, inherit); font-size: clamp(2rem, 5vw, 3rem); margin: 0; color: #fff; line-height: 1.1; }
.txd-sub { opacity: .92; margin-top: .7rem; font-size: 1.05rem; max-width: 640px; line-height: 1.55; }
.txd-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .txd-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 2.5rem; align-items: start; } }
.txd-block { margin-bottom: 2.1rem; }
.txd-h2 { font-family: var(--font-serif, inherit); font-size: 1.5rem; color: var(--gray-900); margin: 0 0 1rem; position: relative; padding-bottom: .6rem; }
.txd-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--accent); }
.txd-prose { color: var(--gray-700); line-height: 1.85; font-size: 1.02rem; }
.txd-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
@media (min-width: 600px) { .txd-benefits { grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; } }
.txd-benefits li { display: flex; align-items: flex-start; gap: .55rem; color: var(--gray-700); line-height: 1.5; }
.txd-benefits svg { color: var(--wa-green); flex-shrink: 0; margin-top: 3px; }
.txd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .7rem; }
.txd-gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--gray-100); }
.txd-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.txd-gallery a:hover img { transform: scale(1.06); }
.txd-back { margin-top: 1rem; }
.txd-aside { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) { .txd-aside { position: sticky; top: calc(var(--header-h) + 1rem); } }
.txd-card, .txd-cta { border-radius: 16px; padding: 1.25rem; }
.txd-card { background: var(--white); border: 1px solid var(--border); box-shadow: 0 10px 30px -18px rgba(0,70,80,.3); }
.txd-card h4, .txd-cta h4 { margin: 0 0 .8rem; font-size: 1.05rem; }
.txd-card h4 { color: var(--gray-900); }
.txd-card p { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .5rem; font-size: .92rem; color: var(--gray-600); border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.txd-card p:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.txd-card p strong { color: var(--gray-800); font-weight: 600; }
.txd-cta { background: linear-gradient(160deg, var(--primary-dark), var(--primary)); color: #fff; }
.txd-cta h4 { color: #fff; }
.txd-cta p { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0 0 1rem; line-height: 1.5; }
.txd-cta-wa { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; border-radius: 12px; background: var(--wa-green); color: #fff; font-weight: 600; margin-bottom: .6rem; }
.txd-cta-wa:hover { background: var(--wa-green-dark, #1da851); }
.txd-cta-call { display: block; text-align: center; padding: .8rem; border-radius: 12px; background: rgba(255,255,255,.15); color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.3); }
.txd-cta-call:hover { background: rgba(255,255,255,.25); }

/* İletişim haritası — Yol Tarifi butonu */
.cc-dir { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.4rem; border-radius: var(--radius-full); background: var(--primary); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 10px 28px rgba(0,52,59,.45); z-index: 3; white-space: nowrap; }
.cc-dir:hover { background: var(--primary-dark); transform: translateX(-50%) translateY(-2px); }
/* İletişim açılır menüsü — dar */
.mega-panel-mini { max-width: 280px !important; min-width: 220px !important; }
/* Mobil menü açıkken hamburger → X */
body.nav-open .mobile-toggle { color: #fff; }

/* Mobil: video ızgarasında tek kalan son öğeyi gizle (çift olsun) */
@media (max-width: 767px) {
  .gv-grid-video .gv-video:last-child:nth-child(odd) { display: none; }
}

/* ---------- Google Yorumları — vurucu başlık + kayan yorumlar ---------- */
.rv-section { padding: clamp(3rem,6vw,5rem) 0; background: linear-gradient(180deg,#ffffff,#f7f1ea); overflow: hidden; }
.rv-head { text-align: center; margin-bottom: 2rem; }
.rv-badge { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-full); padding: .55rem 1.25rem; box-shadow: 0 12px 32px -18px rgba(0,0,0,.3); }
.rv-badge-title { font-weight: 700; color: var(--gray-900); font-size: 1.05rem; }
.rv-badge .rv-stars { color: #fbbc05; letter-spacing: 2px; font-size: 1rem; }
.rv-stats { margin-top: 1.1rem; display: flex; gap: .9rem; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 1.05rem; color: var(--gray-700); }
.rv-rating { font-weight: 800; font-size: 1.9rem; color: var(--primary); line-height: 1; }
.rv-rating small { font-size: 1rem; font-weight: 600; opacity: .7; }
.rv-stat strong { color: var(--gray-900); font-weight: 800; }
.rv-dot { color: var(--accent); }
.rv-marquee { display: flex; flex-direction: column; gap: 1rem; }
.rv-track { display: flex; gap: 1rem; width: max-content; will-change: transform; }
.rv-track-1 { animation: rvScroll 75s linear infinite; }
.rv-track-2 { animation: rvScroll 90s linear infinite reverse; }
.rv-marquee:hover .rv-track { animation-play-state: paused; }
@keyframes rvScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rv-card { flex: 0 0 330px; width: 330px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.15rem 1.2rem; box-shadow: 0 10px 26px -18px rgba(0,70,80,.28); }
.rv-card-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .65rem; }
.rv-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.rv-who { min-width: 0; flex: 1; }
.rv-name { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--gray-900); font-size: .95rem; }
.rv-name .flag-img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
.rv-card-stars { color: #fbbc05; font-size: .85rem; letter-spacing: 1px; }
.rv-gicon { flex-shrink: 0; }
.rv-text { color: var(--gray-600); font-size: .92rem; line-height: 1.55; margin: 0; }
.rtl .rv-text, .rtl .rv-name { text-align: right; }

/* Mobil menü kapatma: header'daki ✕ (hamburger) görünür olduğundan menü içi kapatma butonu gizli */
.main-nav-close { display: none !important; }

/* Google + Trustpilot rozetleri */
.rv-badges { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.rv-stars-tp { color: #00b67a !important; }

/* Reviews başlığı */
.rv-eyebrow { display:inline-block; color: #9c6b54; font-weight: 700; font-size: .9rem; letter-spacing: .05em; margin-bottom:.4rem; }
.rv-title { font-family: var(--font-serif, inherit); font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--gray-900); margin: .2rem 0 1.4rem; line-height:1.1; }
/* Doktor kartı — mobil + masaüstü 2 SÜTUN, dikey & kompakt; foto kırpılır (yüz görünür, baked yazı gizli) */
.home-doctors-v2 .dr-grid { grid-template-columns: 1fr 1fr; gap: .7rem; max-width: 760px; margin: 0 auto; }
.home-doctors-v2 .dr-card { flex-direction: column; }
.home-doctors-v2 .dr-photo-wrap { aspect-ratio: 1 / 1; height: auto; width: 100%; }
.home-doctors-v2 .dr-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.home-doctors-v2 .dr-body { padding: .8rem .85rem; }
.home-doctors-v2 .dr-name { font-size: .9rem; }
.home-doctors-v2 .dr-spec { font-size: .72rem; margin-bottom: .25rem; }
.home-doctors-v2 .dr-desc { font-size: .76rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) {
  .home-doctors-v2 .dr-grid { gap: 1.4rem; max-width: 840px; }
  .home-doctors-v2 .dr-body { padding: 1.1rem 1.2rem; }
  .home-doctors-v2 .dr-name { font-size: 1.0625rem; }
  .home-doctors-v2 .dr-spec { font-size: .82rem; }
  .home-doctors-v2 .dr-desc { font-size: .88rem; line-height: 1.55; -webkit-line-clamp: 9; }
}
/* Doktor ekibi — masaüstü çok sütunlu kompakt grid (mobil <768 aynen kalır, o "çok güzel") */
@media (min-width: 768px) {
  .home-doctors-v2 .dr-grid { grid-template-columns: repeat(3, 1fr); max-width: 1000px; gap: 1rem; }
  .home-doctors-v2 .dr-photo-wrap { aspect-ratio: 3 / 4; }
  .home-doctors-v2 .dr-photo-wrap img { object-position: center 28%; }
  .home-doctors-v2 .dr-desc { display: none; }
  .home-doctors-v2 .dr-body { text-align: center; padding: .75rem .55rem .95rem; }
  .home-doctors-v2 .dr-name { font-size: .95rem; }
  .home-doctors-v2 .dr-spec { font-size: .76rem; margin-bottom: 0; }
}
@media (min-width: 1000px) { .home-doctors-v2 .dr-grid { grid-template-columns: repeat(4, 1fr); max-width: 1160px; } }
@media (min-width: 1280px) { .home-doctors-v2 .dr-grid { grid-template-columns: repeat(6, 1fr); max-width: 1340px; } }

/* ============ Pillar Hub (SEO otorite sayfaları) ============ */
/* Footer hub — koyu zemin, minimal gold kümeler */
.footer-pillars { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.5rem; padding: 1.6rem 0 .4rem; }
.footer-pillars-title { display: block; color: var(--accent, #c9a24b); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.5rem; }
.footer-pillar-col h5 { color: var(--accent, #c9a24b); font-size: .8rem; font-weight: 700; margin: 0 0 .5rem; letter-spacing: .02em; }
.footer-pillar-col ul { list-style: none; margin: 0; padding: 0; }
.footer-pillar-col li { margin: 0 0 .35rem; }
.footer-pillar-col li a { color: rgba(255,255,255,.62); font-size: .82rem; line-height: 1.35; text-decoration: none; transition: color var(--transition); }
.footer-pillar-col li a:hover { color: #fff; }

/* Pillar landing sayfası — minimal, tek sütun, bol whitespace */
.pillar { background: var(--white); padding: clamp(2rem, 5vw, 4rem) 0; }
.pillar-wrap { max-width: 840px; margin: 0 auto; }
.pillar-crumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.pillar-crumb a { color: var(--primary); text-decoration: none; }
.pillar-crumb span { color: var(--gray-400); }
.pillar-head h1 { font-family: var(--font-serif, inherit); font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; color: var(--gray-900); margin: 0 0 1.2rem; }
.pillar-intro { font-size: 1.12rem; line-height: 1.75; color: var(--gray-700); }
.pillar-intro p { margin: 0 0 1rem; }
.pillar-takeaways { background: var(--primary-50); border: 1px solid var(--primary-100); border-left: 4px solid var(--accent, #c9a24b); border-radius: var(--radius-md); padding: 1.3rem 1.5rem; margin: 2rem 0; }
.pillar-takeaways h2 { font-size: 1.05rem; margin: 0 0 .8rem; color: var(--primary-dark, var(--primary)); }
.pillar-takeaways ul { margin: 0; padding-left: 1.1rem; }
.pillar-takeaways li { margin: 0 0 .55rem; line-height: 1.55; color: var(--gray-800); }
.pillar-body { margin-top: 1rem; }
.pillar-body h2 { font-family: var(--font-serif, inherit); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--gray-900); margin: 2.4rem 0 1rem; line-height: 1.2; }
.pillar-body p { font-size: 1.04rem; line-height: 1.8; color: var(--gray-700); margin: 0 0 1.1rem; }
.pillar-body strong { color: var(--gray-900); }
.pillar-related-tx { margin: 2.5rem 0 1rem; }
.pillar-tx-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.pillar-tx-chip { display: inline-flex; align-items: center; padding: .55rem 1rem; background: var(--gray-50); border: 1px solid var(--border); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: all var(--transition); }
.pillar-tx-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pillar-faq { margin: 3rem 0; }
.pillar-faq > h2 { font-family: var(--font-serif, inherit); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--gray-900); margin: 0 0 1.2rem; }
.pillar-faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: .6rem; background: var(--white); overflow: hidden; }
.pillar-faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--gray-900); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.pillar-faq-item summary::-webkit-details-marker { display: none; }
.pillar-faq-item summary::after { content: "+"; color: var(--accent, #c9a24b); font-size: 1.4rem; line-height: 1; flex-shrink: 0; transition: transform var(--transition); }
.pillar-faq-item[open] summary::after { transform: rotate(45deg); }
.pillar-faq-a { padding: 0 1.2rem 1.1rem; color: var(--gray-600); line-height: 1.7; }
.pillar-cta { margin: 3rem 0; padding: 2.2rem; background: var(--gray-900); border-radius: var(--radius-lg); text-align: center; color: #fff; }
.pillar-cta h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .6rem; }
.pillar-cta p { color: rgba(255,255,255,.8); margin: 0 0 1.4rem; }
.pillar-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.pillar-links h3 { font-size: 1rem; color: var(--gray-900); margin: 0 0 .8rem; }
.pillar-links ul { list-style: none; margin: 0; padding: 0; }
.pillar-links li { margin: 0 0 .5rem; }
.pillar-links li a { color: var(--primary); text-decoration: none; font-size: .95rem; line-height: 1.4; }
.pillar-links li a:hover { text-decoration: underline; }
@media (max-width: 640px) { .pillar-links { grid-template-columns: 1fr; } }

/* ===== İstatistik bandı (güven rakamları) — hero altı ===== */
.stats-band {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 2.1rem 0;
  border-bottom: 3px solid var(--accent, #c28e7a);
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stats-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  padding: .25rem .5rem;
  position: relative;
}
.stats-band-item + .stats-band-item::before {
  content: "";
  position: absolute;
  left: 0; top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255,255,255,.16);
}
.stats-band .sb-ico {
  color: var(--accent-soft, #ecc9b5);
  line-height: 0;
}
.stats-band .sb-ico svg { width: 26px; height: 26px; }
.stats-band .sb-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  line-height: 1.1;
}
.stats-band .sb-label {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  letter-spacing: .02em;
}
@media (max-width: 640px) {
  .stats-band { padding: 1.5rem 0; }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .5rem; }
  .stats-band-item:nth-child(odd)::before { display: none; }
  .stats-band .sb-ico svg { width: 22px; height: 22px; }
  .stats-band .sb-label { font-size: .74rem; }
}

/* ===== Hekim kadrosu: başhekim öne çıkarılmış + düzgün grid ===== */
/* 7 hekim 3'lü gride sığmıyordu (3+3+1). Başhekim ayrı kart → kalan 6 tam 3+3. */
.dr-lead {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
}
.dr-lead-photo {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.dr-lead-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 12%;
  display: block;
}
.dr-lead-body {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
}
.dr-lead-spec {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-50, #e8efee);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.dr-lead-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--gray-900, #111);
  line-height: 1.2;
  margin: .1rem 0 .2rem;
}
.dr-lead-desc {
  color: var(--muted, #555);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

/* Kalan hekimler: eşit yükseklikte kartlar */
.dr-grid { align-items: stretch; }
.dr-card { height: 100%; }
.dr-photo-fallback svg { opacity: .55; }

@media (max-width: 860px) {
  .dr-lead { grid-template-columns: 1fr; }
  .dr-lead-photo { aspect-ratio: 4 / 3; max-height: 340px; }
  .dr-lead-photo img { object-position: center 18%; }
  .dr-lead-body { padding: 1.4rem 1.3rem 1.6rem; }
  .dr-lead-name { font-size: 1.4rem; }
  .dr-lead-desc { font-size: .9rem; }
}

/* Bağcılar'ın 18 hekimi için 4-6 sütunlu grid vardı (satır ~2689: 1280px+ → repeat(6,1fr)).
   Delta'da başhekim ayrı kartta, kalan 6 hekim var → 3'lü grid (3+3) doğru düzen. */
.home-doctors-v2 .dr-grid {
  grid-template-columns: 1fr;
  max-width: 100%;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .home-doctors-v2 .dr-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 1.25rem; }
}
/* Masaüstü: başhekim ayrı geniş kartta, kalan 4 hekim TEK SATIRDA (4 sütun).
   Not: bu blok CSS'te en sonda olduğu için önceki .home-doctors-v2 .dr-grid kurallarını (repeat 3/6) ezer. */
@media (min-width: 960px) {
  .home-doctors-v2 .dr-grid { grid-template-columns: repeat(4, 1fr); max-width: 1160px; gap: 1.4rem; }
}
@media (min-width: 1280px) {
  .home-doctors-v2 .dr-grid { grid-template-columns: repeat(4, 1fr); max-width: 1200px; gap: 1.5rem; }
}

/* ===== Footer pillar rehberleri: KAPALI accordion (<details>) ===== */
/* Eskiden hep açıktı ve tüm linkler /en/'e gidiyordu. Artık kapalı + ziyaretçinin dilinde. */
.footer-pillars { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.5rem; padding: 1rem 0 .4rem; }
.footer-pillars > summary.footer-pillars-title {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  cursor: pointer; list-style: none;
  color: var(--accent, #c28e7a);
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .55rem 0; margin: 0;
  transition: color .2s;
}
.footer-pillars > summary.footer-pillars-title::-webkit-details-marker { display: none; }
.footer-pillars > summary.footer-pillars-title:hover { color: var(--accent-soft, #ecc9b5); }
.footer-pillars .fp-caret { flex: 0 0 auto; transition: transform .25s ease; opacity: .8; }
.footer-pillars[open] .fp-caret { transform: rotate(180deg); }
.footer-pillars[open] > .footer-pillars-grid { margin-top: 1rem; padding-bottom: .5rem; }
.footer-pillars .footer-pillar-col h5 {
  color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 700;
  margin: 0 0 .5rem; letter-spacing: .02em;
}
.footer-pillars .footer-pillar-col ul { list-style: none; margin: 0; padding: 0; }
.footer-pillars .footer-pillar-col li { margin-bottom: .3rem; }
.footer-pillars .footer-pillar-col a {
  color: rgba(255,255,255,.6); font-size: .78rem; text-decoration: none; transition: color .18s;
}
.footer-pillars .footer-pillar-col a:hover { color: #fff; }
@media (max-width: 640px) {
  .footer-pillars-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem .75rem; }
  .footer-pillars .footer-pillar-col a { font-size: .74rem; }
}

/* ===== Hasta vaka coverflow (kare kartlar) ===== */
.hp-cf .hp-slide { aspect-ratio: 1 / 1; width: clamp(240px, 34vw, 380px); }
.hp-cf { margin-top: 1.5rem; }
.gv-section .gv-sub { color: var(--muted, #667); margin-top: .4rem; }
@media (max-width: 640px) {
  .hp-cf .hp-slide { width: clamp(210px, 62vw, 280px); }
  .hp-cf .home-cf-track { height: clamp(240px, 66vw, 320px); }
}

/* ===== Pillar: blog grid (görselli 4 sütun) + bölge rehberleri accordion + iç link ===== */
.pillar-blog { margin-top: 2.5rem; }
.pillar-blog h3 { font-size: 1.15rem; margin-bottom: 1rem; color: var(--primary); }
.pillar-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pillar-blog-card {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-blog-card .pbc-img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  background: var(--primary-50) center/cover no-repeat;
}
.pillar-blog-card .pbc-title {
  padding: .8rem .9rem 1rem; font-size: .9rem; font-weight: 600;
  color: var(--gray-900, #111); line-height: 1.35;
}
@media (max-width: 900px) { .pillar-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillar-blog-grid { grid-template-columns: 1fr; } }

.pillar-guides { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: .5rem; }
.pillar-guides > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; padding: .85rem 0;
  font-size: 1.05rem; font-weight: 700; color: var(--primary);
}
.pillar-guides > summary::-webkit-details-marker { display: none; }
.pillar-guides .pg-count {
  font-size: .75rem; background: var(--primary-50); color: var(--primary);
  padding: .1rem .5rem; border-radius: 999px; margin-left: .4rem; vertical-align: middle;
}
.pillar-guides .pg-caret { flex: 0 0 auto; transition: transform .25s ease; opacity: .7; }
.pillar-guides[open] .pg-caret { transform: rotate(180deg); }
.pillar-guides-list {
  list-style: none; margin: .5rem 0 0; padding: 0 0 .5rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 1.5rem;
}
.pillar-guides-list a { color: var(--muted, #556); font-size: .88rem; text-decoration: none; }
.pillar-guides-list a:hover { color: var(--primary); }
@media (max-width: 640px) { .pillar-guides-list { grid-template-columns: 1fr; } }

.pillar-inline-link { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.pillar-inline-link:hover { color: var(--accent-dark, #a86f56); }

/* ===== Hero: sol metne zarif açılış animasyonu (staggered fade-up) ===== */
.hero-c-main > * { animation: heroFadeUp .85s cubic-bezier(.2,.7,.2,1) both; }
.hero-c-main > *:nth-child(2) { animation-delay: .12s; }
.hero-c-main > *:nth-child(3) { animation-delay: .24s; }
.hero-c-main > *:nth-child(4) { animation-delay: .36s; }
.hero-c-main > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-c-main > * { animation: none; } }

/* Hero arka plana çok yavaş ken-burns (canlılık) */
.hero-slide-bg.active:not([data-media="video"]) { animation: heroKenBurns 22s ease-in-out infinite alternate; }

@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero-slide-bg.active { animation: none; } }

/* ===== Hero canlandırma: form açılışı + kaydırma göstergesi + buton parlaması ===== */
.hero-c-form { animation: heroFormIn 1s cubic-bezier(.2,.7,.2,1) .35s both; }
@keyframes heroFormIn { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }

/* Butonlarda ince parlama (hover'da soldan sağa) */
.btn-hero, .btn-pill { position: relative; overflow: hidden; }
.btn-hero::after, .btn-pill::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .55s ease; pointer-events: none;
}
.btn-hero:hover::after, .btn-pill:hover::after { left: 130%; }

/* Aşağı kaydırma göstergesi */
.hero-scroll {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 6; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
  animation: heroScrollFade 1.2s ease .8s both;
}
.hero-scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--accent-soft, #ecc9b5); animation: heroScrollDot 1.6s ease-in-out infinite; }
@keyframes heroScrollDot { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(10px); } }
@keyframes heroScrollFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) { .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-c-form { animation: none; }
  .hero-scroll span { animation: none; }
  .btn-hero::after, .btn-pill::after { display: none; }
}

/* ===== Mobil alt bar: ARA + WhatsApp öne çıkan aksiyon butonları ===== */
.bottom-nav .bn-cta {
  flex: 1.75;
  flex-direction: row;
  gap: .4rem;
  margin: .3rem .28rem;
  border-radius: 12px;
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(0,0,0,.2);
}
.bottom-nav .bn-cta::before { display: none; }
.bottom-nav .bn-cta .bottom-nav-ico { width: auto; height: 20px; }
.bottom-nav .bn-cta .bottom-nav-ico svg { width: 20px !important; height: 20px !important; }
.bottom-nav .bn-cta .bottom-nav-lbl { font-size: .82rem; font-weight: 700; }
.bottom-nav .bn-cta-phone    { background: var(--primary); }
.bottom-nav .bn-cta-whatsapp { background: #25D366; }
.bottom-nav .bn-cta:active   { transform: scale(.97); }
/* Anasayfa + Dil daha dar (küçük ikon) */
.bottom-nav .bottom-nav-item:not(.bn-cta) { flex: .7; }

/* Konum: bakır buton (ARA/WhatsApp'tan biraz dar, dikey kompakt — pasif ikon değil) */
.bottom-nav .bn-cta-location {
  flex: 1;
  flex-direction: column;
  gap: .12rem;
  background: var(--accent);
}
.bottom-nav .bn-cta-location .bottom-nav-lbl { font-size: .68rem; font-weight: 700; }
.bottom-nav .bn-cta-location .bottom-nav-ico svg { width: 20px !important; height: 20px !important; }

/* ============ Tedavi sayfası: metin + SSS (landing) — txd2 ============ */
.txd2 { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.txd2 .container { max-width: 940px; }
.txd2-eyebrow { display:inline-block; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-dark); font-weight:800; margin-bottom:.6rem; }
.txd2-h2 { font-family:var(--font-serif); font-size:clamp(1.7rem,3.6vw,2.5rem); line-height:1.15; color:var(--primary-dark); margin:0 0 1.1rem; font-weight:600; }
.txd2-h3 { font-family:var(--font-serif); font-size:clamp(1.35rem,2.6vw,1.8rem); color:var(--primary-dark); margin:0 0 .35rem; font-weight:600; }

.txd2-intro { text-align:center; max-width:760px; margin:0 auto; }
.txd2-prose { font-size:1.06rem; line-height:1.85; color:#3a4a4d; }
.txd2-prose { text-align:left; }
@media (min-width:720px){ .txd2-intro .txd2-prose { text-align:center; } }

/* Bilgi rozetleri */
.txd2-facts { display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin:2.2rem auto 0; }
.txd2-fact { flex:1 1 190px; max-width:240px; background:linear-gradient(180deg,#fff,var(--primary-50)); border:1px solid var(--primary-100); border-radius:var(--radius-lg); padding:1.3rem 1rem; text-align:center; box-shadow:0 6px 22px rgba(var(--primary-rgb),.06); }
.txd2-fact-ico { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:var(--radius-full); background:var(--accent-50); color:var(--accent-dark); margin-bottom:.6rem; }
.txd2-fact-lbl { display:block; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:#7d8a8c; font-weight:700; margin-bottom:.2rem; }
.txd2-fact-val { display:block; font-size:1.05rem; color:var(--primary-dark); font-weight:700; }

/* Avantajlar */
.txd2-benefits { margin-top:3rem; }
.txd2-benefits .txd2-h3 { text-align:center; margin-bottom:1.4rem; }
.txd2-ben-grid { display:grid; grid-template-columns:1fr; gap:.85rem; }
@media (min-width:640px){ .txd2-ben-grid { grid-template-columns:1fr 1fr; } }
.txd2-ben { display:flex; align-items:flex-start; gap:.7rem; background:#fff; border:1px solid #e9efee; border-radius:var(--radius); padding:.95rem 1.1rem; font-size:1rem; color:#33454a; line-height:1.5; transition:border-color .2s, box-shadow .2s, transform .2s; }
.txd2-ben:hover { border-color:var(--primary-200); box-shadow:0 8px 24px rgba(var(--primary-rgb),.08); transform:translateY(-2px); }
.txd2-ben-ico { flex:none; display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:var(--radius-full); background:var(--primary); color:#fff; margin-top:1px; }

/* SSS */
.txd2-faq { margin-top:3.2rem; }
.txd2-faq-head { text-align:center; margin-bottom:1.5rem; }
.txd2-faq-list { display:flex; flex-direction:column; gap:.75rem; max-width:820px; margin:0 auto; }
.txd2-faq-item { border:1px solid #e6ecec; border-radius:var(--radius-lg); background:#fff; overflow:hidden; transition:border-color .2s, box-shadow .2s; }
.txd2-faq-item[open] { border-color:var(--primary-200); box-shadow:0 10px 30px rgba(var(--primary-rgb),.08); }
.txd2-faq-q { list-style:none; cursor:pointer; display:flex; align-items:center; gap:1rem; padding:1.15rem 1.35rem; font-weight:600; color:var(--primary-dark); font-size:1.05rem; }
.txd2-faq-q::-webkit-details-marker { display:none; }
.txd2-faq-n { flex:none; font-family:var(--font-serif); font-size:1.05rem; font-weight:700; color:var(--accent); min-width:1.8em; }
.txd2-faq-qt { flex:1; }
.txd2-faq-ico { flex:none; position:relative; width:18px; height:18px; }
.txd2-faq-ico::before, .txd2-faq-ico::after { content:''; position:absolute; background:var(--accent-dark); border-radius:2px; transition:transform .25s; }
.txd2-faq-ico::before { top:8px; left:0; width:18px; height:2px; }
.txd2-faq-ico::after { left:8px; top:0; width:2px; height:18px; }
.txd2-faq-item[open] .txd2-faq-ico::after { transform:rotate(90deg); opacity:0; }
.txd2-faq-a { padding:0 1.35rem 1.3rem 4.15rem; color:#4a5a5d; line-height:1.75; font-size:1rem; }
@media (max-width:520px){ .txd2-faq-a { padding-left:1.35rem; } }

/* ===== Reklam-eşleşmeli SEO içerik blokları (message match) — adc ===== */
.adc { padding-block: clamp(2.5rem,6vw,4rem); background:linear-gradient(180deg,#fff,var(--primary-50)); border-top:1px solid var(--primary-100); }
.adc-wrap { max-width:820px; }
.adc-head { text-align:center; margin-bottom:2.2rem; }
.adc-eyebrow { display:inline-block; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-dark); font-weight:800; margin-bottom:.5rem; }
.adc-title { font-family:var(--font-serif); font-size:clamp(1.6rem,3.4vw,2.2rem); line-height:1.15; color:var(--primary-dark); margin:0; font-weight:600; }
/* adc: accordion — ilk açık, diğerleri tıkla-aç */
.adc-list { display:flex; flex-direction:column; gap:.75rem; }
.adc-item { background:#fff; border:1px solid var(--primary-100); border-radius:var(--radius-lg); overflow:hidden; transition:border-color .2s, box-shadow .2s; }
.adc-item[open] { border-color:var(--primary-200); box-shadow:0 10px 30px rgba(var(--primary-rgb),.07); }
.adc-sum { list-style:none; cursor:pointer; display:flex; align-items:center; gap:1rem; padding:1.05rem 1.3rem; }
.adc-sum::-webkit-details-marker { display:none; }
.adc-h { flex:1; font-family:var(--font-serif); font-size:clamp(1.02rem,2vw,1.22rem); line-height:1.35; color:var(--primary-dark); margin:0; font-weight:600; }
.adc-ico { flex:none; position:relative; width:16px; height:16px; }
.adc-ico::before, .adc-ico::after { content:''; position:absolute; background:var(--accent-dark); border-radius:2px; transition:transform .25s, opacity .25s; }
.adc-ico::before { top:7px; left:0; width:16px; height:2px; }
.adc-ico::after { left:7px; top:0; width:2px; height:16px; }
.adc-item[open] .adc-ico::after { transform:rotate(90deg); opacity:0; }
.adc-body { padding:0 1.3rem 1.25rem; }
.adc-body p { font-size:1rem; line-height:1.85; color:#3f5052; margin:0 0 .9rem; }
.adc-body p:last-child { margin-bottom:0; }
@media (max-width:520px){ .adc-body p { font-size:.96rem; line-height:1.78; } .adc-sum { padding:.95rem 1rem; } .adc-body { padding:0 1rem 1.1rem; } }

/* pillar bölümleri: accordion — ilk açık, diğerleri tıkla-aç */
.pillar-sec { background:#fff; border:1px solid #e6ecec; border-radius:var(--radius-lg); overflow:hidden; margin-bottom:.75rem; transition:border-color .2s, box-shadow .2s; }
.pillar-sec[open] { border-color:var(--primary-200); box-shadow:0 8px 26px rgba(var(--primary-rgb),.07); }
.pillar-sec-sum { list-style:none; cursor:pointer; display:flex; align-items:center; gap:1rem; padding:1.05rem 1.3rem; }
.pillar-sec-sum::-webkit-details-marker { display:none; }
.pillar-sec-h { flex:1; font-family:var(--font-serif); font-size:clamp(1.05rem,2.1vw,1.3rem); line-height:1.35; color:var(--primary-dark); margin:0; font-weight:600; }
.pillar-sec-ico { flex:none; position:relative; width:16px; height:16px; }
.pillar-sec-ico::before, .pillar-sec-ico::after { content:''; position:absolute; background:var(--accent-dark); border-radius:2px; transition:transform .25s, opacity .25s; }
.pillar-sec-ico::before { top:7px; left:0; width:16px; height:2px; }
.pillar-sec-ico::after { left:7px; top:0; width:2px; height:16px; }
.pillar-sec[open] .pillar-sec-ico::after { transform:rotate(90deg); opacity:0; }
.pillar-sec-body { padding:0 1.3rem 1.25rem; }
.pillar-sec-body p { font-size:1rem; line-height:1.8; color:#3f5052; margin:0; }
@media (max-width:520px){ .pillar-sec-sum { padding:.95rem 1rem; } .pillar-sec-body { padding:0 1rem 1.1rem; } }
