﻿:root {
  --color-bg: #ffffff;
  --color-text: #0b1220;
  --color-muted: #f1f5f9;
  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-accent: #22c55e;
  --color-warning: #f59e0b;
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
  --color-bg: #0f172a;
  --color-text: #f1f5f9;
  --color-muted: #1e293b;
  --color-primary: #38bdf8;
  --color-primary-dark: #0ea5e9;
  --color-accent: #4ade80;
  --color-warning: #fbbf24;
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px;
}

html, body { 
  height: 100%; 
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

header.site-header {
  position: sticky; 
  top: 0; 
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] header.site-header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}
.nav {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.brand { 
  font-weight: 700; 
  font-size: 1.5rem; 
  color: var(--color-primary-dark); 
  text-decoration: none;
  transition: var(--transition-smooth);
  letter-spacing: -0.025em;
}

.brand:hover {
  transform: translateY(-1px);
  color: var(--color-primary);
}

.logo-svg {
  height: 80px;
  width: auto;
  max-width: 250px;
  transition: var(--transition-smooth);
  display: block;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  
  position: relative;
  left: -60px;
  margin: 0;
  padding: 0;
  
  filter: none;
  
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  
  outline: none !important;
  -webkit-outline: none !important;
  -moz-outline: none !important;
  
  ::selection {
    background: transparent !important;
  }
  ::-moz-selection {
    background: transparent !important;
  }
}

.logo-svg:focus {
  outline: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .logo-svg {
  
  filter: invert(1) hue-rotate(180deg);
  
  
  
  
  
  
  
  
  
}

.menu { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
}

.menu a { 
  color: var(--color-text); 
  text-decoration: none; 
  padding: 12px 16px; 
  border-radius: 8px; 
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.menu a:hover, .menu a:focus { 
  background: var(--color-muted); 
  outline: none; 
  transform: translateY(-1px);
  color: var(--color-primary);
}

.menu a[aria-current="page"] {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.lang-switch { 
  display: inline-flex; 
  gap: 12px; 
  align-items: center; 
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.05);
}

.lang-switch a { 
  font-weight: 600; 
  color: var(--color-primary-dark);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.lang-switch a:hover {
  background: var(--color-primary);
  color: white;
}

.lang-switch a[aria-current="page"] {
  background: var(--color-primary);
  color: white;
}

.mobile-lang-switch {
  display: none;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 12px;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  z-index: 3;
}

[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle::before {
  transform: translateX(24px);
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .theme-toggle::after {
  content: '';
  left: 30px;
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.theme-toggle:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(14, 165, 233, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-toggle:focus {
  box-shadow: 
    0 0 0 3px rgba(56, 189, 248, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.theme-toggle:active {
  transform: scale(0.98);
}

html {
  transition: background-color 0.3s ease;
}

body, .card, .banner, header.site-header, input, textarea, select {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 40px;
    height: 20px;
    margin-left: 8px;
  }
  
  .theme-toggle::before {
    width: 16px;
    height: 16px;
  }
  
  .theme-toggle::after {
    width: 10px;
    height: 10px;
    left: 5px;
  }
  
  [data-theme="dark"] .theme-toggle::before {
    transform: translateX(20px);
  }
  
  [data-theme="dark"] .theme-toggle::after {
    left: 25px;
  }
  
  .nav {
    gap: 8px;
  }
  
  
  .logo-svg {
    left: -20px;
  }
}

.menu-toggle {
  display: none; 
  align-items: center; 
  justify-content: center;
  width: 40px; 
  height: 40px; 
  border-radius: 8px; 
  border: 1px solid #cbd5e1;
  background: #fff; 
  color: #0f172a; 
  font-size: 20px; 
  cursor: pointer;
  transition: var(--transition-smooth);
}

.menu-toggle:hover, .menu-toggle:focus { 
  background: var(--color-muted); 
  outline: none; 
  transform: scale(1.05);
}

.hero { 
  position: relative; 
  display: grid; 
  align-items: center; 
  min-height: 70vh; 
  padding: 80px 0; 
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #fff 100%);
  overflow: hidden;
  will-change: transform;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-inner { 
  display: grid; 
  gap: 24px; 
  max-width: 900px; 
  position: relative;
  z-index: 1;
}

.hero h1 { 
  margin: 0; 
  font-size: clamp(2.5rem, 6vw, 4rem); 
  line-height: 1.1; 
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero p { 
  margin: 0; 
  color: #475569; 
  font-size: 1.25rem; 
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 14px 28px; 
  border-radius: 12px; 
  border: 1px solid transparent;
  background: var(--color-primary); 
  color: #fff; 
  text-decoration: none; 
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-smooth);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover, .btn:focus { 
  background: var(--color-primary-dark); 
  outline: none; 
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn.secondary { 
  background: transparent; 
  color: var(--color-primary-dark); 
  border-color: var(--color-primary-dark);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

section { 
  padding: 80px 0; 
  position: relative;
}

section h2 { 
  margin-top: 0; 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-text);
}

section p.lead { 
  color: #475569; 
  font-size: 1.25rem; 
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.grid { 
  display: grid; 
  gap: 32px; 
}

.grid-3 { 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
}

.grid-2 { 
  grid-template-columns: repeat(2, minmax(0,1fr)); 
}

.grid-4 { 
  grid-template-columns: repeat(4, minmax(0,1fr)); 
}

.card {
  background: #fff; 
  border: 1px solid rgba(229, 231, 235, 0.5); 
  border-radius: 16px;
  padding: 32px; 
  display: grid; 
  gap: 16px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .card {
  background: var(--color-muted);
  border: 1px solid rgba(30, 41, 59, 0.5);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--color-primary);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 { 
  margin: 0 0 12px 0; 
  font-size: 1.5rem; 
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.card p { 
  margin: 0; 
  color: #64748b; 
  line-height: 1.6;
  font-size: 1rem;
}

.card .actions { 
  margin-top: 20px; 
}

.service-card {
  text-align: center;
  position: relative;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.feature-tag {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.doctor-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.doctor-photo {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  padding: 40px 20px;
  position: relative;
}

.photo-placeholder {
  font-size: 4rem;
  color: white;
  margin: 0 auto;
  display: block;
}

.doctor-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.specialization {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.specialty-badge {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.experience {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.specialty-desc {
  color: #64748b;
  font-style: italic;
  margin: 0;
}

.doctor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 8px 0;
}

.credential {
  background: var(--color-muted);
  color: var(--color-text);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.doctor-card .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: auto;
  flex-wrap: wrap;
}

.doctor-card .btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.banner { 
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); 
  border: 1px solid rgba(186, 230, 253, 0.5); 
  border-radius: 16px; 
  padding: 40px; 
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

[data-theme="dark"] .banner {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 1px solid rgba(30, 41, 59, 0.5);
}

.banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.kpi { 
  display: flex; 
  gap: 20px; 
  flex-wrap: wrap; 
  justify-content: center;
  margin-top: 40px;
}

.kpi .item { 
  background: linear-gradient(135deg, var(--color-muted) 0%, rgba(14, 165, 233, 0.05) 100%); 
  border-radius: 12px; 
  padding: 16px 24px; 
  font-weight: 600; 
  color: var(--color-text);
  border: 1px solid rgba(14, 165, 233, 0.1);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.kpi .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: var(--transition-smooth);
}

.kpi .item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary);
}

.kpi .item:hover::before {
  opacity: 0.1;
}

.kpi .item span {
  position: relative;
  z-index: 1;
}

.gallery { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; 
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.gallery-item img { 
  width: 100%; 
  height: 240px; 
  object-fit: cover; 
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2rem;
  color: white;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none; 
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-large);
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 16px;
  font-size: 1.1rem;
  max-width: 600px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 16px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  pointer-events: all;
  backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-primary);
  transform: scale(1.1);
}

form { 
  display: grid; 
  gap: 24px; 
  max-width: 640px; 
  margin: 0 auto;
}

label { 
  font-weight: 600; 
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

input, textarea, select {
  width: 100%; 
  padding: 16px 20px; 
  border-radius: 12px; 
  border: 2px solid #e2e8f0; 
  font: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] input, 
[data-theme="dark"] textarea, 
[data-theme="dark"] select {
  background: var(--color-muted);
  border: 2px solid rgba(30, 41, 59, 0.5);
  color: var(--color-text);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

input:focus, textarea:focus, select:focus { 
  outline: none; 
  border-color: var(--color-primary); 
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-group {
  margin: 16px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  position: relative;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.checkmark {
  position: relative;
}

.btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline;
}

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 25s ease-in-out infinite;
}

.cta-banner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px 0;
  text-align: left;
}

.cta-content p {
  font-size: 1.25rem;
  margin: 0 0 32px 0;
  opacity: 0.9;
  text-align: left;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions .btn {
  background: white;
  color: var(--color-primary);
  font-weight: 600;
}

.cta-actions .btn:hover {
  background: var(--color-muted);
  transform: translateY(-2px);
}

.cta-actions .btn.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-actions .btn.secondary:hover {
  background: white;
  color: var(--color-primary);
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.cta-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.feature-icon {
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

body {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

body.loaded {
  opacity: 1;
}

.btn, .card, .menu a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover, .card:hover, .menu a:hover {
  transform: translateY(-2px) scale(1.02);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-muted);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

.form-row { 
  display: grid; 
  gap: 16px; 
}

.error { 
  color: #dc2626; 
  font-size: 0.875rem;
  margin-top: 4px;
}

.success { 
  color: #059669; 
  font-size: 0.875rem;
  margin-top: 4px;
}

footer.site-footer { 
  background: linear-gradient(135deg, var(--color-muted) 0%, rgba(14, 165, 233, 0.05) 100%); 
  border-top: 1px solid rgba(229, 231, 235, 0.5); 
  padding: 60px 0 40px; 
  margin-top: 80px; 
}

.footer-grid { 
  display: grid; 
  gap: 40px; 
  grid-template-columns: repeat(4, minmax(0,1fr)); 
}

.footer-col h4 { 
  margin: 0 0 20px 0; 
  font-size: 1.125rem; 
  font-weight: 600;
  color: var(--color-text);
}

.footer-col a { 
  color: #64748b; 
  text-decoration: none; 
  transition: var(--transition-smooth);
  display: block;
  padding: 4px 0;
}

.footer-col a:hover { 
  color: var(--color-primary);
  transform: translateX(4px);
}

.copyright { 
  margin-top: 40px; 
  color: #94a3b8; 
  font-size: 0.9rem; 
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(229, 231, 235, 0.5);
}

@media (max-width: 1024px) {
  .grid-4 { 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
  }
  
  .hero {
    min-height: 60vh;
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .nav {
    height: 64px;
  }
  
  .menu-toggle { 
    display: inline-flex; 
  }
  
  
  .menu-toggle:hover, .menu-toggle:focus {
    background: #fff;
    transform: none;
  }
  
  
  .menu-toggle {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .menu-toggle.is-open {
    transform: rotate(90deg);
  }
  
  
  .desktop-lang-switch {
    display: none;
  }
  
  .menu { 
    display: flex; 
    gap: 8px; 
    position: absolute; 
    top: 64px; 
    left: 0; 
    right: 0; 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5); 
    box-shadow: var(--shadow-large); 
    padding: 20px 24px; 
    flex-direction: column; 
    border-radius: 0 0 16px 16px;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  [data-theme="dark"] .menu {
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  }
  
  .menu.is-open { 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  
  .mobile-lang-switch {
    display: inline-flex;
    justify-content: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
  }
  
  [data-theme="dark"] .mobile-lang-switch {
    border-top: 1px solid rgba(30, 41, 59, 0.3);
  }
  
  .grid-3 { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .gallery { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .hero {
    min-height: 50vh;
    padding: 40px 0;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  
  section {
    padding: 60px 0;
  }

  
  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .cta-content h2 {
    text-align: center;
  }

  .cta-content p {
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  
  .doctor-card .actions {
    flex-direction: column;
  }

  .doctor-card .btn {
    min-width: auto;
  }

  
  .service-features {
    justify-content: center;
  }

  
  .lightbox-nav {
    position: fixed;
    bottom: 20px;
    top: auto;
    transform: none;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 12px 16px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-2 { 
    grid-template-columns: 1fr; 
  }
  
  .gallery { 
    grid-template-columns: 1fr; 
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero {
    min-height: 40vh;
    padding: 32px 0;
  }
  
  .hero h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  
  section {
    padding: 40px 0;
  }
  
  .card {
    padding: 24px;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.page-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

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