/* ===== TIM-MEDINA CLINIC - Modern Light Theme ===== */

/* --- CSS Variables --- */
:root {
  --primary: #0077b6;
  --primary-dark: #005f8a;
  --primary-light: #90e0ef;
  --accent: #00b4d8;
  --accent-warm: #48cae4;
  --gold: #c9a961;
  --gold-dark: #a88847;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-section: #edf6f9;
  --text-dark: #1a1a2e;
  --text-body: #4a4a5a;
  --text-muted: #7a7a8a;
  --border-light: #e0e7ee;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,80,160,0.08);
  --shadow-lg: 0 16px 48px rgba(0,80,160,0.12);
  --shadow-hover: 0 24px 56px rgba(0,80,160,0.18);
  --shadow-premium: 0 32px 64px -16px rgba(0,80,160,0.20);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elastic: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,119,182,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,119,182,0.4);
}

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

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

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Navigation — translucent premium glass --- */
.navbar {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  width: auto;
  max-width: 1248px;
  margin: 0 auto;
  z-index: 1000;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.62) 0%, rgba(240,248,255,0.55) 50%, rgba(255,255,255,0.62) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.40);
  box-shadow: 0 8px 32px rgba(0,80,160,0.08), 0 2px 12px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(240,248,255,0.80) 50%, rgba(255,255,255,0.85) 100%);
  box-shadow: 0 12px 40px rgba(0,80,160,0.12), 0 2px 12px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.logo-text span {
  color: var(--primary);
}

.logo-img {
  height: 100px;
  width: auto;
  display: block;
}

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

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-body);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(0,119,182,0.06);
}

/* Navbar always visible — no transparent state needed */

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition);
}

/* --- Hero Section (Video Banner) --- */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 60, 0.60) 0%,
    rgba(0, 60, 120, 0.35) 50%,
    rgba(0, 20, 60, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

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

.hero-stat .number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 3px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

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

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* --- Section Shared --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-blue {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,119,182,0.08);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

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

.service-icon {
  width: 68px;
  height: 68px;
  background: transparent;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  transition: var(--transition);
}

.service-card .learn-more:hover {
  gap: 10px;
}

/* --- About / Why Choose Us --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .about-image img {
    height: 360px;
  }
  .about-image .floating-card {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 14px 16px;
    gap: 12px;
  }
  .floating-card .fc-icon {
    width: 40px;
    height: 40px;
  }
  .floating-card .fc-text h4 {
    font-size: 0.9rem;
  }
  .floating-card .fc-text p {
    font-size: 0.78rem;
  }
}

.about-image .floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-card .fc-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-card .fc-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.floating-card .fc-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item .fi-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,119,182,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Doctors/Team --- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.doctor-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.doctor-card .doctor-img {
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 10%;
  background: linear-gradient(135deg, var(--bg-section), var(--primary-light));
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Doctor profile hero buttons — equal width, stack on mobile */
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  align-items: stretch;
}
.hero-actions .btn {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.doctor-card .doctor-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-card .doctor-specialty {
  display: inline-block;
  background: rgba(0,119,182,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  align-self: flex-start;
}

.doctor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.doctor-card .doctor-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.doctor-card .doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  margin-top: auto;
}

.doctor-card .doctor-link:hover {
  gap: 10px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 24px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin: 0;
}

.cta-banner .cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f5a623;
  font-size: 1rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author .author-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author .author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Contact Info Bar --- */
.contact-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.contact-item .ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,119,182,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.contact-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.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;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

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

.footer ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--accent-warm);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Doctor Detail Page --- */
.doctor-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg-white));
}

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

.doctor-hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--bg-section), var(--primary-light));
}

.doctor-hero-info .doctor-specialty {
  display: inline-block;
  background: rgba(0,119,182,0.08);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.doctor-hero-info h1 {
  margin-bottom: 16px;
}

.doctor-hero-info .doctor-title {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.doctor-hero-info .doctor-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Doctor Page Sections */
.doctor-section {
  padding: 80px 0;
}

.doctor-section h2 {
  margin-bottom: 28px;
  font-size: 1.6rem;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.spec-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

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

.spec-card .spec-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0,119,182,0.1), rgba(0,180,216,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.spec-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.spec-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* --- Service Detail Page --- */
.service-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg-white));
  text-align: center;
}

.service-hero .section-tag {
  margin-bottom: 16px;
}

.service-hero h1 {
  margin-bottom: 20px;
}

.service-hero > .container > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.service-content {
  padding: 80px 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.service-main h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.service-main p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-main ul {
  margin-bottom: 24px;
}

.service-main ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-body);
}

.service-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.service-procedures {
  margin-top: 48px;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
}

.service-procedures h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.procedure-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.procedure-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
}

.procedure-list li:last-child {
  border-bottom: none;
}

.procedure-list li::before {
  display: none;
}

.procedure-list li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
}

.sidebar-card h4 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.sidebar-card ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--text-body);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.sidebar-card ul li:last-child a {
  border-bottom: none;
}

.sidebar-card ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* --- Contact Page --- */
.contact-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg-white));
  text-align: center;
}

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

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
}

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

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

.breadcrumb span {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--text-muted);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,119,182,0.35);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,119,182,0.45);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.doctors-grid .fade-up:nth-child(1), .services-grid .fade-up:nth-child(1) { transition-delay: 0s; }
.doctors-grid .fade-up:nth-child(2), .services-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.doctors-grid .fade-up:nth-child(3), .services-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.doctors-grid .fade-up:nth-child(4), .services-grid .fade-up:nth-child(4) { transition-delay: 0.3s; }
.doctors-grid .fade-up:nth-child(5), .services-grid .fade-up:nth-child(5) { transition-delay: 0.1s; }
.doctors-grid .fade-up:nth-child(6), .services-grid .fade-up:nth-child(6) { transition-delay: 0.2s; }
.doctors-grid .fade-up:nth-child(7), .services-grid .fade-up:nth-child(7) { transition-delay: 0.3s; }
.doctors-grid .fade-up:nth-child(8) { transition-delay: 0.1s; }
.doctors-grid .fade-up:nth-child(9) { transition-delay: 0.2s; }
.doctors-grid .fade-up:nth-child(10) { transition-delay: 0.3s; }
.doctors-grid .fade-up:nth-child(11) { transition-delay: 0.1s; }

/* Doctor card image zoom on hover */
.doctor-card .doctor-img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.doctor-card:hover .doctor-img {
  transform: scale(1.05);
}

/* Service card lift + glow */
.service-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,119,182,0.12);
}
.service-card .service-icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-3deg);
}

/* Hero text reveal */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content .section-tag { animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.hero-content h1 { animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.hero-content > p { animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.hero-buttons { animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
.hero-stats { animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }

/* Button pulse on hover */
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,119,182,0.3);
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Contact bar cards */
.contact-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Smooth navbar transition */
.navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* CTA banner shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .doctor-hero-grid {
    grid-template-columns: 300px 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 48px 36px;
  }

  .cta-banner .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* Navbar mobile — translucent premium glass */
  .navbar {
    background: linear-gradient(135deg, rgba(255,255,255,0.70) 0%, rgba(240,248,255,0.65) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 4px 20px rgba(0,80,160,0.06);
  }
  .navbar:not(.scrolled) .logo-text { color: var(--text-dark) !important; }
  .navbar:not(.scrolled) .logo-text span { color: var(--primary) !important; }
  .navbar:not(.scrolled) .logo-img { filter: none !important; }
  .navbar:not(.scrolled) .mobile-toggle span { background: var(--text-dark) !important; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    width: auto;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0,80,160,0.15);
    border: 1px solid rgba(0,119,182,0.12);
    border-radius: 20px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--text-body);
    border-radius: 12px;
    padding: 12px 16px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary);
    background: rgba(0,119,182,0.07);
  }

  /* Mobile menu always dark text regardless of scroll state */
  .navbar:not(.scrolled) .nav-links a {
    color: var(--text-body);
  }
  .navbar:not(.scrolled) .nav-links a:hover,
  .navbar:not(.scrolled) .nav-links a.active {
    color: var(--primary);
    background: rgba(0,119,182,0.07);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .mobile-toggle {
    display: flex;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stat .number {
    font-size: 1.6rem;
  }

  .hero-stat {
    min-width: 120px;
    text-align: center;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Let aspect-ratio: 1/1 from base rule handle sizing */
  .doctor-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-hero-img {
    height: 300px;
    max-width: 300px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-tag {
    font-size: 0.7rem;
  }

  .cta-banner {
    margin: 0;
    border-radius: 0;
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 1.3rem;
  }

  .about-img-wrap {
    height: 300px;
  }

  .feature-list {
    gap: 20px;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .service-hero h1 {
    font-size: 1.6rem;
  }
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* ===== RESPONSIVE POLISH (mobile audit) ===== */
@media (max-width: 768px) {
  /* Logo on mobile — uniform brand-forward */
  .logo-img { height: 88px; width: auto; }
  .navbar { padding: 4px 0; }
  .nav-inner { height: 96px; padding: 0 16px; }

  /* Hero text + buttons */
  .hero { min-height: auto; height: auto; padding: 80px 0 60px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .hero p { font-size: 1rem; line-height: 1.6; }
  .hero-content { padding-top: 40px; padding-bottom: 20px; }

  /* Hero buttons stack full-width */
  .hero-buttons { flex-direction: column; gap: 12px; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.95rem; }

  /* CTA banner buttons stack */
  .cta-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .cta-buttons { flex-direction: column; width: 100%; gap: 12px; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* Section header centering */
  .section-header { text-align: center; }

  /* Grid spacing tighter */
  .doctors-grid { gap: 16px; grid-template-columns: repeat(2, 1fr); }
  .services-grid { gap: 16px; }

  /* Footer grid stack */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-social { justify-content: center; }

  /* Service hero/contact hero tighter */
  .service-hero, .contact-hero, .doctor-hero { padding: 100px 0 40px; }
  .service-hero h1, .contact-hero h1 { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* Forms full-width on mobile */
  .contact-form { padding: 24px 20px; }
}

@media (max-width: 480px) {
  /* Keep 2 columns on small phones to reduce scroll length */
  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Service cards padding tighter */
  .service-card { padding: 20px; }

  /* Logo on small phones — uniform */
  .logo-img { height: 78px; }

  /* Hero CTA padding */
  .hero-buttons .btn { padding: 12px 16px; font-size: 0.9rem; }

  /* Doctor card compact on mobile (2-col layout) */
  .doctor-card .doctor-img {
    margin: 8px 8px 0;
    width: calc(100% - 16px);
    aspect-ratio: 1 / 1.15;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .doctor-info { padding: 12px !important; }
  .doctor-info h3 { font-size: 0.95rem !important; line-height: 1.25; margin: 4px 0 !important; }
  .doctor-specialty { font-size: 0.62rem !important; padding: 3px 8px !important; letter-spacing: 0.4px !important; }
  .doctor-desc { font-size: 0.78rem !important; line-height: 1.45 !important; margin: 6px 0 !important; }
  .doctor-link { font-size: 0.8rem !important; margin-top: 8px !important; }

  /* Tighter section padding */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  /* Footer tighter */
  .footer { padding: 56px 0 24px; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat .number {
    font-size: 1.4rem;
  }

  .hero-stat .label {
    font-size: 0.7rem;
  }

  .contact-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Let aspect-ratio: 1/1 from base rule handle sizing */

  .nav-inner {
    padding: 0 16px;
  }
}

/* ===== POLISH ADD: focus, iOS, touch, safe-area ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Prevent iOS zoom on form focus (input <16px triggers zoom) */
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  font-size: 16px;
}

/* Touch target minimum 44x44 (WCAG) */
.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
}

/* Safe-area inset for iOS back-to-top */
.back-to-top {
  bottom: max(32px, env(safe-area-inset-bottom) + 16px);
  right: max(32px, env(safe-area-inset-right) + 16px);
}

/* Doctor card polish — subtle premium hover */
.doctor-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 80, 160, 0.15);
}

/* Service card hover polish */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 80, 160, 0.12);
}

/* Hide scroll indicator on mobile (collides with auto-height hero) */
@media (max-width: 768px) {
  .scroll-indicator { display: none; }
  /* Doctor hero buttons stack & no nowrap at narrow width */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; white-space: normal; }
}

/* Form row — 2 columns desktop, stack on mobile */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===== WhatsApp floating button (bottom-right) ===== */
.whatsapp-float {
  position: fixed;
  bottom: max(96px, env(safe-area-inset-bottom) + 80px);
  right: max(20px, env(safe-area-inset-right) + 12px);
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: whatsapp-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::after { animation: none; }
}

/* ===== Sticky mobile CTA bar (call + appointment) ===== */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 119, 182, 0.15);
    box-shadow: 0 -4px 24px rgba(0, 80, 160, 0.10);
    gap: 8px;
  }
  .mobile-cta-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    min-height: 44px;
    transition: transform 0.2s ease;
  }
  .mobile-cta-bar a:active { transform: scale(0.97); }
  .mobile-cta-bar .mcb-call {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
  }
  .mobile-cta-bar .mcb-book {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  .mobile-cta-bar svg { width: 18px; height: 18px; }

  /* Space for sticky bar — body bottom padding accounts for safe area */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* Align WhatsApp + back-to-top vertically (same right + same size) */
  .back-to-top {
    width: 52px;
    height: 52px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    right: 16px;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: calc(152px + env(safe-area-inset-bottom));
    right: 16px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* Prevent iOS rubber-band overscroll causing "infinite scroll" feel */
html, body { overscroll-behavior-y: none; }
/* Match overscroll area color to footer so any bounce shows footer color, not white */
html { background: var(--text-dark); }

/* Trust strip below hero */
.trust-strip {
  background: #fff;
  border-block: 1px solid rgba(0, 119, 182, 0.12);
  padding: 18px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 36px;
  text-align: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-body);
  letter-spacing: 0.02em;
}
.trust-item strong {
  color: var(--primary-dark);
  font-weight: 700;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
@media (max-width: 640px) {
  .trust-strip { padding: 14px 0; }
  .trust-strip .container { gap: 12px 20px; }
  .trust-item { font-size: 0.8rem; }
}

/* ===== PREMIUM POLISH — Operă de artă pass ===== */

/* Section tag — refined with gold underline */
.section-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0,119,182,0.08), rgba(0,180,216,0.05));
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(0,119,182,0.15);
}

/* Better section header rhythm */
.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-header > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Refined hero overlay — more cinematic */
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 20, 60, 0.45) 0%,
    rgba(0, 40, 100, 0.55) 50%,
    rgba(0, 20, 60, 0.75) 100%
  );
}

/* Hero h1 — premium tracking */
.hero h1 {
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

/* Hero badge — subtle glow */
.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.22);
}

/* Navbar — refined premium look */
.navbar {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Service card — refined card design */
.service-card {
  background: #fff;
  border: 1px solid rgba(0,119,182,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card .service-icon {
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,119,182,0.10), rgba(0,180,216,0.05));
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-body);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* Doctor card — premium polish */
.doctor-card {
  border: 1px solid rgba(0,119,182,0.06);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.doctor-card .doctor-specialty {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,119,182,0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.doctor-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.doctor-card .doctor-desc {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.doctor-card .doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.3s ease;
}
.doctor-card:hover .doctor-link { gap: 12px; }

/* Buttons — refined premium */
.btn {
  letter-spacing: 0.01em;
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  box-shadow: 0 4px 14px rgba(0,119,182,0.28), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0,119,182,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* CTA banner — premium gradient */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  margin: 0;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Service hero / contact hero / doctor hero — polished bg */
.service-hero, .contact-hero, .doctor-hero {
  background:
    radial-gradient(circle at 20% 0%, rgba(0,180,216,0.10), transparent 50%),
    radial-gradient(circle at 100% 30%, rgba(0,119,182,0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-section) 0%, #fff 100%);
  padding: 120px 0 60px;
}

/* Footer — refined */
.footer {
  background: linear-gradient(180deg, var(--text-dark) 0%, #0a0a1a 100%);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
  font-size: 0.92rem;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* Trust strip — premium polish */
.trust-strip {
  background: linear-gradient(180deg, #fff 0%, var(--bg-section) 100%);
}
.trust-item strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
}

/* Spec cards on doctor profile — premium */
.spec-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  border: 1px solid rgba(0,119,182,0.08);
  transition: var(--transition-elastic);
}
.spec-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,119,182,0.20);
}
.spec-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image lazy fade-in */
img { transition: opacity 0.4s ease; }
img[loading="lazy"] {
  background: linear-gradient(110deg, var(--bg-section) 30%, var(--primary-light) 50%, var(--bg-section) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}
img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
  animation: none;
  background: none;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  img[loading="lazy"] { animation: none; background: var(--bg-section); }
}

/* Section padding rhythm */
.section { padding: 80px 0; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .cta-banner { padding: 32px 24px; }
}

/* Selection highlight */
::selection {
  background: rgba(0,119,182,0.25);
  color: var(--text-dark);
}

/* ===== LOCATIONS GRID — 4 sedii premium cards ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.location-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 119, 182, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  transition: var(--transition-elastic);
  display: flex;
  flex-direction: column;
}

.location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 119, 182, 0.20);
}

.location-card--featured {
  background: linear-gradient(180deg, #fff 0%, rgba(0,119,182,0.04) 100%);
  border-color: rgba(0, 119, 182, 0.25);
}

.location-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 119, 182, 0.10);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.location-badge--green {
  background: rgba(16, 185, 129, 0.10);
  color: #10b981;
}
.location-badge--purple {
  background: rgba(139, 92, 246, 0.10);
  color: #8b5cf6;
}
.location-badge--orange {
  background: rgba(245, 158, 11, 0.10);
  color: #f59e0b;
}

.location-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

.location-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.location-address {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.location-floor {
  display: inline-block;
  background: rgba(0, 119, 182, 0.08);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.location-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 14px;
  background: rgba(0, 119, 182, 0.06);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: background 0.2s ease;
  align-self: flex-start;
}
.location-phone:hover {
  background: rgba(0, 119, 182, 0.12);
}

.location-directions {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
  transition: color 0.2s ease, gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.location-directions:hover {
  color: var(--primary);
  gap: 8px;
}

/* Program info bar */
.program-bar {
  background: linear-gradient(135deg, var(--bg-section), rgba(255,255,255,0.6));
  border: 1px solid rgba(0, 119, 182, 0.10);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.program-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-body);
  font-size: 0.95rem;
}
.program-item svg {
  color: var(--primary);
  flex-shrink: 0;
}
.program-item strong {
  color: var(--text-dark);
  margin-right: 4px;
}
.program-item a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

/* Custom Leaflet pin (no shadow box) */
.tim-pin {
  background: transparent !important;
  border: none !important;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}
.leaflet-popup-tip {
  box-shadow: 0 4px 8px rgba(0,0,0,0.10) !important;
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .location-card {
    padding: 28px 20px 20px;
  }
  .program-bar {
    padding: 16px 20px;
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .program-item {
    font-size: 0.88rem;
    flex: 1 1 100%;
  }
}

/* Doctor profile — about-grid without image becomes single column */
.doctor-section .about-grid:has(.about-content:only-child),
.doctor-section .about-grid:not(:has(.about-image)) {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== PER-DOCTOR IMAGE CROP — Senior Graphic Editor calibration =====
   Each portrait has different head position in source 600x900 JPG.
   Object-position-Y tuned per doctor for uniform "head with breathing room" framing. */
.doctor-card img[src*="dr-samer-hosin"]         { object-position: 50% 8%; }
.doctor-card img[src*="dr-musab-al-qatawneh"]   { object-position: 50% 18%; }
.doctor-card img[src*="dr-andrei-ghiorghitoiu"] { object-position: 50% 12%; }
.doctor-card img[src*="dr-sorin-suba"]          { object-position: 50% 10%; }
.doctor-card img[src*="dr-nevena-velimirovici"] { object-position: 50% 15%; }
.doctor-card img[src*="dr-anca-stoianov"]       { object-position: 50% 6%; }
.doctor-card img[src*="dr-iasmina-al-qatawneh"] { object-position: 50% 12%; }
.doctor-card img[src*="dr-tatiana-hagau"]       { object-position: 50% 50%; }
.doctor-card img[src*="dr-latcu-manuela"]       { object-position: 50% 16%; }
.doctor-card img[src*="dr-predescu-ana-maria"]  { object-position: 50% 14%; }
.doctor-card img[src*="dr-raluca-foarce"]       { object-position: 50% 10%; }
.doctor-card img[src*="dr-daniela-fara"]        { object-position: 50% 14%; }
.doctor-card img[src*="dr-cristina-simu"]       { object-position: 50% 18%; }
.doctor-card img[src*="dr-olariu-gabriela"]     { object-position: 50% 15%; }
.doctor-card img[src*="dr-todor-alexandra"]     { object-position: 50% 6%; }
.doctor-card img[src*="dr-sonja-ciocani"]       { object-position: 50% 8%; }

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonials-track {
  overflow: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  scroll-behavior: smooth;
  border-radius: var(--radius-lg);
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 40px 36px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-section) 100%);
  border: 1px solid rgba(0, 119, 182, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
}

.testimonial-stars {
  font-size: 1.3rem;
  color: #fbbf24;
  letter-spacing: 4px;
}

.testimonial-slide blockquote {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--primary);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testimonial-author .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testimonial-author .author-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.testimonial-author .author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial-author .verified-badge {
  margin-left: auto;
  flex-shrink: 0;
}

.testimonial-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 119, 182, 0.15);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 80, 160, 0.08);
}

.testimonial-arrow:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.25);
}

.testimonial-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonials-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 119, 182, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonials-dots button.active {
  width: 32px;
  border-radius: 5px;
  background: var(--primary);
}

@media (max-width: 768px) {
  .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-arrow {
    display: none;
  }
  .testimonial-slide {
    padding: 28px 22px;
    gap: 14px;
  }
  .testimonial-slide blockquote {
    font-size: 0.98rem;
    padding-left: 18px;
  }
  .testimonial-author .avatar {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }
}
