/* ═══════════════════════════════════════════════
   DESIGN SYSTEM — "The Patient Journey" Theme
   Trustworthy · Calming · Professional · Empathetic
   v3 — Multi-page refactor, Image Carousel Hero
═══════════════════════════════════════════════ */
:root {
  --blue: #00AEEF;
  --blue-dark: #0090CC;
  --blue-light: #33BEFF;
  --navy: #0A2351;
  --black: #1C1C1C;
  --white: #FFFFFF;
  --mist: #E1F5FE;
  --mist-deep: #C5EAFB;
  --gray-soft: #F7FAFB;
  --gray-mid: #6B7C93;
  --gray-line: #DDE6EE;
  --warm-text: #2E3D50;
  --shadow-sm: 0 2px 12px rgba(10, 35, 81, 0.07);
  --shadow-md: 0 8px 32px rgba(10, 35, 81, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 35, 81, 0.13);
  --shadow-blue: 0 8px 28px rgba(0, 174, 239, 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  color: var(--warm-text);
}

a {
  text-decoration: none;
}

/* ── UTILITY ── */
.max-w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 88px 0;
}

.text-blue {
  color: var(--blue);
}

.text-navy {
  color: var(--navy);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--mist);
  color: var(--blue);
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.28s;
  letter-spacing: 0.02em;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 174, 239, 0.32);
}

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

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-arrow::after {
  content: '→';
  font-size: 1rem;
}

/* ════════════════════════════════════════
   NAVIGATION — Multi-page links
════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-line);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--nav-h);
  max-width: 1280px;
  margin: 0 auto;
}


/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  flex-shrink: 0;

  overflow: hidden;
  background-image: url('images/f95-logo.png');
  background-size: 200%;
  /* zoom level — adjust this */
  background-position: center;
  /* keeps it centered */
  background-repeat: no-repeat;
  background-color: transparent;
  /* remove the black/green bg since logo has its own */
}

/* 
.logo-circle {
 width: 70px;
  height: 70px;
   background: #1C1C1C; 
  background: greenyellow;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  
  overflow: hidden; 
}
*/

.logo-circle img {
  width: 190%;
  height: 190%;
  object-fit: contain;
}


.logo-f95 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
}

.logo-f {
  color: #FFFFFF;
}

.logo-9,
.logo-5 {
  color: #00AEEF;
}

.logo-kym {
  font-family: 'Nunito', sans-serif;
  font-size: 5.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
  margin-top: 1px;
  font-style: italic;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.1;
}

.logo-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-text);
  transition: color 0.2s;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 6px;
}

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

.nav-links a.active {
  background: var(--mist);
}

/* HIRA badge + CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Updated wrapper (removed text styles) */
.hira-badge-nav {
  display: flex;
  align-items: center;
  /* Optional: add a small padding or border here if you want separation from the contact button */
  margin-right: 8px;
}

/* New class to size the logo properly */
.hira-nav-logo {
  height: 38px;
  /* Adjust this number to make the logo larger or smaller */
  width: auto;
  object-fit: contain;
  display: block;
}

/* You can safely delete the old .hira-badge-nav span { color: #CC0000; } rule */



.nav-contact-btn {
  background: var(--blue);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.nav-contact-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

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


/* ════════════════════════════════════════
   HERO — Cinematic Photo Carousel
   Height strategy: 80vh desktop → 62vh mobile
   object-fit: cover, centre-anchored
════════════════════════════════════════ */
#hero {
  margin-top: var(--nav-h);
  position: relative;
  background: var(--navy);
  /* shows while image loads */
  overflow: hidden;
}



/* ── Viewport-height container — cinematic on all screens ── */
.hero-swiper-wrap {
  position: relative;
  width: 100%;
  height: 80vh;
  /* desktop: cinematic */
  min-height: 520px;
  /* floor so content never crushes */
  max-height: 900px;
  /* ceiling on ultra-wide monitors */
  background: var(--navy);
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-swiper-wrap {
    height: 65vh;
    min-height: 440px;
  }
}

@media (max-width: 600px) {
  .hero-swiper-wrap {
    height: 62vh;
    min-height: 400px;
  }
}

/* ── Swiper fills the container ── */
.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

/* ── Photo: cover + centre-anchor. Never crops awkwardly. ── */
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills frame, no letterbox */
  object-position: center top;
  /* keep faces/equipment in frame */
  display: block;
  /* Gentle Ken Burns zoom — adds life without distraction */
  animation: heroZoom 8s ease-out forwards;
}

/* Reset zoom on non-active slides so only active slide animates */
.hero-swiper .swiper-slide:not(.swiper-slide-active) .slide-img {
  animation: none;
  transform: scale(1.04);
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1.00);
  }
}


/* ── Two-layer text protection gradient ──────────────────
   Layer 1 (top): very light darkening to protect eyebrow tags
   Layer 2 (bottom): stronger gradient so Playfair headings
   remain readable on ANY background colour.                 */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Top edge — subtle */
    linear-gradient(to bottom,
      rgba(10, 35, 81, 0.30) 0%,
      transparent 28%),
    /* Bottom edge — strong text protection */
    linear-gradient(to top,
      rgba(10, 35, 81, 0.88) 0%,
      rgba(10, 35, 81, 0.55) 32%,
      rgba(10, 35, 81, 0.18) 58%,
      transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* ── Caption sits above both gradient layers ── */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 52px 44px;
  z-index: 2;
}

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 174, 239, 0.92);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.slide-caption h2 {
  color: white;
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  max-width: 680px;
}

.slide-caption p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 400;
  max-width: 520px;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* ── Navigation arrows ── */
.hero-swiper-wrap .swiper-button-next,
.hero-swiper-wrap .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(10, 35, 81, 0.2);
  color: var(--navy);
  transition: all 0.25s;
  top: 50%;
  /* vertically centred on image */
  transform: translateY(-50%);
}

.hero-swiper-wrap .swiper-button-next:hover,
.hero-swiper-wrap .swiper-button-prev:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.hero-swiper-wrap .swiper-button-next::after,
.hero-swiper-wrap .swiper-button-prev::after {
  font-size: 13px;
  font-weight: 900;
}

.hero-swiper-wrap .swiper-button-next {
  right: 22px;
}

.hero-swiper-wrap .swiper-button-prev {
  left: 22px;
}

/* ── Pagination dots ── */
.hero-swiper-wrap .swiper-pagination {
  bottom: 16px;
  z-index: 3;
}

.hero-swiper-wrap .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s;
}

.hero-swiper-wrap .swiper-pagination-bullet-active {
  background: var(--blue);
  width: 28px;
  border-radius: 4px;
}

/* ── Mobile caption tighten ── */
@media (max-width: 600px) {
  .slide-caption {
    padding: 20px 22px 28px;
  }

  .hero-swiper-wrap .swiper-button-next,
  .hero-swiper-wrap .swiper-button-prev {
    width: 38px;
    height: 38px;
  }
}

/* ── Placeholder image: shown when hero1/2/3.jpg aren't present yet ── */
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4080 100%);
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  text-align: center;
  gap: 10px;
}

.slide-placeholder svg {
  opacity: 0.3;
}

.slide-placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════
   TRUST RIBBON — below carousel
════════════════════════════════════════ */
#trust-ribbon {
  background: var(--navy);
  padding: 20px 0;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Nunito', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
}

.ribbon-item-icon {
  color: var(--blue);
  font-size: 1rem;
}

.ribbon-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

/* ════════════════════════════════════════
   IMPACT & IDENTITY — New section
   (stats + brief extracted from hero)
════════════════════════════════════════ */
#impact-identity {
  background: var(--white);
  padding: 88px 0;
  overflow: hidden;
}

.impact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Left: brief + tagline */
.impact-brief {}

.impact-tagline-block {
  margin-top: 24px;
  padding: 22px 26px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.impact-tagline-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  color: rgba(0, 174, 239, 0.08);
  line-height: 1;
  pointer-events: none;
}

.impact-tagline-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: white;
  line-height: 1.55;
  margin-bottom: 10px;
}

.impact-tagline-attr {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.impact-brief-body {
  font-size: 1rem;
  color: var(--warm-text);
  line-height: 1.8;
  margin-bottom: 28px;
}

.impact-brief-body strong {
  color: var(--navy);
  font-weight: 700;
}

.impact-brief-cta {
  margin-top: 28px;
}

/* Right: stat grid */
.impact-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.impact-stat-card {
  background: var(--gray-soft);
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.impact-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: 0.35s;
}

.impact-stat-card:hover::after {
  transform: scaleX(1);
}

.impact-stat-card:hover {
  border-color: rgba(0, 174, 239, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: var(--white);
}

.impact-stat-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 24px 28px;
}

.impact-stat-card.featured::after {
  background: var(--blue);
}

.impact-stat-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.impact-stat-card.featured .impact-stat-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.impact-stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.impact-stat-num span {
  color: var(--blue);
}

.impact-stat-card.featured .impact-stat-num {
  color: white;
  font-size: 2.4rem;
}

.impact-stat-label {
  font-size: 0.8rem;
  color: var(--gray-mid);
  font-weight: 500;
  line-height: 1.45;
}

.impact-stat-card.featured .impact-stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.impact-stat-card.featured .impact-stat-label strong {
  color: white;
}

.impact-period {
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--mist);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  letter-spacing: 0.04em;
}

.hira-partner-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: white;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

.hira-partner-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
}

.hira-partner-logo .h {
  color: var(--black);
}

.hira-partner-logo .c {
  color: #CC0000;
}

.hira-partner-text {
  font-size: 0.78rem;
  color: var(--gray-mid);
  line-height: 1.4;
}

.hira-partner-text strong {
  color: var(--navy);
  display: block;
  font-size: 0.82rem;
}

/* ════════════════════════════════════════
   DIAGNOSTICS PREVIEW (Homepage)
════════════════════════════════════════ */
#analysis {
  background: var(--mist);
}

.diag-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.diag-prev-card {
  background: white;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.diag-prev-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}

.diag-prev-card:hover::before {
  transform: scaleX(1);
}

.diag-prev-card:hover {
  border-color: rgba(0, 174, 239, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.diag-prev-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  grid-column: 1 / -1;
  display: flex;
  gap: 28px;
  align-items: center;
}

.diag-prev-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.diag-prev-card.featured .diag-prev-icon {
  background: rgba(0, 174, 239, 0.18);
  margin-bottom: 0;
}

.diag-prev-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.diag-prev-card.featured .diag-prev-title {
  color: white;
  font-size: 1.1rem;
}

.diag-prev-desc {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

.diag-prev-card.featured .diag-prev-desc {
  color: rgba(255, 255, 255, 0.72);
}

.diag-prev-badge {
  display: inline-block;
  margin-top: 14px;
  background: var(--blue);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* "Learn More" CTA bar */
.diag-cta-bar {
  margin-top: 44px;
  padding: 28px 36px;
  background: white;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.diag-cta-bar-text {}

.diag-cta-bar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.diag-cta-bar-sub {
  font-size: 0.88rem;
  color: var(--gray-mid);
}

.diag-cta-link {
  background: var(--blue);
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.diag-cta-link:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.diag-cta-link::after {
  content: '→';
}

/* ════════════════════════════════════════
   TREATMENTS GRID
════════════════════════════════════════ */
#treatments {
  background: var(--white);
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .tag {
  margin: 0 auto 16px;
}

.section-h2-sub {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gray-mid);
  margin-top: 12px;
  line-height: 1.7;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.treatment-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  cursor: default;
  border: 1.5px solid var(--gray-line);
}

.treatment-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.treatment-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 18px;
  transition: background 0.3s;
}

.treatment-card:hover .treatment-icon-wrap {
  background: var(--blue);
}

.treatment-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.treatment-card-desc {
  font-size: 0.84rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   SPECIALTY CLINICS — BENTO BOX
════════════════════════════════════════ */
#specialty {
  background: var(--mist);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.bento-cell {
  background: white;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  cursor: default;
}

.bento-cell:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.3);
  transform: translateY(-3px);
}

.bento-cell-wide {
  grid-column: 1 / 3;
  background: var(--navy);
  border-color: var(--navy);
}

.bento-cell-tall {
  grid-row: 1 / 3;
  background: var(--mist);
  border-color: var(--mist-deep);
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.bento-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

.bento-cell-wide .bento-title {
  color: white;
  font-size: 1.3rem;
}

.bento-cell-wide .bento-desc {
  color: rgba(255, 255, 255, 0.7);
}

.bento-tag-blue {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bento-wide-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}

.bento-wide-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}

.bento-cell-tall .bento-title {
  color: var(--navy);
  font-size: 1.2rem;
}

.bento-stat-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.bento-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.bento-stat-num em {
  color: var(--blue);
  font-style: normal;
}

.bento-stat-label {
  font-size: 0.78rem;
  color: var(--gray-mid);
  margin-top: 2px;
}

.bento-stat-bar {
  height: 3px;
  background: var(--gray-line);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.bento-stat-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}

/* ════════════════════════════════════════
   RECOVERY ZONE
════════════════════════════════════════ */
#recovery {
  background: var(--navy);
  padding: 88px 0;
}

.recovery-header {
  color: white;
  text-align: center;
  margin-bottom: 52px;
}

.recovery-header h2 {
  color: white;
}

.recovery-header .section-h2-sub {
  color: rgba(255, 255, 255, 0.6);
}

.recovery-header .tag {
  background: rgba(0, 174, 239, 0.15);
  color: var(--blue);
}

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

.recovery-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s;
  cursor: default;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.recovery-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: 0.35s;
}

.recovery-card:hover::after {
  transform: scaleX(1);
}

.recovery-card:hover {
  background: rgba(0, 174, 239, 0.08);
  border-color: rgba(0, 174, 239, 0.3);
  transform: translateY(-6px);
}

.recovery-card-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.recovery-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 10px;
}

.recovery-card-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.recovery-card-badge {
  display: inline-block;
  margin-top: 20px;
  background: rgba(0, 174, 239, 0.15);
  color: var(--blue);
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 174, 239, 0.3);
}

/* ════════════════════════════════════════
   LOCATIONS
════════════════════════════════════════ */
#locations {
  background: var(--white);
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.loc-card {
  background: white;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.loc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.3);
}

.loc-card-header {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-card-header.main {
  background: var(--navy);
}

.loc-card-header.plant {
  background: #1a3a6b;
}

.loc-card-header.sports {
  background: #0d3355;
}

.loc-card-header-icon {
  font-size: 1.3rem;
}

.loc-card-header-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.loc-list {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
}

.loc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-line);
}

.loc-item:last-child {
  border-bottom: none;
}

.loc-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.loc-item-vol {
  font-family: 'Nunito', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--mist);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ════════════════════════════════════════
   FOOTER — multi-page links
════════════════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

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

.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  flex-shrink: 0;

  overflow: hidden;
  background-image: url('images/f95-logo.png');
  background-size: 200%;
  /* zoom level — adjust this */
  background-position: center;
  /* keeps it centered */
  background-repeat: no-repeat;
  background-color: transparent;
  /* remove the black/green bg since logo has its own */
}

/*
.footer-logo-circle {
  width: 48px;
  height: 48px;
  background: #1C1C1C;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
  */

.footer-logo-f95 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -1px;
  display: flex;
}

.footer-logo-f {
  color: white;
}

.footer-logo-95 {
  color: #00AEEF;
}

.footer-logo-kym2 {
  font-style: italic;
  font-size: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: white;
  font-weight: 600;
  line-height: 1.3;
}

.footer-kym {
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  font-family: 'Nunito', sans-serif;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-contact-block {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Space between the text and the logo */
  flex-wrap: wrap;
}

.partner-logo {
  height: 40px;
  /* Adjust this height to fit your design */
  width: auto;
  /* Keeps the aspect ratio perfect */
  display: inline-block;
  vertical-align: middle;
}

.partner-section {
  display: flex;
  flex-direction: column;
  /* Puts logo under the text for better visibility */
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.partner-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.partner-logo-container {
  background: white;
  /* Adds a clean white card behind the logo */
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  height: 60px;
  /* Increased height for better clarity */
  width: auto;
  display: block;
}

.footer-contact-block {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(0, 174, 239, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 174, 239, 0.2);
}

.footer-contact-block .partner-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.footer-contact-block .partner-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
}

.footer-contact-block .partner-name span {
  color: #e05555;
}

.footer-contact-block .partner-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-hira {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-hira span {
  color: #e05555;
}


/* ════════════════════════════════════════
   STICKY CONTACT BUTTON
════════════════════════════════════════ */
.sticky-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  background: var(--blue);
  color: white;
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.sticky-contact:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

.sticky-contact .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: hpulse 1.8s infinite;
}

@keyframes hpulse {

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

  50% {
    opacity: 0.4;
    transform: scale(0.7)
  }
}

#stickyBtn {
  transition: opacity 0.3s, transform 0.3s;
}

/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1060px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 900px) {

  .nav-links,
  .hira-badge-nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .impact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .diag-preview-grid {
    grid-template-columns: 1fr;
  }

  .diag-prev-card.featured {
    flex-direction: column;
  }

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

  .bento-cell-wide,
  .bento-cell-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-wide-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .slide-caption {
    padding: 16px 24px 24px;
  }
}

@media (max-width: 700px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }

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

  .impact-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-stat-card.featured {
    grid-column: 1 / -1;
    flex-direction: column;
    text-align: center;
  }

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

  .diag-cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ribbon-sep {
    display: none;
  }

  section,
  .section-pad {
    padding: 64px 0;
  }
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--gray-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-line);
  box-shadow: var(--shadow-md);
  z-index: 199;
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
}

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

.mobile-nav-drawer a {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-text);
  padding: 12px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.mobile-nav-drawer a:hover {
  background: var(--mist);
  color: var(--blue);
}

.mobile-nav-drawer .mob-contact-btn {
  margin-top: 10px;
  background: var(--blue);
  color: white;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-nav-drawer .mob-contact-btn:hover {
  background: var(--blue-dark);
}

/* ── Live Activity Badge — Regional Network ── */
.loc-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mist);
  border: 1px solid var(--mist-deep);
  border-radius: var(--radius-pill);
  padding: 4px 10px 4px 8px;
  flex-shrink: 0;
}

.loc-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  position: relative;
}

.loc-pulse-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.25;
  animation: locPulse 2s ease-out infinite;
}

@keyframes locPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.35;
  }

  70% {
    transform: scale(1.9);
    opacity: 0;
  }

  100% {
    transform: scale(0.6);
    opacity: 0;
  }
}

.loc-session-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--blue);
  line-height: 1;
}

.loc-session-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0.75;
}

.loc-session-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
