/* ==========================================================
   Hope4All Clinic — Design System & Styles
   ========================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colours — derived from logo.png sampling */
  --navy:        #0B1D3A;
  --navy-dark:   #071224;
  --navy-light:  #152C50;
  --red:         #C8040E;
  --red-dark:    #A0030B;
  --red-light:   #E8394A;
  --white:       #FFFFFF;
  --off-white:   #F4F7FA;
  --light-blue:  #E8EFF7;
  --grey:        #6B7B8D;
  --grey-light:  #B0BEC5;
  --grey-dark:   #37474F;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Borders */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(11,29,58,0.08);
  --shadow-md:   0 4px 14px rgba(11,29,58,0.10);
  --shadow-lg:   0 12px 32px rgba(11,29,58,0.14);
  --shadow-xl:   0 20px 50px rgba(11,29,58,0.18);
  --shadow-red:  0 6px 20px rgba(200,4,14,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.25s;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--grey-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Section headings ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 60%, #FF8A80 100%);
  color: var(--white);
  border-color: rgba(200,4,14,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(11,29,58,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(7,18,36,0.98);
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-full);
  background: var(--white);
  padding: 2px;
}

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width var(--duration) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}

.nav-cta .btn:hover {
  background: rgba(255,255,255,0.24);
  border-color: var(--white);
  box-shadow: none;
}

.nav-cta .btn svg {
  color: var(--red-light);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 50%, rgba(200,4,14,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(21,44,80,0.6) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
}

/* Decorative floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.14;
  background: var(--white);
}

.hero-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
  animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 250px;
  height: 250px;
  bottom: -60px;
  left: 10%;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
  width: 160px;
  height: 160px;
  top: 30%;
  right: 25%;
  animation: float 18s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.45rem 1rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  color: var(--red-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: linear-gradient(100deg, var(--red) 0%, var(--red-light) 55%, #FF8A80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper {
  position: relative;
  width: clamp(280px, 28vw, 420px);
  height: clamp(280px, 28vw, 420px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  animation: pulse-ring 3s ease-in-out infinite;
}

.hero-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.14);
  animation: pulse-ring 3s ease-in-out infinite 1s;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.5; }
}

.hero-logo-wrapper img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Hero bottom bar */
.hero-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-lg) var(--space-lg);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* ---------- Acronym tooltip ---------- */
.acro {
  position: relative;
  cursor: help;
  outline: none;
  text-decoration: none;
}

.acro::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  white-space: normal;
  width: max-content;
  max-width: 260px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  z-index: 50;
}

.acro::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--white);
  border-bottom-width: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  z-index: 50;
}

.acro:hover::after,
.acro:focus-visible::after,
.acro:focus::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.acro:hover::before,
.acro:focus-visible::before,
.acro:focus::before {
  opacity: 1;
}

.contact-item .acro {
  display: inline-block;
}

.contact-item .acro::after {
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-item .acro::before {
  border-top-color: var(--white);
}

/* ==========================================================
   SERVICES MARQUEE (infinite ticker)
   ========================================================== */
.services-marquee-wrap {
  margin-top: var(--space-3xl);
}

.marquee {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-light);
  min-height: 52px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  will-change: transform;
}

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

.marquee-list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  column-gap: 0;
}

.marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.9rem 1.5rem;
}

.marquee-list li::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.6;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

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



/* ==========================================================
   SERVICES (cards)
   ========================================================== */
.services {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  height: 100%;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid rgba(11,29,58,0.06);
  transition: all var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(200,4,14,0.18);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.65;
}

.service-card ul {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.service-card ul li {
  font-size: 0.88rem;
  color: var(--grey);
  padding: 0.2rem 0;
  padding-left: 1.1em;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-card img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  object-fit: contain;
  margin: 0 auto var(--space-lg);
  padding: 12px;
  background: var(--off-white);
  border: 3px solid var(--light-blue);
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--grey);
}

.about-float-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--red);
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-red);
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-subtitle {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.55;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(11,29,58,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,4,14,0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--duration) var(--ease);
}

.faq-question:hover {
  color: var(--red);
}

.faq-question:focus-visible {
  outline: 3px solid rgba(200,4,14,0.3);
  outline-offset: -3px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--red);
  transition: transform var(--duration) var(--ease);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer-inner {
  padding: 0 1.4rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--grey);
}

/* ==========================================================
   OPENING HOURS COMPONENT
   ========================================================== */
.hours {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.hours-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(11,29,58,0.06);
}

.hours-header {
  background: var(--navy);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hours-header svg {
  width: 28px;
  height: 28px;
  color: var(--red-light);
  flex-shrink: 0;
}

.hours-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

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

.hours-table caption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hours-table tbody tr {
  border-bottom: 1px solid rgba(11,29,58,0.06);
  transition: background var(--duration) var(--ease);
}

.hours-table tbody tr:last-child {
  border-bottom: none;
}

.hours-table tbody tr:hover {
  background: rgba(11,29,58,0.02);
}

.hours-table tbody tr.today {
  background: rgba(11,29,58,0.10);
}

.hours-table td {
  padding: 0.95rem var(--space-xl);
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 50%;
}

.hours-table td:last-child {
  color: var(--grey-dark);
  text-align: right;
  width: 50%;
}

.hours-table .closed {
  color: var(--red);
  font-weight: 600;
  font-style: italic;
}

.hours-table .today-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: var(--space-sm);
  vertical-align: middle;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.contact-item h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}

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

.contact-hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11,29,58,0.06);
}

.contact-hours h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-hours h3 svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

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

.contact-hours-table caption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.contact-hours-table tbody tr {
  border-bottom: 1px solid rgba(11,29,58,0.05);
}

.contact-hours-table tbody tr:last-child {
  border-bottom: none;
}

.contact-hours-table td {
  padding: 0.65rem 0;
  font-size: 0.9rem;
}

.contact-hours-table td:first-child {
  font-weight: 600;
  color: var(--navy);
}

.contact-hours-table td:last-child {
  color: var(--grey-dark);
  text-align: right;
}

.contact-hours-table .closed {
  color: var(--red);
  font-weight: 600;
}

.contact-hours-table .today {
  background: rgba(11,29,58,0.08);
  border-radius: var(--radius-sm);
}

/* Map placeholder */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-blue);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11,29,58,0.08);
}

.contact-map-placeholder {
  text-align: center;
  padding: var(--space-xl);
}

.contact-map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: var(--space-md);
}

.contact-map-placeholder p {
  font-size: 0.9rem;
  color: var(--grey);
}

/* ---------- Practice numbers (stacked) ---------- */
.practice-numbers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.practice-numbers li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.practice-numbers li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

.practice-numbers .acro {
  display: inline-block;
}

/* ---------- Contact emails ---------- */
.contact-emails {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-emails li {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-emails a {
  font-weight: 500;
  color: var(--navy);
  word-break: break-word;
}

.contact-emails a:hover {
  color: var(--red);
}

.contact-emails-alt {
  font-size: 0.85rem !important;
  color: var(--grey);
}

.contact-emails-alt a {
  color: var(--grey);
}

.contact-emails-alt span {
  font-style: italic;
  font-size: 0.8rem;
}

/* ==========================================================
   BOOKING
   ========================================================== */
.booking {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--light-blue) 100%);
}

.booking-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11,29,58,0.06);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-field .req {
  color: var(--red);
}

.form-field .optional {
  color: var(--grey);
  font-weight: 400;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(11,29,58,0.14);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: var(--grey-dark);
  background: var(--off-white);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,4,14,0.12);
  background: var(--white);
}

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

.booking-form-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
  background: var(--light-blue);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.booking-form-note svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

.booking-submit {
  align-self: center;
  justify-content: center;
  min-width: 260px;
}

@media (max-width: 600px) {
  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .booking-submit {
    width: 100%;
  }
}

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 80% 50%, rgba(200,4,14,0.12) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-inner .btn {
  font-size: 1rem;
  padding: 0.95rem 2.2rem;
  flex: 1 1 0;
  justify-content: center;
  max-width: 320px;
}

.btn-cta-whatsapp {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 60%, #FF8A80 100%);
  color: var(--white);
  border-color: rgba(200,4,14,0.35);
}

.btn-cta-whatsapp:hover {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,4,14,0.35);
}

@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--navy-dark);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
}

.footer-brand .nav-logo img {
  height: 56px;
}

.footer-brand .nav-logo-text {
  font-size: 1.2rem;
}

.footer-brand .nav-logo-text span {
  font-size: 0.72rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration) var(--ease);
}

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

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

.footer-hours-table caption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.footer-hours-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-hours-table tr:last-child {
  border-bottom: none;
}

.footer-hours-table td {
  padding: 0.4rem 0;
  font-size: 0.82rem;
}

.footer-hours-table td:first-child {
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.footer-hours-table td:last-child {
  color: rgba(255,255,255,0.45);
  text-align: right;
}

.footer-hours-table .closed {
  color: var(--red-light);
  font-weight: 600;
}

.footer-hours-table tr.today {
  background: rgba(255,255,255,0.09);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--duration) var(--ease);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ---------- Footer social links ---------- */
.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.social-link-medpages {
  width: auto;
  height: 40px;
  padding: 0 0.9rem;
  gap: 0.4rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.7);
}

.social-link-medpages svg {
  width: 16px;
  height: 16px;
}

.social-link-medpages:hover {
  background: var(--red);
  color: var(--white);
}

/* ==========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================== */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.whatsapp-fab svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-fab-label {
  display: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  background: #1FBA59;
  box-shadow: 0 12px 28px rgba(37,211,102,0.5);
}

.whatsapp-fab:hover .whatsapp-fab-label,
.whatsapp-fab:focus-visible .whatsapp-fab-label {
  display: inline;
}

.whatsapp-fab:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ==========================================================
   MOBILE NAV OVERLAY
   ========================================================== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 0 1.5rem;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  width: 100%;
  max-width: 320px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: left;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--duration) var(--ease);
}

.mobile-menu a:hover {
  color: var(--white);
}

.mobile-menu .mobile-menu-btn {
  margin-top: var(--space-lg);
  width: 100%;
  max-width: 320px;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-bottom: none;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + var(--space-2xl));
  }

  .hero-text {
    max-width: 600px;
    margin-inline: auto;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-bar-inner {
    gap: var(--space-xl);
  }

  .whatsapp-fab-label {
    display: inline;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-text .section-title,
  .about-text .section-subtitle {
    text-align: center;
  }

  .about-text .about-features {
    justify-items: center;
    width: 100%;
  }

  .about-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(100%, 440px);
  }

  .about-text {
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-bar-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-stat-divider {
    display: none;
  }

  .contact-hours,
  .footer-col:has(#footer-hours-table) {
    display: none;
  }

  .hours-table td {
    padding: 0.85rem var(--space-md);
  }

  .hours-table td:last-child {
    white-space: nowrap;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 768px) {
  .whatsapp-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-fab-label,
  .whatsapp-fab:hover .whatsapp-fab-label,
  .whatsapp-fab:focus-visible .whatsapp-fab-label {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .marquee-list {
    flex-wrap: wrap;
  }

  .hero-logo-wrapper::before,
  .hero-logo-wrapper::after,
  .hero-shape {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
