@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@300;400;600&family=Playfair+Display:ital,wght@1,400;1,600&display=swap');

:root {
  --primary: #0d2d4c;
  --primary-rgb: 13, 45, 76;
  --white: #ffffff;
  --accent: #00a8cc;
  --accent-rgb: 0, 168, 204;
  --accent-dark: #008baa;
  --gray-bg: #e8ecf1;
  --gray-light: #f8f9fa;
  --mint: #2ecc71;
  --gold: #d4af37;
  --red: #e74c3c;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --shadow-sm: 0 4px 12px rgba(var(--primary-rgb), 0.06);
  --shadow-md: 0 10px 40px rgba(var(--primary-rgb), 0.12);
  --shadow-lg: 0 20px 60px rgba(var(--primary-rgb), 0.18);
  --shadow-accent: 0 10px 40px rgba(var(--accent-rgb), 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-accent: 'Playfair Display', serif;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.section-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 16px;
  position: relative;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn-pulse { animation: pulse 2.5s ease-in-out infinite; }
.btn-pulse:hover { animation: none; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1001;
  border-bottom: 2px solid var(--accent);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-info a {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.topbar-info a:hover { color: var(--accent); }

.topbar-info svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 5px 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--accent);
}

.lang-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-btn .flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.4);
}

.lang-btn:hover:not(.active) {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-lang-switch {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--gray-light);
  border: 1px solid var(--gray-bg);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
  margin-left: 16px;
}

.nav-lang-switch .lang-btn {
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 5px 12px;
}

.nav-lang-switch .lang-btn.active {
  background: var(--accent);
  color: var(--white);
}

.nav-lang-switch .lang-btn:hover:not(.active) {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

/* ============ NAVBAR ============ */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(var(--primary-rgb), 0.1);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled .navbar-inner {
  padding: 10px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-logo span {
  color: var(--accent);
}

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

.navbar-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--accent);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.82rem;
}

.navbar-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-light);
  border: 1px solid var(--gray-bg);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
}

.navbar-lang .lang-btn {
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 5px 12px;
}

.navbar-lang .lang-btn.active {
  background: var(--accent);
  color: var(--white);
}

.navbar-lang .lang-btn:hover:not(.active) {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1004;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.85) 0%, rgba(var(--primary-rgb), 0.5) 50%, rgba(var(--accent-rgb), 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px 24px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 8px;
  animation: heroTitle 1.2s ease 0.4s both;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--accent);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 1s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.2s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
  opacity: 0.7;
}

@keyframes heroTitle {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ============ WELCOME ============ */
.welcome {
  padding: 100px 0;
  background: var(--white);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.welcome-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.welcome-image:hover img {
  transform: scale(1.05);
}

.welcome-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-accent);
}

.welcome-image-badge strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-mono);
}

.welcome-text h2 {
  margin-bottom: 20px;
}

.welcome-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.welcome-values {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.welcome-value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--primary);
}

.welcome-value-item svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ============ SPECIALTIES ============ */
.specialties {
  padding: 100px 0;
  background: var(--primary);
  color: var(--white);
  position: relative;
  border-top: 3px solid var(--accent);
}

.specialties .section-title { color: var(--white); }
.specialties .section-desc { color: rgba(255,255,255,0.7); }

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.specialty-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.specialty-card:hover {
  transform: translateY(-12px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

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

.specialty-icon {
  width: 64px;
  height: 64px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.specialty-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
  transition: var(--transition);
}

.specialty-card:hover .specialty-icon {
  background: var(--accent);
}

.specialty-card:hover .specialty-icon svg {
  fill: var(--white);
}

.specialty-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.specialty-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.specialty-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specialty-link svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  transition: var(--transition);
}

.specialty-link:hover {
  color: var(--white);
}

.specialty-link:hover svg {
  fill: var(--white);
  transform: translateX(4px);
}

/* ============ BEFORE/AFTER GALLERY ============ */
.cases-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.case-slider {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  cursor: ew-resize;
}

.case-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-slider .case-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.05s linear;
}

.case-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

.case-slider-handle::after {
  content: '⟨ ⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  letter-spacing: 4px;
}

.case-slider-label {
  position: absolute;
  bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 4;
  letter-spacing: 0.5px;
}

.case-slider-label.label-before {
  left: 10px;
  background: rgba(var(--primary-rgb), 0.85);
  color: var(--white);
}

.case-slider-label.label-after {
  right: 10px;
  background: var(--accent);
  color: var(--white);
}

.case-info {
  padding: 20px 24px;
}

.case-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.case-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.case-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.case-meta svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

/* ============ TEAM ============ */
.team-section {
  padding: 100px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.doctor-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.08);
}

.doctor-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(var(--primary-rgb), 0.9));
  color: var(--white);
}

.doctor-image-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doctor-info {
  padding: 24px;
}

.doctor-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.doctor-specialty {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.doctor-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.doctor-exp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
}

.doctor-exp svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

/* ============ TECHNOLOGY ============ */
.technology {
  padding: 100px 0;
  background: var(--primary);
  color: var(--white);
  border-top: 3px solid var(--accent);
}

.technology .section-title { color: var(--white); }
.technology .section-desc { color: rgba(255,255,255,0.7); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.tech-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.tech-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
}

.tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}

.tech-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tech-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ============ STATS ============ */
.stats {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 600;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-slider {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 32px;
  font-family: var(--font-accent);
  font-size: 6rem;
  color: rgba(var(--accent-rgb), 0.12);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.testimonial-author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent) !important;
  background: var(--white);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: 700;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: var(--primary);
  padding: 100px 0 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 50%;
  transform: translate(-30%, 30%);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span { color: rgba(255,255,255,0.5); }

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

/* ============ SERVICES PAGE ============ */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-bg);
}

.service-detail:nth-child(even) {
  background: var(--gray-light);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-grid.reverse .service-image { order: 2; }
.service-grid.reverse .service-content { order: 1; }

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-content > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--primary);
}

.service-features li svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
}

.service-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.service-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
  background: var(--gray-light);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.service-meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

/* ============ FAQ ACCORDION ============ */
.faq-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
  gap: 16px;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ============ TEAM PAGE ============ */
.doctor-profile {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-bg);
}

.doctor-profile:nth-child(even) {
  background: var(--gray-light);
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.doctor-profile-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.doctor-profile-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.doctor-profile-content h2 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.doctor-profile-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.doctor-profile-section {
  margin-bottom: 24px;
}

.doctor-profile-section h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-profile-section h4 svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.doctor-profile-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.doctor-profile-section ul li::before {
  content: '▸';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.doctor-profile-bio {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
}

/* ============ GALLERY PAGE ============ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--gray-bg);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.gallery-masonry {
  columns: 3;
  column-gap: 24px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

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

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(var(--primary-rgb), 0.9));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

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

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-item-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ============ CONTACT PAGE ============ */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--red);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-bg);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.form-control.valid {
  border-color: var(--mint);
}

.form-control.invalid {
  border-color: var(--red);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-radio-group {
  display: flex;
  gap: 16px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.92rem;
}

.form-radio input {
  accent-color: var(--accent);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox input {
  accent-color: var(--accent);
  margin-top: 3px;
}

.contact-info-cards {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-card a:hover {
  color: var(--accent);
}

/* ============ SCHEDULE TABLE ============ */
.schedule-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.schedule-table {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--gray-bg);
  transition: var(--transition);
}

.schedule-row:last-child { border-bottom: none; }

.schedule-row:hover {
  background: var(--gray-light);
}

.schedule-row .day {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
}

.schedule-row .hours {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-row.closed .hours {
  color: var(--red);
  font-weight: 500;
}

.schedule-row.emergency {
  background: rgba(var(--accent-rgb), 0.05);
}

.schedule-row.emergency .hours {
  color: var(--accent);
  font-weight: 500;
}

/* ============ MAP ============ */
.map-section {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 0;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span { color: var(--accent); }

.footer-logo svg {
  width: 32px;
  height: 32px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: rotate(360deg) scale(1.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: var(--accent);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* ============ FORM SUCCESS ============ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.6s ease;
}

.form-success svg {
  width: 64px;
  height: 64px;
  fill: var(--mint);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
}

.form-success .tracking-number {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 12px;
}

/* ============ LOADING SPINNER ============ */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-profile-grid { grid-template-columns: 300px 1fr; gap: 40px; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 768px) {
  .topbar-info { display: none; }
  
  .topbar { padding: 8px 0; }
  
  .lang-switch { 
    padding: 4px 5px;
  }
  
  .lang-btn {
    padding: 5px 14px;
    font-size: 0.8rem;
  }
  
  .hamburger { display: flex; }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: var(--transition-slow);
    z-index: 1003;
  }
  
  .navbar-menu.open { right: 0; }
  
  .navbar-cta { display: none; }
  
  .navbar-lang-mobile {
    display: flex !important;
    position: fixed;
    top: 12px;
    right: 60px;
    z-index: 1004;
    background: var(--white);
    border: 1px solid var(--gray-bg);
    border-radius: var(--radius-pill);
    padding: 4px 6px;
    box-shadow: var(--shadow-sm);
  }
  
  .navbar-lang-mobile .lang-btn {
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 5px 12px;
  }
  
  .navbar-lang-mobile .lang-btn.active {
    background: var(--accent);
    color: var(--white);
  }
  
  .welcome-grid,
  .service-grid,
  .service-grid.reverse,
  .contact-grid,
  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-grid.reverse .service-image { order: 0; }
  .service-grid.reverse .service-content { order: 0; }
  
  .specialties-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .hero h1 { font-size: 2.5rem; }
  
  .doctor-profile-grid {
    grid-template-columns: 1fr;
  }
  
  .doctor-profile-image {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .contact-form { padding: 24px; }
  
  .stat-number { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ============ OVERLAY MOBILE ============ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============ GLIGHTBOX ============ */
.glightbox-clean .gslide-description {
  background: var(--primary);
}

/* ============ PRINT ============ */
@media print {
  .navbar, .topbar, .whatsapp-float, .hero-scroll { display: none; }
}
