:root {
  /* Colors */
  --primary: #00524a;
  --primary-hover: #003d37;
  --primary-container: #256a62;
  --on-primary: #ffffff;
  --on-primary-container: #a4e7dd;

  --surface: #fef7ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f9f1fd;
  --surface-container-high: #ede6f1;
  --on-surface: #1d1a22;
  --on-surface-variant: #3f4947;

  --error: #ba1a1a;
  --outline-variant: #bfc9c6;
  --stone-200: #e5e7eb;
  --stone-300: #d1d5db;
  --stone-400: #9ca3af;
  --stone-500: #6b7280;

  /* Fonts */
  --font-headline: 'Noto Serif', serif;
  --font-body: 'Manrope', sans-serif;

  /* Radii */
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
.glass-title,
.logo {
  font-family: var(--font-headline);
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.icon-fill {
  font-variation-settings: 'FILL' 1;
}

.bg-stone-200 {
  background-color: var(--stone-200);
}

.bg-stone-300 {
  background-color: var(--stone-300);
}

.bg-stone-400 {
  background-color: var(--stone-400);
}

/* Urgency Bar */
.urgency-bar {
  background-color: var(--primary);
  color: var(--on-primary);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 60;
}

.urgent-number {
  background: white;
  color: var(--primary);
  padding: 0 0.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
}

.urgent-pulse {
  animation: pulse-down 2s infinite ease-in-out;
}

@keyframes pulse-down {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(2px);
    opacity: 0.8;
  }
}


/* Sticky topbar */
.topbar {
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar a {
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.sticky {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  z-index: 999;
}

.sticky a {
  padding: 0.6rem;
  border-radius: var(--radius-full);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.sticky a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.sticky .sw {
  background: #25D366;
  display: none;
}

.sticky .sc {
  background: var(--primary);
  display: none;
}

@media (min-width: 769px) {
  .sticky {
    bottom: 2rem;
  }
  .sticky .sc {
  display: block;
}
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 100px;
}

.nav-links {
  display: none;
  gap: 2rem;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--stone-500);
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.nav-cta-main {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--primary-hover);
  opacity: 0.9;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
@media (max-width:575px) {
  .btn-lg{
    font-size: 1rem;
  }
  .btn-primary , .btn-white{
    padding: 10px 20px;
  }
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.badge {
  display: inline-block;
  background: rgba(37, 106, 98, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.trust-chips {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.trust-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-chip-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-headline);
}

.trust-chip-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  font-weight: 700;
}

.hero-actions {
  margin-bottom: 1.5rem;
}

.micro-trust {
  font-size: 0.75rem;
  color: var(--stone-500);
  margin-top: 0.5rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.avatars {
  display: flex;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--surface);
  margin-left: -0.5rem;
  overflow: hidden;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-wrap {
  position: relative;
}
.hero-slider-wrap .hero-slider{
  text-align: center;
}
.hero-slider-wrap .hero-slider .hero-slider-image{
  width: auto;
  height: 100%;
  max-height: 600px;
  border: 4px solid rgb(0 82 73 / 20%);
  border-radius: 30px;
}
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.slider-container img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The container now acts as the single background shell */
.floating-badges {
  position: absolute;
  top: 90%;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: 1rem;
  border-radius: 1.25rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.badge-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.badge-item::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.glass-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 250px;
  display: none;
}

@media (min-width: 640px) {
  .glass-card {
    display: block;
  }
}

.glass-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.glass-desc {
  font-size: 0.875rem;
  color: var(--stone-500);
  font-style: italic;
}

/* Stats */
.stats {
  background-color: var(--surface-container-low);
  padding: 4rem 1.5rem;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

  .home-stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 768px) {
  .stats-grid{
    gap: 10px;
  }
  .stat-item h3{
    font-size: 16px !important;
  }
  .stat-item p{
    font-size: 10px !important;
  }
}
@media (max-width: 420px) {
  .stats-grid{
    gap: 8px;
  }
  .stat-item h3{
    font-size: 14px !important;
  }
  .stat-item p{
    font-size: 8px !important;
  }
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.home-stats-grid .stat-item h3{
  font-size: 1.7rem;
}
.home-stats-grid .stat-item p{
  font-size: 0.75rem;
}

.stat-item p {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  font-weight: 700;
}


/* Doctors Section */
.doctors-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
}
.doctors-section .doctors-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.doctor-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.doctor-image-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #13504c;
}

.doctor-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.5s ease;
}

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

.doctor-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doctor-badge .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.25rem;
}

.doctor-badge span:last-child {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doctor-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doctor-info h3 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--primary);
  font-family: var(--font-headline);
}

.doctor-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  margin: 0;
}

.doctor-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0;
}

.doctor-quote {
  background: var(--surface-container-low);
  padding: 1.25rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.doctor-quote .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
  opacity: 0.5;
}

.doctor-quote p {
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.specialty-tag {
  display: inline-block;
  background: var(--primary-container);
  color: var(--on-primary);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.doctor-trust-box {
  background: white;
  border: 2px solid var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 82, 74, 0.08);
}

.doctor-trust-box .material-symbols-outlined {
  color: var(--primary);
  font-size: 3rem;
  flex-shrink: 0;
}

.doctor-trust-box strong {
  display: inline-block;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-headline);
}

.doctor-trust-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0;
}

@media (max-width: 640px) {
  .doctor-trust-box {
    flex-direction: column;
    gap: 1rem;
  }

  .doctor-trust-box .material-symbols-outlined {
    font-size: 2.5rem;
  }
}


/* Results section */
.results-section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}


.results-header {
  text-align: center;
  margin: 0 auto 4rem;
}

.pre-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.results-header h2 {
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.results-header p {
  color: var(--on-surface-variant);
}

.results-section .stat-item{
  background-color: var(--primary);
  padding: 15px 10px ;
  border-radius: 14px;
}
.results-section .stat-item h3{
  color: var(--on-primary);
}
.results-section .stat-item p{
  color: var(--outline-variant);
}

.results-section .stats-grid{
  grid-template-columns: repeat(4, 1fr);
}

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

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.patient-slider {
  aspect-ratio: 4/3;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  clip-path: inset(0 50% 0 0);
}

.after-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.slider-handle::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 18px;
  color: var(--primary);
  font-weight: bold;
  z-index: 1;
}

.tag {
  position: absolute;
  top: 0.5rem;
  z-index: 30;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.tag-before {
  left: 0.5rem;
}

.tag-after {
  right: 0.5rem;
  background: rgba(0, 82, 74, 0.6);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.card-header h3 {
  font-size: 1.125rem;
}

.micro-text {
  font-size: 0.625rem;
  color: var(--stone-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.icon-primary {
  color: var(--primary);
}

.case-desc {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.results-cta {
  text-align: center;
  margin-top: 4rem;
}

.more-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.pill {
  display: inline-block;
  background: var(--on-primary);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.pill:hover {
  background: var(--primary);
  color: var(--on-primary);
}

/* Trust Pillars */
.trust-pillars {
  padding: 5rem 1.5rem 8rem 1.5rem;
}

.trust-pillars .pre-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.trust-pillars .pre-heading {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 860px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .trust-cards {
    grid-template-columns: 1fr 1fr;
  }

  .mt-offset {
    margin-top: 3rem;
    margin-bottom: -3rem;
  }
}

.trust-card {
  background: var(--surface-container-low);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: 0.2s all !important;
}
.trust-card:hover{
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
  transform: translateY(-4px);
}

.icon-lg {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.trust-card h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--stone-500);
}

.trust-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.trust-desc {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.support-box {
  display: flex;
  gap: 1rem;
  margin: 20px 0;
}

.support-box .icon-fill {
  color: var(--primary);
  font-size: 1.6rem;
}

.support-box strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
}

.support-box span {
  font-size: 0.875rem;
  color: var(--stone-500);
}


/* ============================================
   DOCTORS SECTION — Matches reference design
   ============================================ */

.doctors-section {
  padding: 5rem 0;
  background: #f0ede8;
}

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

/* ── Header ── */
.doctors-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.doctors-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: var(--primary);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.doctors-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-family: 'Noto Serif', serif;
}

.doctors-header p {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0 auto;
}

/* ── Two-column card grid ── */
.doctors-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

/* ── Individual card ── */
.doctor-profile-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* ── Dark green header bar ── */
.doctor-card-header {
  background: #1a4a42;
  color: #fff;
  padding: 0.875rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doctor-card-header .material-symbols-outlined {
  font-size: 1rem;
  color: #6ee7b7;
}

/* ── Card body ── */
.doctor-profile-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Row 1: Avatar LEFT + Name/tags RIGHT ── */
.doctor-top-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.doctor-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #1a4a42 0%, #0d6e5e 100%);
  box-shadow: 0 4px 12px rgba(26,74,66,0.25);
}

.doctor-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-avatar-circle .doctor-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Noto Serif', serif;
}

.doctor-name-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.doctor-name-block h3 {
  font-size: 1.375rem;
  font-family: 'Noto Serif', serif;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.doctor-qualification {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.doctor-specialties-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.specialty-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem  0.6rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

/* ── Row 2: Experience stat boxes ── */
.doctor-experience-grid {
  display: flex;
  gap: 0.75rem;
}

.experience-item {
  flex: 1;
  text-align: center;
  padding: 0.875rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background-color: #f0ede8;
}

.experience-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  line-height: 1.25;
  font-family: 'Noto Serif', serif;
}

.experience-item span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-weight: 700;
  display: block;
}

/* ── Row 3: Quote box ── */
.doctor-quote-box {
  padding-left: 15px;
  border-left: 3px solid #1a4a42;
}

.doctor-quote-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  font-style: italic;
}

/* ── Row 4: Credential badges ── */
.doctor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.credential-badge .material-symbols-outlined {
  font-size: 1rem;
  color: #1a4a42;
}

.credential-badge.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.credential-badge.success .material-symbols-outlined {
  color: #22c55e;
}

.credential-badge.warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #856a00;
}

.credential-badge.warning .material-symbols-outlined {
  color: #f59e0b;
}

/* ── Trust banner ── */
.doctor-trust-banner {
  background: var(--on-primary);
  color: var(--primary);
  padding: 1.75rem 2.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.doctor-trust-banner p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  text-align: center;
  color: var(--on-surface-variant);
}

.doctor-trust-banner strong {
  color: var(--primary-hover);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .doctor-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .doctor-name-block {
    align-items: center;
  }

  .doctor-experience-grid {
    flex-wrap: wrap;
  }

  .experience-item {
    min-width: calc(50% - 0.375rem);
  }

  .doctor-trust-banner {
    padding: 1.5rem;
  }
}



/* Testimonials */
.testimonials {
  padding: 6rem 1.5rem;
  background-color: var(--primary);
  color: var(--on-primary);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--on-primary);
}

.testimonials-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.test-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.test-quote {
  font-style: italic;
  color: var(--on-surface-variant);
  margin-bottom: 2rem;
}

.test-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.test-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-container);
  color: var(--on-primary-container);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.test-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--on-surface);
}

.test-info span {
  font-size: 0.75rem;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline */
.timeline-section {
  padding: 6rem 1.5rem;
  background: rgba(237, 230, 241, 0.3);
  text-align: center;
}

.timeline-section .pre-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.timeline-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.timeline-section .sub-title {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  font-style: italic;
  margin-bottom: 3rem;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}
@media (min-width: 768px) {
  .timeline-container {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
  .home-timeline-container{
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .step-down {
    padding-top: 8rem;
  }
}

.timeline-path {
  position: absolute;
  top: 1rem;
  left: 0;
  width: 100%;
  height: calc(100% - 2rem);
  z-index: 0;
  display: none;
}

@media (min-width: 768px) {
  .timeline-path {
    display: block;
  }
}

.flowing-path {
  animation: flow-dash 1s linear infinite;
}

@keyframes flow-dash {
  from {
    stroke-dashoffset: 20;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.step-circle {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), inset 0 0 0 4px white;
  transition: transform 0.3s;
}

.timeline-step:hover .step-circle {
  transform: scale(1.1);
}

.timeline-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
}

/* FAQ */
.faq {
  padding: 6rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item h4 {
  font-size: 1rem;
  margin: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

details[open] summary span {
  transform: rotate(180deg);
}

details summary span {
  transition: transform 0.3s;
}

/* Final CTA */
.final-cta {
  padding: 6rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-box {
  background: var(--primary-container);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--on-primary-container);
}

.cta-box h2 {
  color: inherit;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-box h2 {
    font-size: 3rem;
  }
}

.cta-box p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-inline: auto;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  display: inline-flex;
}

.btn-white:hover {
  background: var(--surface-container-low);
  transform: scale(1.05);
}

.slots-alert {
  margin-top: 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

/* ─ FINAL CTA ─ */
.fcta {
  background: linear-gradient(135deg, var(--primary) 40%, var(--primary-container) 80%);
  padding: 72px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind content */
.fcta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 40%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, #0d1b2a7e 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Top badge */
.fcta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 169, 110, .15);
  border: 1px solid rgba(201, 169, 110, .35);
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.cta-content h2 {
  font-size: clamp(26px, 5vw, 42px);
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.02em;
}

.cta-content h2 em {
  font-style: italic;
  color: var(--on-primary-container);
}

.cta-content > p {
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.fbtns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

@media (min-width: 480px) {
  .fbtns {
    flex-direction: row;
    justify-content: center;
  }
}

.bwaf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}

.bwaf:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.bcalf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .4);
  color: #fff;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}

.bcalf:hover {
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .07);
}

/* Micro trust line */
.fcta-micro {
  font-size: 12px !important;
  color: rgba(255, 255, 255, .45) !important;
  margin-bottom: 28px !important;
  letter-spacing: .03em;
}

/* Trust chips row */
.fcta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.fcta-chip {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

/* Promise box */
.prom {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  max-width: 800px;
  margin: 30px auto 0 auto;
}

.prom-i {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.prom h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--on-primary-container);
  margin-bottom: 5px;
}

.prom p {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
  margin: 0;
}



/* Footer */
.footer {
  background: #fdfbf9;
  padding: 4rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-col .footer-logo img {
  max-width: 120px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--on-primary);
  border: 1px solid var(--primary-hover);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  cursor: pointer;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary);
  color: white;
}

.footer-col .social-icons i {
  font-size: 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.footer-col .social-icons a:hover i {
  color: var(--on-primary);
}

.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  color: var(--stone-500);
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--stone-500);
  margin-bottom: 1rem;
}
.footer-col p i{
  font-size: 16px;
  margin-right: 5px;
}
.footer .social-icons {
  display: flex;
  gap: 1rem;
}

.footer .social-icons a {
  color: var(--primary);
}

.footer .social-icons a:hover {
  color: var(--on-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--stone-200);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--stone-400);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobile Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  z-index: 50;
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-bottom: 7rem;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  color: var(--stone-500);
  font-size: 0.625rem;
  font-weight: 700;
  gap: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.bottom-nav-item.prime {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
}

.bottom-nav-item span.material-symbols-outlined {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.bottom-nav-item.prime span.material-symbols-outlined {
  margin-bottom: 0;
}

/* Animations and Review Overrides */
@keyframes btn-pop-anim {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 82, 74, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(0, 82, 74, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 82, 74, 0);
  }
}

.btn-pop {
  animation: btn-pop-anim 2.5s infinite ease-in-out;
}

.testimonials-cta {
  text-align: center;
  margin-top: 3.5rem;
  width: 100%;
}


/* Location Section */
.location-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}
.location-container {
  max-width: 1200px;
  margin: 0 auto;
}
.location-header {
  text-align: center;
  margin-bottom: 2rem;
}
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 82, 74, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.location-badge .material-symbols-outlined {
  font-size: 1rem;
}
.location-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.location-header p {
  font-size: 1rem;
  color: var(--on-surface-variant);
}
.location-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .location-map-grid {
    grid-template-columns: 380px 1fr;
  }
}
.location-info-card {
  background: linear-gradient(135deg, #003d37 0%, #00524a 100%);
  color: white;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.location-info-card h3 {
  font-size: 1.5rem;
  color: white;
  margin: 0 0 1rem 0;
  font-family: var(--font-headline);
}
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-item .material-symbols-outlined {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}
.info-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}
.info-item a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
  transition: opacity 0.2s;
}
.info-item a:hover {
  opacity: 0.8;
}
.btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  margin-top: 0.5rem;
}
.btn-maps:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.btn-maps .material-symbols-outlined {
  font-size: 1.25rem;
}
.location-map-embed {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  background: var(--stone-200);
}
.location-map-embed iframe {
  display: block;
}
.nearby-areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
@media (min-width: 640px) {
  .nearby-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .nearby-areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.nearby-area-card {
  background: white;
  border: 1px solid var(--outline-variant);
  border-radius: 1rem;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.nearby-area-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 82, 74, 0.1);
  transform: translateY(-2px);
}
.area-icon {
  font-size: 1.6rem;
  background-color: var(--primary);
  color: var(--on-primary);
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
}
.nearby-area-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--on-surface);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.nearby-area-card p {
  font-size: 0.75rem;
  color: var(--stone-500);
  margin: 0;
}


/* ── Treatments Grid ── */
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 575px) {
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .treatments-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1140px) {
  .treatments-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Extra cards hidden by default — .visible added by JS */
.treatment-extra { display: none !important; }
.treatment-extra.visible { display: flex !important; flex-direction: column; }

/* Treatment card */
.treatment-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}
.treatment-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Treatment slider (before/after) */
.treatment-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.treatment-slider .before-image,
.treatment-slider .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.treatment-slider .before-image {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.treatment-slider .after-image {
  z-index: 1;
}

.treatment-slider .slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.treatment-slider .slider-handle::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 18px;
  color: var(--primary);
  font-weight: bold;
  z-index: 1;
}

.treatment-slider .tag {
  position: absolute;
  top: 12px;
  padding: 0.1rem 0.5rem;
  background: var(--primary-hover);
  color: white;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  border-radius: 5px;
  z-index: 4;
  backdrop-filter: blur(4px);
}

.treatment-slider .tag-before {
  left: 12px;
}

.treatment-slider .tag-after {
  right: 12px;
}

.treatment-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.treatment-card-body h3 {
  font-size: 1rem;
  font-family: var(--font-headline);
  color: var(--on-surface);
  margin: 0;
  line-height: 1.3;
}
.treatment-card-body p {
  font-size: 0.8rem;
}
.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
  text-decoration: none;
}
.treatment-link .material-symbols-outlined {
  font-size: 1rem;
  transition: transform 0.2s;
}
.treatment-card:hover .treatment-link .material-symbols-outlined {
  transform: translateX(4px);
}

/* Toggle button */
.treatments-toggle-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.treatments-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}
.treatments-toggle-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.treatments-toggle-btn .material-symbols-outlined {
  font-size: 1.25rem;
  transition: transform 0.3s;
}
.treatments-toggle-btn.expanded .material-symbols-outlined {
  transform: rotate(180deg);
}
