:root {
  --primary: #0b2a3d;
  --gold: #b59363;
  --accent: #2a9d8f;
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #2d2d2d;
  --muted: #5a5a5a;
  --white: #fff;
  --heading: "Playfair Display", serif;
  --body: "Inter", sans-serif;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-3d: 0 25px 60px rgba(0, 0, 0, 0.1);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading);
  color: var(--primary);
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s var(--ease);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  letter-spacing: -0.5px;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  margin: 1.2rem auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 3.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--body);
  font-size: 0.95rem;
  transition: 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #14496b);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(11, 42, 61, 0.3);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.6s;
}
.btn-primary:hover::after {
  left: 150%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 42, 61, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.4s var(--ease);
  padding: 1rem 0;
  background: transparent;
}
header.scrolled {
  background: rgba(253, 253, 253, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
}
.logo-text {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}
nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}
nav a:hover::after {
  width: 100%;
}
.header-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#three-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-gradient-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/hero-bg.png") center/cover no-repeat;
  background-color: #0b2a3d;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(11, 42, 61, 0.55),
    rgba(42, 157, 143, 0.25)
  );
}
.hero-content {
  text-align: center;
  padding: 3rem 3.5rem;
  border-radius: var(--radius);
  max-width: 900px;
  width: 92%;
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.2rem;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.25;
  font-weight: 700;
}
.hero-title::after {
  display: none;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-cta .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-cta .btn-secondary:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.badge i {
  color: var(--gold);
}

/* Sections */
section {
  padding: 7rem 0;
}
section:nth-child(even) {
  background: var(--surface);
}

/* 3D Tilt */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s var(--ease);
}

/* Who We Are */
.who-we-are .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.quote-mark {
  font-family: var(--heading);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 0;
  position: relative;
  top: 3rem;
  left: -1rem;
}
.who-text {
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.who-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.rotating-tooth {
  font-size: 10rem;
  color: var(--accent);
  animation: rotY 10s linear infinite;
  transform-style: preserve-3d;
}
@keyframes rotY {
  from {
    transform: rotateY(0);
  }
  to {
    transform: rotateY(360deg);
  }
}

/* Doctor */
.doctor-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  background: var(--white);
  padding: 3.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-top: 4px solid var(--gold);
}
.doctor-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.doctor-img-wrapper::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  100% {
    transform: scale(1.05);
    opacity: 0;
  }
}
.doctor-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.doctor-fallback {
  width: 100%;
  aspect-ratio: 1;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-family: var(--heading);
}
.doctor-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.doc-qual {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}
.doc-role {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--muted);
}
.specializations {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.specializations li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.specializations li i {
  color: var(--accent);
}
.accordion {
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.acc-header {
  background: var(--surface);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.acc-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: var(--white);
}
.acc-content.active {
  padding: 1rem;
  max-height: 500px;
}
.acc-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.doc-quote {
  font-style: italic;
  font-family: var(--heading);
  font-size: 1.2rem;
  color: var(--primary);
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
}

/* Services / Treatments */
.treatments-section {
  padding: 5rem 0;
}
.treatments-category {
  margin-bottom: 3rem;
}
.treatments-category:last-child {
  margin-bottom: 0;
}
.category-heading {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.treatment-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.treatment-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.treatment-card:hover::after {
  transform: scaleX(1);
}
.treatment-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.treatment-card-icon i {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.treatment-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-family: var(--body);
  font-weight: 600;
}
.treatment-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Treatment Modal */
.treatment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.treatment-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.treatment-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-3d);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
}
.treatment-modal-overlay.active .treatment-modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.5);
}
.modal-icon {
  font-size: 3rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
  color: #fff;
}
.modal-body {
  padding: 2rem 2.5rem;
}
.modal-title {
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.modal-category {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.6rem;
  letter-spacing: 0.5px;
}
.cat-dental {
  background: rgba(42, 157, 143, 0.12);
  color: var(--accent);
}
.cat-aesthetic {
  background: rgba(181, 147, 99, 0.15);
  color: var(--gold);
}
.modal-desc {
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.modal-benefits {
  margin-bottom: 1.5rem;
}
.modal-benefits h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-benefits ul {
  list-style: none;
  padding: 0;
}
.modal-benefits li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.modal-benefits li i {
  color: var(--accent);
  font-size: 0.8rem;
}
.modal-actions {
  display: flex;
  gap: 1rem;
  padding: 1rem 2.5rem 2rem;
}
.modal-btn {
  flex: 1;
  padding: 0.85rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
}
.modal-btn-primary {
  background: var(--accent);
  color: var(--white);
}
.modal-btn-primary:hover {
  background: #238b7d;
}
.modal-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.modal-btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Booking Form */
.modal-booking-form {
  padding: 1.25rem 2.5rem 2rem;
  border-top: 1px solid var(--surface);
  display: none;
}
.booking-field {
  margin-bottom: 0.75rem;
}
.booking-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
}
.booking-field input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.9rem;
  outline: none;
}
.booking-field input:focus {
  border-color: var(--accent);
}

/* Patient Stories */
.patient-stories {
  padding: 5rem 0;
  background: var(--surface);
}
.story-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: 0.4s var(--ease);
}
.story-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.story-card:last-child {
  margin-bottom: 0;
}
.story-image {
  overflow: hidden;
  min-height: 250px;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-tag {
  display: inline-block;
  background: rgba(42, 157, 143, 0.12);
  color: var(--accent);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.story-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.story-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .story-card {
    grid-template-columns: 1fr;
  }
  .story-image {
    min-height: 200px;
  }
}

/* Why Choose Us */
.why-us {
  background: var(--white);
  color: #000;
  padding: 7rem 0;
}
.why-us .section-title,
.why-us .section-subtitle {
  color: #000;
}
.why-us .section-title::after {
  background: linear-gradient(90deg, var(--gold), #d4a96a);
}
.why-us .section-subtitle {
  color: #333;
  opacity: 0.9;
}
.features-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.feature-card {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.8rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.feature-card i {
  font-size: 3.2rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}
.feature-card h4 {
  color: #000;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: #333;
}

/* Before & After */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ddd;
}
.ba-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #888;
}
.ba-before {
  z-index: 1;
  background: #e0e0e0;
}
.ba-after {
  z-index: 2;
  background: #ccc;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-handle::after {
  content: "⟨ ⟩";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
}
.ba-label {
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 4;
}
.ba-label.pre {
  left: 10px;
}
.ba-label.post {
  right: 10px;
}
.ba-info {
  padding: 1.5rem;
}
.ba-tag {
  display: inline-block;
  background: var(--surface);
  color: var(--accent);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Testimonials Marquee */
.testimonials-marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.testimonials-carousel {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  padding: 0.5rem 0;
}
.testimonials-carousel:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonials-carousel::-webkit-scrollbar {
  display: none;
}
.test-card {
  min-width: 380px;
  flex-shrink: 0;
  background: var(--white);
  padding: 2.2rem 2.2rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 4px solid var(--gold);
  transition: 0.3s;
  cursor: default;
}
.test-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.stars {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.test-quote {
  font-style: italic;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}
.test-author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.test-treatment {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-top: 0.2rem;
}
.test-source {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--surface);
}
.test-source i {
  color: #4285f4;
}

/* Location */
.location-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.map-placeholder {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 300px;
  background: linear-gradient(135deg, var(--surface) 0%, #e8ecf0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  gap: 0.75rem;
}
.map-placeholder > i {
  font-size: 3.5rem;
  color: var(--gold);
}
.map-placeholder h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0;
}
.map-placeholder p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item i {
  color: var(--accent);
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  margin-bottom: 1rem;
  height: 50px;
  width: auto;
  border-radius: 8px;
}
.footer-col h4 {
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: 0.3s;
}
.social-icons a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Trust Section */
.trust-section {
  padding: 3rem 0;
  background: var(--surface);
}
.trust-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
}
.trust-item i {
  font-size: 1.4rem;
  color: var(--gold);
}

/* FABs */
.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}
.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  position: relative;
  transition: 0.3s;
  text-decoration: none;
}
.fab:hover {
  transform: scale(1.1);
}
.fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  animation: pulseFab 2s infinite;
}
.fab-wa {
  background: #25d366;
}
.fab-wa::before {
  background: #25d366;
}
.fab-call {
  background: var(--primary);
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: none;
}
.fab-call::before {
  background: var(--primary);
}
@keyframes pulseFab {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Blog */
.blog-header {
  padding: 10rem 0 5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--surface), #e9ecef);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 0;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 3rem;
}
.blog-content {
  padding: 1.5rem;
}
.blog-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.blog-content h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.blog-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.read-more:hover {
  color: var(--gold);
}

/* Responsive */

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  .hero-title {
    font-size: 3.2rem;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .doctor-img-wrapper {
    max-width: 250px;
  }
  .specializations {
    text-align: left;
  }
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  header .container {
    position: relative;
  }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    display: none;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  .who-we-are .container {
    grid-template-columns: 1fr;
  }
  .who-visual {
    display: none;
  }
  .features-row {
    flex-direction: column;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .fab-call {
    display: flex;
  }
  .trust-grid {
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .specializations {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Responsive Button Groups ── */
.btn-group-responsive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .btn-group-responsive {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .btn-group-responsive .btn,
  .btn-group-responsive .btn-gold,
  .btn-group-responsive .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  /* Remove any inline margin-left on mobile */
  .btn-group-responsive .btn[style*="margin-left"],
  .btn-group-responsive .btn-primary[style*="margin-left"] {
    margin-left: 0 !important;
  }
  .rv-cta-row.btn-group-responsive {
    align-items: stretch;
  }
}
