/* Proxima Nova Webfonts */

/* Thin / Light */
@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-Light.woff2') format('woff2'),
    url('/fonts/ProximaNova-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-LightItalic.woff2') format('woff2'),
    url('/fonts/ProximaNova-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
}

/* Regular */
@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-Regular.woff2') format('woff2'),
    url('/fonts/ProximaNova-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-RegularItalic.woff2') format('woff2'),
    url('/fonts/ProximaNova-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

/* Semibold */
@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-Semibold.woff2') format('woff2'),
    url('/fonts/ProximaNova-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-SemiboldItalic.woff2') format('woff2'),
    url('/fonts/ProximaNova-SemiboldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-Bold.woff2') format('woff2'),
    url('/fonts/ProximaNova-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-BoldIt.woff2') format('woff2'),
    url('/fonts/ProximaNova-BoldIt.woff') format('woff');
  font-weight: 700;
  font-style: italic;
}

/* ExtraBold */
@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-Extrabold.woff2') format('woff2'),
    url('/fonts/ProximaNova-Extrabold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

/* Black */
@font-face {
  font-family: 'Proxima Nova';
  src: url('/fonts/ProximaNova-Black.woff2') format('woff2'),
    url('/fonts/ProximaNova-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

/* TYPOGRAPHY SYSTEM */

/* Headings (logo + titles) → Montserrat */
h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.hero-title,
.treatments h2,
.clinics h2,
.why h2,
.booking h2,
.site-footer .brand {
  font-family: 'Montserrat', sans-serif;
}

/* Body text, nav links, buttons → Proxima Nova */
body,
p,
a,
.nav-links a,
.nav-cta,
.cta-button,
input,
textarea,
button,
label {
  font-family: 'Proxima Nova', sans-serif;
}

/* Prevent horizontal overflow on narrow viewports */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* When mobile menu is open, lock the page scroll */
html.menu-open {
  overflow: hidden;
}


/* Fine-tune weights */
h1,
h2,
h3 {
  font-weight: 700;
  /* bold for headings */
}

.hero-subtitle,
p,
a,
input,
textarea,
button {
  font-weight: 400;
  /* regular body text */
}

.nav-links a,
.cta-button,
.nav-cta {
  font-weight: 600;
  /* semi-bold for emphasis */
}

body {
  margin: 0;
  font-family: 'Proxima Nova', sans-serif;
  background-color: #ffffff;
  color: #222;
  overflow-x: hidden;
}

p {
  color: #787885;
}

/* --- Base layout --- */
html {
  scroll-behavior: smooth;
}

:root {
  --roam-purple: #3C1EB7;
  --ink: #1B1F3A;
  --ink-60: #4b5270;
  --nav-height: 68px;
}

.section {
  padding: 72px 7%;
}

/* Default topnav */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}



/* When scrolled */
.topnav.scrolled {
  background: #fff;
  /* solid white */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.topnav.scrolled .nav-links a {
  color: var(--ink);
}

.topnav.scrolled .brand {
  color: var(--roam-purple);
}

.topnav.scrolled .nav-links a {
  color: var(--ink);
}

/* But hover is still purple */
.topnav.scrolled .nav-links a:hover {
  color: var(--roam-purple);
}

/* Centered Links */
.nav-center {
  display: flex;
  justify-content: center;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  position: relative;
  padding: 0 24px;
}

.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: var(--roam-purple);
  text-decoration: none;
  text-transform: uppercase;
  z-index: 2;
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  /* ExtraLight */
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--roam-purple);
  transition: color .25s ease;
}

.topnav.scrolled .brand-text {
  color: var(--roam-purple);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: #000000;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color .3s ease;
}

.nav-links a:hover {
  color: #3C1EB7;
}

/* Underline hover like Tokyo */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.nav-cta {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.9);
  color: #000000 !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s ease;
}

.topnav.scrolled .nav-cta {
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--ink) !important;

}

/* Hero */
.hero {
  background-image: url('/images/1.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 72vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 7% 120px 7%;
  color: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.50) 46%,
      rgba(255, 255, 255, 0.16) 76%,
      rgba(255, 255, 255, 0.00) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-left: 5%;
  text-align: left;
}

/* Typography */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.hl-seoul {
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 60%, #A68BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.5;
  max-width: 520px;
  /* widened to match title */
  margin: 0 0 36px 0;
  color: #333;
}

/* Dual CTA layout */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-button {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 10px 26px rgba(60, 30, 183, .2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta-gradient {
  color: #fff;
  background-image: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 100%);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(60, 30, 183, .26);
  filter: brightness(1.03);
}

/* Outlined variant to pair with .cta-gradient */
.cta-outline {
  color: var(--roam-purple);
  background: rgb(255, 255, 255, 0.5); /* subtle translucent background */
  border: 2px solid rgba(60, 30, 183, 0.6); /* softer border */
  box-shadow: none;
  transition: all 0.5s ease;
}

.cta-outline:hover {
  background: linear-gradient(
    90deg,
    rgba(60, 30, 183, 1) 0%,
    rgba(90, 50, 220, 1) 100%
  );
  color: #fff;
  border-color: transparent; /* fades into the gradient */
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(60, 30, 183, 0.26);
  filter: brightness(1.03);
}

/* Sections */
.intro {
  padding: 60px 20px;
  text-align: center;
}

.intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Section header pattern */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  /* controls spacing between eyebrow/title/subtitle */
  margin: 0 auto 36px;
  max-width: 920px;
  padding: 0 12px;
}

/* Title */
.section-title {
  position: relative;
  display: inline-block;
  /* sizes to text; stays centered by parent */
  margin: 0;
  /* spacing is from .section-head gap */
  padding-bottom: 16px;
  /* reserve space for underline */
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  color: var(--ink);
}

/* Purple accent underline */
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 3px;
  width: min(56%, 280px);
  /* cap so it doesn’t cause tiny relayouts on resize */
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 100%);
  border-radius: 3px;
  opacity: .9;
}

/* Highlight “city” word with gradient text (matches your hero style) */
.hl-city {
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 60%, #A68BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  /* shrink-wrap to content */
  align-items: center;
  white-space: nowrap;
  /* never breaks to a new line */
  line-height: 1;
  /* avoid line-height jitter */
  padding: 6px 10px;
  border-radius: 999px;
  background: #F1EEFF;
  border: 1px solid rgba(60, 30, 183, .15);
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--roam-purple);
  margin: 0;
}



.treatments {
  background: linear-gradient(180deg, #EAE6F8 0%, #F8F6FF 100%);
  padding: 80px 7%;
  text-align: center;
}

.treatments h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

/* 3-col responsive grid */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}


.treatments-intro {
  margin: 0 auto 28px;
  color: #555;
  max-width: 760px;
}

/* Card style */
.treatment-card {
  display: block;
  text-decoration: none;
  background-color: #fff;
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-align: left;
  color: inherit;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(60, 30, 183, .18);
  border-color: var(--roam-purple);
}

/* Pills container */
.treat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

/* Individual pill */
.treat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  background: #F4F1FF; /* soft lavender */
  color: var(--roam-purple);
  border: 1px solid rgba(60, 30, 183, 0.18);
  white-space: nowrap;
}

/* Hover style if card is hovered */
.treatment-card:hover .treat-pill {
  background: #EEE8FF;
  border-color: rgba(60, 30, 183, 0.28);
}

/* Subtitle */
.section-subtitle {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 400;
  /* try 600 if you want it bolder */
  color: #4a4f63;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  max-width: 720px;
  /* narrower so it forces ~2 lines */
  margin: 10px auto 0;
}

/* Category chips (optional) */
.treatments-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}


.chip {
  font-family: 'Proxima Nova', sans-serif;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.chip-active {
  border-color: var(--roam-purple);
  color: var(--roam-purple);
}

/* Filter pills (category buttons) */
.filter-pill {
  background: #fff;
  border: 1.5px solid rgba(60, 30, 183, 0.25);
  color: var(--rc-purple);
  border-radius: 999px;
  padding: 8px 16px;
  font: 600 0.9rem 'Proxima Nova', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--rc-purple);
  background: rgba(60, 30, 183, 0.06);
  color: var(--rc-purple);
}

.filter-pill.active {
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 100%);
  color: #fff;
border-color: transparent;
}


.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  opacity: 0.85;
}

/* Explore link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--roam-purple);
}

.treatment-card:hover .card-link {
  text-decoration: underline;
}


/* Icon in soft circle */
.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F2EEFF;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background .25s ease;
}

.treatment-card:hover .card-icon-wrap {
  background: #ECE6FF;
}

.card-ic {
  width: 28px;
  height: 28px;
  color: var(--ink);
  transition: color .25s ease;
}

.treatment-card:hover .card-ic {
  color: var(--roam-purple);
}


/* Text */
.treatment-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 12px;
}

/* Specialty card description - match global paragraph style */
.treat-desc {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #4a4f63;
  margin: 0 0 20px;
  max-width: 90%;      /* optional: matches measure used in RC 
  cards */
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* keeps uniform height */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 3); /* ensures perfect spacing */
  }
}

.clinics {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.clinics h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* --- Partner Clinics: redesigned natural cards --- */
.clinic-grid--cards {
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 16px;
}

@media (max-width: 820px) {
  .clinic-grid--cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.clinic-card--rich {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, .03);
  text-align: left;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.clinic-card--rich:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(60, 30, 183, .12),
    0 24px 64px rgba(60, 30, 183, .06);
  border-color: rgba(60, 30, 183, .15);
}

/* Image with specialty pill */
.clinic-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.clinic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.clinic-card--rich:hover .clinic-media img {
  transform: scale(1.02);
}

.clinic-pill {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--roam-purple);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

/* Card body with better spacing */
.clinic-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clinic-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

.clinic-body p {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Redesigned tags with better visual hierarchy */
.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 16px;
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #e9ecef;
  transition: all .2s ease;
}

.tag:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  transform: translateY(-1px);
}

/* Modern button design */
.clinic-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #f1f3f4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  font-family: 'Proxima Nova', sans-serif;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline {
  border: 1.5px solid #dee2e6;
  color: var(--ink);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--roam-purple);
  color: var(--roam-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 30, 183, .15);
}

.btn-solid {
  background: linear-gradient(135deg, #3C1EB7 0%, #6B4CFF 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(60, 30, 183, .25);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(60, 30, 183, .3);
  filter: brightness(1.05) saturate(1.1);
}

.btn-solid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-solid:hover::before {
  left: 100%;
}

.clinic-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.clinic-card {
  background-color: #F7F6FB;
  border-radius: 20px;
  padding: 30px;
  width: 280px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.clinic-card:hover {
  transform: translateY(-5px);
}

.clinic-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.clinic-card p {
  font-size: 1rem;
  color: #555;
}

/* WHY Section */
.why {
  background: #fff;
  text-align: center;
}

.why h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin: 0 0 10px;
}

.why-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  color: #555;
}

.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: #F7F6FB;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .04);
}

.why-ic {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: #3C1EB7;
}

.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin: 6px 0 8px;
}

.why-card p {
  margin: 0;
  color: #666;
}

/* Footer */
.site-footer {
  background: #1B1F3A;
  color: #fff;
  margin-top: 36px;
}

.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-left .brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}

.foot-copy {
  color: #cfd3e1;
  max-width: 460px;
}

.foot-right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-right a {
  color: #cfd3e1;
  text-decoration: none;
}

.foot-right a:hover {
  color: #EFA8C8;
}

.foot-bottom {
  text-align: center;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #cfd3e1;
}

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


@media (max-width: 800px) {
  .foot-inner {
    flex-direction: column;
  }
}

/* Hero responsive */
@media (max-width: 760px) {
  .hero {
    justify-content: center;
    padding: 96px 20px 84px;
  }

  .hero-container {
    margin-left: 0;
    text-align: center;
  }
  .hero-ctas {
    max-width: 700px;
    margin: 0 auto;        /* centers within hero */
    justify-content: center;
  }
}

/* --- Mobile Nav --- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 1.8rem;
  color: #fff;
}

.topnav.scrolled .nav-toggle {
  color: var(--ink);
}

@media (max-width: 840px) {
  .hero {
    background-position: center;
  }

  .hero::before {
    /* cover entire hero with a uniform overlay (no gradient fade) */
    background: rgba(255, 255, 255, 0.60);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 12px 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    z-index: 1001;
  }

  /* Nav Links */
  .nav-links a {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--ink);
    /* black by default */
    opacity: .95;
    position: relative;
    padding: 10px 6px;
    padding-bottom: 4px;
    transition: color .25s ease;
  }


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


  /* Hover state in purple */
  .nav-links a:hover {
    color: var(--roam-purple);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }


  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    /* matches text color */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
  }


  /* no underline in dropdown */

  .nav-cta {
    align-self: flex-start;
    margin-top: 6px;
    border-color: var(--ink);
    color: var(--ink) !important;
  }

  /* Optional: turn hamburger into 'X' when open */
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

}

/* Desktop underline hover only */
@media (min-width: 841px) {
  .nav-links a::after {
    bottom: -6px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }

  .nav-cta {
    margin-left: 16px;
  }

  .rc-footer {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

}

/* Why grid responsive */
@media (max-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Mobile: 1 column */
@media (max-width: 600px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

/* === LANDSCAPE CARD LAYOUT REFINEMENTS === */
/* Ensure cards maintain landscape orientation with the new design */

/* Desktop: maintain 2-column layout with proper spacing */
@media (min-width: 992px) {
  .clinics .clinic-grid--cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
  }
}

/* Ensure landscape image ratio is maintained */
.clinic-card--rich .clinic-media {
  aspect-ratio: 16 / 9;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
  .clinic-card--rich .clinic-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .clinic-card--rich .clinic-media {
    aspect-ratio: 4 / 3;
  }

  .clinic-card--rich .clinic-body {
    padding: 20px;
  }

  .clinic-actions {
    flex-direction: column;
    gap: 8px;
  }

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

/* ===== ROAM Clinics (from-scratch, namespaced) ===== */
:root {
  --rc-purple: #3C1EB7;
  --rc-ink: #1B1F3A;
}

.rc-clinics {
  padding: 72px 4vw;
  background: #fff;
}

.rc-head {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 32px;
}

.rc-eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #F1EEFF;
  border: 1px solid rgba(60, 30, 183, .15);
  font: 600 12px/1 'Proxima Nova', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rc-purple);
}

.rc-title {
  margin: 10px 0 6px;
  font: 700 clamp(2rem, 3.5vw, 2.6rem)/1.15 'Montserrat', sans-serif;
  color: var(--rc-ink);
}

.rc-title .rc-city {
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 60%, #A68BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.rc-sub {
  margin: 0 auto;
  max-width: 820px;
  color: #4a4f63;
  font: 400 clamp(1.02rem, 1.4vw, 1.16rem)/1.55 'Proxima Nova', sans-serif;
}

/* Grid: 1 per row by default; exactly 2 per row on desktop */
.rc-grid {
  display: grid;
  gap: 48px;
  width: min(96vw, 1320px);
  margin: 28px auto 0;
  grid-template-columns: 1fr;
}

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

/* Card */
.rc-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(10, 10, 20, .06);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(60, 30, 183, .16);
  border-color: rgba(60, 30, 183, .18);
}

/* Media = short banner for landscape look */
.rc-media {
  position: relative;
  aspect-ratio: 21/9;
  background: #f6f6fb;
}

.rc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
  font: 700 12px/1 'Proxima Nova', sans-serif;
  color: #333;
}

/* Body */
.rc-body {
  padding: 22px 24px 8px;
  display: grid;
  gap: 10px;
}

.rc-name {
  margin: 0;
  font: 700 1.42rem/1.2 'Montserrat', sans-serif;
  color: var(--rc-ink);
}

.rc-blurb {
  margin: 0;
  color: #4a4f63;
  font: 400 1.02rem/1.5 'Proxima Nova', sans-serif;
}

@media (min-width:1024px) {
  .rc-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .rc-blurb {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Tags */
.rc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-tag {
  font: 600 12px/1 'Proxima Nova', sans-serif;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f1ff;
  color: var(--rc-purple);
  border: 1px solid rgba(60, 30, 183, .15);
}

/* Actions */
.rc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 24px 22px;
}

/* Why ROAM footer CTA */
.rc-why-foot {
  display: grid;
  place-items: center;
  margin-top: 28px;
}

.rc-why-foot .rc-btn {
  display: inline-flex;
  /* keeps button sizing tidy when centered */
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font: 700 14px/1 'Proxima Nova', sans-serif;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  white-space: nowrap;
}

.rc-btn--outline {
  border: 1px solid #e1e1eb;
  background: #fff;
  color: #222;
}

.rc-btn--outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  border-color: #d2d2e2;
}

.rc-btn--solid {
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 100%);
  box-shadow: 0 10px 22px rgba(60, 30, 183, .2);
}

.rc-btn--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(60, 30, 183, .28);
}

/* Focus visibility */
.rc-card:focus-within {
  outline: 3px solid rgba(60, 30, 183, .35);
  outline-offset: 2px;
}

@media (prefers-reduced-motion:reduce) {

  .rc-card,
  .rc-btn {
    transition: none !important;
  }
}

/* === RC spacing polish + section footer === */
.rc-body {
  padding: 20px 22px 14px;
  display: grid;
  gap: 8px;
}

.rc-name {
  margin: 0 0 4px 0;
}

.rc-blurb {
  margin: 0;
}

.rc-tags {
  gap: 6px;
  margin-top: 6px;
}

.rc-tag {
  padding: 5px 10px;
}

.rc-actions {
  padding: 0 22px 20px;
  gap: 10px;
  margin-top: 10px;
}

/* Footer */
.rc-foot {
  display: grid;
  place-items: center;
  margin-top: 28px;
}

.treatments-foot {
  margin-top: 2rem;
  text-align: center;
}


.rc-btn--wide {
  padding: 14px 22px;
  min-width: 260px;
}

/* optional: slightly taller banner if you want a hair more presence */
@media (min-width: 1024px) {
  .rc-media {
    aspect-ratio: 18 / 9;
  }

  /* was 21/9 */
}

/* Spacing polish */
.rc-body {
  padding: 20px 22px 14px;
  display: grid;
  gap: 8px;
}

.rc-name {
  margin: 0 0 4px;
}

.rc-blurb {
  margin: 0;
}

.rc-tags {
  gap: 6px;
  margin-top: 6px;
}

.rc-tag {
  padding: 5px 10px;
}

.rc-actions {
  padding: 0 22px 20px;
  gap: 10px;
  margin-top: 10px;
}

/* Footer link */
.rc-foot {
  display: grid;
  place-items: center;
  margin-top: 28px;
}

.rc-btn--wide {
  padding: 14px 22px;
  min-width: 260px;
}

/* (Optional) make the banner a touch taller for balance on desktop */
@media (min-width: 1024px) {
  .rc-media {
    aspect-ratio: 18 / 9;
  }

  /* was 21/9 */
}

/* ===== ROAM — Why Section (rc-why) ===== */
:root {
  --rc-purple: #3C1EB7;
  --rc-ink: #1B1F3A;
}

.rc-why {
  padding: 80px 4vw;
  background: #fff;
}

.rc-why-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 36px;
}

.rc-why-eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #F1EEFF;
  border: 1px solid rgba(60, 30, 183, .15);
  font: 600 12px/1 'Proxima Nova', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rc-purple);
}

.rc-why-title {
  margin: 10px 0 8px;
  font: 700 clamp(2rem, 3.5vw, 2.6rem)/1.18 'Montserrat', sans-serif;
  color: var(--rc-ink);
}

.rc-why-title .rc-city {
  background: linear-gradient(90deg, #3C1EB7 0%, #6B4CFF 60%, #A68BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.rc-why-sub {
  margin: 0 auto;
  max-width: 820px;
  color: #4a4f63;
  font: 400 clamp(1.02rem, 1.4vw, 1.16rem)/1.55 'Proxima Nova', sans-serif;
}

/* Grid: 1 col mobile, 2 cols tablet, 4 cols desktop */
.rc-why-grid {
  display: grid;
  gap: 22px;
  margin: 28px auto 0;
  width: min(96vw, 1300px);
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .rc-why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .rc-why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Card */
.rc-why-card {
  background: #fff;
  border: 1px solid rgba(10, 10, 20, .08);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  padding: 20px 18px;
  display: grid;
  gap: 10px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rc-why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(60, 30, 183, .20);
  box-shadow: 0 14px 28px rgba(60, 30, 183, .16);
}

/* Icon badge */
.rc-why-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F2EEFF;
  display: grid;
  place-items: center;
  color: var(--rc-purple);
  box-shadow: inset 0 0 0 1px rgba(60, 30, 183, .18);
}

.rc-why-ic svg {
  width: 26px;
  height: 26px;
}

/* Text */
.rc-why-name {
  margin: 6px 0 0;
  font: 700 1.1rem/1.25 'Montserrat', sans-serif;
  color: var(--rc-ink);
}

.rc-why-blurb {
  margin: 0;
  color: #4a4f63;
  font: 400 1rem/1.5 'Proxima Nova', sans-serif;
}

/* Bullets */
.rc-why-points {
  margin: 6px 0 0;
  padding-left: 18px;
  color: #4a4f63;
  font: 400 .98rem/1.45 'Proxima Nova', sans-serif;
}

.rc-why-points li {
  margin: 4px 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rc-why-card {
    transition: none;
  }
}

/* 1) Anchored scroll offset (fixed nav won’t cover headings) */
#why-roam,
.rc-clinics {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* 2) Spacing tune for cards & grid */
@media (min-width: 680px) {
  .rc-why-grid {
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .rc-why-grid {
    gap: 28px;
  }

  .rc-why-card {
    padding: 22px 20px;
  }
}

/* 3) Center the CTA within the same width as the grid */
.rc-why-foot {
  margin: 32px auto 0;
  width: min(96vw, 1300px);
  display: grid;
  place-items: center;
}

.rc-why-foot .rc-btn {
  display: inline-flex;
}

/* 4) Accessibility: clear keyboard focus */
.rc-btn:focus-visible,
.rc-why-card:focus-within {
  outline: 3px solid rgba(60, 30, 183, .35);
  outline-offset: 2px;
}

/* 5) Micro-nits */
.rc-why-ic svg {
  display: block;
}

/* perfect centering inside the circle */
.rc-why-card {
  will-change: transform;
}

/* smoother hover, no layout jank */

/* ===== ROAM Footer (rc-footer) ===== */
:root {
  --rc-purple: #3C1EB7;
  --rc-ink: #1B1F3A;
}

.rc-footer {
  background: #F3F1FA;
  /* soft lavender like Tokyo */
  position: relative;
  margin-top: 56px;
  color: var(--rc-ink);
  border-top: 1px solid rgba(27, 31, 58, .06);
  width: 100%;
}

/* subtle top glow */
.rc-footer::before {
  display: none !important;
  content: "";
  position: absolute;
  inset: -24px 0 auto 0;
  height: 24px;
  /* background: radial-gradient(80% 200% at 50% 0%, rgba(60, 30, 183, .10), transparent 60%); */
  pointer-events: none;
}

.rc-footer-wrap {
  /* width: min(96vw, 1300px);
  max-width: calc(min(96vw, 1300px) + 32px); */
  margin: 0 auto;
  padding: 40px clamp(32px, 4vw, 48px) 28px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 1.9fr;
  /* left brand / right columns */
}

/* 2) Loosen the gap between footer columns */
.rc-foot-right {
  gap: 32px;
}



/* Bottom row padding matches the wrap */
.rc-footer .rc-foot-bottom {
  padding: 14px clamp(16px, 4vw, 48px) 22px;
}

.rc-foot-left .rc-foot-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--rc-purple);
  display: inline-block;
  margin-bottom: 8px;
}

.rc-foot-tag {
  margin: 6px 0 14px;
  font: 700 1.05rem/1.45 'Proxima Nova', sans-serif;
  color: #15182e;
}

.rc-foot-made {
  margin: 0;
  color: #5c6385;
  font: 400 .98rem/1.6 'Proxima Nova', sans-serif;
}

.rc-foot-copy {
  color: #6a7195;
}

/* Right side columns */
.rc-foot-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}

.rc-foot-col h4 {
  margin: 0 0 10px;
  font: 600 1rem/1.2 'Montserrat', sans-serif;
  color: #2a2c42;
  margin-bottom: 8px;
}

.rc-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rc-foot-col a {
  font-size: 0.94rem;
  color: #3c3f57;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(60, 30, 183, .35);
  transition: color .15s ease, text-decoration-color .15s ease;
}

.rc-foot-col a:hover {
  color: #3C1EB7;
  text-decoration-color: currentColor;
}

/* Bottom line */
.rc-foot-bottom {
  border-top: 1px solid rgba(27, 31, 58, .08);
  margin-top: 8px;
  padding: 14px 16px 22px;
  text-align: center;
  color: #6a7195;
  font: 400 .92rem/1.5 'Proxima Nova', sans-serif;
}

/* 5) Bottom disclaimer: lighter and smaller font-size */
.rc-foot-bottom p {
  font-size: 0.9rem;
  color: #5f6180;
}

/* Focus-visible for links */
.rc-footer a:focus-visible {
  outline: 3px solid rgba(60, 30, 183, .35);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .rc-footer-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rc-foot-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .rc-foot-right {
    grid-template-columns: 1fr;
  }
}

/* ===== Project-wide Responsive Refinements ===== */

/* --- Global helpers --- */
img,
video {
  max-width: 100%;
  height: auto;
}

.rc-tags,
.clinic-tags,
.clinic-actions {
  flex-wrap: wrap;
}

/* --- Large tablets and down (≤ 1000px) --- */
@media (max-width: 1000px) {

  /* Nav & hero */
  .nav-inner {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 5% 80px;
    text-align: center;
    justify-content: center;
  }

  .hero-container {
    margin-left: 0;
    max-width: 640px;
  }

  /* Treatments */
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* Clinics (legacy grid & new rc grid) */
  .clinic-grid--cards {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding: 0 14px;
  }

  .rc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Why ROAM */
  .rc-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  /* Footer */
  .rc-footer-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .rc-foot-left {
    display: grid;
    justify-items: center;
  }

  .rc-foot-right {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 28px 36px;
  }
}

/* --- Mobile (≤ 600px) --- */
@media (max-width: 600px) {

  /* Type scales */
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Section padding */
  .section,
  .rc-clinics,
  .rc-why {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Treatments → 1 col */
  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Clinics (both systems) */
  .clinic-grid--cards {
    grid-template-columns: 1fr !important;
    gap: 22px;
    padding: 0;
  }

  .rc-grid {
    gap: 28px;
  }

  /* Card internals */
  .clinic-actions,
  .rc-actions {
    gap: 10px;
  }

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

  /* Why ROAM → 1 col */
  .rc-why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer → 1 col */
  .rc-foot-right {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rc-foot-bottom p {
    font-size: 0.82rem;
    line-height: 1.4;
  }
}

/* --- Micro polish --- */
#why-roam,
.rc-clinics {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* anchors clear fixed nav */
.rc-why-ic svg {
  display: block;
}

.rc-why-card {
  will-change: transform;
}

/* smoother hover */


/* Mobile nav collapse */
@media (max-width: 840px) {
  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .topnav {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .brand-text,
  .nav-links a {
    color: var(--ink);
  }

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

  .nav-toggle .bar {
    background: var(--ink);
  }

  /* Hide links until opened */
  .nav-links {
    align-items: flex-end;
    /* push items to the right edge */
    text-align: right;
    /* link text right-aligned */
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 12px 20px 18px;
    /* even gutters */
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    z-index: 1001;
  }

  .nav-links a {
    align-self: flex-end;
  }

  /* each link hugs the right */


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

  /* Make CTA look good in dropdown */
  .nav-cta {
    align-self: flex-end;
    margin-top: 10px;
    display: block;
    width: auto;
    padding: 10px 16px;
    border-color: rgba(0, 0, 0, 0.12);
  }

  .rc-footer {
    margin-left: 0;
    margin-right: 0;
  }

  .rc-footer-wrap {
    width: 100%;
    max-width: none;
    padding: 40px 20px 28px;
    text-align: center;
  }

  .rc-foot-left {
    display: grid;
    justify-items: center;
  }

  .rc-foot-right {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }
}

/* Optional: simple hamburger look if your .nav-toggle is empty text */
.nav-toggle {
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  position: relative;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #1B1F3A;
  transition: transform .2s ease, opacity .2s ease;
}

.topnav.scrolled .nav-toggle .bar {
  background: var(--ink);
}


/* === Fix asymmetric gutters on mobile === */
.rc-clinics,
.rc-why {
  padding-left: 20px;
  padding-right: 20px;
}

/* your mobile gutters */

.rc-clinics .rc-grid,
.rc-why .rc-why-grid {
  width: 100% !important;
  /* respect parent padding, not viewport */
  max-width: 1320px;
  /* keep desktop cap */
  margin-left: auto;
  margin-right: auto;
}

/* If you still use the legacy clinics grid, keep it consistent too */
.clinic-grid--cards {
  width: 100% !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  /* rely on section padding */
  padding-right: 0;
}

/* Prevent right-edge scroll/gap on small screens */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html.menu-open {
  overflow: hidden;
}

/* lock scroll when menu is open */

/* Respect parent padding instead of using vw widths */
.rc-clinics .rc-grid,
.rc-why .rc-why-grid,
.clinic-grid--cards {
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

.rc-clinics .rc-grid,
.rc-why .rc-why-grid,
.clinic-grid--cards {
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}

/* === Footer: true centering on mobile/tablet === */
@media (max-width: 900px) {

  /* kill any full-bleed offsets and use the parent's width */
  .rc-footer {
    margin-left: 0;
    margin-right: 0;
  }

  .rc-footer-wrap {
    width: 100% !important;
    /* was min(96vw, ...) */
    max-width: none !important;
    margin: 0 auto !important;
    padding: 40px 20px 28px;
    /* even gutters */
    display: grid;
    gap: 28px;
    justify-items: center;
    /* centers all children */
    text-align: center;
    grid-template-columns: 1fr;
    /* ensure single column */
  }

  /* ensure left section is centered */
  .rc-foot-left {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  /* center link columns + lists */
  .rc-foot-right {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
    width: 100%;
  }

  .rc-foot-col {
    text-align: center;
    width: 100%;
  }

  .rc-foot-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* bottom disclaimer uses the same inner width + gutters */
  .rc-footer .rc-foot-bottom {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 14px 20px 22px;
    text-align: center;
  }
}

/* keep full-bleed background only on desktop */
@media (min-width: 901px) {
  .rc-footer {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* ==== Footer: bullet-proof full-bleed + true centering ==== */

/* 1) Stop using the calc() margin hack and any top glow */
.rc-footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.rc-footer::before {
  display: none !important;
}

/* 2) Full-bleed background without affecting layout width
      (no horizontal scroll, no gutter glitches) */
.rc-footer {
  background: #F3F1FA;
  /* expand the background to viewport edges */
  box-shadow: 0 0 0 100vmax #F3F1FA;
  clip-path: inset(0 -100vmax);
}

/* 3) Centered inner wrap that respects parent width (no vw widths) */
.rc-footer-wrap,
.rc-foot-bottom {
  width: 100%;
  max-width: 1300px;
  /* your desired content cap */
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

/* iOS safe-area padding (optional, nice for devices with notches) */
.rc-footer-wrap,
.rc-foot-bottom {
  padding-left: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right));
}

/* 4) Mobile/tablet centering of columns and text */
@media (max-width: 900px) {
  .rc-footer-wrap {
    display: grid;
    gap: 28px;
    justify-items: center;
    text-align: center;
  }

  .rc-foot-right {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .rc-foot-col {
    text-align: center;
  }

  .rc-foot-col ul {
    display: grid;
    place-items: center;
    gap: 6px;
  }
}

/* === FINAL: Footer centering + full-bleed background === */

/* Paint full-bleed background without changing layout width */
.rc-footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: #F3F1FA;
  box-shadow: 0 0 0 100vmax #F3F1FA;
  /* extends bg to viewport edges */
  clip-path: inset(0 -100vmax);
  /* hides the shadow overflow */
}

.rc-footer::before {
  display: none !important;
}

/* One container rule for BOTH the content block and bottom note */
:root {
  --container: 1300px;
  --gutter: 24px;
}

.rc-footer .rc-footer-wrap,
.rc-footer .rc-foot-bottom {
  box-sizing: border-box;
  width: 100% !important;
  /* stop using 96vw */
  max-width: var(--container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: max(var(--gutter), env(safe-area-inset-left)) !important;
  padding-right: max(var(--gutter), env(safe-area-inset-right)) !important;
}

/* Layout on tablet/mobile: stack, center everything */
@media (max-width: 900px) {
  .rc-footer .rc-footer-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    text-align: center;
  }

  .rc-foot-left {
    display: grid;
    justify-items: center;
  }

  .rc-foot-right {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .rc-foot-col {
    text-align: center;
  }

  .rc-foot-col ul {
    display: grid;
    place-items: center;
    gap: 8px;
  }
}

/* Desktop: keep your 3 columns but stay inside the centered container */
@media (min-width: 901px) {
  .rc-foot-right {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
  }
}
/* === Section CTA gutters on mobile/tablet === */
@media (max-width: 900px) {
  /* add horizontal padding to the CTA containers */
  .rc-foot,
  .rc-why-foot {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    box-sizing: border-box;
  }

  /* let the buttons fill the padded container (no edge-to-edge) */
  .rc-foot .rc-btn,
  .rc-why-foot .rc-btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }
}

/* If you prefer the buttons NOT full-width on mobile, use this instead: */
/*
@media (max-width: 900px) {
  .rc-foot,
  .rc-why-foot { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .rc-foot .rc-btn,
  .rc-why-foot .rc-btn { width: auto; min-width: 260px; max-width: 520px; }
}
*/

/* Guarantee side gutters for the WHY ROAM CTA on small screens */
@media (max-width: 900px) {
  /* if the CTA sits inside the grid, make it span full width */
  .rc-why-grid .rc-why-foot { grid-column: 1 / -1; }

  /* hard gutters, even if parent has none */
  .rc-why-foot .rc-btn {
    /* 20px left + 20px right gutter */
    width: min(520px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    justify-content: center;
  }
}

/* === Unify section CTAs on mobile/tablet (match "See more clinics") === */
@media (max-width: 900px) {
  /* give both CTA containers the same side gutters */
  .rc-foot,
  .rc-why-foot {
    box-sizing: border-box;
    width: 100% !important; /* override width: min(96vw, ...) */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    text-align: center;
  }

  /* have the buttons fill the padded container (no edge-to-edge) */
  .rc-foot .rc-btn,
  .rc-why-foot .rc-btn {
    width: 100%;
    max-width: none;
    display: inline-flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* desktop: natural size again */
@media (min-width: 901px) {
  .rc-foot .rc-btn,
  .rc-why-foot .rc-btn {
    width: auto;
  }
}

/* === FINAL unify for section CTAs ("See more clinics" + "Learn more about ROAM") === */

/* 1) Make both wrappers behave the same and kill earlier grid/vw widths */
.rc-foot,
.rc-why-foot {
  width: 100% !important;
  margin: 28px auto 0 !important;
  padding: 0 !important;
  display: flex !important;           /* stop grid stretch */
  justify-content: center !important; /* center the button */
  align-items: center;
}

/* 2) Desktop/tablet: pill-sized, centered, no stretch */
@media (min-width: 901px) {
  .rc-foot .rc-btn,
  .rc-why-foot .rc-btn {
    width: auto !important;
    max-width: 520px;                 /* same visual cap for both */
    display: inline-flex;
    justify-content: center;
  }
}

/* 3) Mobile/tablet: full-width INSIDE gutters (matches "See more clinics") */
@media (max-width: 900px) {
  .rc-foot,
  .rc-why-foot {
    box-sizing: border-box;
    padding-left: max(20px, env(safe-area-inset-left)) !important;
    padding-right: max(20px, env(safe-area-inset-right)) !important;
  }
  .rc-foot .rc-btn,
  .rc-why-foot .rc-btn {
    width: 100% !important;
    max-width: none !important;
    display: inline-flex;
    justify-content: center;
  }
}


@media (max-width: 480px) {
  .hero-ctas {
    width: 100%;
    max-width: calc(100% - 40px); /* subtracts ~20px padding per side */
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .cta-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* ------------------ PREMIUM BOOKING FORM ------------------ */

.booking-container {
  max-width: 720px;
  margin: 24px auto 100px;
  padding: 0 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.booking-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #1a1a2e;
}

.booking-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.booking-section {
  margin-bottom: 0;
}

.booking-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #3C1EB7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-section h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #3C1EB7 0%, #6B4DE6 100%);
  border-radius: 2px;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  gap: 8px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #1a1a2e;
  transition: 0.2s border-color ease, 0.2s box-shadow ease, 0.2s background ease;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #999;
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
  border-color: #c0c0c0;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #3C1EB7;
  box-shadow: 0 0 0 4px rgba(60, 30, 183, 0.12);
  outline: none;
  background: #fdfcff;
}

.booking-form textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  padding-right: 40px;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.flex-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #3C1EB7;
  cursor: pointer;
  margin: 0;
}

.flex-row span {
  font-weight: 500;
  color: #444;
}

.booking-submit {
  width: 100%;
  background: linear-gradient(135deg, #3C1EB7 0%, #5A3FD6 100%);
  color: #fff;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(60, 30, 183, 0.25);
}

.booking-submit:hover {
  background: linear-gradient(135deg, #2a1490 0%, #4830B8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(60, 30, 183, 0.35);
}

.booking-submit:active {
  transform: translateY(0);
}

/* THANK-YOU PAGE */
.thankyou-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.wa-button {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  font-weight: 600;
}

.what-next {
  margin-top: 40px;
  text-align: left;
}

/* --- BOOKING PAGE POLISH --- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #3C1EB7;
}

.back-link svg {
  transition: transform 0.2s ease;
}

.back-link:hover svg {
  transform: translateX(-4px);
}

.booking-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.booking-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--roam-purple);
  margin-bottom: 14px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Section cards */
.booking-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Highlighted intent section */
.booking-section--highlight {
  background: linear-gradient(180deg, #FDFBFF 0%, #F8F5FF 100%);
  border: 1.5px solid rgba(60, 30, 183, 0.15);
}

/* Section notes */
.section-note {
  margin: -8px 0 20px;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Helper text */
.helper-text {
  font-size: 0.82rem;
  color: #888;
  font-weight: 400;
}

/* Prefilled labels */
.prefilled-label {
  background: linear-gradient(135deg, #F1EEFF 0%, #E8E3FF 100%);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  border: 1px solid rgba(60, 30, 183, 0.1);
}

/* Submit area */
.booking-submit-wrap {
  text-align: center;
  padding: 16px 0 0;
}

.submit-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: #777;
}

/* Trust badge */
.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #666;
  font-size: 0.85rem;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  fill: #3C1EB7;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .booking-container {
    margin: 40px auto 80px;
    padding: 0 16px;
  }
  
  .booking-title {
    font-size: 1.8rem;
  }
  
  .booking-section {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .booking-submit {
    padding: 16px 20px;
  }
}
