/* ===== Health Clinic Turkey - Main Stylesheet ===== */
/* Patient-Focused Medical Tourism: Blue-White, Trust, Clean */

:root {
  /* Primary Colors */
  --primary: #0062FF;
  --primary-dark: #0050D0;
  --primary-light: #3D85FF;
  --primary-50: rgba(0,98,255,.05);
  --primary-100: rgba(0,98,255,.1);
  --primary-200: rgba(0,98,255,.2);

  /* Secondary */
  --secondary: #00C2FF;
  --secondary-dark: #00A3D9;

  /* Gradient */
  --gradient: linear-gradient(135deg, #0062FF, #00C2FF);
  --gradient-soft: linear-gradient(135deg, rgba(0,98,255,.08), rgba(0,194,255,.08));

  /* Neutrals */
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --bg-alt: #F0F4F8;
  --surface: #FFFFFF;
  --surface-hover: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Category Colors */
  --cat-hospital: #0062FF;
  --cat-clinic: #7C3AED;
  --cat-doctor: #059669;
  --cat-agency: #D97706;

  /* Sizing */
  --nav-h: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.07);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 6px 16px rgba(0,0,0,.04);
  --shadow-card-hover: 0 8px 30px rgba(0,98,255,.12);

  /* Transitions */
  --ease: cubic-bezier(.25,.8,.25,1);
  --duration: .3s;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text-primary); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration) var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== UTILITIES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; scroll-margin-top: 80px; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-label { 
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px; 
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
  background: var(--primary-50); padding: 6px 16px; border-radius: var(--radius-full);
}
.section-title { 
  font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 44px); 
  font-weight: 800; color: var(--text-primary); line-height: 1.2; margin-bottom: 12px;
}
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

.section-cta { text-align: center; margin-top: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 600;
  transition: all var(--duration) var(--ease); border: none; cursor: pointer;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-primary { background: var(--gradient); color: var(--text-white); box-shadow: 0 4px 14px rgba(0,98,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,98,255,.4); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* Fade In Animation */
.fi { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fi.vis { opacity: 1; transform: translateY(0); }

/* Spinner */
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,48,135,.06);
  transition: all var(--duration) var(--ease);
}
#navbar.scrolled { background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 16px; font-weight: 800; color: var(--text-primary); letter-spacing: -.3px; }
.logo-sub { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--primary); }

/* Nav Links */
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text-secondary); font-weight: 500; transition: color var(--duration); position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--duration); border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--radius-full); background: var(--bg-alt); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer;
  transition: all var(--duration);
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.lang-flag { font-size: 16px; }

/* Lang Flags Side-by-Side */
.lang-flags { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  display: flex; align-items: center; justify-content: center; padding: 4px;
  border-radius: 6px; background: transparent; border: 2px solid transparent;
  cursor: pointer; transition: all var(--duration); line-height: 1;
  opacity: 0.5;
}
.lang-btn img { border-radius: 4px; vertical-align: middle; display: block; }
.lang-btn:hover { opacity: 1; }
.lang-btn.active { border-color: var(--primary); opacity: 1; }

.nav-btn {
  padding: 8px 18px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
  transition: all var(--duration) var(--ease); text-decoration: none;
}
.nav-btn-outline { color: var(--text-secondary); border: 1.5px solid var(--border); }
.nav-btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.nav-btn-primary { background: var(--gradient); color: var(--text-white); box-shadow: 0 2px 8px rgba(0,98,255,.25); }
.nav-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,98,255,.35); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--duration); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px); padding: 16px 24px 24px; z-index: 10000;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: all var(--duration) var(--ease);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 15px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); font-weight: 500; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu-actions { display: flex; gap: 12px; margin-top: 16px; }
.mobile-menu-actions .nav-btn { flex: 1; text-align: center; }

/* ===== HERO ===== */
.hero-section {
  position: relative; z-index: 5;
  padding: calc(var(--nav-h) + 60px) 0 100px;
  background: linear-gradient(160deg, #020617 0%, #0c1a3a 30%, #0a1628 60%, #020617 100%);
  min-height: 600px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-gradient {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 25% 50%, rgba(0,98,255,.15), transparent),
    radial-gradient(ellipse 50% 40% at 75% 30%, rgba(0,194,255,.08), transparent);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .08;
  background-image: 
    linear-gradient(rgba(0,98,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,98,255,.4) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
  animation: heroOrbFloat 20s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(0,98,255,.12); top: -150px; left: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(0,194,255,.1); bottom: -100px; right: -50px; animation-delay: -7s; }
.hero-orb-3 { width: 300px; height: 300px; background: rgba(59,130,246,.08); top: 50%; left: 60%; animation-delay: -13s; }

@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(.95); }
  75% { transform: translate(10px, 10px) scale(1.02); }
}

/* Floating medical icons */
.hero-float-icon {
  position: absolute; font-size: 28px; opacity: .12;
  animation: heroIconDrift 25s ease-in-out infinite;
  pointer-events: none;
}
.hfi-1 { top: 15%; left: 8%; animation-delay: 0s; }
.hfi-2 { top: 25%; right: 12%; animation-delay: -4s; font-size: 24px; }
.hfi-3 { bottom: 30%; left: 15%; animation-delay: -8s; }
.hfi-4 { top: 40%; right: 25%; animation-delay: -12s; font-size: 22px; }
.hfi-5 { bottom: 20%; right: 8%; animation-delay: -16s; font-size: 26px; }
.hfi-6 { top: 60%; left: 35%; animation-delay: -20s; font-size: 20px; }

@keyframes heroIconDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -25px) rotate(5deg); }
  50% { transform: translate(-10px, 15px) rotate(-3deg); }
  75% { transform: translate(20px, 10px) rotate(2deg); }
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
}

/* Platform Label */
.platform-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.platform-label::before,
.platform-label::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35));
  border-radius: 2px;
}
.platform-label::after {
  background: linear-gradient(90deg, rgba(255,255,255,.35), transparent);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,98,255,.12); border: 1px solid rgba(0,98,255,.25);
  backdrop-filter: blur(12px);
  padding: 8px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: rgba(147,197,253,1);
  margin-bottom: 28px;
  animation: heroFadeUp .8s ease both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3b82f6;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(59,130,246,.6);
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: -.5px;
  margin-bottom: 16px;
  animation: heroFadeUp .8s ease .1s both;
}
.hero-highlight {
  background: linear-gradient(135deg, #60a5fa, #34d399, #60a5fa);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroShimmer 4s linear infinite;
}
@keyframes heroShimmer { to { background-position: 200% center; } }

.hero-desc {
  font-size: 17px; color: rgba(203,213,225,.8);
  max-width: 550px; margin: 0 auto 36px;
  line-height: 1.7;
  animation: heroFadeUp .8s ease .2s both;
}

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 42px;
  animation: heroFadeUp .8s ease .3s both;
}
.hero-stat { text-align: center; padding: 0 28px; }
.hero-stat-top { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 900; color: #fff;
}
.hero-stat-plus { font-size: 18px; font-weight: 700; color: #60a5fa; }
.hero-stat-label { font-size: 13px; color: rgba(148,163,184,.8); font-weight: 500; display: block; margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.1); }

/* Hero Search Bar */
.hero-search-wrap {
  max-width: 900px; margin: 0 auto 24px;
  animation: heroFadeUp .8s ease .4s both;
  position: relative; z-index: 10;
}
.hero-search-bar {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-search-bar:focus-within {
  border-color: rgba(59,130,246,.5);
  box-shadow: 0 8px 40px rgba(0,98,255,.15), 0 0 0 1px rgba(59,130,246,.2), inset 0 1px 0 rgba(255,255,255,.08);
}

.hsf { display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.hsf svg { color: rgba(148,163,184,.6); flex-shrink: 0; }
.hsf-sel { flex: 1; min-width: 0; }

.hsf select {
  border: none; outline: none; background: transparent;
  font-size: 13px; color: rgba(203,213,225,.8); width: 100%;
  padding: 16px 0; font-family: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.hsf select option { background: #1e293b; color: #e2e8f0; }

/* Custom Dropdown */
.hsf-dd { position: relative; width: 100%; cursor: pointer; }
.hsf-dd-trigger {
  font-size: 13px; color: rgba(203,213,225,.8);
  padding: 16px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  user-select: none;
}
.hsf-dd.open .hsf-dd-trigger { color: #fff; }
.hsf-dd-menu {
  position: fixed;
  min-width: 220px; max-height: 280px; overflow-y: auto;
  background: rgba(15,23,42,.96); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  z-index: 500; display: none;
  animation: hsfDdOpen .2s ease;
}
@keyframes hsfDdOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hsf-dd-item {
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: rgba(203,213,225,.85);
  cursor: pointer; transition: all .15s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hsf-dd-item:hover { background: rgba(59,130,246,.12); color: #fff; }
.hsf-dd-item.active {
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(6,182,212,.15));
  color: #fff; font-weight: 600;
}
.hsf-dd-menu::-webkit-scrollbar { width: 5px; }
.hsf-dd-menu::-webkit-scrollbar-track { background: transparent; }
.hsf-dd-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 10px; }
.hsf-dd-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

.hero-search-sep { width: 1px; background: rgba(255,255,255,.08); margin: 12px 0; flex-shrink: 0; }

.hero-search-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff; border: none; padding: 0 28px;
  font-weight: 700; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: all .3s; flex-shrink: 0;
  border-radius: 0 20px 20px 0;
}
.hero-search-btn:hover { filter: brightness(1.15); }
.hero-search-btn svg { flex-shrink: 0; }

/* Hero Tags */
.hero-tags {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  animation: heroFadeUp .8s ease .5s both;
}
.hero-tag { font-size: 13px; color: rgba(148,163,184,.6); font-weight: 500; }
.tag-link {
  font-size: 12px; padding: 4px 12px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.06); color: rgba(203,213,225,.7); font-weight: 500;
  border: 1px solid rgba(255,255,255,.1); transition: all var(--duration);
}
.tag-link:hover { border-color: rgba(59,130,246,.5); color: #93c5fd; background: rgba(59,130,246,.1); }

/* Hero Wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 3; }
.hero-wave svg { width: 100%; height: 60px; }

/* Fade Animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HOMEPAGE TREATMENT PILL GRID ===== */
.hp-treat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.hp-treat-pill {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 8px 14px; border-radius: 16px; border: 1.5px solid #e2e8f0;
  background: #fff; text-decoration: none; text-align: center;
  position: relative; overflow: hidden;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.hp-treat-pill::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,98,255,.04), rgba(0,194,255,.03));
  opacity: 0; transition: opacity .3s;
}
.hp-treat-pill:hover::before { opacity: 1; }
.hp-treat-pill:hover {
  border-color: var(--primary-200); transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,98,255,.1);
}
.hp-treat-icon { font-size: 28px; line-height: 1; transition: transform .3s; }
.hp-treat-pill:hover .hp-treat-icon { transform: scale(1.15); }
.hp-treat-name {
  font-size: .8rem; font-weight: 600; color: #334155; line-height: 1.3;
}
.hp-treat-count {
  font-size: .7rem; font-weight: 600; color: #94a3b8;
  background: #f1f5f9; padding: 2px 10px; border-radius: 100px;
}
.hp-treat-all {
  border: 2px dashed var(--primary); background: rgba(0,98,255,.04);
}
.hp-treat-all .hp-treat-icon {
  font-size: 24px; color: var(--primary); font-style: normal;
}
.hp-treat-all .hp-treat-name { color: var(--primary); font-weight: 700; }
.hp-treat-all .hp-treat-count { background: rgba(0,98,255,.1); color: var(--primary); }
.hp-treat-all:hover {
  background: var(--primary); border-color: var(--primary); border-style: solid;
}
.hp-treat-all:hover .hp-treat-icon,
.hp-treat-all:hover .hp-treat-name { color: #fff; }
.hp-treat-all:hover .hp-treat-count { background: rgba(255,255,255,.2); color: rgba(255,255,255,.85); }

/* Legacy treatment cards (keep for other pages) */
.treatments-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

.treatment-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; text-decoration: none; position: relative; overflow: hidden;
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
}
.treatment-card:hover {
  transform: translateY(-4px); border-color: var(--primary-200);
  box-shadow: var(--shadow-card-hover);
}
.treatment-card:hover .tc-arrow { opacity: 1; transform: translateX(0); color: var(--primary); }

.tc-icon-wrap {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tc-icon-wrap .tc-icon { font-size: 28px; line-height: 1; }
.tc-blue { background: rgba(0,98,255,.08); }
.tc-purple { background: rgba(124,58,237,.08); }
.tc-teal { background: rgba(20,184,166,.08); }
.tc-pink { background: rgba(236,72,153,.08); }
.tc-cyan { background: rgba(6,182,212,.08); }
.tc-orange { background: rgba(245,158,11,.08); }
.tc-rose { background: rgba(244,63,94,.08); }
.tc-green { background: rgba(16,185,129,.08); }
.tc-red { background: rgba(239,68,68,.08); }

.tc-body { flex: 1; min-width: 0; }
.treatment-card h3 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.treatment-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-price { display: block; font-size: 12px; font-weight: 600; color: var(--success); margin-top: 4px; }
.tc-arrow {
  flex-shrink: 0; color: var(--text-muted); opacity: 0; transform: translateX(-6px);
  transition: all var(--duration);
}

/* ===== FIRMS GRID ===== */
.filter-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 20px; border-radius: var(--radius-full); font-size: 14px; font-weight: 500;
  color: var(--text-secondary); background: var(--white); border: 1.5px solid var(--border);
  transition: all var(--duration);
}
.filter-tab:hover { border-color: var(--primary-200); color: var(--primary); }
.filter-tab.active { background: var(--gradient); color: var(--text-white); border-color: transparent; }

.firms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; min-height: 200px;
}

.firms-loading { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--text-muted); }

.firm-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden; transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-card); text-decoration: none; display: block;
}
.firm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.firm-cover {
  height: 180px; background: var(--gradient-soft); position: relative; overflow: hidden;
}
.firm-cover img { width: 100%; height: 100%; object-fit: cover; }
.firm-badge-category {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--white);
}
.firm-badge-category.hospital { background: var(--cat-hospital); }
.firm-badge-category.clinic { background: var(--cat-clinic); }
.firm-badge-category.doctor { background: var(--cat-doctor); }
.firm-badge-category.agency { background: var(--cat-agency); }

.firm-cert-badge {
  position: absolute; top: 12px; right: 12px; background: rgba(16,185,129,.9);
  color: var(--white); font-size: 10px; font-weight: 700; padding: 4px 8px;
  border-radius: var(--radius-sm); display: flex; align-items: center; gap: 4px;
}

.firm-body { padding: 20px; }
.firm-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.firm-logo {
  width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--bg-alt);
  overflow: hidden; flex-shrink: 0; border: 2px solid var(--white);
  margin-top: -36px; position: relative; box-shadow: var(--shadow-sm);
}
.firm-logo img { width: 100%; height: 100%; object-fit: cover; }
.firm-name { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.firm-doctor-title { font-size: 12px; color: var(--primary); font-weight: 500; }
.firm-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.firm-meta {
  display: flex; align-items: center; gap: 12px; padding-top: 14px;
  border-top: 1px solid var(--border-light); flex-wrap: wrap;
}
.firm-meta-item {
  display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted);
}
.firm-meta-item svg { width: 14px; height: 14px; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.step-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 28px; text-align: center; position: relative;
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-card);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.step-number {
  position: absolute; top: -16px; left: 28px; font-size: 48px; font-weight: 900;
  font-family: 'Playfair Display', serif; color: var(--primary-100); line-height: 1;
}
.step-icon {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  background: var(--gradient-soft); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--primary);
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.cat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px 24px; text-align: center; transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-card);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.cat-icon-wrap {
  width: 80px; height: 80px; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; transition: all var(--duration);
}
.cat-hospital { background: rgba(0,98,255,.08); color: var(--cat-hospital); }
.cat-clinic { background: rgba(124,58,237,.08); color: var(--cat-clinic); }
.cat-doctor { background: rgba(5,150,105,.08); color: var(--cat-doctor); }
.cat-agency { background: rgba(217,119,6,.08); color: var(--cat-agency); }

.cat-card:hover .cat-hospital { background: var(--cat-hospital); color: var(--white); }
.cat-card:hover .cat-clinic { background: var(--cat-clinic); color: var(--white); }
.cat-card:hover .cat-doctor { background: var(--cat-doctor); color: var(--white); }
.cat-card:hover .cat-agency { background: var(--cat-agency); color: var(--white); }

.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cat-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--primary); transition: gap var(--duration); display: inline-flex; align-items: center; gap: 4px; }
.cat-card:hover .cat-link { gap: 8px; }

/* ===== CITIES ===== */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.city-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  height: 220px; display: block; text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.city-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.city-card:hover .city-bg { transform: scale(1.08); }

.city-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-color: var(--primary-dark); transition: transform .6s var(--ease);
}
.city-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%, transparent);
}
.city-overlay h3 { font-size: 22px; font-weight: 800; color: var(--white); }
.city-count { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; }
.cta-card {
  background: var(--gradient); border-radius: var(--radius-2xl);
  padding: 60px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.1), transparent),
    radial-gradient(ellipse at 20% 80%, rgba(0,0,0,.1), transparent);
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-visual { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.cta-float-card {
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 16px 24px; display: flex; align-items: center; gap: 14px;
  color: var(--white); animation: float 6s ease-in-out infinite;
}
.cta-fc-2 { animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cta-float-card span { font-size: 32px; }
.cta-float-card strong { display: block; font-size: 20px; font-weight: 800; }
.cta-float-card small { font-size: 12px; opacity: .8; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-primary); color: rgba(255,255,255,.6); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand { }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: var(--white); }
.footer-about { font-size: 14px; line-height: 1.7; max-width: 300px; }

.footer-platform{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:6px}
.footer-firm-count{display:inline-block;font-size:12px;font-weight:700;color:#00C2FF;background:rgba(0,194,255,.1);padding:3px 12px;border-radius:100px;margin-bottom:12px}
.footer-headline{font-family:'Playfair Display',serif;font-size:18px;font-weight:800;color:#fff;line-height:1.3;margin-bottom:8px;max-width:300px}
.footer-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.footer-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 22px;border-radius:10px;font-size:13px;font-weight:600;text-decoration:none;transition:all .25s ease}
.footer-btn-outline{color:rgba(255,255,255,.8);border:1.5px solid rgba(255,255,255,.15);background:transparent}
.footer-btn-outline:hover{border-color:rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.06)}
.footer-btn-primary{color:#fff;background:var(--gradient);border:none;box-shadow:0 4px 14px rgba(0,98,255,.3)}
.footer-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,98,255,.4)}

.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; transition: color var(--duration); }
.footer-col a:hover { color: var(--secondary); }

.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  transition: all var(--duration);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-powered a { color: var(--secondary); font-weight: 600; }
.footer-powered a:hover { color: var(--white); }

/* ===== TOAST ===== */
#toast {
  position: fixed; bottom: 24px; right: 24px; background: var(--text-primary);
  color: var(--white); padding: 14px 24px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; z-index: 9999;
  opacity: 0; transform: translateY(12px); transition: all .3s var(--ease);
  pointer-events: none; max-width: 320px;
  box-shadow: var(--shadow-xl);
}
#toast.show { opacity: 1; transform: translateY(0); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-items {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* ===== NAV CLINIC LINK ===== */
.nav-btn-clinic {
  font-size: 12px !important; padding: 6px 14px !important;
  color: var(--text-muted) !important; border-color: var(--border) !important;
}
.nav-btn-clinic:hover { color: var(--primary) !important; border-color: var(--primary) !important; }

/* ===== WHY TURKEY ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px 24px; text-align: center; transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-card);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* HP Big Stats Row */
.hp-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 48px;
}
.hp-big-stat {
  text-align: center; padding: 32px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  transition: all var(--duration) var(--ease);
}
.hp-big-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--primary-200); }
.hp-big-num {
  font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1; margin-bottom: 4px;
}
.hp-big-label { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

/* ===== HP FEATURED CITY CARDS ===== */
.hp-fc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 210px);
  gap: 18px;
}
.hp-fc-grid .hp-fc:first-child { grid-row: 1 / 3; }

.hp-fc {
  position: relative; border-radius: 20px; overflow: hidden;
  display: block; text-decoration: none; cursor: pointer;
  transition: all .45s cubic-bezier(.25,.8,.25,1);
}
.hp-fc:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(0,0,0,.18); }
.hp-fc:hover .hp-fc-bg { transform: scale(1.08); }

.hp-fc-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.25,.8,.25,1);
}
.hp-fc-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.05) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.hp-fc-rank {
  position: absolute; top: 16px; left: 18px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--fc, #10b981); color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.hp-fc-info { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.hp-fc-name {
  font-size: 22px; font-weight: 800; color: #fff;
  margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hp-fc-count {
  font-size: 12px; color: rgba(255,255,255,.65); font-weight: 500;
  white-space: nowrap;
}
.hp-fc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-fc-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85); font-weight: 500;
  border: 1px solid rgba(255,255,255,.1);
}

/* ===== HP FAQ SPLIT LAYOUT ===== */
.hp-faq-layout {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start;
}
.hp-faq-left .section-label { display: inline-block; }
.hp-faq-left .section-title { margin-bottom: 12px; }
.hp-faq-left .section-desc { max-width: none; }
.hp-faq-right .faq-list { max-width: none; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--duration);
}
.faq-item:hover { border-color: var(--primary-200); }
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--text-primary);
  text-align: left; cursor: pointer; background: none; border: none;
  transition: color var(--duration);
}
.faq-question:hover { color: var(--primary); }
.faq-chevron { transition: transform var(--duration); flex-shrink: 0; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* Compact FAQ */
.faq-compact .faq-item { margin-bottom: 6px; }
.faq-compact .faq-question { padding: 14px 20px; font-size: 14px; }
.faq-compact .faq-answer { padding: 0 20px; }
.faq-compact .faq-item.open .faq-answer { padding: 0 20px 14px; }
.faq-show-more {
  display: block; width: 100%; margin-top: 16px; padding: 14px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); color: var(--primary);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all var(--duration); text-align: center;
}
.faq-show-more:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== COMPACT FAQ GRID ===== */
.sh-faq-section {
  padding: 40px 0 32px;
  background: var(--bg-alt, #f8fafc);
}
.sh-faq-header {
  text-align: center;
  margin-bottom: 28px;
}
.sh-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}
.sh-faq-item {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.sh-faq-item:hover {
  border-color: var(--primary, #0062FF);
}
.sh-faq-item.open {
  border-color: var(--primary, #0062FF);
  box-shadow: 0 2px 12px rgba(0,98,255,.1);
}
.sh-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  line-height: 1.4;
}
.sh-faq-q svg {
  flex-shrink: 0;
  color: var(--text-muted, #94a3b8);
  transition: transform .25s ease, color .25s;
}
.sh-faq-item.open .sh-faq-q svg {
  transform: rotate(180deg);
  color: var(--primary, #0062FF);
}
.sh-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 16px;
}
.sh-faq-item.open .sh-faq-a {
  max-height: 200px;
  padding: 0 16px 14px;
}
.sh-faq-a p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary, #64748b);
}
@media (max-width: 768px) {
  .sh-faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sh-faq-q { font-size: 13px; padding: 12px 14px; }
  .sh-faq-a p { font-size: 12.5px; }
  .sh-faq-section { padding: 32px 0 24px; }
}

/* ===== FOOTER BOTTOM LINKS ===== */
.footer-bottom-links { display: flex; align-items: center; gap: 12px; }
.footer-bottom-links span { color: rgba(255,255,255,.3); }
.footer-clinic-link { color: rgba(255,255,255,.5); font-size: 13px; transition: color var(--duration); }
.footer-clinic-link:hover { color: var(--secondary); }

/* ================================================
   HOMEPAGE v2 — Clean Professional Redesign
   ================================================ */

/* ===== HP HERO ===== */
.hp-hero {
  position: relative; z-index: 5;
  padding: calc(var(--nav-h) + 100px) 0 100px;
  background: linear-gradient(170deg, #ffffff 0%, #f0f4ff 40%, #e0eaff 100%);
  overflow: hidden;
}
.hp-hero-deco {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hp-hero-deco::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,98,255,.07) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.hp-hero-deco::after {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.05) 0%, transparent 70%);
  bottom: -150px; left: -100px;
}
.hp-hero-inner {
  position: relative; z-index: 2; text-align: center;
}

/* Platform Label (shared with firmalar) */
.hp-hero .platform-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hp-hero .platform-label::before,
.hp-hero .platform-label::after {
  content: ''; width: 28px; height: 1.5px;
  background: var(--primary-200); border-radius: 2px;
}

/* Hero Badge */
.hp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-50); border: 1px solid var(--primary-200);
  padding: 8px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  margin-bottom: 28px;
  animation: heroFadeUp .8s ease both;
}
.hp-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0,98,255,.4);
}

/* Hero Title */
.hp-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; color: var(--text-primary);
  line-height: 1.15; letter-spacing: -.5px;
  margin-bottom: 16px;
  animation: heroFadeUp .8s ease .1s both;
}
.hp-hero-accent {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Description */
.hp-hero-desc {
  font-size: 17px; color: var(--text-secondary);
  max-width: 550px; margin: 0 auto 36px;
  line-height: 1.7;
  animation: heroFadeUp .8s ease .2s both;
}

/* HP Search Bar */
.hp-search-wrap {
  max-width: 900px; margin: 0 auto;
  animation: heroFadeUp .8s ease .3s both;
  position: relative; z-index: 10;
}
.hp-search-bar {
  display: flex; align-items: stretch;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.hp-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(0,98,255,.1), 0 0 0 4px rgba(0,98,255,.06);
}

.hp-sf { display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.hp-sf svg { color: var(--text-muted); flex-shrink: 0; }
.hp-sf-main { flex: 2.2; }
.hp-sf-sel { flex: 1; min-width: 0; }

.hp-sf input {
  border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--text-primary); width: 100%;
  padding: 16px 0; font-family: inherit;
}
.hp-sf input::placeholder { color: var(--text-muted); }

/* Override fl-dd trigger colors inside hp hero */
.hp-hero .fl-dd-trigger { color: var(--text-primary); font-size: 14px; font-weight: 500; }
.hp-hero .fl-dd.open .fl-dd-trigger { color: var(--primary); }

/* Light dropdown menu for homepage */
.hp-hero .fl-dd-menu {
  background: rgba(255,255,255,.98); backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.hp-hero .fl-dd-item { color: var(--text-secondary); }
.hp-hero .fl-dd-item:hover { background: rgba(0,98,255,.06); color: var(--text-primary); }
.hp-hero .fl-dd-item.active {
  background: rgba(0,98,255,.08); color: var(--primary); font-weight: 600;
}
.hp-hero .fl-dd-menu::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); }

.hp-search-sep { width: 1px; background: var(--border); margin: 12px 0; flex-shrink: 0; }

.hp-search-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--gradient); color: #fff; border: none; padding: 0 28px;
  font-weight: 700; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: all .3s; flex-shrink: 0;
  border-radius: 0 18px 18px 0;
}
.hp-search-btn:hover { filter: brightness(1.1); box-shadow: 0 4px 16px rgba(0,98,255,.3); }
.hp-search-btn svg { flex-shrink: 0; }

/* HP Hero Stats */
.hp-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 20px;
  animation: heroFadeUp .8s ease .4s both;
}
.hp-stat { text-align: center; padding: 0 24px; }
.hp-stat-top { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.hp-hero .fl-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; color: var(--text-primary);
}
.hp-stat-plus { font-size: 15px; font-weight: 700; color: var(--primary); }
.hp-stat-label { font-size: 11.5px; color: var(--text-secondary); font-weight: 500; display: block; margin-top: 1px; }
.hp-stat-divider { width: 1px; height: 32px; background: var(--border); }

/* ===== Why Card SVG Icons ===== */
.why-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--primary);
  transition: all var(--duration) var(--ease);
}
.why-card:hover .why-icon-wrap {
  background: var(--gradient); color: #fff;
  transform: scale(1.05);
}

/* ===== TC SVG Icon ===== */
.tc-icon-wrap .tc-svg { stroke: currentColor; }
.tc-blue .tc-svg { color: #0062FF; }
.tc-purple .tc-svg { color: #7c3aed; }
.tc-teal .tc-svg { color: #14b8a6; }
.tc-pink .tc-svg { color: #ec4899; }
.tc-cyan .tc-svg { color: #06b6d4; }
.tc-orange .tc-svg { color: #f59e0b; }
.tc-rose .tc-svg { color: #f43f5e; }
.tc-green .tc-svg { color: #10b981; }
.tc-red .tc-svg { color: #ef4444; }

/* ===== TREATMENTS GRID 3-COL ON 9 ITEMS ===== */
.treatments-grid { grid-template-columns: repeat(3, 1fr); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(36px, 6vw, 56px); }
  .hero-stats .hero-stat { padding: 0 20px; }
  .hsf-sel:last-of-type { display: none; }
  .hero-search-sep:last-of-type { display: none; }
  .hp-treat-grid { grid-template-columns: repeat(4, 1fr); }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .firms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hp-fc-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 200px); }
  .hp-fc-grid .hp-fc:first-child { grid-row: 1 / 3; }
  .hp-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hp-faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .hp-faq-left .section-title, .hp-faq-left .section-desc { text-align: center !important; }
  .hp-faq-left { text-align: center; }
  .hp-faq-left > div:last-child { display: flex; justify-content: center; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; }
  .cta-visual { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-items { gap: 24px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .nav-actions .nav-btn { display: none; }
  .hamburger { display: flex; }
  
  .hero-section { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; min-height: auto; }
  .hp-hero { padding: calc(var(--nav-h) + 60px) 0 70px; }
  .hp-hero-title { font-size: clamp(24px, 6.5vw, 36px); }
  .hp-hero-title br { display: none; }
  .hp-hero-desc { font-size: 15px; }
  .hp-hero-stats { flex-wrap: wrap; gap: 16px; }
  .hp-stat-divider { display: none; }
  .hp-stat { padding: 0 16px; }
  .hp-hero .fl-stat-num { font-size: 22px; }
  .hp-search-bar { flex-direction: column; border-radius: 16px; }
  .hp-search-sep { width: auto; height: 1px; margin: 0; }
  .hp-sf { padding: 0 16px; }
  .hp-sf-sel { display: flex; flex: 1; width: 100%; min-height: 52px; }
  .hp-sf-sel .fl-dd { display: flex; align-items: center; }
  .hp-sf-sel .fl-dd-trigger { font-size: 15px; padding: 16px 0; }
  .hp-sf input { font-size: 15px; padding: 14px 0; }
  .hp-sf input::placeholder { color: var(--text-muted); }
  .hp-search-btn { padding: 14px; justify-content: center; border-radius: 0 0 14px 14px; }
  .hero-title { font-size: clamp(28px, 7vw, 42px); }
  .hero-desc { font-size: 15px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-num { font-size: 26px; }

  .hero-search-bar { flex-direction: column; border-radius: 16px; }
  .hero-search-sep { width: auto; height: 1px; margin: 0; }
  .hsf { padding: 0 16px; }
  .hsf-sel { display: flex; }
  .hero-search-btn { padding: 14px; justify-content: center; border-radius: 0 0 16px 16px; }
  
  .hp-treat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hp-treat-pill { padding: 14px 6px 10px; }
  .hp-treat-icon { font-size: 24px; }
  .hp-treat-name { font-size: .72rem; }
  .treatments-grid { grid-template-columns: 1fr; gap: 10px; }
  .treatment-card { padding: 16px; }
  .tc-icon-wrap { width: 48px; height: 48px; }
  .tc-icon-wrap .tc-icon { font-size: 24px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  
  .firms-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 6px 14px; font-size: 13px; }
  
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  .hp-fc-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
  .hp-fc-grid .hp-fc:first-child { grid-row: auto; }
  .hp-fc-grid .hp-fc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hp-fc { height: 200px; }
  .hp-fc-name { font-size: 18px; }
  .hp-fc-ov { padding: 20px; }

  .hp-stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hp-big-stat { padding: 24px 12px; }
  .hp-big-num { font-size: 36px; }
  
  .cta-card { padding: 28px 20px; }
  .cta-content h2 { font-size: 24px; }
  .cta-buttons { flex-direction: column; }
  .cta-visual { display: none; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .trust-bar { padding: 12px 0; }
  .trust-items { gap: 16px; justify-content: center; }
  .trust-item { font-size: 12px; }

  .faq-question { padding: 16px 20px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 0 10px; }
  .hero-stat-num { font-size: 22px; }
  .hp-hero-stats { gap: 8px; }
  .hp-stat { padding: 0 10px; }
  .hp-hero .fl-stat-num { font-size: 20px; }
  .treatments-grid { grid-template-columns: 1fr; }
  .hp-fc-grid { grid-template-columns: 1fr; }
  .hp-fc { height: 180px; }
  .hp-fc-name { font-size: 18px; }
  .hp-stats-row { grid-template-columns: 1fr 1fr; }
  .hp-big-num { font-size: 32px; }
  .hero-tags { gap: 6px; }
  .tag-link { font-size: 11px; padding: 3px 10px; }
  .trust-items { flex-direction: column; gap: 10px; align-items: center; }
}

/* ===== MOBILE BOTTOM NAV BAR ===== */
.mob-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}
.mob-bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 500px;
  margin: 0 auto;
}
.mob-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: #6b7280;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1.2;
}
.mob-bottom-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  transition: transform .2s;
}
.mob-bottom-item.active {
  color: #0062FF;
}
.mob-bottom-item.active svg {
  transform: scale(1.1);
}
.mob-bottom-item:hover {
  color: #0062FF;
}
.mob-bottom-item.mob-bottom-register {
  color: #fff;
  background: linear-gradient(135deg, #0062FF, #00C2FF);
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 9px;
  box-shadow: 0 2px 8px rgba(0,98,255,.3);
}
.mob-bottom-item.mob-bottom-register svg {
  stroke: #fff;
}
.mob-bottom-item.mob-bottom-register:hover {
  color: #fff;
}

/* Language toggle in bottom bar */
.mob-bottom-lang {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0;
  border: none;
  background: none;
  cursor: pointer;
  padding: 2px 4px;
  -webkit-tap-highlight-color: transparent;
}
.mob-bottom-lang-toggle {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 2px;
  gap: 0;
}
.mob-bottom-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}
.mob-bottom-lang-btn.active {
  background: #0062FF;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,98,255,.3);
}
.mob-bottom-lang-label {
  font-size: 9px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .mob-bottom-bar { display: block; }
  body { padding-bottom: 68px; }
  .footer { margin-bottom: 0; }
}


/* Accessibility: focus-visible outline for keyboard navigation */
*:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Accessibility: focus-visible outline for keyboard navigation */
*:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
