/* ==========================================================================
   Hairmotion Clinic — Design System
   Primary Navy #000051 · Gradient Blue→Teal→Green (logo-derived)
   Display & Body: Mazzard H
   ========================================================================== */

@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-ThinItalic.otf') format('opentype'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-ExtraLightItalic.otf') format('opentype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-SemiBoldItalic.otf') format('opentype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-ExtraBoldItalic.otf') format('opentype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mazzard H'; src: url('../fonts/MazzardH-BlackItalic.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  /* Colors */
  --navy:        #000051;
  --navy-soft:   #3F3F72;
  --navy-mute:   #6B6B94;
  --ink:         #16162B;

  --grad-1:      #009efd;
  --grad-2:      #08b2d2;
  --grad-3:      #14cc96;
  --grad-4:      #18d77f;
  --gradient:    linear-gradient(100deg, var(--grad-1) 0%, var(--grad-2) 35%, var(--grad-3) 70%, var(--grad-4) 100%);

  --bg:          #ffffff;
  --bg-soft:     #F5F8FA;
  --bg-tint:     #EEF7F6;
  --border:      #E3E9EE;
  --white:       #ffffff;

  /* Type */
  --font-display: 'Mazzard H', serif;
  --font-body: 'Mazzard H', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 81, 0.18);
  --shadow-soft: 0 10px 30px -15px rgba(0, 0, 81, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Klavye ile gezinirken görünür, markaya uygun odak halkası (fare tıklamasında görünmez) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--grad-3);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; color: var(--navy-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grad-3);
  margin-bottom: 14px;
}

/* ---------- Signature strand divider ---------- */
.strand {
  width: 120px;
  height: 14px;
  margin: 18px 0 28px;
}
.strand path {
  fill: none;
  stroke: url(#strandGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.strand.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-gradient {
  background: var(--gradient);
  color: var(--white);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -12px rgba(20,204,150,.45); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 22px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

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

/* Üst ince şerit: sosyal ikonlar solda, dil seçici sağda — ana beyaz şeridin üstünde ayrı, koyu bir katman. */
.header-topbar {
  background: var(--navy);
  padding: 8px 0;
}
.header-topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.topbar-social a {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.topbar-social a svg { display: block; }
.topbar-social a .icon-bg {
  fill: transparent;
  stroke: rgba(255,255,255,.35);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  transition: fill .25s ease, stroke .25s ease;
}
.topbar-social a .icon-glyph { fill: #fff; }
.topbar-social a:hover { transform: translateY(-2px) scale(1.06); }
.topbar-social a:hover .icon-bg { fill: url(#iconGradient); stroke: transparent; }
.topbar-social a:focus-visible { outline: 2px solid var(--grad-3); outline-offset: 2px; border-radius: 50%; }

/* Üst şeritteki dil seçici koyu zemine göre (beyaz metin) */
.topbar-lang .lang-current { color: #fff; }
.topbar-lang .lang-current:hover { background: rgba(255,255,255,.1); }
.topbar-lang .lang-menu-inner { color: var(--navy); }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.nav-primary a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .25s ease;
  border-radius: 2px;
}
.nav-primary a:hover::after,
.nav-primary a.active::after { width: 100%; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  display: none;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}
.dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-tint); }
.dropdown a::after { display: none; }

/* Language switcher — nav linkleriyle aynı sade dil: dolgu/kenarlık yok,
   sadece hover'da hafif bir zemin (dropdown öğeleriyle tutarlı). */
.lang-switch { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .82rem;
  color: var(--navy);
  cursor: pointer;
  background: transparent;
  transition: background .2s ease;
}
.lang-current:hover { background: var(--bg-tint); }
.lang-caret { width: 10px; height: 10px; flex-shrink: 0; transition: transform .2s ease; transform: rotate(90deg); }
.lang-switch:hover .lang-caret,
.lang-switch.open .lang-caret { transform: rotate(-90deg); }

.flag {
  display: inline-flex;
  width: 18px; height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.flag svg { width: 100%; height: 100%; display: block; }

/* .lang-menu: görünmez hover-köprüsü (boşluksuz), gerçek panel .lang-menu-inner'da.
   Her zaman tetikleyicinin altına, sağa hizalı açılır — viewport dışına taşma riski yok. */
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 10px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 110;
}
.lang-switch:hover .lang-menu,
.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lang-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
}
.lang-menu-inner a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy-soft);
  padding: 9px 14px;
  border-radius: 8px;
}
.lang-menu-inner a:hover { background: var(--bg-tint); color: var(--navy); }

.cta-header {
  padding: 9px 16px;
  font-size: .8rem;
  gap: 0;
}

.nav-toggle { display: none; }

/* Nav öğe sayısı + sağdaki dil/sosyal grubu dar/orta genişliklerde sığmıyor —
   bu aralıkta hamburger menüye geç (içerik grid'lerinin kendi 980/760px
   kırılım noktalarına dokunmadan, ayrı bir kural olarak). */
@media (max-width: 1180px) {
  .nav-primary, .header-actions .btn { display: none; }
  .nav-toggle {
    display: flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--white);
  }
}

/* ---------- Header Banner (full-bleed image, separate from header & hero) ---------- */
.header-banner {
  position: relative;
  width: 100%;
  height: 640px;
  padding: 0;
  overflow: hidden;
}
.header-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,81,.15), rgba(0,0,81,.35));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { font-size: 1.12rem; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
}
.hero-stat span { font-size: .82rem; color: var(--navy-mute); font-weight: 600; }

/* ---------- Stats band (rakamlarla güven bölümü) ---------- */
.stats-band { position: relative; background: var(--bg-soft); overflow: hidden; }
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(120deg, rgba(0,0,81,.035) 0px, rgba(0,0,81,.035) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.stat-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 28px; height: 28px; stroke: var(--grad-3); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.stat-label { font-size: .88rem; color: var(--navy-mute); font-weight: 600; }

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .stat-card { padding: 28px 20px; }
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, #1a1a6e 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  flex-shrink: 0;
}
.hero-badge b { display: block; font-size: .95rem; color: var(--navy); }
.hero-badge span { font-size: .8rem; color: var(--navy-mute); }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--grad-3); }
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: .93rem; margin-bottom: 16px; }
.service-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Why us / features */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-item { text-align: left; }
.feature-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--grad-3);
  margin-bottom: 10px;
  display: block;
}
/* Sıralı olmayan (ilke/değer) listeleri için — feature-num'daki gibi sayı değil, nötr bir işaret */
.feature-mark {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
  margin-bottom: 14px;
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-item p { font-size: .9rem; }

/* Split section (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-tint);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.reverse .split-media { order: 2; }

.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--navy-soft);
  font-weight: 500;
}
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* Gallery (before/after) */
.gallery-band { background: var(--navy); color: var(--white); }
.gallery-band .section-head h2,
.gallery-band .section-head p { color: var(--white); }
.gallery-band .section-head p { color: rgba(255,255,255,.65); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid a {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- Galeri sayfası: öncesi/sonrası kartları (DB'den) ---------- */
.gallery-pairs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.gallery-pair-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-pair-images { display: grid; grid-template-columns: 1fr 1fr; }
.gallery-pair-img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.gallery-pair-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-pair-img span {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(0,0,81,.75);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 100px;
}
.gallery-pair-caption {
  padding: 16px 20px;
  margin: 0;
  font-size: .9rem;
  color: var(--navy-mute);
  font-weight: 600;
}
@media (max-width: 760px) {
  .gallery-pairs { grid-template-columns: 1fr; }
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 30px;
}
.testi-stars { color: var(--grad-3); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: .95rem; color: var(--navy-soft); font-style: italic; }
.testi-name { font-weight: 700; color: var(--navy); font-size: .9rem; margin-top: 16px; }

/* CTA band */
.cta-band {
  background: var(--gradient);
  border-radius: 32px;
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn-primary { background: var(--white); color: var(--navy); flex-shrink: 0; }

/* ---------- Inner page hero (simpler) ---------- */
.page-hero {
  padding: 60px 0 70px;
  background: var(--bg-soft);
  text-align: center;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--navy-mute);
  font-weight: 600;
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--navy); }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s ease; stroke: var(--grad-3); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }
.faq-a p { font-size: .93rem; margin: 0; }

/* FAQ category tabs + card grid (SSS page) */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.faq-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .01em;
  color: var(--navy-soft);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.faq-tab:hover { border-color: var(--navy-soft); color: var(--navy); }
.faq-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.faq-panel { display: none; }
.faq-panel.active { display: block; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-grid .faq-q { align-items: flex-start; gap: 14px; }
.faq-grid .faq-q-text { flex: 1; }
.faq-q-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.faq-q-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-q-icon { transform: rotate(180deg); }
.faq-grid .faq-a { padding: 0 22px 0 70px; }
.faq-grid .faq-item.open .faq-a { padding: 0 22px 22px 70px; }

@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-tabs { gap: 8px; }
  .faq-tab { padding: 10px 16px; font-size: .8rem; }
}

/* Contact / form */
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

/* ---------- Klinik haritası ---------- */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  height: 420px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 760px) {
  .map-embed { height: 300px; border-radius: var(--radius-sm); }
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  min-width: 0;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.contact-info-row:first-of-type { border-top: none; }
.contact-info-row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; stroke: var(--grad-3); }
.contact-info-row b { display: block; font-size: .95rem; }
.contact-info-row span { font-size: .85rem; color: rgba(255,255,255,.65); }

.contact-social { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-social > span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.contact-social .footer-social { margin-top: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--grad-3);
}
/* Sabit yükseklik — kullanıcı sürükleyip büyütemez, grid satırını (ve soldaki kartı) şişirmez */
textarea { resize: none; height: 220px; }
.char-count { display: block; text-align: right; font-size: .78rem; color: var(--navy-mute); margin-top: 6px; }
.char-count.char-count-limit { color: #c0392b; font-weight: 700; }

/* Zorunlu alan işareti — bu form'daki tüm alanlar zorunlu */
.contact-form .form-grid label::after { content: ' *'; color: #c0392b; }

/* Gönder butonu, soldaki iletişim kartıyla alt hizada bitsin */
.contact-form { display: flex; flex-direction: column; }
.contact-form .form-consent { margin-top: auto; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-top > * { min-width: 0; }
.footer-brand img { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-col a, .footer-col li, .footer-col span {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  padding: 6px 0;
  overflow-wrap: break-word;
}
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.footer-social a {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.footer-social svg { display: block; }
.footer-social .icon-bg {
  fill: transparent;
  stroke: rgba(255,255,255,.35);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  transition: fill .25s ease, stroke .25s ease;
}
.footer-social .icon-glyph { fill: #fff; }
.footer-social a:hover { transform: translateY(-2px) scale(1.06); }
.footer-social a:hover .icon-bg { fill: url(#iconGradient); stroke: transparent; }
.footer-social a:focus-visible { outline: 2px solid var(--grad-3); outline-offset: 2px; border-radius: 50%; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--white); }

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .72rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.footer-credit-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-credit-link:hover { color: rgba(255,255,255,.65); }
.footer-credit-mark {
  display: inline-flex;
  align-items: center;
  height: 15px;
}
.footer-credit-mark svg {
  height: 100%;
  width: auto;
  display: block;
  fill: rgba(255,255,255,.55);
  transition: fill .2s ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.footer-credit-link:hover .footer-credit-mark svg { fill: rgba(255,255,255,.85); }

/* WhatsApp float button */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(20,204,150,.5);
  z-index: 90;
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 42px; height: 42px; fill: var(--white); }

/* ---------- Image placeholder (gerçek görseller gelene kadar) ---------- */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-tint) 0%, #E4EEF2 100%);
  position: relative;
  min-height: 100%;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient);
  opacity: .08;
}
.img-placeholder span {
  position: relative;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy-mute);
  text-align: center;
  padding: 0 20px;
  letter-spacing: .02em;
}
.hero-visual .img-placeholder { background: linear-gradient(160deg, #0d0d5e 0%, #1a1a6e 100%); }
.hero-visual .img-placeholder span { color: rgba(255,255,255,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-wrap { grid-template-columns: 1fr; }
  .split-media { order: -1 !important; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 50px 32px; }
}

@media (max-width: 760px) {
  .service-grid, .feature-row, .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
  .hero { padding: 50px 0 60px; }
  .cta-band { border-radius: 20px; }
  .header-banner { height: 240px; }

  .header-inner { padding: 12px 20px; gap: 8px 14px; }
  .header-actions { gap: 10px; }

  .header-topbar-inner { padding: 0 16px; }
  .topbar-social a svg { width: 26px; height: 26px; }

  .mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
  .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--navy);
  }
  .mobile-nav .btn { margin-top: 24px; justify-content: center; }

  .footer-social { gap: 8px; }
  .footer-social a svg { width: 36px; height: 36px; }
}

.mobile-nav {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 200;
  padding: 24px 28px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }

/* ---------- Çerez onay banner'ı ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--navy);
  padding: 20px 28px;
  transform: translateY(110%);
  transition: transform .4s ease;
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,.2);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: .85rem; max-width: 640px; color: rgba(255,255,255,.75); line-height: 1.5; }
.cookie-banner p a { color: var(--white); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions button {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
#cookieDecline { background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
#cookieDecline:hover { border-color: rgba(255,255,255,.6); }
#cookieAccept { background: var(--gradient); border: none; color: var(--white); }
#cookieAccept:hover { opacity: .9; }
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}
