/* ==========================================================================
   Jon Harris — E-Commerce Strategist
   Global Design System — Single Source of Truth
   ========================================================================== */

/* --------------------------------------------------------------------------
   SELF-HOSTED FONTS — Spectral (headings) + Inter (body)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/Spectral-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/Spectral-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/Spectral-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/Spectral-SemiBoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/Spectral-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../fonts/Inter-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/Inter-Bold.ttf') format('truetype');
}


/* --------------------------------------------------------------------------
   COLOUR PALETTE — Three colours only
   -------------------------------------------------------------------------- */
:root {
  --color-green: #1B6B57;
  --color-gold: #C1A26D;
  --color-cream: #F3F3F1;

  /* Derived */
  --color-green-dark: #155645;
  --color-green-light: rgba(27, 107, 87, 0.08);
  --color-gold-light: rgba(193, 162, 109, 0.15);
  --color-gold-dark: #A8894F;

  /* Typography */
  --font-heading: 'Spectral', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

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

  /* Layout */
  --max-width: 1140px;
  --max-width-narrow: 1060px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  color: var(--color-green);
  background-color: var(--color-cream);
  line-height: 1.7;
  font-weight: 400;
}

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

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

a:hover {
  color: var(--color-gold);
}

ul, ol {
  list-style: none;
}


/* --------------------------------------------------------------------------
   TYPOGRAPHY — bigger, bolder
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-green);
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: var(--space-sm);
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.text-large {
  font-size: 1.2rem;
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
}

blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--color-cream);
  position: relative;
  padding-left: var(--space-lg);
}

blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--color-gold);
  position: absolute;
  left: 0;
  top: -0.6rem;
  line-height: 1;
}


/* --------------------------------------------------------------------------
   LAYOUT
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--narrow--left {
  max-width: var(--max-width-narrow);
  text-align: left;
}

.container--narrow--left h2,
.container--narrow--left h3 {
  text-align: center;
}

/* Centred list — divider lines between items */
.list--centred {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) auto;
  text-align: center;
  max-width: 680px;
}

.list--centred li {
  display: block;
  font-size: 0.9rem;
  padding: 0.35em 0;
}

.list--centred li:not(:last-child) {
  border-bottom: 1px solid rgba(30, 53, 120, 0.08);
}

.section--green .list--centred li:not(:last-child) {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}


/* --------------------------------------------------------------------------
   TABS
   -------------------------------------------------------------------------- */
.tabs {
  margin-top: 0;
}

.card--tab {
  transition: all var(--transition-fast);
}

.card--tab:hover {
  border-color: var(--color-green);
}

.card--tab.active {
  background-color: var(--color-green);
  color: var(--color-cream);
  border-color: var(--color-green);
}

.card--tab.active .card__title,
.card--tab.active .card__desc {
  color: var(--color-cream);
}

.tab-panel {
  display: none;
  margin-top: var(--space-xl);
}

.tab-panel.active {
  display: block;
}

/* Sub-tabs (nested inside a tab panel) */
.sub-tab-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid rgba(30, 53, 120, 0.12);
  padding-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.sub-tab-btn {
  background: none;
  border: none;
  padding: 0.4em 0.2em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-green);
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.sub-tab-btn:hover {
  opacity: 0.8;
}

.sub-tab-btn.active {
  opacity: 1;
  border-bottom-color: var(--color-green);
  font-weight: 700;
}

.sub-tab-panel {
  display: none;
}

.sub-tab-panel.active {
  display: block;
}


/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.section--cream {
  background-color: var(--color-cream);
  color: var(--color-green);
}

.section--green {
  background-color: var(--color-green);
  color: var(--color-cream);
}

.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4,
.section--green p,
.section--green li {
  color: var(--color-cream);
}

.section--green a {
  color: var(--color-gold);
}

.section--green a:hover {
  color: var(--color-cream);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: var(--space-lg);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}


/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-cream);
  border-bottom: 1px solid var(--color-gold-light);
  transition: box-shadow var(--transition-medium);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(30, 53, 120, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.site-logo {
  height: 70px;
  width: auto;
}

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

.nav-links a:not(.nav-cta) {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-green);
  position: relative;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active {
  border-bottom-color: currentColor;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--color-green);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-green);
  margin: 5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

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

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

/* Nav CTA button — override nav-link styles */
.nav-links .nav-cta {
  color: var(--color-cream) !important;
  padding-bottom: 0.85em;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  color: var(--color-cream) !important;
}


/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85em 2em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  letter-spacing: 0.01em;
}

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

.btn--primary:hover {
  background-color: var(--color-green-dark);
  border-color: var(--color-green-dark);
  color: var(--color-cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 53, 120, 0.25);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}

.btn--secondary:hover {
  background-color: var(--color-green);
  color: var(--color-cream);
  transform: translateY(-1px);
}

/* Button on green backgrounds — cream outline, fills on hover */
.section--green .btn--primary,
.quote-section .btn--primary {
  background-color: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
}

.section--green .btn--primary:hover,
.quote-section .btn--primary:hover {
  background-color: var(--color-cream);
  border-color: var(--color-cream);
  color: var(--color-green);
}

.btn--arrow::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.btn--arrow:hover::after {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   GOLD DIVIDER
   -------------------------------------------------------------------------- */
.divider {
  width: 60px;
  height: 3px;
  background-color: currentColor;
  border: none;
  margin: var(--space-md) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}


/* --------------------------------------------------------------------------
   CARDS — icon + label only (no body text)
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-cream);
  border: 1px solid rgba(30, 53, 120, 0.1);
  border-radius: 8px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30, 53, 120, 0.1);
}

.card__icon {
  margin-bottom: var(--space-sm);
  color: currentColor;
  display: flex;
  justify-content: center;
}

.card__icon svg {
  width: 48px;
  height: 48px;
}

.card__title {
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem !important;
  font-weight: 700;
  line-height: 1.3;
}

.card__number {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.card__footer {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.7;
  margin-top: auto;
  padding-top: var(--space-md);
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   GRID LAYOUTS
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-lg);
  align-items: stretch;
}

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

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

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


/* --------------------------------------------------------------------------
   HERO — full-bleed cinematic
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background-color: #1a1a1a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 25%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(15, 15, 15, 0.92) 0%, rgba(15, 15, 15, 0.45) 45%, rgba(15, 15, 15, 0.10) 100%),
    linear-gradient(to right, rgba(15, 15, 15, 0.65) 0%, rgba(15, 15, 15, 0.30) 45%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  width: 100%;
}

.hero h1 {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  max-width: 12ch;
}

.hero p {
  color: var(--color-cream);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  font-size: 1.15rem;
  max-width: 45ch;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.hero .divider {
  background-color: currentColor;
  margin-bottom: var(--space-lg);
}

/* Subpage hero — short green bar, no photo */
.hero--sub {
  min-height: auto;
  background-color: var(--color-green);
  padding: calc(90px + var(--space-md)) 0 var(--space-md);
}

.hero--sub .hero__content {
  padding: var(--space-sm) var(--space-md);
  text-align: center;
}

.hero--sub .hero__content h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero--sub .hero__content p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: none;
}


/* --------------------------------------------------------------------------
   QUOTE SECTION
   -------------------------------------------------------------------------- */
.quote-section {
  background-color: var(--color-green);
  color: var(--color-cream);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.quote-section blockquote {
  max-width: 700px;
  margin: 0 auto var(--space-md);
  padding-left: 0;
  text-align: center;
}

.quote-section blockquote::before {
  position: static;
  display: block;
  margin-bottom: var(--space-xs);
}

.quote-author {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.quote-author::before,
.quote-author::after {
  content: '';
  width: 40px;
  height: 1px;
  background-color: currentColor;
}


/* --------------------------------------------------------------------------
   PROGRAMME TIERS (Bronze / Silver / Gold)
   -------------------------------------------------------------------------- */
.tier {
  background-color: var(--color-cream);
  border: 1px solid rgba(30, 53, 120, 0.1);
  border-radius: 8px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(30, 53, 120, 0.12);
}

.tier__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: currentColor;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-xs);
}

.tier__title {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.tier__price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: currentColor;
  margin-bottom: var(--space-md);
}

.tier__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-green);
  opacity: 0.85;
  max-width: 40ch;
  margin: 0 auto;
}

.tier blockquote {
  color: var(--color-green);
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 0;
  padding-top: var(--space-lg);
  text-align: center;
  opacity: 0.85;
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.tier blockquote::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
}

/* Testimonial clamp — equal-height quotes with "see more" */
.testimonial-text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-text.expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.testimonial-more {
  display: inline-block;
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.testimonial-more:hover {
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   CHECK LIST (styled)
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.check-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.75em;
  line-height: 1.6;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: currentColor;
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   SPLIT LAYOUT (text + image)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  text-align: left;
}

.split p {
  margin-left: 0;
  margin-right: 0;
}

.split .check-list {
  display: block;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  align-self: stretch;
  box-shadow: 0 16px 48px rgba(30, 53, 120, 0.12);
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-green);
  color: var(--color-cream);
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.footer-logo {
  height: 56px;
  width: auto;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-cream);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: currentColor;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
  color: var(--color-cream);
  max-width: none;
}

.footer-copy a {
  color: currentColor;
  opacity: 1;
}

.footer-copy a:hover {
  color: var(--color-cream);
}


/* --------------------------------------------------------------------------
   CUSTOM MODAL (no browser defaults)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(30, 53, 120, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

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

.modal-card {
  background-color: var(--color-cream);
  color: var(--color-green);
  border-radius: 12px;
  padding: var(--space-xl);
  max-width: 520px;
  width: 90%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-medium);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
  font-size: 1.2rem;
  color: var(--color-green);
}

.modal-close:hover {
  background-color: var(--color-green-light);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  padding-right: var(--space-lg);
}

.modal-body {
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: var(--space-sm);
}

.modal-footer {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}


/* --------------------------------------------------------------------------
   CUSTOM DROPDOWN (no browser defaults)
   -------------------------------------------------------------------------- */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 1em;
  background-color: var(--color-cream);
  border: 2px solid rgba(30, 53, 120, 0.2);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-green);
  transition: border-color var(--transition-fast);
}

.custom-select__trigger:hover,
.custom-select.open .custom-select__trigger {
  border-color: var(--color-green);
}

.custom-select__trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-top: -4px;
}

.custom-select.open .custom-select__trigger::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: var(--color-cream);
  border: 2px solid var(--color-green);
  border-radius: 6px;
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(30, 53, 120, 0.12);
}

.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select__option {
  padding: 0.7em 1em;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-green);
  transition: background-color var(--transition-fast);
}

.custom-select__option:hover,
.custom-select__option.focused {
  background-color: var(--color-green-light);
}

.custom-select__option.selected {
  background-color: var(--color-green);
  color: var(--color-cream);
}


/* --------------------------------------------------------------------------
   SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   CALENDLY EMBED WRAPPER
   -------------------------------------------------------------------------- */
.calendly-wrapper {
  margin-top: var(--space-lg);
  margin-left: auto;
  margin-right: auto;
  max-width: 726px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 53, 120, 0.15), 0 4px 16px rgba(30, 53, 120, 0.08);
  border: 1px solid rgba(30, 53, 120, 0.12);
  background-color: var(--color-cream);
}

.calendly-inline-widget {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .calendly-wrapper {
    border-radius: 10px;
    margin-top: var(--space-md);
    box-shadow: 0 8px 30px rgba(30, 53, 120, 0.12);
  }

  .calendly-inline-widget {
    min-width: unset !important;
  }
}


/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-gold { color: currentColor; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mx-auto { margin-left: auto; margin-right: auto; }


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

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

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .split p {
    margin-left: auto;
    margin-right: auto;
  }

  .split .check-list {
    display: inline-block;
  }

  .split__image {
    max-height: 400px;
    order: -1;
  }

  .split--reverse {
    direction: ltr;
  }

  .split--reverse > * {
    direction: ltr;
  }
}


/* --- Mobile (768px) --- */
@media (max-width: 768px) {
  :root {
    --space-3xl: 3.5rem;
    --space-2xl: 2.5rem;
  }

  /* Hero — mobile: stacked (photo on top, text on green below) */
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 50vh;
    object-position: center top;
  }

  .hero__overlay {
    display: none;
  }

  .hero__content {
    position: relative;
    background-color: var(--color-green);
    padding: var(--space-xl) var(--space-md) var(--space-xl);
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-cream);
  }

  .hero p {
    font-size: 1rem;
    max-width: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-cream);
    opacity: 0.9;
  }

  .hero .btn {
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-cream);
    color: var(--color-green);
    border-color: var(--color-cream);
  }

  .hero .divider {
    background-color: currentColor;
    margin-left: auto;
    margin-right: auto;
  }

  /* Subpage hero — tight on mobile */
  .hero--sub {
    padding: 90px 0 var(--space-xs);
    margin-top: 0;
  }

  .hero--sub .hero__content {
    padding: var(--space-xs) var(--space-sm);
  }

  .hero--sub .hero__content h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  /* Header */
  .site-header .container {
    height: 70px;
  }

  .site-logo {
    height: 50px;
  }

  /* Navigation — mobile slide-out */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-medium);
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-links .nav-cta {
    margin-top: var(--space-sm);
    font-size: 1rem;
    padding: 0.9em 2em;
  }

  .nav-toggle {
    display: block;
  }

  /* Grids — responsive columns */
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

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

  .section__subtitle {
    font-size: 1rem;
  }

  /* Split — already stacked from tablet, refine */
  .split__image {
    max-height: 320px;
    border-radius: 6px;
  }

  /* Tier cards */
  .tier {
    padding: var(--space-lg);
  }

  /* Footer */
  .site-footer {
    padding: var(--space-xl) 0;
  }

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


/* --- Small mobile (480px) --- */
@media (max-width: 480px) {
  :root {
    --space-3xl: 2.5rem;
    --space-2xl: 2rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .hero p {
    font-size: 0.95rem;
  }

  /* Subpage hero */
  .hero--sub .hero__content h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  /* Buttons — full width */
  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Split images smaller */
  .split__image {
    max-height: 260px;
  }

  /* Pain point cards */
  .card {
    padding: var(--space-md);
  }

  /* Check-list mobile font */
  .check-list li {
    font-size: 0.95rem;
  }

  /* Container padding */
  .container {
    padding: 0 var(--space-sm);
  }

  /* Footer */
  .footer-copy {
    font-size: 0.75rem;
  }
}

