/* ========================================
   THISETH LABORATORY — Main Stylesheet
   Colors: Navy Blue, Teal, Blue, White
======================================== */

:root {
  --navy:    #0d1b3e;
  --navy-light: #1a2f5e;
  --blue:    #1565c0;
  --blue-light: #1976d2;
  --teal:    #0288d1;
  --teal-light: #29b6f6;
  --white:   #ffffff;
  --off-white: #f4f7fc;
  --gray-100: #eef2f9;
  --gray-200: #dce4f0;
  --gray-500: #6b7a99;
  --gray-700: #3d4f6e;
  --text:    #1a2340;
  --shadow-sm: 0 2px 12px rgba(13,27,62,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,62,0.12);
  --shadow-lg: 0 20px 60px rgba(13,27,62,0.18);
  --radius:  12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

.section { padding: 96px 0; }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(2,136,209,0.08);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-header p { color: var(--gray-500); font-size: 1.05rem; line-height: 1.7; }
.highlight { color: var(--teal); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(2,136,209,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(2,136,209,0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.mobile-bottom-nav { display: none; }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
  padding: 10px 0;
}
.navbar.scrolled .nav-logo span { color: var(--navy); }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.navbar.scrolled .hamburger span { background: var(--navy); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-logo span {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-logo strong { font-weight: 700; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.btn-portal {
  background: linear-gradient(135deg, var(--teal), var(--blue-light)) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 99px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 14px rgba(2,136,209,0.3);
}
.btn-portal:hover { background: none !important; background: linear-gradient(135deg,#00695c, var(--blue)) !important; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  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-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.95) 0%, rgba(13,27,62,0.88) 60%, rgba(13,27,62,0.95) 100%);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-50%) scale(1.08);
}
.arrow-prev { left: 24px; }
.arrow-next { right: 24px; }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg { display: none; }
.hero-shape { display: none; }

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(41,182,246,0.15);
  color: var(--teal-light);
  border: 1px solid rgba(41,182,246,0.3);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span { color: var(--teal-light); font-size: 1.6rem; font-weight: 700; }
.stat p { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.12); }

.hero-image {
  flex: 0 0 380px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-illustration {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ill-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: pulse-ring 3s ease-in-out infinite;
}
.c1 { width: 320px; height: 320px; border-color: rgba(41,182,246,0.15); animation-delay: 0s; }
.c2 { width: 240px; height: 240px; border-color: rgba(41,182,246,0.25); animation-delay: 0.5s; }
.c3 { width: 160px; height: 160px; background: rgba(2,136,209,0.15); border-color: rgba(2,136,209,0.35); animation-delay: 1s; }
.ill-icon {
  font-size: 4rem;
  color: var(--teal-light);
  animation: heartbeat 1.4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes pulse-ring {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.7; }
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 170px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.hero-card i { font-size: 1.6rem; color: var(--teal-light); }
.hero-card strong { display: block; font-size: 0.9rem; font-weight: 600; }
.hero-card p { font-size: 0.75rem; opacity: 0.7; margin: 0; }
.card-1 { top: 30px; left: -20px; animation-delay: 0s; }
.card-2 { bottom: 30px; right: -20px; animation-delay: 2s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.92;
}
.marquee-track span i { color: rgba(255,255,255,0.6); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SERVICES ===== */
.services { background: var(--off-white); position: relative; overflow: hidden; }
.services-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(2,136,209,0.25);
  box-shadow: 0 20px 60px rgba(13,27,62,0.12), 0 0 0 1px rgba(2,136,209,0.1);
}
.service-card:hover::after { opacity: 1; }

.service-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(13,27,62,0.2);
}
.service-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(13,27,62,0.3);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.featured-badge i { font-size: 0.65rem; }

/* Service card header */
.sc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sc-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  opacity: 0.15;
  transition: all 0.4s ease;
}
.service-card:hover .sc-icon-bg,
.service-card.featured .sc-icon-bg {
  opacity: 0.3;
  transform: scale(1.05);
}
.sc-icon-wrap i {
  font-size: 1.9rem;
  color: var(--teal);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}
.service-card.featured .sc-icon-wrap i { color: var(--teal-light); }
.service-card:hover .sc-icon-wrap i { transform: scale(1.1); }
.sc-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  font-family: 'Playfair Display', serif;
  transition: color 0.4s;
}
.service-card:hover .sc-num { color: rgba(2,136,209,0.1); }
.service-card.featured .sc-num { color: rgba(255,255,255,0.05); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card > p {
  color: var(--gray-500);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured > p { color: rgba(255,255,255,0.6); }

.service-list { margin-bottom: 28px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-list li:last-child { border-bottom: none; }
.service-list li i { color: var(--teal); font-size: 0.8rem; flex-shrink: 0; }
.service-card.featured .service-list li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.06); }
.service-card.featured .service-list li i { color: var(--teal-light); }

.sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(2,136,209,0.3);
  background: rgba(2,136,209,0.08);
}
.sc-btn:hover {
  background: rgba(2,136,209,0.2);
  border-color: var(--teal);
  gap: 12px;
}

/* Services stats bar */
.services-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.ss-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  flex: 1;
  min-width: 180px;
}
.ss-item i {
  font-size: 1.8rem;
  color: var(--teal);
  flex-shrink: 0;
}
.ss-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.ss-item span { font-size: 0.82rem; color: var(--gray-500); }
.ss-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about { background: var(--white); position: relative; overflow: hidden; }
.about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.about .container { position: relative; z-index: 1; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
}
.about-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,136,209,0.12), rgba(21,101,192,0.12));
  border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%;
  animation: blob 8s ease-in-out infinite;
}
@keyframes blob {
  0%,100% { border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%; }
  50% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%; }
}
.about-img-box {
  position: absolute;
  inset: 40px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.about-badge-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 14px 20px;
  border: 1px solid var(--gray-200);
}
.about-badge i { font-size: 1.4rem; color: var(--teal); flex-shrink: 0; }
.about-badge strong { display: block; font-size: 0.9rem; color: var(--navy); }
.about-badge span { font-size: 0.8rem; color: var(--gray-500); }

.about-text .section-tag { display: inline-block; margin-bottom: 12px; }
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-text > p {
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 1rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.af-icon {
  width: 44px;
  height: 44px;
  background: rgba(2,136,209,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature strong { display: block; font-size: 0.93rem; color: var(--navy); margin-bottom: 4px; }
.about-feature p { font-size: 0.83rem; color: var(--gray-500); line-height: 1.5; }

/* ===== DOCTORS ===== */
.doctors { background: var(--white); position: relative; overflow: hidden; }
.doctors-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.doctors > .container { position: relative; z-index: 1; }
.doctors-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Doctor hero card ── */
.doctor-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.doctor-hero-info {
  background: var(--navy);
  padding: 56px 52px 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doctor-hero-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.doctor-hero-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.15;
  margin-bottom: 22px;
}
.doctor-hero-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: 28px;
}
/* Qualifications */
.doctor-hero-quals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.doctor-hero-quals span {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.doctor-hero-quals i {
  color: var(--teal);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

/* Consultation hours */
.doctor-hero-hours {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dh-hours-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.dh-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
}
.dh-hours-row span:first-child {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}
.dh-hours-row span:last-child {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dh-hours-closed {
  font-size: 0.78rem;
  color: rgba(255,120,100,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.doctor-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doctor-hero-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 99px;
}

/* Photo panel */
.doctor-hero-photo {
  position: relative;
  background: linear-gradient(160deg, #ddeef6 0%, #b8d8e8 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.doctor-hero-photo i {
  font-size: 11rem;
  color: rgba(2,136,209,0.22);
  line-height: 1;
  margin-bottom: -6px;
}
.doctor-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Social icons — right edge */
.doctor-hero-socials {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px;
  z-index: 2;
}
.doctor-hero-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.doctor-hero-socials a:nth-child(1) { background: #1877f2; }
.doctor-hero-socials a:nth-child(2) { background: #25d366; }
.doctor-hero-socials a:nth-child(3) { background: #0a66c2; }
.doctor-hero-socials a:hover { transform: scale(1.18); }

/* ── CTA strip ── */
.doctor-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 44px;
  box-shadow: var(--shadow-sm);
}
.dcs-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.dcs-left i {
  font-size: 2.2rem;
  color: var(--teal-light);
  flex-shrink: 0;
}
.dcs-left h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.dcs-left p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ===== HOW IT WORKS ===== */
/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: linear-gradient(160deg, var(--navy) 0%, #0b2d4e 100%);
  position: relative;
  overflow: hidden;
}
.how-it-works .section-tag { color: rgba(41,182,246,0.9); }
.how-it-works .section-header h2 { color: var(--white); }
.how-it-works .section-header p { color: rgba(255,255,255,0.55); }

/* Ambient glow blobs */
.hiw-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hiw-glow-1 {
  width: 400px; height: 400px;
  background: rgba(2,136,209,0.12);
  top: -100px; left: -80px;
}
.hiw-glow-2 {
  width: 360px; height: 360px;
  background: rgba(41,182,246,0.08);
  bottom: -80px; right: -60px;
}

/* Steps layout */
.steps-wrapper {
  position: relative;
  padding-top: 20px;
}
.steps-connector {
  position: absolute;
  top: 48px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  border-top: 2px dashed rgba(2,136,209,0.35);
  z-index: 0;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.step {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Numbered bubble */
.step-bubble {
  position: relative;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), #1565c0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(2,136,209,0.15), 0 6px 24px rgba(2,136,209,0.4);
}
.step-bubble span {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.step-bubble-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(41,182,246,0.3);
  animation: bubblePulse 2.8s ease-in-out infinite;
}
@keyframes bubblePulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.18); opacity: 0; }
}
.step:nth-child(2) .step-bubble-ring { animation-delay: 0.7s; }
.step:nth-child(3) .step-bubble-ring { animation-delay: 1.4s; }
.step:nth-child(4) .step-bubble-ring { animation-delay: 2.1s; }

/* Glass card */
.step-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 30px 22px 28px;
  width: 100%;
  transition: all 0.4s ease;
}
.step-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(2,136,209,0.45);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(2,136,209,0.2);
}
.step-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(2,136,209,0.25), rgba(21,101,192,0.25));
  border: 1px solid rgba(2,136,209,0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  font-size: 1.5rem;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(2,136,209,0.2);
  transition: all 0.4s ease;
}
.step-card:hover .step-icon {
  background: linear-gradient(135deg, rgba(2,136,209,0.45), rgba(21,101,192,0.45));
  box-shadow: 0 6px 24px rgba(2,136,209,0.4);
  transform: scale(1.08);
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ===== PORTAL CTA ===== */
.portal-cta {
  background: linear-gradient(135deg, var(--navy), #0a2552);
  padding: 64px 0;
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-content {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.cta-icon {
  font-size: 3rem;
  color: var(--teal-light);
  flex-shrink: 0;
}
.cta-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-content p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.6; }

/* ===== BRANCHES ===== */
.branches { background: #fff; }

/* Cards row */
.branches-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

/* Branch card */
.branch-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(2,136,209,0.1);
  border: 1px solid #e0eef8;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #fff;
}
.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(2,136,209,0.18);
}

/* Card gradient header */
.bc-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0a4a80 100%);
  padding: 32px 24px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.bc-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
}
.bc-watermark {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  font-family: 'Playfair Display', serif;
  pointer-events: none;
}
.bc-pin {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), #29b6f6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  margin: 0 auto;
  position: relative; z-index: 3;
  box-shadow: 0 6px 20px rgba(2,136,209,0.5);
}

/* Card body */
.bc-body {
  padding: 36px 24px 28px;
  text-align: center;
}
.bc-pulse-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.bc-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: bcPulse 2s ease-out infinite;
}
@keyframes bcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.branch-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.branch-card .bc-body > p {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.bc-divider {
  height: 1px;
  background: #e8f2fb;
  margin-bottom: 16px;
}
.bc-detail {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--gray-600, #4b5563);
  margin-bottom: 10px;
  text-align: left;
}
.bc-detail i { color: var(--teal); font-size: 0.78rem; flex-shrink: 0; }

/* Bottom note */
.branches-note {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #f0f8ff, #e4f0fa);
  border: 1px solid #c8e4f7;
  border-radius: 16px;
  padding: 20px 28px;
}
.bn-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), #1565c0);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(2,136,209,0.3);
}
.branches-note strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.branches-note span { font-size: 0.8rem; color: var(--gray-500); }
.bn-btn {
  margin-left: auto; flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(2,136,209,0.35);
}
.bn-btn:hover { background: #1565c0; transform: scale(1.1); }

/* ===== CONTACT ===== */
.contact { background: #f7fafd; }

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ── Left column: full map ── */
.location-col { display: flex; flex-direction: column; }
.location-map-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  flex: 1;
  min-height: 580px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.06);
}
.location-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* Floating info card */
.map-float-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.9);
}
.mfc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4eef8;
}
.mfc-logo {
  width: 42px; height: 42px;
  background: #edf5ff;
  border-radius: 12px;
  padding: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mfc-logo img { width: 100%; height: 100%; object-fit: contain; }
.mfc-name strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.mfc-name span { font-size: 0.72rem; color: var(--teal); font-weight: 500; }

.mfc-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mfc-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  color: #3a5068;
}
.mfc-item > i { color: var(--teal); font-size: 0.78rem; margin-top: 2px; flex-shrink: 0; }
.mfc-item.mfc-hours span { display: block; }
.mfc-item small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #e57373;
  margin-top: 2px;
}

.mfc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4eef8;
}
.mfc-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--teal), #1565c0);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2,136,209,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mfc-dir-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(2,136,209,0.45); }

.mfc-socials { display: flex; gap: 7px; }
.mfc-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.72rem;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.mfc-socials a:nth-child(1) { background: #1877f2; }
.mfc-socials a:nth-child(2) { background: #25d366; }
.mfc-socials a:nth-child(3) { background: radial-gradient(circle at 30% 110%, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.mfc-socials a:hover { transform: translateY(-3px) scale(1.08); }

/* ── Right column: form ── */
.contact-form-col { display: flex; flex-direction: column; }
.contact-form-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(2,136,209,0.1), 0 2px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8f2fb;
}
.cfc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e4f0fa 100%);
  border-bottom: 1px solid #deedf8;
}
.cfc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal), #1565c0);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(2,136,209,0.35);
}
.cfc-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.cfc-header p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }

.contact-form-card form { padding: 28px 32px 32px; flex: 1; }

.form-trust {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: var(--gray-500);
  font-weight: 500;
}
.form-trust span i { color: var(--teal); font-size: 0.7rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(2,136,209,0.1);
}
.form-group textarea { resize: vertical; }

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  color: var(--teal);
}
.form-success i { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.form-success p { font-weight: 600; color: var(--navy); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contact i { color: var(--teal-light); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */
.fade-up, .fade-right, .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right { transform: translateX(40px); }
.fade-up.animated, .fade-right.animated, .reveal.animated {
  opacity: 1;
  transform: none;
}

/* Stagger for children */
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.24s; }
.doctors-grid .doctor-cta-strip { transition-delay: 0.14s; }
.steps .step:nth-child(2) { transition-delay: 0.12s; }
.steps .step:nth-child(3) { transition-delay: 0.24s; }
.steps .step:nth-child(4) { transition-delay: 0.36s; }
.steps .step:nth-child(7) { transition-delay: 0.36s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:nth-child(3) { grid-column: span 2; max-width: 480px; margin: 0 auto; }
  .doctor-hero { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .branches-row { grid-template-columns: 1fr 1fr; }
  .contact-main-grid { gap: 20px; }

  /* Switch to bottom nav on tablets too */
  .nav-links { display: none !important; }
  .hamburger { display: none !important; }
  .mobile-bottom-nav { display: flex !important; }
  body { padding-bottom: 70px; }
}

@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }

  /* Typography scale-down */
  .section-header h2 { font-size: 1.75rem; }
  .hero-title { font-size: 2.2rem !important; }

  /* Navbar */
  .hamburger { display: none; }

  /* Mobile Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
    z-index: 1000;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
  }
  .mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    color: #999;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.15s;
    border-radius: 12px;
    margin: 0 2px;
  }
  .mob-nav-item i { font-size: 1.2rem; }
  .mob-nav-item.active { color: #1a73e8; }
  .mob-nav-item.active i { transform: scale(1.1); }
  .mob-nav-portal {
    background: #1a73e8;
    color: #fff !important;
    border-radius: 14px;
    margin: 2px 8px 2px 4px;
    padding: 6px 10px;
  }
  .mob-nav-portal i { color: #fff; }

  /* Push page content above bottom nav */
  body { padding-bottom: 70px; }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 110px 20px 56px;
    min-height: auto;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .hero-image { flex: none; width: 100%; }
  .hero-illustration { width: 240px; height: 240px; }
  .c1 { width: 240px; height: 240px; }
  .c2 { width: 175px; height: 175px; }
  .c3 { width: 110px; height: 110px; }
  .card-1 { top: 10px; left: 0; }
  .card-2 { bottom: 10px; right: 0; }

  /* Doctors */
  .doctor-hero { grid-template-columns: 1fr; }
  .doctor-hero-photo { min-height: 280px; }
  .doctor-hero-socials { top: auto; bottom: 16px; transform: none; flex-direction: row; right: 16px; padding: 0; }
  .doctor-cta-strip { flex-direction: column; text-align: center; padding: 28px 20px; }
  .dcs-left { flex-direction: column; text-align: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:nth-child(3) { grid-column: auto; max-width: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { width: 260px; height: 260px; }
  .about-features { grid-template-columns: 1fr; }

  /* How it works */
  .steps { flex-direction: column; align-items: stretch; }
  .steps-connector { display: none; }
  .step-bubble { margin-bottom: 16px; }
  .step-card { padding: 24px 20px; }

  /* Branches */
  .branches-row { grid-template-columns: 1fr; }
  .branches-connector { display: none; }

  /* Contact */
  .contact-main-grid { grid-template-columns: 1fr; }
  .location-map-wrap { min-height: 380px; }
  .map-float-card { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .mfc-top { margin-bottom: 10px; padding-bottom: 10px; }
  .mfc-items { gap: 6px; margin-bottom: 10px; }
  .contact-form-card form { padding: 20px; }
  .cfc-header { padding: 18px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-trust { gap: 10px; }

  /* Portal CTA */
  .cta-box { flex-direction: column; text-align: center; gap: 20px; }
  .cta-content { flex-direction: column; text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.88rem; }

  /* Hero */
  .hero-title { font-size: 1.85rem !important; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { gap: 14px; }
  .stat-num { font-size: 1.6rem; }
  .hero-illustration { width: 200px; height: 200px; }
  .c1 { width: 200px; height: 200px; }
  .c2 { width: 148px; height: 148px; }
  .c3 { width: 96px; height: 96px; }

  /* Doctors */
  .doctor-hero-info { padding: 24px 20px; }

  /* Branches */
  .bc-header { padding: 24px 20px 22px; }
  .bc-watermark { font-size: 3.5rem; }
  .branch-card h3 { font-size: 1.1rem; }

  /* Contact map card */
  .mfc-name strong { font-size: 0.82rem; }
  .mfc-item { font-size: 0.78rem; }
  .mfc-dir-btn { font-size: 0.74rem; padding: 8px 12px; }
  .mfc-socials a { width: 28px; height: 28px; }

  /* Steps */
  .step-card h3 { font-size: 1rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
}
