/* ============================================================
   ERIN RIDGE FAMILY HEALTH CENTRE — Global Stylesheet
   Phase 1: Foundation (Reset, Variables, Typography, Layout)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap");

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* ---- Colors ---- */
  --primary: #1e88e5;
  /* Nav bars, primary buttons, CTAs */
  --primary-dark: #1565c0;
  /* Button hover, active states */
  --primary-light: #42a5f5;
  /* Subtle highlights */
  --accent: #7bb8e0;
  /* Accent backgrounds, decorative */
  --light: #d4eaf7;
  /* Section backgrounds, cards */
  --text-blue: #1a7ac4;
  /* Headings, bold accent text */
  --white: #ffffff;
  --off-white: #f8fbfd;
  /* Very subtle blue-tinted white */
  --gray-light: #f2f2f2;
  /* Subtle section alternation */
  --gray-mid: #6b7280;
  /* Body text secondary */
  --gray-dark: #374151;
  /* Darker secondary text */
  --text: #1f2937;
  /* Body text primary */
  --text-dark: #111827;
  /* Darkest text (headings on white) */
  --overlay-dark: rgba(15, 23, 42, 0.5);
  /* Image overlays */
  --overlay-light: rgba(30, 136, 229, 0.35);
  /* Blue-tint overlays */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* ---- Typography ---- */
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Font Sizes (clamp for fluid scaling) ---- */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --text-2xl: clamp(1.45rem, 1.25rem + 1vw, 1.9rem);
  --text-3xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  --text-5xl: clamp(2.8rem, 2.2rem + 3vw, 4.2rem);

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

  /* ---- Layout ---- */
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --max-width-narrow: 800px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

h5 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

.text-gray {
  color: var(--gray-mid);
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--gray-dark);
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

/* Section background variants */
.bg-white {
  background-color: var(--white);
}

.bg-off-white {
  background-color: var(--off-white);
}

.bg-light {
  background-color: var(--light);
}

.bg-gray {
  background-color: var(--gray-light);
}

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

.bg-dark {
  background-color: var(--text-dark);
}

/* ---------- Flexbox Utilities ---------- */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

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

.gap-2xl {
  gap: var(--space-2xl);
}

/* ---------- Grid System ---------- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* Auto-fit responsive grid */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* ---------- Button System ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: var(--text-base);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: var(--text-xs);
}

.btn-pill {
  border-radius: var(--border-radius-full);
}

/* ---------- Card Component ---------- */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.card-body {
  padding: var(--space-xl);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ---------- Hero / Banner Base ---------- */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-2xl);
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
}

/* ---------- Section Header (reusable) ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  color: var(--text-dark);
}

.section-header .subtitle {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--gray-mid);
  font-size: var(--text-lg);
}

/* Decorative line under headings */
.heading-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: var(--space-md) auto var(--space-lg);
  border-radius: 2px;
}

/* ---------- Image Placeholder (for development) ---------- */
.img-placeholder {
  background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  border-radius: var(--border-radius);
  min-height: 200px;
}

/* ---------- Divider ---------- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light), transparent);
  border: none;
  margin: var(--space-2xl) 0;
}

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

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

/* ---------- Selection ---------- */
::selection {
  background-color: var(--primary);
  color: var(--white);
}

/* ============================================================
   PHASE 2: HEADER / NAVIGATION
   ============================================================ */

/* ---------- Header Base ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  z-index: 1000;
  transition: all var(--transition-base);
  box-shadow: none;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 68px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: height var(--transition-base);
}

.site-header.scrolled .logo-img {
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Desktop Navigation ---------- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link:not(.nav-link-cta)::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base) ease;
  border-radius: 2px;
}

.nav-link:not(.nav-link-cta):hover::after,
.nav-link:not(.nav-link-cta).active::after {
  width: calc(100% - 1.8rem);
}

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

.nav-link.active {
  color: var(--primary);
}

/* Contact Us CTA in nav */
.nav-link-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  border-radius: var(--border-radius-full);
  margin-left: 0.5rem;
  padding: 0.55rem 1.3rem;
}

.nav-link-cta:hover {
  background-color: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ---------- Dropdown Arrow Icon ---------- */
.dropdown-arrow {
  width: 10px;
  height: 6px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav-item:hover > .nav-link .dropdown-arrow,
.nav-item.open > .nav-link .dropdown-arrow {
  transform: rotate(180deg);
}

/* ---------- Dropdown Menus ---------- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Wider dropdown for Services */
.dropdown-wide {
  min-width: 290px;
}

.nav-item:hover > .dropdown,
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Small triangle at top of dropdown */
.dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: none;
  border-right: none;
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.dropdown-link:hover,
.dropdown-link.active {
  background-color: var(--light);
  color: var(--primary);
  padding-left: 1.5rem;
}

.dropdown-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

/* ---------- Sub-Dropdown (Aesthetic Services) ---------- */
.has-subdropdown {
  position: relative;
}

.subdropdown-arrow {
  width: 6px;
  height: 10px;
  margin-left: auto;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.has-subdropdown:hover > .dropdown-link .subdropdown-arrow {
  transform: translateX(3px);
}

.subdropdown {
  position: absolute;
  top: -0.5rem;
  left: 100%;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 101;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.has-subdropdown:hover > .subdropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.subdropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.subdropdown a:hover {
  background-color: var(--light);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* ---------- Hamburger (Mobile) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  z-index: 1010;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Mobile Overlay ---------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Body scroll lock when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* ============================================================
   PHASE 2: FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-main {
  padding: var(--space-4xl) 0 var(--space-2xl);
}

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

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

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

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-hours {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-hours p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-privacy-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-privacy-link:hover {
  color: var(--white);
}

/* ============================================================
   PHASE 2: STICKY BOOK NOW BUTTON
   ============================================================ */
.sticky-book-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: all var(--transition-base);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.sticky-book-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-xl);
  animation: none;
}

.sticky-book-icon {
  display: flex;
  align-items: center;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(30, 136, 229, 0.7);
  }
}

/* Desktop/Mobile sticky button toggle */
@media (min-width: 769px) {
  .sticky-book-btn--mobile { display: none !important; }
}

@media (max-width: 768px) {
  .sticky-book-btn--desktop { display: none !important; }
}

/* ============================================================
   COMING SOON — Marquee Banner + Card Badge
   ============================================================ */

/* Marquee banner */
.coming-soon-marquee {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 0.6rem 0;
  overflow: hidden;
  position: relative;
  z-index: 50;
  margin-top: var(--header-height);
}

.coming-soon-marquee + .page-hero {
  margin-top: 0;
}

.coming-soon-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.coming-soon-marquee-text {
  white-space: nowrap;
  padding: 0 3rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Coming Soon badge on cards/menu items */
.coming-soon-overlay {
  position: relative;
  pointer-events: none;
  opacity: 0.55;
  filter: grayscale(30%);
}

.coming-soon-badge {
  position: absolute;
  top: 12px;
  right: -30px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 2.5rem;
  transform: rotate(35deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* IV Therapy Promo Section — Full Redesign */
.iv-promo-section {
  padding: var(--space-3xl) 0;
}

.iv-promo-card {
  background:
    linear-gradient(135deg, rgba(21, 101, 192, 0.88) 0%, rgba(30, 136, 229, 0.82) 50%, rgba(66, 165, 245, 0.88) 100%),
    url("../images/service-iv-therapy.jpg") center/cover no-repeat;
  border-radius: 20px;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(21, 101, 192, 0.3);
}

/* Animated shimmer */
.iv-promo-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.iv-promo-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.iv-promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1.2rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: var(--space-lg);
}

.iv-promo-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.iv-promo-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.iv-promo-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: var(--space-2xl);
}

.iv-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all var(--transition-fast);
}

.iv-promo-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.iv-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.iv-notify-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .iv-promo-card {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
  }
  .iv-promo-benefits {
    gap: 0.4rem;
  }
  .iv-promo-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
  }
}



/* ============================================================
   PHASE 2: SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--light);
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-md);
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   PAGE HERO BANNER — Used on interior pages
   ============================================================ */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 101, 192, 0.78) 0%,
    rgba(30, 136, 229, 0.6) 50%,
    rgba(21, 101, 192, 0.72) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 680px;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}

.page-hero-breadcrumb a:hover {
  color: var(--white);
}

.page-hero-breadcrumb svg {
  width: 12px;
  height: 12px;
  stroke: rgba(255, 255, 255, 0.5);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.page-hero .heading-line {
  display: block;
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  margin: var(--space-md) auto var(--space-lg);
}

.page-hero p {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   LANDING PAGE — 50/50 Split Screen
   ============================================================ */
.landing-split {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

.landing-panel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  min-height: 100vh;
}

/* Background images */
.landing-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.6s ease;
}

.landing-panel:hover .landing-panel-bg {
  transform: scale(1.06);
}

.landing-panel--medical .landing-panel-bg {
  background-image: url("../images/medical-clinic-area.jpg");
}

.landing-panel--cosmetic .landing-panel-bg {
  background-image: url("../images/aesthetics-page.jpg");
}

/* Gradient overlays */
.landing-panel-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
}

.landing-panel--medical .landing-panel-overlay {
  background: linear-gradient(
    135deg,
    rgba(21, 101, 192, 0.72) 0%,
    rgba(30, 136, 229, 0.58) 50%,
    rgba(21, 101, 192, 0.68) 100%
  );
}

.landing-panel--cosmetic .landing-panel-overlay {
  background: linear-gradient(
    135deg,
    rgba(60, 60, 80, 0.68) 0%,
    rgba(90, 70, 100, 0.52) 50%,
    rgba(45, 45, 65, 0.65) 100%
  );
}

.landing-panel:hover .landing-panel-overlay {
  opacity: 0.85;
}

/* Content inside each panel */
.landing-panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl);
  max-width: 480px;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.landing-panel:hover .landing-panel-content {
  transform: translateY(-6px);
}

.landing-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.landing-panel-icon svg {
  stroke: var(--white);
  width: 28px;
  height: 28px;
}

.landing-panel-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.landing-panel-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

/* Panel CTA buttons */
.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

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

.landing-btn--medical:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-btn--cosmetic {
  background: var(--white);
  color: #3d3d50;
}

.landing-btn--cosmetic:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.landing-btn:hover svg {
  transform: translateX(3px);
}

/* Center divider line */
.landing-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 5;
  pointer-events: none;
}

/* Floating center logo badge */
.landing-logo-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90px;
  height: 90px;
  border-radius: var(--border-radius-full);
  background: var(--white);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  pointer-events: none;
}

.landing-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Scroll indicator at bottom */
.landing-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Welcome Text Overlay */
.landing-welcome-text {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  text-align: center;
  max-width: 850px;
  width: 90%;
  padding: 1.5rem 2rem;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.landing-welcome-text p {
  color: var(--white);
  margin-bottom: 0;
}

.landing-welcome-text a {
  color: var(--white);
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
  font-weight: 600;
  transition: opacity 0.3s ease;
  pointer-events: auto; /* Required because parent has pointer-events: none */
}

.landing-welcome-text a:hover {
  opacity: 0.8;
}

/* ============================================================
   RESPONSIVE — Phase 10 will expand these
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg)
      var(--space-lg);
    overflow-y: auto;
    z-index: 1005;
    box-shadow: var(--shadow-xl);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 0.85rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-link-cta {
    margin-left: 0;
    margin-top: var(--space-md);
    text-align: center;
    border-bottom: none;
    border-radius: var(--border-radius);
  }

  /* Mobile dropdowns: stacked, no positioning */
  .dropdown,
  .dropdown-wide {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 100%;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height var(--transition-slow);
    background: var(--off-white);
  }

  .dropdown::before {
    display: none;
  }

  .nav-item.open > .dropdown {
    max-height: 600px;
    transform: none;
  }

  .dropdown-link {
    padding: 0.7rem var(--space-lg);
    font-size: 0.88rem;
  }

  .dropdown-link:hover {
    padding-left: var(--space-lg);
  }

  /* Mobile sub-dropdown */
  .subdropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 100%;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height var(--transition-slow);
    background: var(--light);
  }

  .has-subdropdown.open > .subdropdown {
    max-height: 500px;
  }

  .subdropdown a {
    padding: 0.6rem var(--space-2xl);
    font-size: 0.82rem;
  }

  .subdropdown a:hover {
    padding-left: var(--space-2xl);
  }

  /* Hide logo text on smaller screens */
  .logo-tagline {
    display: none;
  }

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

  /* Landing page: stack vertically */
  .landing-split {
    flex-direction: column;
  }

  .landing-panel {
    min-height: 50vh;
  }

  /* Prevent header from cutting off the top panel's icon on mobile */
  .landing-panel:first-child {
    padding-top: var(--header-height);
  }

  .landing-divider {
    display: none;
  }

  .landing-logo-badge {
    top: auto;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    padding: 12px;
  }

  .landing-scroll-hint {
    display: none;
  }

  .landing-welcome-text {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: var(--space-xl) var(--space-lg);
    background: #0f172a;
    border: none;
    border-radius: 0;
    text-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    order: 10;
    pointer-events: auto;
  }
}

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

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

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

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom .flex {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Sticky button: icon only */
  .sticky-book-text {
    display: none;
  }

  .sticky-book-btn {
    padding: 0.85rem;
    border-radius: var(--border-radius-full);
  }

  .landing-panel-icon {
    width: 52px;
    height: 52px;
  }

  .landing-panel-icon svg {
    width: 22px;
    height: 22px;
  }

  .landing-logo-badge {
    display: none;
  }
}

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

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

  .section {
    padding: var(--space-2xl) 0;
  }

  .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 1rem 2rem;
  }

  .logo-name {
    font-size: 1rem;
  }

  .sticky-book-btn {
    bottom: 1rem;
    right: 1rem;
  }

  .scroll-top-btn {
    bottom: 1rem;
    left: 1rem;
    width: 38px;
    height: 38px;
  }
}

/* ============================================================
   MEDICAL PAGE — Overview Intro
   ============================================================ */
.med-overview {
  padding: var(--space-3xl) 0;
  background: #ebf2fa;
}

.med-overview-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--gray-mid);
  line-height: 1.75;
}

/* Feature Cards Grid */
.med-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Scroll Hint — nudges user to tap a card */
.med-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  padding: var(--space-sm) 0;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.med-scroll-hint svg {
  animation: med-hint-bounce 1.6s ease-in-out infinite;
  stroke: var(--primary);
  opacity: 0.7;
}

@keyframes med-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

/* Specialty sub-group header */
.med-specialty-header {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--primary);
}

/* Specialty row — horizontal cards stacked vertically */
.med-specialty-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Specialty card — horizontal icon-left + text-right */
.med-specialty-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 3px solid transparent;
  box-shadow: 0 2px 16px rgba(21, 101, 192, 0.07);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.med-specialty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), #60a5fa);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.med-specialty-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.13);
}

.med-specialty-card:hover::before {
  background: linear-gradient(180deg, #1e88e5, #42a5f5);
}

/* Specialty icon */
.med-specialty-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}

.med-specialty-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

/* Specialty text */
.med-specialty-text h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.med-specialty-text p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* Large icon placeholder — used when no photo is available */
.med-service-img--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ebf2fa 0%, #d4e4f5 100%);
  border-radius: var(--radius-lg);
  min-height: 360px;
}

.med-service-large-icon {
  width: 140px;
  height: 140px;
  color: var(--clr-primary);
  opacity: 0.5;
}

.med-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--primary);
  box-shadow: 0 2px 16px rgba(21, 101, 192, 0.07);
  text-decoration: none;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.med-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.13);
}

.med-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dbeafe;
  margin-bottom: var(--space-md);
}

.med-feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.med-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.med-feature-card p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ============================================================
   MEDICAL PAGE — Service Sections
   ============================================================ */
.med-service {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.med-service--alt {
  background: #ebf2fa;
}

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

.med-service-grid--reverse {
  direction: rtl;
}

.med-service-grid--reverse > * {
  direction: ltr;
}

.med-service-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.1);
}

.med-service-img img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Ensure the customized mental health poster is fully visible without cropping */
#mh-counselling-img img {
  aspect-ratio: auto;
  object-fit: contain; 
}

.med-service-content .section-label {
  margin-bottom: var(--space-xs);
}

.med-service-content .section-title {
  margin-bottom: var(--space-md);
}

.med-service-content > p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.med-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-lg);
}

.med-service-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

.med-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dbeafe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565C0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* CTA Button inside service sections */
.med-service-content .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   MEDICAL PAGE — FAQ Accordion
   ============================================================ */
.med-faq {
  padding: var(--space-3xl) 0;
}

.med-faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.med-faq-subtitle {
  color: var(--gray-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: var(--space-sm);
}

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

.med-faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.med-faq-item:hover {
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.1);
}

.med-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: color var(--transition-base);
}

/* Remove default marker */
.med-faq-question::-webkit-details-marker {
  display: none;
}

.med-faq-question::marker {
  display: none;
  content: "";
}

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

.med-faq-chevron {
  flex-shrink: 0;
  stroke: var(--gray-mid);
  transition:
    transform 0.3s ease,
    stroke 0.3s ease;
}

.med-faq-item[open] .med-faq-chevron {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.med-faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
}

.med-faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

.med-faq-answer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.med-faq-answer a:hover {
  text-decoration: underline;
}

.med-faq-answer ul {
  margin: 0.25rem 0 0.75rem 1.25rem;
  padding: 0;
  list-style: disc;
}

.med-faq-answer li {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}

.med-faq-answer li::marker {
  color: var(--primary);
}

/* ============================================================
   MEDICAL PAGE — Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .med-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 700px) {
  .med-feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 900px) {
  .med-service-grid,
  .med-service-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-xl);
  }

  .med-service-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COSMETIC PAGE — Welcome / Intro Section
   ============================================================ */

.cos-intro-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.cos-intro-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.cos-intro-lead {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.cos-intro-sub {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: var(--space-xl);
}

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

/* ---------- Intro section: side-by-side text + image ---------- */
.cos-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.cos-intro-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f6eded, #faf5f4);
  border: 2px dashed rgba(150, 82, 77, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
}

.cos-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Shared placeholder styling ---------- */
.cos-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(150, 82, 77, 0.4);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.cos-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: rgba(150, 82, 77, 0.3);
}

/* ---------- Modal header image ---------- */
.cos-modal__image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f6eded, #faf5f4);
  border: 2px dashed rgba(150, 82, 77, 0.2);
}

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

/* When a real image is present, hide the placeholder and dashed border */
.cos-modal__image:has(img[src]:not([src=""])) {
  border: none;
}

.cos-modal__image:has(img[src]:not([src=""])) .cos-placeholder {
  display: none;
}

/* ---------- Photo gallery strip ---------- */
.cos-gallery-section {
  padding: var(--space-3xl) 0;
  background: #fdfaf9;
}

.cos-gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cos-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cos-gallery-item {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6eded, #faf5f4);
  border: 2px dashed rgba(150, 82, 77, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cos-gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.cos-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cos-gallery-item:has(img[src]:not([src=""])) {
  border: none;
}

.cos-gallery-item:has(img[src]:not([src=""])) .cos-placeholder {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  /* Reduce sizing for welcome section on mobile so it's not too large */
  .cos-intro-section {
    padding: var(--space-2xl) 0;
  }

  .cos-intro-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }
  
  .cos-intro-sub {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .cos-intro-content .section-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
  }

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

  .cos-intro-image {
    aspect-ratio: 16 / 9;
    order: -1;
  }

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

  .cos-gallery-item--wide {
    grid-column: span 2;
  }
}

/* ============================================================
   COSMETIC PAGE — Treatment Menu Layout
   ============================================================ */

.cos-menu-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: #F7F5F3;
}

.cos-menu-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}

/* Scroll / tap hint — cosmetic page */
.cos-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: -1rem;
  margin-bottom: var(--space-xl);
  color: #944844;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 1;
}

.cos-scroll-hint svg {
  stroke: #944844;
  opacity: 0.85;
  animation: med-hint-bounce 1.6s ease-in-out infinite;
}

/* Treatment list container */
.cos-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

/* Individual treatment row */
.cos-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cos-menu-item:first-child {
  border-top: 1px solid var(--border-light);
}

/* Hover background sweep */
.cos-menu-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.cos-menu-item:hover::before {
  transform: translateX(0);
}

.cos-menu-item:hover {
  border-bottom-color: #c4b5fd;
}

.cos-menu-item > * {
  position: relative;
  z-index: 1;
}

/* Number badge */
.cos-menu-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.05em;
  min-width: 28px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.cos-menu-item:hover .cos-menu-number {
  opacity: 1;
  color: #7c3aed;
}

/* Icon circle */
.cos-menu-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3e8ff, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.cos-menu-icon svg {
  width: 24px;
  height: 24px;
  stroke: #7c3aed;
  transition: transform 0.3s ease;
}

.cos-menu-item:hover .cos-menu-icon {
  background: linear-gradient(135deg, #7c3aed, #9d7cb0);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.cos-menu-item:hover .cos-menu-icon svg {
  stroke: #fff;
  transform: scale(1.1);
}

/* Text block */
.cos-menu-text {
  flex: 1;
}

.cos-menu-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.cos-menu-item:hover .cos-menu-text h3 {
  color: #7c3aed;
}

.cos-menu-text p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.5;
  margin: 0;
}

/* Arrow */
.cos-menu-arrow {
  width: 24px;
  height: 24px;
  min-width: 24px;
  stroke: var(--gray-mid);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.35s ease;
}

.cos-menu-item:hover .cos-menu-arrow {
  opacity: 1;
  transform: translateX(0);
  stroke: #7c3aed;
}

/* ---- Responsive: Treatment Menu ---- */
@media (max-width: 600px) {
  .cos-menu-item {
    padding: var(--space-md) var(--space-sm);
    gap: var(--space-md);
  }

  .cos-menu-number {
    display: none;
  }

  .cos-menu-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .cos-menu-icon svg {
    width: 20px;
    height: 20px;
  }

  .cos-menu-text h3 {
    font-size: 1rem;
  }

  .cos-menu-text p {
    font-size: 0.82rem;
  }

  .cos-menu-arrow {
    display: none;
  }
}

/* ============================================================
   COSMETIC PAGE — Warm Dusty-Red Theme
   Scoped to body.page-cosmetic so medical page stays blue.
   Matches the warm side of the homepage 50/50 split panel.
   ============================================================ */

/* ---------- Hero banner overlay: warm dusty-red gradient ---------- */
.page-cosmetic .page-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(148, 72, 68, 0.7) 0%,
    rgba(180, 100, 95, 0.58) 50%,
    rgba(135, 65, 62, 0.68) 100%
  );
}

/* ---------- Section labels: warm red instead of blue ---------- */
.page-cosmetic .section-label {
  color: #a0625e;
}

/* ---------- Menu section background: very subtle warm tint ---------- */
.page-cosmetic .cos-menu-section {
  background: #fdfaf9;
}

/* ---------- Menu item hover sweep: light warm red ---------- */
.page-cosmetic .cos-menu-item::before {
  background: linear-gradient(135deg, #fbf0ee, #f6e6e3);
}

.page-cosmetic .cos-menu-item:hover {
  border-bottom-color: #deb5b0;
}

/* ---------- Number badge ---------- */
.page-cosmetic .cos-menu-number {
  color: #c49590;
}

.page-cosmetic .cos-menu-item:hover .cos-menu-number {
  color: #96524d;
}

/* ---------- Icon circles: warm dusty-red ---------- */
.page-cosmetic .cos-menu-icon {
  background: linear-gradient(135deg, #fbf0ee, #f6e6e3);
}

.page-cosmetic .cos-menu-icon svg {
  stroke: #a0625e;
}

.page-cosmetic .cos-menu-item:hover .cos-menu-icon {
  background: linear-gradient(135deg, #96524d, #b5706b);
  box-shadow: 0 4px 16px rgba(150, 82, 77, 0.25);
}

.page-cosmetic .cos-menu-item:hover .cos-menu-icon svg {
  stroke: #fff;
}

/* ---------- Title hover color ---------- */
.page-cosmetic .cos-menu-item:hover .cos-menu-text h3 {
  color: #96524d;
}

/* ---------- Arrow ---------- */
.page-cosmetic .cos-menu-item:hover .cos-menu-arrow {
  stroke: #96524d;
}

/* ---------- Detail section accents (if present) ---------- */
.page-cosmetic .med-service-accent {
  background: linear-gradient(135deg, #96524d, #b5706b) !important;
}

/* ---------- Intro CTA buttons: warm red to match theme ---------- */
.page-cosmetic .btn-primary {
  background-color: #b5706b;
  border-color: #b5706b;
  color: #fff;
}

.page-cosmetic .btn-primary:hover {
  background-color: #96524d;
  border-color: #96524d;
  color: #fff;
}

.page-cosmetic .btn-outline {
  background-color: transparent;
  color: #b5706b;
  border-color: #b5706b;
}

.page-cosmetic .btn-outline:hover {
  background-color: #b5706b;
  color: #fff;
}

/* ============================================================
   COSMETIC PAGE — FAQ Accordion
   ============================================================ */
.cos-faq {
  padding: var(--space-3xl) 0;
  background: #fdfaf9;
}

.cos-faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}


.cos-faq-subtitle {
  color: var(--gray-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xl);
}

/* FAQ Category Tabs */
.faq-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-tab {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(150, 82, 77, 0.15);
  background: var(--white);
  border-radius: 50px;
  color: var(--gray-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.faq-tab:hover {
  background: #fdfaf9;
  border-color: #C0786F;
  color: #7B3F3A; /* burgundy */
  transform: translateY(-2px);
}

.faq-tab--active {
  background: #7B3F3A; /* burgundy */
  color: var(--white);
  border-color: #7B3F3A;
  box-shadow: 0 4px 15px rgba(123, 63, 58, 0.2);
}

/* Tab Panels */
.faq-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-tab-panel--active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

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

.cos-faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(150, 82, 77, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.cos-faq-item:hover {
  box-shadow: 0 4px 20px rgba(150, 82, 77, 0.12);
}

/* ============================================================
   INMODE BRANDING SECTION
   ============================================================ */
.inmode-brand-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(145deg, #2D1B19, #1a0f0e);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.inmode-brand-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(150, 82, 77, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.inmode-brand-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.inmode-logo-wrap {
  margin-bottom: var(--space-xl);
}

.inmode-logo-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
}

.inmode-logo-text span {
  color: #C0786F;
}

.inmode-brand-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--white);
  line-height: 1.2;
}

.inmode-brand-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

.inmode-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.inmode-tech-item {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-lg);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.inmode-tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(150, 82, 77, 0.4);
  transform: translateY(-5px);
}

.inmode-tech-name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.inmode-tech-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.inmode-tech-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
}

.inmode-tech-meta strong {
  color: #C0786F;
  font-weight: 600;
}

@media (max-width: 991px) {
  .inmode-brand-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .inmode-tech-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
  }
}

.cos-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: color var(--transition-base);
}

.cos-faq-question::-webkit-details-marker {
  display: none;
}

.cos-faq-question::marker {
  display: none;
  content: "";
}

.cos-faq-question:hover {
  color: #96524d;
}

.cos-faq-chevron {
  flex-shrink: 0;
  stroke: var(--gray-mid);
  transition:
    transform 0.3s ease,
    stroke 0.3s ease;
}

.cos-faq-item[open] .cos-faq-chevron {
  transform: rotate(180deg);
  stroke: #96524d;
}

.cos-faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
}

.cos-faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.75;
}

.cos-faq-answer a {
  color: #96524d;
  font-weight: 600;
  text-decoration: none;
}

.cos-faq-answer a:hover {
  text-decoration: underline;
}

.cos-faq-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.cos-faq-cta p {
  font-size: 1rem;
  color: var(--gray-mid);
  margin-bottom: var(--space-md);
}

/* ---- Responsive: Cosmetic FAQ ---- */
@media (max-width: 600px) {
  .cos-faq {
    padding: var(--space-2xl) 0;
  }

  .cos-faq-question {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.95rem;
  }

  .cos-faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
  }

  .cos-faq-answer p {
    font-size: 0.88rem;
  }
}

/* ---- Responsive: Gallery very small ---- */
@media (max-width: 480px) {
  .cos-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cos-gallery-item--wide {
    grid-column: span 1;
  }
}

/* ================================================================
   LAYOUT TOGGLE — switch between Menu (A) and Cards (B)
   Default: show Menu, hide Cards
   When body[data-cos-layout="cards"]: show Cards, hide Menu
   ================================================================ */

/* Default — Menu visible, Cards hidden */
.cos-layout-cards {
  display: none;
}

.cos-layout-menu {
  display: block;
}

/* When toggled to cards */
body[data-cos-layout="cards"] .cos-layout-menu {
  display: none;
}

body[data-cos-layout="cards"] .cos-layout-cards {
  display: block;
}

/* ================================================================
   LAYOUT OPTION B — Staggered Mosaic Card Grid
   ================================================================ */

.cos-cards-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: #F7F5F3;
}

.cos-cards-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

/* Grid — 3 columns, featured cards span 2 */
.cos-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- Base Card ---------- */
.cos-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(150, 82, 77, 0.12);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
}

.cos-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #96524d, #b5706b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cos-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(150, 82, 77, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(150, 82, 77, 0.25);
}

.cos-card:hover::before {
  opacity: 1;
}

/* ---------- Featured Card — spans 2 cols ---------- */
.cos-card--featured {
  grid-column: span 2;
  background: linear-gradient(145deg, #faf5f4, #f6eded);
  border-color: rgba(150, 82, 77, 0.18);
}

.cos-card--featured::before {
  opacity: 1;
  height: 5px;
}

/* ---------- Badge ---------- */
.cos-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: linear-gradient(135deg, #96524d, #b5706b);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 1rem;
  width: fit-content;
}

/* Animated "New & Trending 2026" badge — card grid + menu list */
.cos-card__badge:has-text,
.trending-badge,
.cos-card__badge {
  animation: none;
}

/* Specific override for Morpheus8 trending badge */
.cos-card [data-modal="morpheus8"] .cos-card__badge,
.trending-badge {
  background: linear-gradient(135deg, #7B3F3A, #C0786F, #7B3F3A);
  background-size: 200% auto;
  animation: badgeShine 2.5s linear infinite, badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(150, 82, 77, 0.5);
}

.trending-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

@keyframes badgeShine {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(150, 82, 77, 0.45); }
  50%       { box-shadow: 0 0 0 7px rgba(150, 82, 77, 0); }
}



/* ---------- Icon ---------- */
.cos-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(150, 82, 77, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.cos-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: #96524d;
  transition: stroke 0.3s ease;
}

.cos-card:hover .cos-card__icon {
  background: linear-gradient(135deg, #96524d, #b5706b);
  transform: scale(1.08);
}

.cos-card:hover .cos-card__icon svg {
  stroke: #fff;
}

/* ---------- Title ---------- */
.cos-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.cos-card--featured .cos-card__title {
  font-size: 1.3rem;
}

.cos-card:hover .cos-card__title {
  color: #96524d;
}

/* ---------- Description ---------- */
.cos-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ---------- Learn More link ---------- */
.cos-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #96524d;
  transition: gap 0.3s ease;
}

.cos-card__link span {
  transition: transform 0.3s ease;
}

.cos-card:hover .cos-card__link {
  gap: 0.7rem;
}

.cos-card:hover .cos-card__link span {
  transform: translateX(3px);
}

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

  .cos-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .cos-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cos-card--featured {
    grid-column: span 1;
  }

  .cos-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================================
   COSMETIC SERVICE MODALS — Phase 5B
   ============================================================ */

/* Scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* --- Overlay container --- */
.cos-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.cos-modal.active {
  opacity: 1;
  visibility: visible;
}

/* --- Backdrop --- */
.cos-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

/* --- Panel --- */
.cos-modal__panel {
  position: relative;
  width: 92%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.cos-modal.active .cos-modal__panel {
  transform: translateY(0) scale(1);
}

/* Custom scrollbar inside panel */
.cos-modal__panel::-webkit-scrollbar {
  width: 6px;
}

.cos-modal__panel::-webkit-scrollbar-track {
  background: transparent;
}

.cos-modal__panel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* --- Accent bar at top --- */
.cos-modal__accent {
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* --- Close button --- */
.cos-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  z-index: 2;
}

.cos-modal__close svg {
  width: 18px;
  height: 18px;
  color: var(--text);
}

.cos-modal__close:hover {
  background: var(--light);
  transform: rotate(90deg);
}

/* --- Body content --- */
.cos-modal__body {
  padding: 2.5rem 2.5rem 2rem;
}

/* --- Badge --- */
.cos-modal__badge {
  display: block;
  width: max-content;
  margin: 0 auto 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: linear-gradient(135deg, #7B3F3A, #C0786F, #7B3F3A);
  background-size: 200% auto;
  animation: badgeShine 2.5s linear infinite;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
}

/* --- Title --- */
.cos-modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  text-align: center;
  margin-bottom: 1rem;
}

/* --- Lead paragraph --- */
.cos-modal__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

/* --- Two-column detail grid --- */
.cos-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.cos-modal__detail h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light);
}

.cos-modal__detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cos-modal__detail li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.cos-modal__detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.cos-modal__detail li strong {
  color: var(--text-dark);
}

/* --- Info box --- */
.cos-modal__info {
  background: var(--off-white);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.cos-modal__info p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.cos-modal__info p:last-child {
  margin-bottom: 0;
}

.cos-modal__info strong {
  color: var(--text-dark);
}

/* --- CTA button --- */
.cos-modal__cta {
  text-align: center;
}

.cos-modal__btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(30, 136, 229, 0.3);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.cos-modal__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 136, 229, 0.4);
}

.cos-modal__joe-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cos-modal__joe-link svg {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.cos-modal__joe-link:hover {
  color: #e1306c;
}

.cos-modal__joe-link:hover svg {
  fill: #e1306c;
  opacity: 1;
}

/* --- Mobile responsive --- */
@media (max-width: 700px) {
  .cos-modal__panel {
    width: 96%;
    max-height: 92vh;
    border-radius: 14px;
  }

  .cos-modal__accent {
    border-radius: 14px 14px 0 0;
  }

  .cos-modal__body {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .cos-modal__title {
    font-size: 1.4rem;
    padding-right: 2.5rem;
  }

  .cos-modal__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cos-modal__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
  }
}

/* ============================================================
   MENTAL HEALTH PAGE — Phase 6
   Warm, calming design within the blue palette
   ============================================================ */

/* ---------- Hero ---------- */
.mh-hero-bg {
  background: url("../images/mental-health-hero.png") center/cover no-repeat;
}

.mh-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 60, 110, 0.35) 0%,
    rgba(30, 100, 170, 0.25) 50%,
    rgba(10, 20, 40, 0.5) 100%
  );
}

/* ---------- Intro ---------- */
.mh-intro {
  padding: 3.5rem 0 3rem;
  background: #f0f7fd;
}

.mh-intro-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.mh-intro-content .section-title {
  margin-bottom: 1.5rem;
  font-size: var(--text-2xl);
  line-height: 1.35;
}

.mh-intro-divider {
  width: 48px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 3px;
  margin: 0 auto 2rem;
  opacity: 0.5;
}

.mh-intro-content p {
  font-size: var(--text-base);
  color: var(--gray-mid);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.mh-intro-content p:last-child {
  margin-bottom: 0;
}

/* ---------- Services Grid ---------- */
.mh-services {
  padding: 3rem 0 3.5rem;
  background: var(--white);
}

.mh-services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.mh-services-header .section-subtitle {
  color: var(--gray-mid);
  font-size: var(--text-base);
  line-height: 1.7;
}

.mh-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

/* Service Row — dot + text */
.mh-service-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.mh-service-row:hover {
  background: rgba(30, 136, 229, 0.04);
}

.mh-service-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-light);
  margin-top: 0.4em;
  opacity: 0.7;
}

.mh-service-row h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.mh-service-row p {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Team Section — Centered Portrait Cards ---------- */
.mh-team {
  padding: var(--space-4xl) 0;
  background: var(--off-white);
}

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

.mh-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Portrait Card — centered vertically */
.mh-team-card {
  text-align: center;
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  border: 1px solid rgba(30, 136, 229, 0.06);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.mh-team-card:hover {
  box-shadow: 0 8px 32px rgba(30, 136, 229, 0.1);
  transform: translateY(-4px);
}

/* Circular Photo */
.mh-team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.mh-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mh-team-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-team-placeholder svg {
  width: 56px;
  height: 56px;
  stroke: var(--primary-light);
  opacity: 0.45;
}

/* Name & Credentials */
.mh-team-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.mh-team-role {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

.mh-team-title {
  font-size: 0.8rem;
  color: var(--gray-mid);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.mh-team-bio {
  font-size: var(--text-sm);
  color: var(--gray-dark);
  line-height: 1.7;
  margin: 0;
}

/* ---------- CTA — Reach Out (Soft Version) ---------- */
.mh-cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--white) 0%, #e8f4fd 100%);
  text-align: center;
}

.mh-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.mh-cta h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.mh-cta-divider {
  width: 48px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 3px;
  margin: 0 auto 1.75rem;
  opacity: 0.5;
}

.mh-cta p {
  font-size: var(--text-base);
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.mh-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Soft primary button */
.mh-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mh-cta-btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.2);
}

/* Gentle outline button */
.mh-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  border: 2px solid rgba(30, 136, 229, 0.25);
  transition: all 0.3s ease;
}

.mh-cta-btn-outline:hover {
  background: rgba(30, 136, 229, 0.06);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.mh-cta-note {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--gray-mid);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
  opacity: 0.7;
}

/* ---------- Mental Health Responsive ---------- */
@media (max-width: 768px) {
  .mh-services-list {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .mh-team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .mh-team-photo {
    width: 130px;
    height: 130px;
  }

  .mh-cta h2 {
    font-size: var(--text-2xl);
  }

  .mh-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ---------- Hero ---------- */
.about-hero-bg {
  background: url("../images/clinic-hero.jpg") center/cover no-repeat;
}

.about-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 76, 140, 0.72) 0%,
    rgba(30, 120, 200, 0.55) 50%,
    rgba(10, 50, 100, 0.7) 100%
  );
}

/* ---------- Our Story ---------- */
.about-story {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

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

.about-story-text .section-label {
  color: var(--primary);
}

.about-story-text .section-title {
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
}

.about-story-text p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

.about-story-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-story-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Values ---------- */
.about-values {
  padding: var(--space-3xl) 0;
  background: var(--bg-light);
}

.about-values-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.about-values-header .section-subtitle {
  margin-top: var(--space-sm);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.about-value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 1px solid var(--border-light);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(21, 101, 192, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.about-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(21, 101, 192, 0.08),
    rgba(30, 136, 229, 0.12)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.about-value-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.about-value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.about-value-card p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ---------- About Responsive ---------- */
@media (max-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-story-image {
    order: -1;
  }

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

@media (max-width: 600px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .about-value-card {
    padding: var(--space-md) var(--space-sm);
  }

  .about-value-icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-sm);
  }

  .about-value-icon svg {
    width: 22px;
    height: 22px;
  }

  .about-value-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .about-value-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .about-story {
    padding: var(--space-2xl) 0;
  }

  .about-values {
    padding: var(--space-xl) 0;
  }
}

/* ---------- Team Section ---------- */
.about-team {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.about-team--admin {
  background: var(--bg-light);
}

.about-team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.about-team-header .section-subtitle {
  margin-top: var(--space-xs);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* Card */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-lg) var(--space-md);
  padding-top: calc(var(--space-lg) + 4px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Accent bar at top */
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #42a5f5);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(21, 101, 192, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Photo placeholder */
.team-card-photo {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto var(--space-md);
}

.team-card-photo svg {
  width: 100%;
  height: 100%;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  order: 1;
}

.team-card-credentials {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  order: 3;
  padding-top: 0.45rem;
  margin-top: 0.35rem;
  position: relative;
}

/* Thin centered divider above credentials */
.team-card-credentials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 1px;
}

.team-card-role {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.5;
  order: 2;
  font-weight: 500;
}

.team-card-social {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-mid);
  text-decoration: none;
  order: 3;
  transition: color 0.2s ease;
}

.team-card-social:hover {
  color: #e1306c;
}

.team-card-social:hover svg {
  fill: #e1306c;
}

.team-card-note {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(21, 101, 192, 0.06);
  border: 1px solid rgba(21, 101, 192, 0.15);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  margin-top: 0.35rem;
  align-self: center;
}

/* Team Responsive */
@media (max-width: 1199px) {
  .about-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

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

  .about-team {
    padding: var(--space-xl) 0;
  }

  .about-team-header {
    margin-bottom: var(--space-xl);
  }
}

/* ---------- About CTA (Closing) ---------- */
.about-cta {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1a237e 100%);
  overflow: hidden;
}

.about-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 40%
    );
  pointer-events: none;
}

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

.about-cta-label {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.about-cta-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.about-cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

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

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-cta-btn.btn-primary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.about-cta-btn.btn-primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.about-cta-btn.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .about-cta {
    padding: var(--space-2xl) 0;
  }

  .about-cta-title {
    font-size: 1.6rem;
  }

  .about-cta-text {
    font-size: 1rem;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

/* =============================================================
   CONTACT PAGE — Premium Redesign
   ============================================================= */

/* Hero */
.contact-hero-bg {
  background:
    linear-gradient(160deg, rgba(10, 42, 77, 0.92), rgba(13, 71, 161, 0.78)),
    url("../images/contact-hero-bg.jpg") center/cover no-repeat;
}

/* ---------- Welcome Intro ---------- */
.contact-welcome {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--white);
  position: relative;
}

.contact-welcome::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.contact-welcome-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.contact-welcome-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0.6rem 0 1.2rem;
  letter-spacing: -0.01em;
}

.contact-welcome-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* ---------- Contact Info Cards ---------- */
.contact-info {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--white);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

a.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(13, 71, 161, 0.12);
  border-color: rgba(13, 71, 161, 0.25);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

/* Unified brand-tone icon palette — navy / teal shades */
.contact-info-card--phone .contact-info-icon {
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  color: #00695c;
}

.contact-info-card--address .contact-info-icon {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #0d47a1;
}

.contact-info-card--email .contact-info-icon {
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  color: #283593;
}

.contact-info-card--fax .contact-info-icon {
  background: linear-gradient(135deg, #eceff1, #cfd8dc);
  color: #37474f;
}

.contact-info-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.contact-info-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition:
    color 0.3s ease,
    gap 0.3s ease;
}

a.contact-info-card:hover .contact-info-action {
  color: #00695c;
  gap: 0.5rem;
}

.contact-info-detail {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-top: auto;
  font-style: italic;
}

/* Contact Info Responsive */
@media (max-width: 991px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .contact-info-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    text-align: left;
    align-items: start;
    padding: 1.1rem 1.25rem;
  }
  .contact-info-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    margin-bottom: 0;
  }
  .contact-info-label {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .contact-info-value {
    grid-column: 2;
    grid-row: 2;
    word-break: break-word;
  }
  .contact-info-action,
  .contact-info-detail {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0.15rem;
    margin-left: 0;
  }
}

/* ---------- Hours & Map Section ---------- */
.contact-hours-map {
  padding: var(--space-3xl) 0;
  background: var(--bg-light);
}

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

/* Hours Card */
.contact-hours-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-2xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-hours-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.contact-hours-heading svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
}

.contact-hours-table th {
  display: none;
  /* cleaner without header row */
}

.contact-hours-table td {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.contact-hours-table td:last-child {
  text-align: right;
  color: var(--text-body);
  font-variant-numeric: tabular-nums;
}

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

.contact-hours-closed td {
  color: var(--gray-mid) !important;
}

.contact-hours-closed td:last-child {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-hours-note {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  padding: var(--space-md);
  background: linear-gradient(135deg, #e0f7fa, #e0f2f1);
  border-radius: var(--radius-md);
  border-left: 3px solid #00897b;
}

.contact-hours-note strong {
  color: #00695c;
}

/* Right column — map + directions */
.contact-map-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Google Maps embed */
.contact-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  line-height: 0;
  /* removes gap below iframe */
}

.contact-map-embed iframe {
  width: 100%;
  min-height: 320px;
  display: block;
}

/* Directions Card — elevated */
.contact-directions {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-directions-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.contact-directions-heading svg {
  color: var(--primary);
  opacity: 0.7;
}

.contact-directions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-directions-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.directions-icon-wrap {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 1px;
}

.directions-detail {
  font-size: 0.84rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.contact-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-directions-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 71, 161, 0.25);
}

/* Contact CTA — Premium gradient with glow */
.contact-cta {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(160deg, #0a2a4d 0%, #0d47a1 45%, #1a237e 100%);
  overflow: hidden;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(100, 181, 246, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.contact-cta::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(0, 150, 136, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Hours & Map Responsive */
@media (max-width: 768px) {
  .contact-hm-grid {
    grid-template-columns: 1fr;
  }

  .contact-hours-card {
    padding: var(--space-xl);
  }
}

/* ================================================================
   PHASE 8 PART 4: CAREERS PAGE
   ================================================================ */

/* Hero */
.careers-hero-bg {
  background-image: url("../images/careers-banner.jpg");
}

/* Culture / Why Section */
.careers-culture {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.careers-culture-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.careers-culture-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.careers-culture-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
}

/* Values Grid — 4 cards */
.careers-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.careers-value-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.careers-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--border-light);
}

.careers-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  color: var(--white);
}

.careers-value-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.careers-value-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ---- Current Openings ---- */
.careers-openings {
  padding: var(--space-3xl) 0;
  background: var(--bg-light);
}

.careers-openings-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.careers-openings-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.careers-openings-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Job Card */
.careers-opening-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.careers-opening-card:hover {
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.1);
}

.careers-opening-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.careers-opening-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, #2e7d32, #43a047);
  border-radius: 999px;
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
  }
}

.careers-opening-type {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.careers-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(13, 71, 161, 0.08);
  border-radius: 999px;
}

.careers-opening-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.careers-opening-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: var(--space-xl);
  max-width: 720px;
}

/* Requirements */
.careers-opening-details {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.careers-opening-details-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.careers-opening-requirements {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.careers-opening-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-body);
}

.careers-opening-requirements li svg {
  flex-shrink: 0;
  color: #2e7d32;
  margin-top: 0.15rem;
}

/* Perks row */
.careers-opening-perks {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.careers-perk {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
}

.careers-perk svg {
  color: var(--primary);
  opacity: 0.7;
}

/* Apply button */
.careers-opening-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.careers-opening-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 71, 161, 0.3);
}

/* ---- Process / How to Apply ---- */
.careers-process {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.careers-process-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-2xl);
}

.careers-process-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.careers-process-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 var(--space-md);
}

.careers-process-number {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
}

.careers-process-step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.careers-process-step-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
}

.careers-process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  color: var(--primary);
  opacity: 0.4;
}

/* ---- CTA ---- */
.careers-cta {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1e88e5 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .careers-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .careers-values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .careers-opening-card {
    padding: var(--space-xl);
  }

  .careers-opening-perks {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .careers-process-grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .careers-process-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
}

/* ================================================================
   CAREERS APPLICATION FORM
   ================================================================ */
.careers-application {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.careers-application-inner {
  max-width: 800px;
  margin: 0 auto;
}

.careers-application-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.careers-application-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: var(--space-2xl);
}

/* Form layout */
.careers-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.careers-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.careers-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.careers-form-group--full {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.careers-form-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.careers-form-required {
  color: #d32f2f;
  font-weight: 700;
}

/* Text inputs */
.careers-form-input,
.careers-form-select,
.careers-form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid #1a3a5c;
  border-radius: var(--radius-sm);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.careers-form-input::placeholder,
.careers-form-textarea::placeholder {
  color: #8899aa;
  font-weight: 400;
}

.careers-form-input:focus,
.careers-form-select:focus,
.careers-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

/* Select wrapper */
.careers-form-select-wrapper {
  position: relative;
}

.careers-form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.careers-form-select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #1a3a5c;
}

/* Textarea */
.careers-form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* File Upload */
.careers-form-upload {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.careers-form-file {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.careers-form-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a3a5c;
  background: var(--white);
  border: 2px solid #1a3a5c;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.careers-form-upload-btn:hover {
  background: #1a3a5c;
  color: var(--white);
}

.careers-form-upload-hint {
  font-size: 0.82rem;
  color: #8899aa;
}

.careers-form-upload-progress {
  height: 4px;
  background: var(--bg-light);
  border-radius: 999px;
  margin-top: 0.25rem;
  overflow: hidden;
}

/* reCAPTCHA — real widget rendered by Netlify/Google */
.careers-form-recaptcha {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

/* Google's widget can overflow on mobile — contain it */
.careers-form-recaptcha > div {
  transform-origin: left top;
}

/* Submit Button */
.careers-form-submit {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a3a5c;
  background: var(--white);
  border: 2px solid #1a3a5c;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.careers-form-submit:hover {
  background: #1a3a5c;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.2);
}

.careers-form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Form Responsive */
@media (max-width: 640px) {
  .careers-form-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Scale reCAPTCHA on very small screens */
  .careers-form-recaptcha > div {
    transform: scale(0.85);
  }
}

/* Honeypot — hidden from humans */
.careers-form-honeypot {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* Success / Error Messages */
.careers-form-message {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  animation: careersMsgSlideIn 0.4s ease;
}

.careers-form-success {
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #2e7d32;
}

.careers-form-success svg {
  stroke: #2e7d32;
  flex-shrink: 0;
  margin-top: 2px;
}

.careers-form-success strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.careers-form-success p {
  font-size: 0.95rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}

.careers-form-error {
  background: #fbe9e7;
  border: 1px solid #ef5350;
  color: #c62828;
}

.careers-form-error svg {
  stroke: #c62828;
  flex-shrink: 0;
  margin-top: 2px;
}

.careers-form-error strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.careers-form-error p {
  font-size: 0.95rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}

.careers-form-error a {
  color: #c62828;
  text-decoration: underline;
}

@keyframes careersMsgSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================================
   PRIVACY POLICY PAGE
   ============================================================= */

/* Hero */
.privacy-hero-bg {
  background:
    linear-gradient(160deg, rgba(10, 42, 77, 0.94), rgba(13, 71, 161, 0.82)),
    url("../images/contact-hero-bg.jpg") center/cover no-repeat;
}

/* ---------- Content Layout ---------- */
.privacy-content {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--bg-light);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

/* ---------- Table of Contents Sidebar ---------- */
.privacy-toc {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.privacy-toc-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.privacy-toc-list li {
  counter-increment: toc-counter;
}

.privacy-toc-link {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition:
    background 0.2s ease,
    color 0.2s ease;
  line-height: 1.4;
}

.privacy-toc-link::before {
  content: counter(toc-counter) ". ";
  font-weight: 700;
  color: var(--accent-primary);
  margin-right: 0.15em;
}

.privacy-toc-link:hover,
.privacy-toc-link.active {
  background: rgba(26, 58, 92, 0.06);
  color: var(--accent-primary);
}

/* ---------- Main Body ---------- */
.privacy-body {
  min-width: 0;
}

.privacy-effective-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-primary);
  margin-bottom: var(--space-xl);
}

/* ---------- Sections ---------- */
.privacy-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 100px;
}

.privacy-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.privacy-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, #1a3a5c, #2563eb);
  border-radius: 50%;
  flex-shrink: 0;
}

.privacy-subsection-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: var(--space-lg) 0 var(--space-sm);
}

.privacy-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: var(--space-sm);
}

.privacy-section a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-section a:hover {
  color: #2563eb;
}

/* ---------- Lists ---------- */
.privacy-list {
  margin: var(--space-sm) 0 var(--space-md) var(--space-lg);
  padding: 0;
}

.privacy-list li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 0.35rem;
  padding-left: 0.4rem;
}

.privacy-list--spaced li {
  margin-bottom: var(--space-md);
}

/* ---------- Section 3: Use Cards Grid ---------- */
.privacy-use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.privacy-use-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.privacy-use-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.privacy-use-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3a5c, #2563eb);
  border-radius: var(--radius-sm);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.privacy-use-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.privacy-use-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Section 5: Security Grid ---------- */
.privacy-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.privacy-security-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.privacy-security-item svg {
  flex-shrink: 0;
  color: var(--accent-primary);
  margin-top: 2px;
}

.privacy-security-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.privacy-security-item p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.privacy-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-md);
}

/* ---------- Section 8: Contact Cards ---------- */
.privacy-contact-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
}

.privacy-contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.privacy-contact-card--secondary {
  background: rgba(26, 58, 92, 0.03);
  border-color: rgba(26, 58, 92, 0.12);
}

.privacy-contact-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
}

.privacy-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.privacy-contact-list svg {
  flex-shrink: 0;
  color: var(--accent-primary);
}

.privacy-contact-list a {
  color: var(--accent-primary);
  text-decoration: none;
}

.privacy-contact-list a:hover {
  text-decoration: underline;
}

/* Policy Update Notice */
.privacy-update-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(37, 99, 235, 0.06);
  border-left: 4px solid #2563eb;
  border-radius: var(--radius-sm);
  margin-top: var(--space-xl);
}

.privacy-update-notice svg {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 2px;
}

.privacy-update-notice p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .privacy-toc {
    position: static;
    padding: var(--space-md);
  }

  .privacy-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .privacy-toc-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  .privacy-security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .privacy-section {
    padding: var(--space-lg) var(--space-md);
  }

  .privacy-section-title {
    font-size: 1.15rem;
  }

  .privacy-use-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   INTERACTION & ANIMATION UTILITIES
   ========================================================== */

/* Scroll Fade In */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   INMODE MARQUEE
   ============================================================ */
.inmode-marquee-wrapper {
  background-color: var(--beige-light); /* Clean creamy earthy background */
  color: var(--text-dark); /* Crisp dark text for maximum readability */
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 2px solid rgba(212,175,55,0.3);
}

.inmode-marquee-content {
  display: inline-flex;
  gap: 2.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.95rem;
  animation: marquee 30s linear infinite;
}

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

.inmode-marquee-wrapper .inmode-marquee-content span {
  display: inline-flex;
  align-items: center;
}
.inmode-marquee-wrapper .inmode-marquee-content span::after {
  content: "•";
  margin-left: 2.5rem;
  color: var(--text-dark);
  opacity: 0.3;
}

/* ============================================================
   PREMIUM PAYMENT BANNER
   ============================================================ */
.premium-payment-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(145deg, var(--text-dark) 0%, #111111 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(212,175,55,0.15);
}

.premium-payment-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at top right, rgba(212,175,55,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.premium-payment-inner {
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.premium-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.1);
  color: var(--gold-accent);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(212,175,55,0.3);
}

.premium-payment-title {
  font-size: 2.8rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

.premium-payment-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.premium-payment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--gold-accent);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  border: none;
}

.premium-payment-btn:hover {
  background: #fff;
  color: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212,175,55,0.2);
}

@media (max-width: 768px) {
  .premium-payment-title { font-size: 2.2rem; }

/* --- Expert Spotlights --- */
.expert-spotlight {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 5rem;
  align-items: center;
}
.expert-spotlight--reverse {
  grid-template-columns: 1fr minmax(250px, 320px);
}
.expert-spotlight--reverse .expert-spotlight__image {
  order: 2;
}
.expert-spotlight--reverse .expert-spotlight__content {
  order: 1;
}
.expert-image-arch {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 160px 160px 0 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  display: block;
}
.expert-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.expert-title {
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.expert-bio {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.expert-socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn-spotlight-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  background: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  transition: all 0.3s ease;
}
.btn-spotlight-solid:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-spotlight-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.btn-spotlight-outline:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .expert-spotlight, .expert-spotlight--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .expert-spotlight__image,
  .expert-spotlight--reverse .expert-spotlight__image {
    order: 1 !important;
  }
  .expert-image-arch {
    aspect-ratio: 4/5;
    border-radius: 150px 150px 0 0;
  }
  .expert-spotlight__content,
  .expert-spotlight--reverse .expert-spotlight__content {
    order: 2 !important;
    text-align: center;
  }
  .expert-socials {
    justify-content: center;
  }
}
}


/* --- EDITORIAL SPOTLIGHT WOW LAYOUT (FRAMELESS OVERLAP) --- */
.expert-combo-island {
  margin: 6rem auto 8rem;
  max-width: 1200px;
  padding: 0 1.5rem;
  position: relative;
}

.editorial-spotlight {
  position: relative;
  display: flex;
  flex-direction: column;
}

@media(min-width: 992px) {
  .editorial-spotlight {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 0;
    align-items: center;
  }
}

.editorial-spotlight__visual {
  position: relative;
  width: 100%;
  z-index: 2;
  margin: 0 auto;
}

@media(min-width: 992px) {
  .editorial-spotlight__visual {
    width: 100%;
  }
}

.editorial-spotlight__frame {
  display: none; /* removed clutter */
}

.editorial-spotlight__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15); /* The portrait holds the shadow, not a card! */
  display: block;
}

.editorial-spotlight__secondary-img {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1rem;
  border: 6px solid var(--white);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  z-index: 15;
  transform: rotate(3deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-spotlight__secondary-img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

@media(max-width: 991px) {
  .editorial-spotlight__secondary-img {
    right: 10px;
    bottom: -15px;
    width: 60%;
  }
}

.editorial-spotlight__tertiary-img {
  position: absolute;
  top: 30%;
  left: -40px;
  width: 40%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
  border: 5px solid var(--white);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  z-index: 14;
  transform: rotate(-6deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-spotlight__tertiary-img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.editorial-spotlight__quaternary-img {
  position: absolute;
  bottom: 8%;
  left: -20px;
  width: 35%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
  border: 5px solid var(--white);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  z-index: 13;
  transform: rotate(8deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-spotlight__quaternary-img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Dog photos — bottom right */
.editorial-spotlight__quinary-img {
  position: absolute;
  bottom: 12%;
  right: -30px;
  width: 32%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
  border: 5px solid var(--white);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  z-index: 13;
  transform: rotate(-5deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-spotlight__quinary-img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.editorial-spotlight__senary-img {
  position: absolute;
  bottom: -4%;
  right: -15px;
  width: 28%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
  border: 5px solid var(--white);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  z-index: 12;
  transform: rotate(6deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-spotlight__senary-img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

@media(max-width: 991px) {
  .editorial-spotlight__tertiary-img {
    left: -15px;
    width: 45%;
  }
  .editorial-spotlight__quaternary-img {
    left: -5px;
    width: 40%;
  }
  .editorial-spotlight__quinary-img,
  .editorial-spotlight__senary-img {
    display: none;
  }
}

/* Mobile: collapse island & portfolio padding to kill stacking gaps */
@media(max-width: 767px) {
  .expert-combo-island {
    padding: 1.5rem !important;
    border-radius: 1.25rem !important;
  }
  .expert-portfolio {
    padding: 1.5rem !important;
    border-radius: 1.25rem !important;
    margin-bottom: 0 !important;
  }
  .expert-island-divider {
    margin: 1rem 0 !important;
  }
  .cos-experts-section {
    padding-bottom: 0 !important;
  }
}

.editorial-spotlight__badge {
  position: absolute;
  top: -30px;
  left: -30px;
  background: #a0625e;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 15px 35px rgba(160, 98, 94, 0.4);
  border: 4px solid var(--off-white);
  transform: rotate(-10deg);
  z-index: 10;
}

@media(max-width: 991px) {
  .editorial-spotlight__badge {
    left: 10px;
    top: -20px;
  }
}

.editorial-spotlight__content {
  background: transparent; /* No card! */
  padding: 3rem 0 0 0;
  box-shadow: none;
  position: relative;
  z-index: 3;
  width: 100%;
}

@media(min-width: 992px) {
  .editorial-spotlight__content {
    background: transparent;
    padding: 0 0 0 5rem; /* Pure text on the beautiful background */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.editorial-spotlight__name {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.editorial-spotlight__title {
  font-size: 0.95rem;
  color: #a0625e;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.editorial-spotlight__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2.5rem;
}

.ed-cred-1 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.ed-cred-2 {
  font-size: 1.35rem;
  color: #a0625e;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.editorial-spotlight__divider {
  width: 50px;
  height: 2px;
  background: #a0625e;
  margin-bottom: 2.5rem;
}

.editorial-spotlight__bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
}
.btn-editorial:hover {
  background: var(--text-dark);
  color: var(--white) !important;
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-editorial-solid {
  background: #a0625e;
  color: #fff !important;
  border: 1px solid #a0625e;
}
.btn-editorial-solid:hover {
  background: #8c5552;
  border-color: #8c5552;
  transform: translateY(-2px);
}

.editorial-spotlight__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

/* Free floating gallery grid matching the frameless aesthetic */
.expert-portfolio-area {
  padding: 0;
}

.expert-island-divider {
  height: 1px;
  background: rgba(160, 98, 94, 0.2); /* elegant terracotta accent */
  margin: 5rem 0;
  width: 100%;
}
