/* ============================================================
OSWI — styles.css
Optimum Sports & Wellness Institute
============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --color-primary: hsla(218.62, 76.32%, 55.29%, 1);
  --color-secondary: #2aa7ff;
  --color-dark: #1b3c74;
  --color-bg: #eaf7ff;
  --color-white: #ffffff;
  --color-footer-bg: #0d1b3e;
  --color-text: #444b5a;
  --color-text-light: #6b7280;

  /* Warm accent — reserved for actions, eyebrows & key highlights */
  --color-accent: #11a95f;
  --color-accent-dark: #0c8d4e;
  --color-accent-soft: rgba(17, 169, 95, 0.1);
  --color-accent-border: rgba(17, 169, 95, 0.26);
  --gradient-accent: linear-gradient(135deg, #11a95f, #3fc97a);

  /* Star/rating gold — used by hero + testimonial aggregate ratings */
  --color-star: #ffb020;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-width: 1320px;
  --radius-btn: 50px;
  --radius-card: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --transition: 0.25s ease;

  /* Vertical rhythm — fluid so the page breathes on every viewport */
  --space-section: clamp(64px, 8vw, 104px);
  --space-section-lg: clamp(80px, 10vw, 132px);
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-border);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--color-dark);
  line-height: 1.2;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(17, 169, 95, 0.42);
}

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

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(27, 60, 116, 0.06);
  transition:
    box-shadow var(--transition),
    background var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 32px rgba(13, 27, 62, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 32px;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-dark);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-dark);
  transition: color var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Desktop dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.nav-dropdown-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  padding: 6px 0;
  z-index: 2000;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

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

/* Mobile menu panel */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.nav-mobile-link {
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-mobile-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-mobile-cta {
  margin: 12px 24px 0;
  text-align: center;
}

/* Mobile accordion submenu */
.nav-mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.nav-mobile-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mobile-dropdown-toggle .nav-dropdown-chevron {
  transition: transform 0.25s ease;
}

.nav-mobile-dropdown.open .nav-mobile-dropdown-toggle .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-mobile-submenu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.025);
  border-left: 3px solid rgba(0, 0, 0, 0.08);
  margin: 0 24px 4px;
  border-radius: 0 4px 4px 0;
}

.nav-mobile-dropdown.open .nav-mobile-submenu {
  display: flex;
}

.nav-mobile-sublink {
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-mobile-sublink:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero-bg-wrapper {
  position: relative;
  background-image: url("images/N2L7s18234eu61scpTjhn7DXBwI.avif");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

#hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
  position: relative;
}

#hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  padding-right: 20px;
}

.hero-title {
  font-size: clamp(38px, 4.4vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-accent); /* fallback */
}

.hero-desc {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

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

/* Social proof — surfaced where it converts, right under the CTAs */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Google-style partial-fill rating: grey base + gold overlay clipped to width */
.hero-rating-stars {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  font-size: 18px;
  letter-spacing: 2px;
}
.hero-rating-stars::before {
  content: "★★★★★";
  color: #d9d9d9;
}
.hero-rating-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--color-star);
}
.hero-rating-fill::before {
  content: "★★★★★";
}

.hero-rating-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.3;
}

.hero-rating-text strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark);
}

.hero-rating-divider {
  width: 1px;
  height: 30px;
  background: rgba(27, 60, 116, 0.14);
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 6% -2% 2% -2%;
  background: radial-gradient(
    60% 60% at 50% 45%,
    rgba(42, 167, 255, 0.3),
    transparent 70%
  );
  filter: blur(10px);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(13, 27, 62, 0.18);
}

/* Floating trust badges */
.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 12px 32px rgba(13, 27, 62, 0.16);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  color: var(--color-dark);
  animation: badgeFloat 5s ease-in-out infinite;
}

.hero-badge small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--color-text-light);
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.hero-badge-1 {
  top: 18%;
  left: 2%;
}
.hero-badge-2 {
  bottom: 8%;
  right: 2%;
  animation-delay: 2.5s;
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ── Breadcrumbs (inner pages) ────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: rgba(27, 60, 116, 0.35);
  font-size: 16px;
  line-height: 1;
}

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

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

.breadcrumb-item.active {
  color: var(--color-dark);
}

/* ── Compact page-header hero (inner pages with breadcrumbs) ── */

#hero:has(.breadcrumb) .hero-title {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 16px;
}

#hero:has(.breadcrumb) .hero-image img {
  max-height: 360px;
  border-radius: 0px;
}

#hero:has(.breadcrumb) .hero-image::before {
  inset: 6% -4% -2% -4%;
}

/* ── Reduced-height hero (conversion pages, e.g. Book an Appointment) ──
   Trims vertical padding and caps the hero image so the form sits
   much higher on the page — closer to the fold. */
#hero.hero-compact {
  padding: clamp(32px, 4vw, 52px) 0 clamp(36px, 4vw, 56px);
}
#hero.hero-compact .hero-title {
  font-size: clamp(32px, 3.4vw, 46px);
  margin-bottom: 14px;
}
#hero.hero-compact .hero-desc {
  font-size: 16px;
  margin-bottom: 0;
}
#hero.hero-compact .hero-image img {
  max-height: 300px;
  object-fit: cover;
  object-position: center;
}
#hero.hero-compact .hero-image::before {
  inset: 8% -3% 0 -3%;
}

@media (max-width: 991px) {
  #hero.hero-compact {
    padding: 28px 0 32px;
  }
  /* On phones, drop the hero image entirely so the form is the first
     thing in view. Comment this block out to keep the image. */
  #hero.hero-compact .hero-image {
    display: none;
  }
}

/* ── About ────────────────────────────────────────────────── */
#about {
  padding: var(--space-section) 0;
  background: white;
}

#about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 460px;
}

.about-images img {
  border-radius: 20px;
  object-fit: cover;
}

.about-img-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.about-img-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 280px;
  border: 6px solid white;
  box-shadow: var(--shadow-card);
}

.about-desc {
  color: var(--color-text-light);
  margin: 20px 0 28px;
  line-height: 1.75;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  margin-top: 2px;
}

/* Inline icon SVGs inherit colour and scale from their container's font-size */
.check-icon svg,
.contact-card-icon svg,
.hero-badge-icon svg,
.footer-contact-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  stroke: #ffffff;
  fill: none;
}

/* ── Doctors ──────────────────────────────────────────────── */
.doctors-section {
  padding: 60px 0;
  background: var(--color-white);
  margin-bottom: 60px;
}

.doctors-section .section-header {
  text-align: center;
  margin-bottom: 16px;
}

.doctors-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.doctor-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(27, 60, 116, 0.14);
}

.doctor-photo {
  overflow: hidden;
  min-height: 100%;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.04);
}

.doctor-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doctor-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-dark);
}

.doctor-quals {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-secondary);
  text-transform: uppercase;
}

.doctor-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.doctor-bio p {
  margin: 0 0 14px;
}
.doctor-bio p:last-child {
  margin-bottom: 0;
}

.doctor-card .btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 24px;
  font-size: 13px;
}

/* Legacy support for any remaining .doctor-spec blocks */
.doctor-spec {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

/* ── Departments ──────────────────────────────────────────── */
#departments {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

#departments .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.dept-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.dept-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid rgba(27, 60, 116, 0.08);
  transition: all var(--transition);
  background: white;
  color: var(--color-dark);
}

.dept-tab:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.dept-tab.active {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border-color: transparent;
  color: white;
  box-shadow: 0 10px 24px rgba(42, 167, 255, 0.35);
}

.dept-tab .dept-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.dept-panel {
  display: none;
}

.dept-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

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

.dept-panel-content {
  background-color: #fff;
  border-radius: var(--radius-card);
  padding: 40px;
}

.dept-panel-image {
  border-radius: var(--radius-card);
}

.dept-panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.dept-panel-desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.dept-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.dept-services li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.dept-services li::before {
  content: "→";
  color: var(--color-accent);
  font-weight: 700;
}

.dept-panel-image img {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
  max-height: 380px;
}

/* ── Process ──────────────────────────────────────────────── */
#process {
  padding: var(--space-section) 0;
  background: white;
}

#process .section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.process-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  position: relative;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.process-card .process-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 0 16px;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .process-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -28px;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--color-accent);
    opacity: 0.65;
  }
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.process-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 64px;
  color: rgba(27, 60, 116, 0.08);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.process-step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-dark);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.process-card p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Services ─────────────────────────────────────────────── */
#services {
  background-color: #fff;
}

/* ── CTA ──────────────────────────────────────────────────── */
#cta {
  background-color: white;
}

#cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  background-color: var(--color-bg);
  border-radius: 20px;
  padding: 50px 50px 0;
}

.cta-label {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--color-dark);
  margin-bottom: 32px;
}

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

.cta-phone {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-phone-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cta-phone-label {
  color: #727c8d;
  font-size: 13px;
  margin-bottom: 4px;
}

.cta-phone-number {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
}

/* ── Why Us ───────────────────────────────────────────────── */
#why-us {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

#why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-desc {
  color: var(--color-text-light);
  margin: 20px 0 32px;
  line-height: 1.75;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.why-us-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-dark);
  font-size: 15px;
}

.why-us-list li .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

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

.counter-item {
  background: white;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-accent);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.counter-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 60, 116, 0.14);
}

.counter-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-dark); /* fallback */
  line-height: 1;
  margin-bottom: 6px;
}

.counter-number span {
  color: var(--color-accent);
}

.counter-label {
  color: var(--color-text-light);
  font-size: 14px;
}

/* ── Contact ──────────────────────────────────────────────── */
#contact {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

#contact .section-header {
  text-align: center;
  margin-bottom: 16px;
}

.contact-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 16px;
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
}

.contact-button {
  text-align: center;
  margin: 0 auto 56px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 60, 116, 0.12);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  display: block;
}

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

.contact-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

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

.contact-map-label {
  margin: 0 0 12px;
  font-size: 16px;
}

/* ── Contact: branch-grouped layout ──────────────────────────── */
.branch-grid {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}
.branch-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.branch-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 60, 116, 0.12);
}
.branch-info {
  padding: 36px 34px;
  text-align: left;
}
.branch-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-dark);
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 14px;
}
.branch-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
}
.branch-details {
  list-style: none;
  margin: 0;
  padding: 0;
}
.branch-details li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}
.branch-details li:last-child {
  margin-bottom: 0;
}
.branch-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.branch-ico svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
}
.branch-details a,
.branch-hours {
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.55;
  text-decoration: none;
  padding-top: 8px;
}
.branch-details a:hover {
  color: var(--color-primary);
}
.branch-hours {
  color: var(--color-text-light);
}
.branch-map {
  min-height: 320px;
}
.branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.branch-whatsapp {
  text-align: center;
  margin: 32px 0 0;
  font-size: 15px;
  color: var(--color-text-light);
}
.branch-whatsapp a {
  color: var(--color-primary);
  font-weight: 600;
}
@media (max-width: 768px) {
  .branch-block {
    grid-template-columns: 1fr;
  }
  .branch-map {
    min-height: 260px;
    order: 2;
  }
}

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

/* Let the form fill its wider 75% column on desktop (it's capped at 620px otherwise) */
@media (min-width: 992px) {
  .contact-layout .enquiry-form {
    max-width: none;
  }
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: #fff;
  padding: 48px;
  border-radius: 24px;
}

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

.contact-info-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

/* ── Thank-you (post-booking) page ───────────────────────────── */
.thank-you {
  padding: 90px 0;
}
.thank-you-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 56px 44px;
  text-align: center;
}
.thank-you-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 26px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you-icon svg {
  width: 38px;
  height: 38px;
  stroke: #fff;
  fill: none;
}
.thank-you-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--color-dark);
  margin: 0 0 16px;
  line-height: 1.2;
}
.thank-you-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-light);
  max-width: 480px;
  margin: 0 auto 30px;
}
.thank-you-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}
.thank-you-home {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.thank-you-home:hover {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .thank-you-card {
    padding: 40px 24px;
  }
  .thank-you-contacts .btn {
    width: 100%;
    justify-content: center;
  }
}

.contact-info-item h4 {
  margin: 0 0 6px;
}
.contact-info-item p {
  margin: 0;
  line-height: 1.6;
}

.hours-table {
  border-collapse: collapse;
  width: 100%;
}

.hours-table td {
  padding: 4px 16px 4px 0;
  vertical-align: top;
}

.hours-table td:last-child {
  font-weight: 500;
}

/* ── FAQ ──────────────────────────────────────────────────── */
#faq {
  padding: var(--space-section) 0;
  background: #fff;
}

#faq .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-desc {
  color: var(--color-text-light);
  margin: 20px 0 0;
  line-height: 1.75;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-dark);
  cursor: pointer;
  border: none;
  background: none;
  gap: 12px;
}

.faq-question .faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 14px;
  color: var(--color-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 24px;
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-item.open .faq-question .faq-arrow {
  background: var(--color-primary);
  color: white;
  transform: rotate(180deg);
}

/* ── Testimonials ─────────────────────────────────────────── */
#testimonials {
  padding: var(--space-section) 0;
  background: var(--color-dark);
  overflow: hidden;
  position: relative;
}

#testimonials .section-header {
  text-align: center;
  margin-bottom: 36px;
}

#testimonials .section-label {
  color: var(--color-accent);
  background: rgba(17, 169, 95, 0.14);
  border-color: rgba(17, 169, 95, 0.3);
}
#testimonials .section-title {
  color: white;
}

/* Aggregate proof above the wall of reviews */
.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.testimonials-rating-stars {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  font-size: 18px;
  letter-spacing: 2px;
}
.testimonials-rating-stars::before {
  content: "★★★★★";
  color: rgba(255, 255, 255, 0.25);
}
.testimonials-rating-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--color-star);
}
.testimonials-rating-fill::before {
  content: "★★★★★";
}

.testimonials-rating strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}

.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-track-wrapper::before,
.testimonials-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-dark), transparent);
}

.testimonials-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-dark), transparent);
}

.testimonials-track {
  display: flex;
  gap: 28px;
  animation: marquee 60s linear infinite;
  width: max-content;
  will-change: transform;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  width: 360px;
  flex-shrink: 0;
  transition:
    background var(--transition),
    transform var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f5c518;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: white;
}

.testimonial-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* ── Closing CTA band ─────────────────────────────────────── */
#home-cta {
  padding: var(--space-section-lg) 0;
  background: #fff;
}

.home-cta-inner {
  position: relative;
  overflow: hidden;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  text-align: center;
  box-shadow: 0 30px 60px rgba(17, 169, 95, 0.28);
}

/* Soft light bloom in the corner so the band isn't a flat rectangle */
.home-cta-inner::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.28),
    transparent 70%
  );
  pointer-events: none;
}

.home-cta-inner > * {
  position: relative;
  z-index: 1;
}

.home-cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.home-cta-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}

.home-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* White solid button on the warm band */
#home-cta .btn-white {
  background: #fff;
  color: var(--color-accent-dark);
}
#home-cta .btn-white:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* Ghost button that reads on the warm band */
#home-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
#home-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Credibility band — pitchside proof of the team-doctor claim ── */
#proof {
  padding: var(--space-section) 0;
  background: var(--color-footer-bg);
  position: relative;
  overflow: hidden;
}

/* Soft emerald glow so the dark band reads as crafted, not flat */
#proof::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(17, 169, 95, 0.22), transparent 70%);
  pointer-events: none;
}

#proof .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.proof-title {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.proof-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

.proof-media {
  position: relative;
  margin: 0;
  height: 460px;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.proof-media img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Portrait shot anchors the full height of the left column */
.proof-img-anchor {
  grid-column: 1;
  grid-row: 1 / 3;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

/* World Cup stage shot, top right */
.proof-img-stack-a {
  grid-column: 2;
  grid-row: 1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

/* Sideline strapping, bottom right */
.proof-img-stack-b {
  grid-column: 2;
  grid-row: 2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

/* Caption pill anchors the credential to the imagery */
.proof-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 12px 26px rgba(17, 169, 95, 0.42);
}

@media (max-width: 991px) {
  #proof {
    padding: 56px 0;
  }
  #proof .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .proof-desc {
    max-width: none;
  }
  /* Anchor goes full-width on top, the two landscapes share a row below */
  .proof-media {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .proof-img-anchor {
    grid-column: 1 / 3;
    grid-row: 1;
    height: 340px;
  }
  .proof-img-stack-a {
    grid-column: 1;
    grid-row: 2;
    height: 170px;
  }
  .proof-img-stack-b {
    grid-column: 2;
    grid-row: 2;
    height: 170px;
  }
  /* Caption moves onto the anchor so it never crowds the lower image row */
  .proof-caption {
    top: 14px;
    bottom: auto;
    left: 14px;
  }
}

@media (max-width: 560px) {
  .proof-img-anchor {
    height: 300px;
  }
  .proof-img-stack-a,
  .proof-img-stack-b {
    height: 130px;
  }
  .proof-caption {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ── Credibility band — two-image variant (physiotherapy page) ── */
.proof-media-duo {
  position: relative;
  margin: 0;
  height: 460px;
}

.proof-media-duo img {
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Wide event shot fills the frame */
.proof-media-duo .proof-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

/* Portrait technique shot as a tall inset, bordered in the band colour */
.proof-media-duo .proof-img-inset {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 40%;
  height: 300px;
  border: 6px solid var(--color-footer-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 991px) {
  .proof-media-duo {
    height: 380px;
  }
}

@media (max-width: 560px) {
  .proof-media-duo {
    height: 300px;
  }
  .proof-media-duo .proof-img-inset {
    width: 46%;
    height: 200px;
  }
}

/* ── Sticky mobile action bar ─────────────────────────────── */
.mobile-action-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid rgba(27, 60, 116, 0.08);
    box-shadow: 0 -6px 24px rgba(13, 27, 62, 0.1);
  }

  .mobile-action-bar .btn {
    justify-content: center;
    padding: 13px 16px;
    font-size: 14px;
  }

  .mobile-action-bar .btn-outline {
    background: #fff;
  }

  /* Stop the bar from covering the footer's last rows */
  body {
    padding-bottom: 76px;
  }
}

/* ── Privacy Policy ────────────────────────────────────────────────── */
#privacy-policy {
  padding: 60px 0;
  background: white;
}

.privacy-policy-content {
  max-width: 860px;
  margin: 0 auto;
}

.privacy-policy-content .section-title {
  margin-bottom: 24px;
}

.privacy-policy-content .about-desc {
  margin: 0 0 18px;
}

.privacy-policy-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  margin: 32px 0 12px;
}

/* ── Appointment / Form ───────────────────────────────────── */
/* ── Form card ──────────────────────────────────────────── */
.enquiry-form {
  width: 100%;
  max-width: 620px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.enquiry-form__header {
  margin-bottom: 28px;
}

.enquiry-form__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 8px;
}

.enquiry-form__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-dark);
  margin: 0 0 6px;
  line-height: 1.2;
}

.enquiry-form__intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0;
}

/* ── Fields ─────────────────────────────────────────────── */
.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.field .req {
  color: var(--color-primary);
  margin-left: 2px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid #d7e3f2;
  border-radius: 10px;
  padding: 13px 15px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(42, 167, 255, 0.15);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aab4c4;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231b3c74' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

/* ── Radio group ────────────────────────────────────────── */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-group label {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 16px;
  border: 1.5px solid #d7e3f2;
  border-radius: 10px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition);
}

.radio-group input[type="radio"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin: 0;
}
.radio-group label:has(input:checked) {
  border-color: var(--color-secondary);
  background: var(--color-bg);
  color: var(--color-dark);
}

/* ── Consent ────────────────────────────────────────────── */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 26px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.consent input[type="radio"],
.consent input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

.consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Honeypot — visually removed but still in the DOM for bots to fill */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Submit ─────────────────────────────────────────────── */
.submit-btn {
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(42, 167, 255, 0.32);
}

/* ── Reassurance line under submit ──────────────────────── */
.form-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-light);
  text-align: center;
}
.form-reassurance svg {
  flex-shrink: 0;
  color: #25af4e;
}

/* ── WhatsApp button + contact panel ────────────────────── */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.32);
}

.contact-whatsapp {
  border-top: 1px solid #e8eef6;
  padding-top: 28px;
}
.contact-whatsapp__label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}
.contact-whatsapp .btn-whatsapp {
  width: 100%;
  justify-content: center;
}

@media (max-width: 560px) {
  .enquiry-form {
    padding: 28px 22px;
  }
  .radio-group {
    flex-direction: column;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: white;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-icon {
  color: var(--color-secondary);
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  display: block;
}

.footer-contact-item a:hover {
  color: var(--color-secondary);
}

.footer-hr {
  height: 1px;
  background: var(--color-secondary);
  opacity: 0.3;
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  transition:
    background var(--transition),
    color var(--transition);
}

.footer-social-link:hover {
  background: var(--color-secondary);
  color: white;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Accessibility & Performance ──────────────────────────── */
#departments,
#process,
#why-us,
#faq,
#testimonials {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Skip-to-content link — hidden until focused by keyboard */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

#main-content {
  scroll-margin-top: 90px;
}

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet & small desktop — ≤ 991px */
@media (max-width: 991px) {
  #hero .container,
  #about .container,
  #cta .container,
  #why-us .container,
  #faq .container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #hero {
    padding: 40px 0 56px;
  }

  .hero-content {
    padding-right: 0;
  }

  /* Keep the trust badges on mobile — flow them below the image as chips */
  .hero-image {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .hero-image img {
    order: -1;
  }
  .hero-badge {
    display: none;
  }
  .hero-badge-1,
  .hero-badge-2 {
    inset: auto;
  }
  .hero-rating {
    margin-top: 4px;
  }

  .about-images {
    height: 300px;
    order: 2;
    margin-top: 36px;
  }
  .about-content {
    order: 1;
  }

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

  .dept-panel.active {
    grid-template-columns: 1fr;
  }

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

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

  .counters {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .doctor-card {
    grid-template-columns: 240px 1fr;
  }
  .doctor-info {
    padding: 28px 28px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* Mobile — ≤ 767px */
@media (max-width: 767px) {
  .doctor-card {
    grid-template-columns: 1fr;
  }
  .doctor-photo {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .doctor-info {
    padding: 24px 22px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .appointment-form {
    padding: 0px;
  }

  /* Department tabs: two-column grid so they fit instead of stacking 1-per-row */
  .dept-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .dept-tab {
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    gap: 8px;
    font-size: 13px;
    line-height: 1.25;
  }
  .dept-tab .dept-icon {
    width: 20px;
    height: 20px;
  }
  /* Odd number of tabs → let the last one span the full row so it isn't
     stranded alone in a half-width cell. Auto-adjusts if tabs are added/removed. */
  .dept-tab:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Small mobile — ≤ 640px */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-maps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-map {
    height: 280px;
  }

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

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .testimonials-track {
    animation: none !important;
  }

  .hero-badge {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover,
  .submit-btn:hover,
  .doctor-card:hover,
  .process-card:hover,
  .contact-card:hover {
    transform: none;
  }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  #navbar,
  footer,
  .testimonials-track-wrapper,
  #faq {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}