/* ===================================================
   CLIENT TEMPLATE — styles.css
   Update the CSS custom properties in :root to match
   the client's brand before using this template.
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* ============================================================
     BRAND COLORS — update ALL of these for each client.
     The rest of the stylesheet references only these variables.
  ============================================================ */

  /* Base whites */
  --white:          #FEFEFE;
  --off-white:      #FEFEFE;      /* Light page/input background tint */

  /* Tints — lightest washes of primary (section backgrounds, borders) */
  --blue-50:        #F0F5F0;      /* lightest brand tint */
  --blue-100:       #E1EBE1;      /* light brand tint */
  --blue-200:       #C8D9C8;      /* medium brand tint */

  /* Primary brand color — buttons, links, icons, highlights */
  --primary:        #6B8C3E;      /* sage green */
  --primary-mid:    #5A7A35;      /* slightly darker variant */
  --primary-light:  #7A9A4E;      /* light variant */
  --primary-bright: #7FA050;      /* bright variant */

  /* Secondary / complementary color */
  --cyan:           #3A7EA8;      /* steel blue */
  --cyan-light:     #4A8AB8;      /* light secondary */

  /* Dark backgrounds (nav dark, footer, featured cards) */
  --navy:           #2C2C2C;      /* dark text */
  --navy-dark:      #1A1A1A;      /* deepest dark */

  /* Accent — used for stars, highlights (steel blue) */
  --gold:           #3A7EA8;      /* steel blue accent */
  --gold-light:     #4A8AB8;

  /* Text */
  --text:           #2C2C2C;
  --text-mid:       #4A4A4A;
  --text-light:     #777777;
  --border:         #E1EBE1;

  /* Text */
  --text:           #111111;
  --text-mid:       #444444;
  --text-light:     #777777;
  --border:         #E5E5E5;

  /* Shadows — update rgba colour to approximate your --primary */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.18);
  --shadow-brand:   0 8px 32px rgba(107, 140, 62, 0.28); /* sage green glow */

  /* Layout */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

  /* Fonts — update to client's chosen typefaces */
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;

  --max-width:  1200px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Global focus indicator */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Screen reader only utility */
.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;
}

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

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Cursor Canvas ---------- */
#cursor-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; border-bottom: none; border-top: none; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  flex: 0 0 30px;
  height: 1px;
  background: var(--primary);
  opacity: 0.4;
}

h1.section-title, h2.section-title, .section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-200);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: 999px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
  border-radius: 999px;
}
.btn-primary:hover {
  /* update these to slightly darker shades of --primary */
  background: linear-gradient(135deg, #5A7A35 0%, #4A6A2D 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(107, 140, 62, 0.3); /* update rgba to match brand */
}
.btn-primary:active { transform: translateY(0); }

/* Shine sweep effect */
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}
.btn-shine:hover::after { left: 150%; }

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
}
.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- NAVIGATION ---------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: #FEFEFE;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), height var(--transition);
}

.nav-header.scrolled {
  background: #FEFEFE;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}

.nav-header.scrolled .nav-container {
  height: 96px;
}

.nav-header.scrolled .nav-logo-img {
  height: 76px;
}

.nav-container {
  max-width: none;
  width: 100%;
  padding: 0 24px 0 52px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 180px;
  transition: height var(--transition);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.nav-logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition), height var(--transition);
}
.nav-logo-img:hover { opacity: 0.85; }

.nav-header.scrolled .nav-logo-img {
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
  list-style: none;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: #ffffff;
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 0.88rem;
  flex-shrink: 0;
  border-radius: 999px;
  animation: pulse-brand 2s ease-in-out infinite;
}

@keyframes pulse-brand {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(58, 126, 168, 0.3) 100%), url('hero.jpg') center center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #FEFEFE;
  z-index: 3;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 30, 0.35);
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  text-align: center;
  justify-items: center;
  margin: 0 auto;
  padding: 150px 48px 90px 48px;
  flex: 1;
  width: 100%;
}

/* --- Hero Left --- */
.hero-left { display: flex; flex-direction: column; gap: 32px; overflow: visible; padding-left: 3rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-light);
  box-shadow: 0 0 8px var(--cyan-light), 0 0 20px var(--cyan-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--cyan-light), 0 0 20px var(--cyan-light); }
  50%       { box-shadow: 0 0 16px var(--cyan-light), 0 0 40px rgba(0,0,0,0.3); }
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
  line-height: 1.15;
  white-space: normal;
  padding-bottom: 0.12em;
  margin-left: 0;
  padding-left: 6px;
  overflow: visible;
}

/* Shimmer animated text */
.shimmer-word {
  display: inline;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 10px;
}

@keyframes shimmer-move {
  0%   { background-position: 150% center; }
  100% { background-position: -150% center; }
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-heading-llc {
  display: block;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--blue-200);
  margin-top: 4px;
}

.hero-trust {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding-top: 4px;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(0,0,0,0.45);
  border: 1.5px solid rgba(255,255,255,0.8);
  font-size: 12px;
  white-space: nowrap;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-icon {
  color: var(--blue-200);
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Hero Right: Photo --- */
.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-photo-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.hero-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hero-badge-icon {
  width: 34px; height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-badge-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.hero-badge-text span {
  font-size: 0.72rem;
  color: var(--text-light);
}


/* --- Scroll cue --- */
.hero-scroll-cue {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.hero-scroll-cue:hover { color: var(--primary-mid); }
.scroll-text { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.scroll-chevron {
  width: 20px; height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce-down 1.8s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translateY(4px); opacity: 1; }
}

/* ===================== PAGE HEADER ===================== */
.page-header {
  padding: 130px 0 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
}

/* ===================== TICKER STRIP ===================== */
.ticker-strip {
  background: var(--blue-50);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0 28px;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== SERVICES ===================== */
.services { background: #ffffff; }

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

/* First 3 cards fill top row (2 columns each across a 6-col grid) */
.service-card { grid-column: span 2; }

/* Bottom 2 cards: shift right by 1 col each so they sit centered */
.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12); /* TODO: update rgba to match brand */
  border-color: var(--blue-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-icon-wrap {
  width: 56px; height: 56px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap { background: var(--blue-100); }

.service-icon {
  width: 30px; height: 30px;
  color: var(--primary);
}

.service-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
  transition: gap var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link span { transition: transform var(--transition); }
.service-link:hover { color: var(--primary-mid); }
.service-link:hover span { transform: translateX(4px); }

/* ===================== HOW IT WORKS ===================== */
#how-it-works {
  background: linear-gradient(135deg, #2d5a70 0%, #2a3a1e 25%, #3a5a28 100%);
}

#how-it-works .section-title,
#how-it-works .section-eyebrow,
#how-it-works .section-subtitle {
  color: white;
}

#how-it-works h3,
#how-it-works p {
  color: rgba(255,255,255,0.85);
}

#how-it-works .step-number {
  color: rgba(255,255,255,0.15);
}

#how-it-works .process-step a {
  color: #a8d080;
}

#how-it-works .step-content h3 {
  color: #2a3a1e;
}

#how-it-works .step-content p {
  color: #4a5a3a;
}

#how-it-works .step-icon svg {
  stroke: var(--primary);
}

.process {
  background: var(--blue-50);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.03) 0%, transparent 70%);
  /* TODO: update rgba to a very faint tint of your brand primary */
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.process-connector {
  display: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  height: 100%;
}

.step-number {
  font-size: 3rem;
  font-weight: 400;
  font-family: 'Playfair Display', serif;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: -12px;
  transition: color var(--transition);
}
.process-step:hover .step-number { color: var(--blue-200); }

.step-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  width: 100%;
  flex: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover .step-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 52px; height: 52px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-icon svg { width: 28px; height: 28px; color: var(--primary); }

.step-content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.step-content p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* ===================== OUR WORK ===================== */
.our-work { background: #ffffff; }
.our-work .section-title { color: var(--navy); }
.our-work .section-eyebrow { color: var(--primary); }
.our-work .section-subtitle { color: #333333; }
.our-work .container {
  max-width: 100%;
  padding: 0 40px;
}

/* Carousel */
.work-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
  user-select: none;
}

.work-carousel-track {
  display: flex;
  height: 100%;
  gap: 16px;
  will-change: transform;
}

.work-slide {
  position: relative;
  height: 100%;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.work-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 12px;
  background: var(--primary);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.work-arrow:hover {
  background: var(--primary-mid); /* TODO: update to a darker variant of primary */
  transform: translateY(-50%) scale(1.08);
}

.work-arrow svg {
  width: 20px;
  height: 20px;
}

.work-arrow--prev { left: 16px; }
.work-arrow--next { right: 16px; }

.work-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.work-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.work-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ===================== WHY US ===================== */
.why-us { background: var(--blue-50); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

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

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.feature-icon {
  width: 60px; height: 60px;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: background var(--transition);
}
.feature-card:hover .feature-icon { background: var(--blue-100); }
.feature-icon svg { width: 28px; height: 28px; color: var(--primary); }

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

/* ===================== GALLERY ===================== */
.gallery { background: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}
.gallery-item--large { grid-column: span 2; grid-row: span 2; }
.gallery-item--tall  { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  background: var(--blue-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 12px;
  align-items: start;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.08;
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card--featured {
  background: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 24px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.testimonial-card--featured blockquote { color: rgba(255,255,255,0.75); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.testimonial-card--featured .testimonial-avatar { border-color: rgba(255,255,255,0.2); }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-card--featured .testimonial-author strong { color: #fff; }
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}
.testimonial-card--featured .testimonial-author span { color: rgba(255,255,255,0.5); }
.testimonial-card--featured .testimonial-text { color: rgba(255,255,255,0.85); font-style: italic; }
.testimonial-card--featured .testimonial-stars { color: #FFD700; }

/* ===================== CONTACT ===================== */
.contact { background: #ffffff; }

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

.contact-form-wrap,
.careers-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ---------- Forms ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.required { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08); /* TODO: update rgba to match brand */
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-error {
  font-size: 0.78rem;
  color: #EF4444;
  font-weight: 500;
  display: none;
}
.form-group.show-error .form-error { display: block; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* Form group as direct child needs margin */
.contact-form > .form-group,
.careers-form > .form-group {
  margin-bottom: 16px;
}
.contact-form > .btn,
.careers-form > .btn { margin-top: 8px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: flex; flex-direction: column; align-items: center; gap: 12px; }
form.hidden { display: none; }

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  margin: 0 auto;
}
.form-success h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }
.form-success p  { color: var(--text-mid); font-size: 0.95rem; }

/* --- Contact Info Panel --- */
.contact-info {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
}

.contact-info-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 28px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }

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

.contact-info-icon {
  background: var(--primary);
  border-radius: 50%;
  padding: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}
.contact-info-icon svg { stroke: #ffffff; width: 20px; height: 20px; }

.contact-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-item strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-info-item span,
.contact-info-item a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  transition: color var(--transition);
}
.contact-info-item a:hover { color: var(--cyan-light); }

/* ===================== CAREERS ===================== */
.careers { background: #ffffff; }

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

.careers-benefits { display: flex; flex-direction: column; gap: 28px; }
.careers-benefits-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
}
.benefits-list { display: flex; flex-direction: column; gap: 20px; }
.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  background: var(--blue-50);
  border-radius: 12px;
  padding: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-item strong { display: block; font-size: 0.95rem; color: var(--navy); margin-bottom: 2px; }
.benefit-item p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

.careers-form-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); }

.footer-top { padding: 80px 0 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-link { display: inline-block; }
.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.footer-logo-link:hover .footer-logo-wrap {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}
.footer-logo-img {
  height: 115px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img-text {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
}

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

.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a,
.footer-links li span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-links li a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-brand);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-mid); transform: translateY(-2px); }

/* ===================== FLOATING CALL BUTTON ===================== */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* TODO: update rgba to match brand */
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4); /* TODO: update rgba to match brand */
}
@media (max-width: 768px) {
  .floating-call-btn { display: inline-flex; align-items: center; gap: 6px; }
}

/* ===================== LIGHTBOX ===================== */
/* Injected by JS — styles left in script.js */

/* ===================== ADDITIONAL STYLES FOR MASSAGE SITE ===================== */

/* Services Grid Updates */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

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

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-details {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-duration,
.service-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.service-price {
  color: var(--navy);
}

/* About Layout */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.about-image {
  justify-self: end;
}

.about-image img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--blue-200);
}

.about-content {
  text-align: left;
  border-left: 4px solid var(--primary);
  padding-left: 2rem;
}

.about-content .section-eyebrow {
  justify-content: flex-start;
}

.about-content .section-eyebrow::before {
  display: none;
}

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


/* Testimonials */
.testimonial-card {
  text-align: center;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 6px;
}

.testimonial-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-author strong {
  display: block;
  margin-bottom: 4px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #2a3a1e 0%, #3a5a28 75%, #2d5a70 100%);
}

.cta-section .cta-title {
  color: white;
}

.cta-section .cta-subtitle {
  color: rgba(255,255,255,0.8);
}

.cta-section .btn-primary {
  background: white;
  color: #2a3a1e;
  border-color: white;
}

.cta-section .btn-primary:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* Dark section — matches footer */
.section-dark {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0 0;
  border-bottom: none;
}
.section-dark .section-header {
  margin-bottom: 20px;
}
.section-dark .section-title,
.section-dark .section-eyebrow,
.section-dark .section-subtitle {
  color: rgba(255,255,255,0.9);
}

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

.cta-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 32px;
}

.cta-title em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

.cta-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.4);
  margin: 1.5rem auto;
}

.cta-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  display: inline-block;
}

.cta-btn:hover {
  background: white;
  color: #2a3a1e;
}

.skills-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.approach-tag {
  background: #f0f4ea;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.approach-tag:hover {
  background: var(--primary);
  color: white;
}

/* Skill modal */
.skill-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.skill-modal-overlay.active {
  display: flex;
}

.skill-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  max-width: 360px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.skill-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.skill-modal-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.skill-modal-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.contact-info {
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-description {
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-mid);
  text-decoration: none;
}

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

.contact-benefits {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-benefits h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-benefits li {
  color: var(--text-mid);
  font-size: 0.9rem;
}

.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

/* Mission Section */
.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 24px;
}

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

.value-item {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.value-item h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-item p {
  color: var(--text-mid);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* Placeholder Image */
.placeholder-image {
  width: 100%;
  min-height: 350px;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-200) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-light);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Responsive Updates */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-image {
    justify-self: center;
  }
  .about-image img {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 640px) {
  .mission-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: repeat(4, 1fr); }
  .services-grid .service-card { grid-column: span 2; }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 2; }
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid  { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; }
  .hero-inner         { gap: 32px; padding: 130px 0 70px 24px; }
  .process-steps      { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .page-header { padding-top: 40px; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 950;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; padding: 10px 14px; width: 100%; color: rgba(255,255,255,0.8); }
  .nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }
  .nav-cta  { display: none; }
  .hamburger { display: flex; }

  /* Compact header on mobile */
  .nav-container { height: 68px; }
  .nav-logo-img { height: 50px; }
  .nav-header.scrolled .nav-container { height: 68px; }
  .nav-header.scrolled .nav-logo-img { height: 50px; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 90px 20px 48px;
  }
  .hero-photo-wrap { border-radius: var(--radius-xl); }
  .hero-heading { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .hero-right { order: -1; }
  .hero-photo-wrap { max-width: 100%; }
  .hero-scroll-cue { bottom: 200px; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card,
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }

  /* Our Work */
  .work-carousel { height: 360px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; }
  .gallery-item--tall  { grid-row: span 1; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 1; }

  /* Contact / Careers */
  .contact-layout { grid-template-columns: 1fr; }
  .careers-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  .hero-left { padding-left: 0 !important; text-align: center; }
  .hero-heading { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; white-space: normal; overflow: visible; width: 100%; }
  .hero-inner { overflow: hidden; }
  .back-to-top { display: none !important; }
  .hero-trust { flex-wrap: wrap; justify-content: center; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
  .back-to-top { bottom: 80px; right: 16px; }
  .floating-call-btn { bottom: 24px; right: 16px; padding: 11px 19px; font-size: 0.85rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Chat toggle and call button — 20% smaller on mobile */
  .chat-toggle { width: 45px; height: 45px; }
  .chat-bubble-btn { width: 45px; height: 45px; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .work-carousel { height: 300px; }
  .work-arrow { width: 36px; height: 36px; }
  .work-arrow svg { width: 16px; height: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large, .gallery-item--tall { grid-column: span 1; grid-row: span 1; }

  .hero-trust { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-logo-img { height: 50px; }
  .nav-container { padding: 0 16px; }
}

#pricing {
  background: radial-gradient(ellipse at top left, rgba(58, 126, 168, 0.7) 0%, transparent 55%), radial-gradient(ellipse at bottom right, rgba(58, 126, 168, 0.7) 0%, transparent 55%), linear-gradient(135deg, #2a3a1e 0%, #3a5a28 100%);
}

/* ===================== PRICING CARDS ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.pricing-featured {
  border-color: #3A7EA8;
  box-shadow: 0 0 0 2px #3A7EA8;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #3A7EA8;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 99px;
  text-transform: uppercase;
}

.pricing-duration {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ===================== WELLNESS ARTICLE ===================== */
.article-preview {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: center;
}

.article-image {
  position: relative;
}

.article-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.article-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.article-tag {
  display: inline-block;
  background: #f0f4ea;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

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

/* ===================== SECTION TINT ===================== */
.section-tinted {
  background-color: #f0f4ea;
}

/* ===================== QUOTE BAND ===================== */
.quote-band {
  background-color: var(--primary);
  padding: 4rem 0;
  text-align: center;
}

.quote-band-text {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: #ffffff;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.quote-band-cite {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ===================== CREDENTIALS ===================== */
.credentials-group {
  margin-bottom: 3rem;
}

.credentials-group-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.credential-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.credential-card.credential-highlight {
  border-color: var(--primary);
  background: linear-gradient(135deg, #f0f5e9, #ffffff);
}

.credential-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.credential-card h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.credential-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.credential-badge {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 99px;
}

/* ===================== TESTIMONIALS CLEAN ===================== */
.testimonials-clean {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 2.5rem;
  align-items: start;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.testimonial-divider {
  width: 1px;
  height: 100%;
  min-height: 120px;
  border-left: 1px dotted rgba(255,255,255,0.2);
}

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

.testimonial-quote {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 0.5rem;
  font-style: normal;
  font-family: var(--font-body);
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

@media (max-width: 768px) {
  .testimonials-clean {
    grid-template-columns: 1fr;
  }
  .testimonial-divider {
    width: 60px;
    height: 1px;
    min-height: unset;
    border-left: none;
    border-top: 1px dotted rgba(255,255,255,0.25);
    margin: 1rem 0;
  }
}

/* ===================== WAVE DIVIDERS ===================== */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* ===================== SECTION BACKGROUNDS ===================== */
.section {
  border-top: none !important;
  border-bottom: none !important;
}

#about-preview {
  background-color: #FEFEFE;
  padding-top: 2rem;
  position: relative;
  padding-bottom: 6rem;
}

#services-preview {
  background-color: #f0f4ea;
  position: relative;
  padding-bottom: 6rem;
}

#how-it-works {
  background: linear-gradient(135deg, #2d5a70 0%, #2a3a1e 25%, #3a5a28 100%);
  position: relative;
  padding-bottom: 6rem;
}

#testimonials {
  background-color: #1c1c1c;
  position: relative;
  padding-bottom: 6rem;
}

#about-preview::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #f0f4ea;
  z-index: 3;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
}


#testimonials::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #2a3a1e 0%, #3a5a28 60%, #3A7EA8 100%);
  z-index: 3;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
}

.cta-section {
  background: linear-gradient(135deg, #2a3a1e 0%, #3a5a28 75%, #2d5a70 100%);
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .ticker-track { animation: none; }
  .shimmer-word { animation: none; -webkit-text-fill-color: #fff; }
}

/* ===================== CHAT WIDGET ===================== */

/* Container — stacks panel above bubble, anchored to bottom-right */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

/* ---------- Bubble toggle button ---------- */
.chat-bubble-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* TODO: update rgba to match brand */
  pointer-events: auto;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s ease,
              background 0.2s ease;
}
.chat-bubble-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.4); /* TODO: update rgba to match brand */
  background: var(--primary-mid); /* TODO: update to a darker variant of primary */
}

/* Two icon states: chat bubble shown by default, X shown when open */
.chat-bubble-icon {
  width: 26px;
  height: 26px;
  color: #fff;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-bubble-icon--open  { opacity: 1;  transform: scale(1);    }
.chat-bubble-icon--close { opacity: 0;  transform: scale(0.6);  }

.chat-bubble-btn--open .chat-bubble-icon--open  { opacity: 0;  transform: scale(0.6); }
.chat-bubble-btn--open .chat-bubble-icon--close { opacity: 1;  transform: scale(1);   }

/* ---------- Chat panel ---------- */
.chat-panel {
  width: 360px;
  height: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
              transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.chat-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---------- Header ---------- */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  flex-shrink: 0;
}
.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-avatar-icon svg { width: 18px; height: 18px; color: #fff; }
.chat-header-text { display: flex; flex-direction: column; gap: 2px; }
.chat-header-title {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.chat-header-status {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}
.chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.chat-close-btn svg { width: 17px; height: 17px; }

/* ---------- Messages area ---------- */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* ---------- Individual messages ---------- */
.chat-message {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
  animation: chatMsgIn 0.2s ease both;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bot messages — light tint, left-aligned */
.chat-message--bot {
  background: var(--blue-50);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* User messages — brand colour, right-aligned */
.chat-message--user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ---------- Typing indicator ---------- */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--blue-50);
  border-radius: 16px 16px 16px 4px;
  align-self: flex-start;
  animation: chatMsgIn 0.2s ease both;
}
.chat-typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: chatDotBounce 1.2s infinite ease-in-out;
}
.chat-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDotBounce {
  0%, 60%, 100% { transform: translateY(0);    opacity: 0.45; }
  30%           { transform: translateY(-5px); opacity: 1;    }
}

/* ---------- Input row ---------- */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--off-white);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08); /* TODO: update rgba to match brand */
  background: #fff;
}
.chat-input::placeholder { color: var(--text-light); }

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.chat-send-btn:hover   { background: var(--primary-mid); transform: scale(1.06); }
.chat-send-btn:disabled { background: var(--border); cursor: not-allowed; transform: none; }
.chat-send-btn svg { width: 16px; height: 16px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .chat-widget {
    bottom: 88px;
    right: 24px;
  }
  .chat-panel {
    width: min(360px, calc(100vw - 32px));
    height: min(500px, calc(100dvh - 190px));
  }
}

@media (max-width: 480px) {
  .chat-widget {
    right: 16px;
    bottom: 88px;
  }
  .chat-panel {
    width: calc(100vw - 32px);
    height: min(480px, calc(100dvh - 170px));
  }
  .chat-bubble-btn {
    width: 42px;
    height: 42px;
  }
}

/* ===================== CHAT WIDGET ===================== */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: auto;
  z-index: 9999;
  display: block;
  pointer-events: auto;
  align-items: unset;
  flex-direction: unset;
  gap: unset;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.chat-toggle:hover {
  transform: scale(1.08);
  background: #3a5a28;
}

.chat-window {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 320px;
  max-height: 440px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  overflow: hidden;
}

.chat-header {
  background: linear-gradient(135deg, #2a3a1e, #3a5a28);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  color: white;
}

.chat-header-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 280px;
}

.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.chat-msg.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.assistant {
  background: #f0f4ea;
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.typing {
  opacity: 0.6;
  font-style: italic;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  font-family: var(--font-body);
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-send:hover {
  background: #3a5a28;
}
