@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --bg: #020b18;
  --bg-2: #081428;
  --bg-3: #0d1f3c;
  --blue-300: #7dd3fc;
  --blue-400: #38bdf8;
  --blue-500: #0ea5e9;
  --blue-600: #0284c7;
  --blue-700: #0369a1;
  --border: rgba(255, 255, 255, 0.12);
  --border-blue: rgba(56, 189, 248, 0.3);
  --text: #f0f9ff;
  --text-muted: #94a3b8;
  --text-accent: #38bdf8;
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --nav-height: 70px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height);
  -webkit-tap-highlight-color: transparent;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 2.75rem; }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--blue-400); }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }
.max-w-2xl { max-width: 672px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.5);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

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

.btn-outline:hover:not(:disabled) {
  background: var(--bg-3);
  border-color: var(--blue-400);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-white {
  background: #fff;
  color: var(--bg);
  font-weight: 800;
}

.btn-white:hover {
  background: var(--blue-400);
  color: #fff;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(2, 11, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 11, 24, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.nav-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-container { padding: 0 2rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--blue-600);
  color: #fff;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { color: #fff; font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.nav-logo-tagline { font-size: 0.6rem; color: var(--blue-400); text-transform: uppercase; letter-spacing: 1.5px; }

.nav-links {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--blue-400); }

.nav-cta {
  background: var(--blue-600) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px !important;
  transition: var(--ease) !important;
}

.nav-cta:hover {
  background: var(--blue-500) !important;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: transparent;
  border: none;
}

@media (min-width: 900px) {
  .hamburger { display: none; }
}

.hamburger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--bg-2);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--blue-400); }

.mobile-menu .mobile-cta {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff !important;
  text-align: center;
  border-radius: 100px;
  padding: 1rem !important;
  border-bottom: none !important;
  font-size: 1rem !important;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(2, 132, 199, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(3, 105, 161, 0.12) 0%, transparent 70%),
    var(--bg);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='0.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--blue-400);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-trust-icon { font-size: 1rem; }

/* ─── HERO CARD ─── */
.hero-card {
  background: rgba(8, 20, 40, 0.8);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card-title { font-size: 1.25rem; font-weight: 800; color: #fff; }

/* ─── QUICK STATS GRID ─── */
.quick-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.quick-stat {
  background: var(--bg-3);
  padding: 1rem;
  border-radius: var(--r-md);
  text-align: center;
  border: 1px solid var(--border);
}

.quick-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--blue-400); }
.quick-stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; }

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 768px) {
  .stats-strip .container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-item:nth-child(2) {
  border-right: none;
}

@media (min-width: 768px) {
  .stat-item:nth-child(2) { border-right: 1px solid var(--border); }
}

.stat-item:nth-child(1),
.stat-item:nth-child(2) {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: none;
  }
}

.stat-num { font-size: 2rem; font-weight: 800; color: #fff; }
@media (min-width: 768px) { .stat-num { font-size: 2.5rem; } }
.stat-label { font-size: 0.8rem; color: var(--blue-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; }

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border-blue);
  background: rgba(56, 189, 248, 0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── GRID SYSTEM ─── */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid-sm-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-md-2 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .grid-md-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .grid-lg-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .grid-lg-4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* ─── CARDS ─── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: var(--ease);
}

a.card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ─── ICON BOX ─── */
.icon-box {
  width: 48px; height: 48px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ─── SERVICE ELEMENTS ─── */
.service-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.service-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.service-link { color: var(--blue-400); font-weight: 700; font-size: 0.9rem; }
.card:hover .service-link { color: var(--blue-300); }
.service-benefits { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.service-benefit {
  background: rgba(56, 189, 248, 0.08);
  color: var(--blue-400);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ─── PAGE HEADER ─── */
.page-header {
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .page-header { padding: 4rem 0 5rem; }
}

.page-header-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-header-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── WHY SECTION ─── */
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.why-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-image-wrap img {
  border-radius: var(--r-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ─── DOCTOR CARDS ─── */
.featured-doctor {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .featured-doctor { flex-direction: row; }
}

.doctor-img-placeholder {
  min-height: 220px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .doctor-img-placeholder { width: 40%; min-height: 400px; }
}

.doctor-info { padding: 2rem; }
@media (min-width: 768px) { .doctor-info { padding: 2.5rem; } }

.doctor-specialty { color: var(--blue-400); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.doctor-name { font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; font-weight: 800; margin-bottom: 0.25rem; line-height: 1.2; }
.doctor-credentials { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

.doctor-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ease);
}

.doctor-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.stars { color: #f59e0b; letter-spacing: 3px; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-text { color: var(--text-muted); font-style: italic; font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 44px; height: 44px; background: var(--blue-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.author-info h4 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.author-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
  margin: 3rem 0 4rem;
}

@media (min-width: 768px) {
  .cta-section { padding: 5rem 3rem; }
}

.cta-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: var(--blue-400);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-blue);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── FADE IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ─── BOOKING PAGE ─── */
.booking-page {
  min-height: calc(100vh - var(--nav-height));
  padding-bottom: 4rem;
}

.booking-header {
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .booking-header { padding: 3rem 2rem 4rem; }
}

.booking-body {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .booking-body { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .booking-body {
    grid-template-columns: 1fr 300px;
    margin-top: 2.5rem;
  }
}

.booking-main { min-width: 0; }

/* Progress Bar */
.booking-progress {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.7rem;
  z-index: 2;
  transition: var(--ease);
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .step-circle { width: 36px; height: 36px; font-size: 0.9rem; }
}

.step-circle.active {
  background: var(--blue-600);
  border-color: var(--blue-400);
  color: #fff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.step-circle.done {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}

.step-line.done { background: var(--blue-500); }

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.step-label {
  width: 20%;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 480px) {
  .step-label { font-size: 0.65rem; }
}

@media (min-width: 768px) {
  .step-label { font-size: 0.75rem; }
}

.step-label.active { color: var(--blue-400); }

/* Booking Steps */
.booking-step {
  display: none;
  animation: stepIn 0.35s ease forwards;
}

.booking-step.active { display: block; }

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

.step-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .step-title { font-size: 1.6rem; }
}

/* Service / Doctor Select */
.service-select-grid, .doctor-select-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .service-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
}

.service-select-card, .doctor-select-card {
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.service-select-card:hover, .doctor-select-card:hover {
  border-color: var(--blue-400);
  background: rgba(56, 189, 248, 0.04);
}

.service-select-card.selected, .doctor-select-card.selected {
  border-color: var(--blue-500);
  background: rgba(14, 165, 233, 0.1);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.service-select-icon, .doctor-select-avatar {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-select-name, .doctor-select-name {
  font-size: 0.95rem; font-weight: 700; color: #fff;
}

.service-select-duration, .doctor-select-spec {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem;
}

/* Calendar */
.calendar-grid {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  overflow: hidden;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.calendar-month { font-size: 1rem; font-weight: 700; color: #fff; }

.calendar-nav-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.calendar-nav-btn:hover { background: var(--blue-600); border-color: var(--blue-400); }

.calendar-days-header, .calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.cal-day-label {
  font-size: 0.7rem; font-weight: 700; color: var(--text-muted);
  padding-bottom: 0.75rem;
}

.cal-date {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  transition: var(--ease);
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
  .cal-date { font-size: 0.9rem; border-radius: 8px; }
}

.cal-date:hover:not(.disabled):not(.selected) {
  background: rgba(56, 189, 248, 0.15);
}

.cal-date.selected {
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.cal-date.disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-date.today {
  border: 2px solid var(--blue-400);
}

/* Time Slots */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (min-width: 480px) {
  .time-slots-grid { grid-template-columns: repeat(4, 1fr); }
}

.time-slot {
  background: var(--bg-3);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  color: #fff;
  transition: var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (min-width: 480px) {
  .time-slot { padding: 0.75rem; font-size: 0.875rem; }
}

.time-slot:hover:not(.booked):not(.selected) { border-color: var(--blue-400); }
.time-slot.selected { background: var(--blue-600); border-color: var(--blue-400); }
.time-slot.booked { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; pointer-events: none; }

/* Forms */
.form-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.5rem; }

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

.form-input, .form-textarea {
  width: 100%;
  background: rgba(13, 31, 60, 0.8);
  border: 2px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

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

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

/* Step Nav */
.step-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.step-nav .btn {
  flex: 1;
  min-height: 48px;
}

/* Review Items */
.review-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child { border-bottom: none; }
.review-label { color: var(--text-muted); font-size: 0.875rem; white-space: nowrap; }
.review-val { font-weight: 700; color: #fff; font-size: 0.875rem; text-align: right; }

/* Booking Sidebar */
.booking-sidebar { display: none; }

@media (min-width: 1024px) {
  .booking-sidebar { display: block; }
}

.sticky-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.sidebar-stat { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.sidebar-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-stat-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; font-weight: 600; }
.sidebar-stat-val { font-size: 0.95rem; font-weight: 700; color: var(--blue-400); margin-top: 0.35rem; }

/* ─── CONTACT MAP ─── */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 350px;
}

@media (min-width: 768px) {
  .map-wrap { height: 420px; }
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg);
  display: block;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-2);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.7; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: var(--ease); }
.footer-links a:hover { color: var(--blue-400); padding-left: 4px; }
.social-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.social-btn { width: 36px; height: 36px; background: var(--bg-3); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.8rem; font-weight: 700; transition: var(--ease); border: 1px solid var(--border); }
.social-btn:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-500); }
.contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; }
.contact-icon { font-size: 1rem; flex-shrink: 0; color: var(--blue-400); margin-top: 2px; }
.contact-text { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-top: 3rem; }

/* ─── FLEX UTILITIES ─── */
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ─── SUCCESS STATE ─── */
.booking-success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 900;
  transition: var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

/* ─── MOBILE SPECIFIC BOOKING OVERRIDES ─── */
@media (max-width: 399px) {
  .btn-lg { padding: 0.9rem 1.25rem; font-size: 0.9rem; }
  .hero-title { font-size: 2rem; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
}
