/*
Theme Name: Neutral Ground Partners
Theme URI: https://neutralgroundhr.com
Author: Neutral Ground Partners
Author URI: https://neutralgroundhr.com
Description: A custom WordPress theme for Neutral Ground Partners - fractional HR services for small businesses. Warm, professional, and people-first.
Version: 4.0.27
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neutral-ground
Tags: business, professional, hr, services, clean, responsive
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* ── Teal Scale — Primary Brand Accent (Employer) ── */
  --teal-700:  #3D6360;
  --teal-500:  #6A8E8B;   /* brand anchor, employer CTA */
  --teal-300:  #9EBDBB;
  --teal-200:  #BEDED6;
  --teal-100:  #D0EAE3;   /* section headers, light bg */

  /* ── Warm Slate Scale — Secondary Accent (Employee) ── */
  --slate-500: #7A7872;   /* employee CTA */
  --slate-300: #B5B0A8;
  --slate-100: #ECEAE6;   /* employee card bg */

  /* ── Neutral Scale — Warm Sandy, Text and Surfaces ── */
  --neutral-700: #4A3F3A;  /* footer only */
  --neutral-500: #7A6E67;  /* primary text */
  --neutral-300: #B5A898;  /* supporting text */
  --neutral-100: #E8E0D8;  /* strips & bands */
  --neutral-50:  #F7F4F0;  /* page background */

  /* ── Utility ── */
  --white:       #FFFFFF;
  --border:      #DCDAD7;

  /* ── Semantic aliases (for easy migration) ── */
  --text:        var(--neutral-700);
  --text-muted:  var(--neutral-500);

  /* ── Typography ── */
  --font-display: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing ── */
  --max-width:     1200px;
  --section-v:     5rem;
  --section-h:     2rem;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  /* ── Borders ── */
  --radius:      8px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  /* ── Shadows (warm neutral base) ── */
  --shadow-sm: 0 2px 8px  rgba(74, 63, 58, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 63, 58, 0.12);
  --shadow-lg: 0 8px 40px rgba(74, 63, 58, 0.18);

  /* ── Transitions ── */
  --transition: 200ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
p { max-width: 68ch; }
hr { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--neutral-700);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.625rem); }
h3 { font-size: 0.875rem; font-weight: 600; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.hero-accent {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  color: var(--teal-500);
}

p + p { margin-top: 1rem; }

.text-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.text-muted   { color: var(--text-muted); }
.text-neutral-700, .text-navy { color: var(--neutral-700); }
.text-teal, .text-taupe { color: var(--teal-500); }
.text-white   { color: var(--white); }
.text-center  { text-align: center; }
.text-upper   { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 600; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: 780px;
}

.section {
  padding-block: var(--section-v);
  padding-inline: var(--section-h);
}

.section--cream  { background-color: var(--neutral-50); }
.section--white  { background-color: var(--white); }
.section--dark   { background-color: var(--neutral-700); color: var(--white); }
.section--teal-pale { background-color: var(--teal-100); }
.section--teal  { background-color: var(--teal-500); color: var(--white); }
.section--slate-pale { background-color: var(--slate-100); }
.section--slate { background-color: var(--slate-500); color: var(--white); }
.section--band  { background-color: var(--neutral-100); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

.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;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.btn--primary {
  background-color: var(--teal-500);
  color: var(--white);
  border-color: var(--teal-500);
}
.btn--primary:hover {
  background-color: var(--teal-700);
  border-color: var(--teal-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn--outline-neutral,
.btn--outline-neutral,
.btn--outline-navy /* backward-compat alias */ {
  background: transparent;
  color: var(--neutral-700);
  border-color: var(--neutral-700);
}
.btn--outline-neutral:hover,
.btn--outline-navy:hover {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline-teal {
  background: transparent;
  color: var(--teal-500);
  border-color: var(--teal-500);
}
.btn--outline-teal:hover {
  background: var(--teal-500);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--slate {
  background-color: var(--slate-500);
  color: var(--white);
  border-color: var(--slate-500);
}
.btn--slate:hover {
  background-color: #6A6862;
  border-color: #6A6862;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 var(--container-pad);
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img,
.site-logo__icon {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-logo__mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neutral-700);
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-logo__tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav > li {
  position: relative;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
}

.primary-nav > li > a:hover,
.primary-nav > li > a.current-menu-item,
.primary-nav > li > a[aria-current="page"] {
  color: var(--neutral-700);
  background-color: var(--neutral-50);
}

.primary-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem);
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
  transition: transform var(--transition);
}

.primary-nav > li > a:hover::after,
.primary-nav > li > a.current-menu-item::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown caret */
.primary-nav__caret {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
  transition: transform var(--transition);
}

.primary-nav .has-submenu.is-open > a .primary-nav__caret,
.primary-nav .has-submenu:hover > a .primary-nav__caret {
  transform: translateY(2px) rotate(225deg);
}

/* Dropdown sub-menu */
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0;
  min-width: 240px;
  list-style: none;
  margin: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.primary-nav .has-submenu:hover > .sub-menu,
.primary-nav .has-submenu:focus-within > .sub-menu,
.primary-nav .has-submenu.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li {
  list-style: none;
}

.primary-nav .sub-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  border-radius: 0;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.primary-nav .sub-menu a::after {
  display: none;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a[aria-current="page"] {
  background-color: var(--neutral-50);
  color: var(--teal-700);
}

/* Nested second-level (rare — for service spokes if used) */
.primary-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem var(--container-pad) 1.5rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-nav a:hover {
  background: var(--neutral-50);
  color: var(--neutral-700);
}

.mobile-nav .mobile-nav__sub {
  padding-left: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-nav .mobile-nav-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav .mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle  { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background-color: var(--neutral-50);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(106, 142, 139, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(106, 142, 139, 0.06) 0%, transparent 50%);
  color: var(--neutral-700);
  padding: clamp(4rem, 10vw, 7rem) var(--container-pad);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stats {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-stats {
    grid-column: auto;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(106, 142, 139, 0.12);
  border: 1px solid rgba(106, 142, 139, 0.25);
  color: var(--teal-500);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--neutral-700);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-500);
}

.hero .hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 44ch;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hero-motto {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--taupe);
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 40ch;
  margin-top: 0.25rem;
  margin-bottom: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(74, 63, 58, 0.15);
}

.hero-motto__emphasis {
  color: var(--teal-500);
  font-style: italic;
  font-family: var(--font-accent);
}

/* Hero card — the old hero-stats margin-top is now handled by grid gap */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(74, 63, 58, 0.15);
}

/* ============================================================
   HERO SPLIT CARD
   ============================================================ */
.hero-card {
  background: var(--white);
  border: 1px solid rgba(74, 63, 58, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(74, 63, 58, 0.08);
}

.hero-card__label {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-500);
  padding: 1.5rem 1.5rem 0.25rem;
  text-align: center;
}

.hero-card__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-card__col {
  padding: 1rem 1.5rem 1.25rem;
}

.hero-card__col:first-child {
  border-right: 1px solid rgba(74, 63, 58, 0.1);
}

.hero-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.hero-card__text strong {
  color: var(--neutral-700);
}

.hero-card__footer {
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(74, 63, 58, 0.1);
}

.hero-card__footer strong {
  color: var(--neutral-700);
}

.hero-stat__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--teal-500);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero-card__panels {
    grid-template-columns: 1fr;
  }
  .hero-card__col:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(74, 63, 58, 0.1);
  }
  .hero--dark .hero-card__col:first-child {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.section--dark .eyebrow  { color: var(--teal-300); }
.section--dark .section-header h2 { color: var(--white); }
.section--dark .section-header p  { color: rgba(255, 255, 255, 0.75); }
.section--teal .section-header h2 { color: var(--white); }
.section--teal .section-header p  { color: rgba(255, 255, 255, 0.85); }
.section--slate .eyebrow { color: var(--teal-100); }
.section--teal  .eyebrow { color: var(--teal-100); }
.section--slate .section-header h2 { color: var(--white); }
.section--slate .section-header p  { color: rgba(255, 255, 255, 0.85); }

/* Dark-hero headings: H1 inherits the default --neutral-700 dark color
   without this override, which makes hero titles barely visible on
   slate/teal/dark backgrounds. Forces white + reproduces the hero type
   scale the original page-hero PHP templates set inline.                       */
.section--slate h1,
.section--teal h1,
.section--dark h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--teal-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card__icon--teal { background: rgba(106, 142, 139, 0.12); }
.card__icon--navy  { background: rgba(74, 63, 58, 0.08); }

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card--featured {
  border-color: var(--teal-500);
  border-width: 2px;
  position: relative;
}

.card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--teal-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  background: var(--teal-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-700);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-500);
  transition: gap var(--transition), color var(--transition);
}

.service-card .card-link:hover {
  color: var(--neutral-700);
  gap: 0.6rem;
}

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   ABOUT PAGE RESPONSIVE GRIDS
   ============================================================ */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-mission-img {
    order: -1;
  }
}

.about-founder-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 820px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .about-founder-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .about-founder-grid > div:first-child {
    align-items: center;
    margin-inline: auto;
  }
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: var(--teal-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-item__content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.35rem;
}

.feature-item__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-accent);
  font-size: 5rem;
  color: var(--teal-100);
  line-height: 0.8;
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
}

.testimonial-card__quote {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-500);
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--teal-100);
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--neutral-700);
  line-height: 1.2;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: var(--teal-500);
  font-size: 0.9rem;
  justify-content: flex-end;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--neutral-100);
  color: var(--text);
  padding: 5rem var(--container-pad);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-banner h2 {
  color: var(--neutral-700);
  margin-bottom: 1rem;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 2.75rem;
  right: -1px;
  width: 2px;
  height: 2rem;
  background: var(--border);
}

.process-step:last-child::after { display: none; }

.process-step__number {
  width: 52px;
  height: 52px;
  background: var(--teal-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-700);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-700);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--teal-500); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--teal-500);
  line-height: 1;
  transition: background-color var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--teal-500);
  color: var(--white);
}

.faq-icon::after {
  content: '+';
  transition: transform 300ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  content: '\00d7';
}

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer.is-open { display: block; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(106, 142, 139, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.form-success,
.form-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-success {
  background: var(--teal-100);
  color: var(--teal-500);
  border: 1px solid rgba(106, 142, 139, 0.3);
}

.form-error {
  background: rgba(200, 74, 74, 0.08);
  color: #c44a4a;
  border: 1px solid rgba(200, 74, 74, 0.25);
}

.form-success.show,
.form-error.show {
  display: block;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child  { border-bottom: none; padding-bottom: 0; }

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: var(--teal-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-info-item__value {
  font-weight: 500;
  color: var(--neutral-700);
  font-size: 0.95rem;
}

.contact-info-item__value a {
  color: var(--teal-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Booking widget embed */
.booking-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 500px;
  background: var(--neutral-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-placeholder {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* ============================================================
   BLOG
   ============================================================ */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  background: var(--teal-100);
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.04);
}

.post-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--teal-300);
}

.post-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-500);
  margin-bottom: 0.5rem;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-700);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

.post-meta .sep { color: var(--border); }

/* Single post */
.post-content {
  max-width: 72ch;
  margin-inline: auto;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content p,
.post-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.post-content ol { list-style: decimal; }

.post-content blockquote {
  border-left: 4px solid var(--teal-500);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--teal-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--neutral-700);
}

.post-content a {
  color: var(--teal-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content img {
  border-radius: var(--radius-lg);
  margin-block: 2rem;
  width: 100%;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  border: 1.5px solid var(--border);
  color: var(--text);
}

.pagination a:hover {
  border-color: var(--teal-500);
  color: var(--teal-500);
  background: var(--teal-100);
}

.pagination .current {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: var(--white);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--neutral-700);
  color: var(--neutral-50);
  padding: 2.25rem var(--container-pad) 0;
  border-top: none;
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .site-logo__mark {
  color: var(--neutral-50);
  font-size: 1.05rem;
}

.footer-brand .site-logo__tagline {
  color: var(--teal-300);
}

.footer-brand .site-logo__icon {
  opacity: 1;
}

.footer-motto {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--teal-300);
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--neutral-100);
  margin-top: 0.7rem;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-50);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col ul a {
  font-size: 0.82rem;
  color: var(--neutral-50);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--teal-300);
}

.footer-newsletter p {
  font-size: 0.8rem;
  color: var(--neutral-100);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 160px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--neutral-50);
  font-size: 0.875rem;
  transition: border-color var(--transition), background var(--transition);
}

.newsletter-form input::placeholder { color: var(--neutral-300); }

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--teal-300);
}

.newsletter-form input[aria-invalid="true"] {
  border-color: #c44a4a;
  background: rgba(196, 74, 74, 0.1);
}

.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-form button {
  padding: 0.7rem 1.2rem;
  background: var(--teal-500);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--teal-700);
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: var(--neutral-100);
  line-height: 1.55;
  max-width: 80ch;
  margin: 1.1rem auto 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 1rem;
  font-size: 0.78rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--neutral-100);
  max-width: none;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--neutral-100);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal-300);
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--neutral-50);
  color: var(--text);
  padding: 4rem var(--container-pad) 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(106,142,139,.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

.page-hero .eyebrow { color: var(--teal-500); }
.page-hero h1 { color: var(--neutral-700); margin-bottom: 1.5rem; text-wrap: balance; }
.page-hero p  { color: var(--text-muted); margin-inline: auto; font-size: 1.1rem; text-wrap: pretty; }

.card p,
.section-header p { text-wrap: pretty; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-item {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--teal-500);
  text-align: center;
}

.value-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
}

.value-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--teal-100);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-500);
  border: 3px solid var(--teal-100);
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--neutral-700);
  margin-bottom: 0.2rem;
}

.team-card__title {
  font-size: 0.8rem;
  color: var(--teal-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   SERVICES PAGE (detailed)
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail__visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail__body .eyebrow { margin-bottom: 0.5rem; }
.service-detail__body h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.service-detail__body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.service-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}

.service-includes li::before {
  content: '✓';
  color: var(--teal-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem;
  }
  .service-detail.reverse { direction: ltr; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 2rem 0;
}
@media (max-width: 700px) {
  .pricing-stats { grid-template-columns: repeat(2, 1fr); }
}
.pricing-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--teal-500);
  line-height: 1;
}
.pricing-stats__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-top: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card--featured {
  border-color: var(--teal-500);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.25rem;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--teal-500);
}
.pricing-card__currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}
.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}
.pricing-card__period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}
.pricing-card__from {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.pricing-card__lead {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.55;
  max-width: none;
}
.pricing-card__for {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  max-width: none;
}
.pricing-card__for strong {
  color: var(--neutral-700);
  font-weight: 600;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.pricing-card__features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.4rem;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--teal-500);
  border-bottom: 2px solid var(--teal-500);
  transform: rotate(-45deg);
}
.pricing-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  min-width: 600px;
}
.pricing-compare th,
.pricing-compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.pricing-compare thead th {
  background: var(--neutral-700);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-compare tbody tr:last-child th,
.pricing-compare tbody tr:last-child td {
  border-bottom: none;
}
.pricing-compare th[scope="row"] {
  font-family: var(--font-display);
  color: var(--neutral-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.pricing-compare__save {
  color: var(--teal-700);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-callout {
  border-left: 3px solid var(--slate-500);
  background: var(--white);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: 80ch;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.pricing-callout .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}
.pricing-callout h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--neutral-700);
  margin: 0 0 0.75rem;
}
.pricing-callout p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  max-width: none;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 6rem var(--container-pad);
}

.error-404__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 10rem);
  color: var(--neutral-100);
  line-height: 1;
  margin-bottom: 0;
}

.error-404 h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ============================================================
   HERO — DARK (NAVY) VARIANT
   ============================================================ */
.hero--dark {
  background-color: var(--neutral-700);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(106, 142, 139, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(106, 142, 139, 0.12) 0%, transparent 50%);
  color: var(--white);
}

.hero--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero--dark .hero-eyebrow {
  background: rgba(106, 142, 139, 0.25);
  border-color: rgba(106, 142, 139, 0.4);
  color: var(--teal-300);
}

.hero--dark h1 {
  color: var(--white);
}

.hero--dark h1 em {
  color: var(--teal-300);
}

.hero--dark .hero-motto {
  color: var(--taupe-light);
  border-top-color: rgba(106, 142, 139, 0.3);
}

.hero--dark .hero-motto__emphasis {
  color: var(--teal-300);
}

.hero--dark .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.hero--dark .hero-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero--dark .hero-card__label {
  color: var(--teal-300);
}

.hero--dark .hero-card__col:first-child {
  border-right-color: rgba(255, 255, 255, 0.08);
}

.hero--dark .hero-card__text {
  color: rgba(255, 255, 255, 0.78);
}

.hero--dark .hero-card__text strong,
.hero--dark .hero-card__footer strong {
  color: var(--white);
}

.hero--dark .hero-card__footer {
  color: rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.hero--dark .hero-stat__number {
  color: var(--teal-300);
}

.hero--dark .hero-stat__label {
  color: rgba(255, 255, 255, 0.7);
}

.hero--dark .btn--outline-navy {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero--dark .btn--outline-navy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   UTILITIES / ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */

/* Neutral button variant (used in nudge blocks on light bg) */
.btn--neutral,
.btn--navy /* backward-compat alias */ {
  background-color: var(--neutral-700);
  color: var(--white);
  border-color: var(--neutral-700);
}
.btn--neutral:hover,
.btn--navy:hover /* backward-compat alias */ {
  background-color: #3A302B;
  border-color: #3A302B;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Reading progress bar */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 1100;
  height: 3px; width: 0%;
  background: var(--teal-500);
  transition: width .1s linear;
  pointer-events: none;
}

/* Hero */
.blog-hero {
  background: var(--neutral-50);
  padding: clamp(3.5rem, 8vw, 5rem) var(--container-pad) clamp(3rem, 7vw, 4.5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(106,142,139,.12) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero__inner {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}
.blog-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 1.25rem;
}
.blog-hero__eyebrow::before {
  content: '';
  display: block; width: 22px; height: 2px;
  background: var(--teal-500); flex-shrink: 0;
}
.blog-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; color: var(--neutral-700); line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.blog-hero__title em {
  font-style: italic;
  color: var(--teal-500);
}
.blog-hero__sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 540px; line-height: 1.7;
  margin-bottom: 2.5rem;
}
.blog-hero__pills {
  display: flex; gap: .75rem; flex-wrap: wrap;
}
.blog-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1.1rem .55rem .8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.blog-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.blog-pill__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.blog-pill--employer {
  background: var(--teal-500); color: var(--white);
  border: 1px solid transparent;
}
.blog-pill--employer .blog-pill__dot { background: rgba(255,255,255,.75); }
.blog-pill--employee {
  background: var(--slate-500); color: var(--white);
  border: 1px solid transparent;
}
.blog-pill--employee .blog-pill__dot { background: rgba(255,255,255,.75); }
.blog-pill--dispute {
  background: var(--teal-500); color: var(--white);
  border: 1px solid transparent;
}
.blog-pill--dispute .blog-pill__dot { background: rgba(255,255,255,.75); }

/* Tab bar */
.blog-tabs-bar {
  background: var(--teal-100);
  border-bottom: 1px solid rgba(106,142,139,.3);
  position: sticky; top: 72px; z-index: 90;
  box-shadow: 0 2px 8px rgba(74,63,58,.08);
}
.blog-tabs-bar__inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--container-pad); gap: 1.5rem;
}
.blog-tabs { display: flex; }
.blog-tab-btn {
  background: none; border: none;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-body); font-size: .86rem; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  position: relative;
  display: inline-flex; align-items: center; gap: .45rem;
  white-space: nowrap;
  transition: color .2s;
}
.blog-tab-btn::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: transparent; transition: background .2s;
}
.blog-tab-btn:hover { color: var(--teal-700); }
.blog-tab-btn.is-active { color: var(--teal-700); font-weight: 600; }
.blog-tab-btn.is-active::after                  { background: var(--teal-500); }
.blog-tab-btn--employee.is-active::after        { background: var(--teal-500); }
.blog-tab-btn--dispute.is-active::after         { background: var(--teal-500); }
.blog-tab-badge {
  font-size: .68rem; font-weight: 700;
  padding: .18em .5em; border-radius: 20px;
  background: rgba(106,142,139,.15); color: var(--teal-700);
}
.blog-tab-btn.is-active .blog-tab-badge         { background: var(--teal-500); color: var(--white); }
.blog-tab-btn--employee.is-active .blog-tab-badge { background: var(--teal-500); color: var(--white); }
.blog-tab-btn--dispute.is-active .blog-tab-badge  { background: var(--teal-500); color: var(--white); }
.blog-tabs-count {
  font-size: .8rem; color: var(--text-muted); white-space: nowrap;
}

/* Content area */
.blog-content { background: var(--white); }
.blog-content-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 3rem var(--container-pad) 5rem;
}
.blog-tab-section { display: none; }
.blog-tab-section.is-visible {
  display: block;
  animation: blogReveal .35s ease both;
}
@keyframes blogReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Section headers */
.blog-section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.blog-section-label { display: flex; align-items: center; gap: .75rem; }
.blog-section-stripe { width: 4px; height: 36px; border-radius: 2px; flex-shrink: 0; }
.blog-section-stripe--employer { background: var(--teal-500); }
.blog-section-stripe--employee { background: var(--slate-500); }
.blog-section-stripe--dispute  { background: var(--teal-500); }
.blog-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  font-weight: 700; color: var(--neutral-700); line-height: 1.1;
}
.blog-section-title small {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .3rem;
}
.blog-section-viewall {
  font-size: .82rem; font-weight: 600; color: var(--teal-500);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: .3rem;
  white-space: nowrap; transition: gap .2s;
}
.blog-section-viewall:hover { gap: .55rem; }
.blog-section-divider {
  margin: 4rem 0; border: none;
  border-top: 1px dashed var(--border);
  position: relative;
}
.blog-section-divider::after {
  content: '· · ·';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white); padding: 0 1rem;
  color: var(--text-muted); font-size: .8rem; letter-spacing: .3em;
}

/* Audience tags */
.blog-audience-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.blog-audience-tag__dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.blog-audience-tag--employer                { color: var(--teal-500); }
.blog-audience-tag--employer .blog-audience-tag__dot { background: var(--teal-500); }
.blog-audience-tag--employee                { color: var(--slate-500); }
.blog-audience-tag--employee .blog-audience-tag__dot { background: var(--slate-500); }
.blog-audience-tag--dispute                 { color: var(--teal-500); }
.blog-audience-tag--dispute .blog-audience-tag__dot  { background: var(--teal-500); }

/* Featured post card */
.featured-post-card {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.featured-post-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.featured-post-card__img { aspect-ratio: 16/9; overflow: hidden; }
.featured-post-card__img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s;
}
.featured-post-card:hover .featured-post-card__img img { transform: scale(1.04); }
.featured-post-card__img-placeholder,
.blog-card__img-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: var(--teal-100);
}
.featured-post-card__body {
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-post-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.55rem);
  font-weight: 700; color: var(--neutral-700); line-height: 1.25;
  margin-bottom: .8rem;
}
.featured-post-card__excerpt {
  font-size: .86rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.featured-post-card__read-more {
  font-size: .82rem; font-weight: 600; color: var(--teal-500);
  display: block; margin-top: .8rem;
}
.blog-card-meta { font-size: .76rem; color: var(--text-muted); }

/* Grid cards */
.blog-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74,63,58,.04);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; }
.blog-card__img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body {
  padding: 1.3rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; flex: 1;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: var(--neutral-700);
  line-height: 1.3; margin-bottom: .55rem;
}
.blog-card__excerpt {
  font-size: .8rem; color: var(--text-muted);
  line-height: 1.6; flex: 1; margin-bottom: .9rem;
}
.blog-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.blog-card__arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--neutral-50);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.blog-card:hover .blog-card__arrow {
  background: var(--teal-500); color: var(--white); transform: translateX(3px);
}

/* CTA banner — uses the global .cta-banner section style (see line ~1164). */

/* Nudge cross-promo block */
.blog-nudge {
  border-radius: var(--radius-lg); padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem;
}
.blog-nudge--employer { background: var(--teal-100); }
.blog-nudge--employee { background: var(--slate-100); }
.blog-nudge--dispute  { background: var(--teal-100); }
.blog-nudge__content  { max-width: 60%; }
.blog-nudge__eyebrow {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: .4rem;
}
.blog-nudge__eyebrow--employer { color: var(--teal-500); }
.blog-nudge__eyebrow--employee { color: var(--slate-500); }
.blog-nudge__eyebrow--dispute  { color: var(--teal-500); }
.blog-nudge__title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; color: var(--neutral-700);
}
.blog-nudge__sub {
  font-size: .84rem; color: var(--text-muted); margin-top: .35rem;
}

/* Responsive */
@media (max-width: 960px) {
  .featured-post-card { grid-template-columns: 1fr; }
  .featured-post-card__img { aspect-ratio: 16/7; }
  .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-hero__pills { flex-direction: column; align-items: flex-start; }
  .blog-tabs-bar__inner { overflow-x: auto; padding-bottom: .25rem; }
  .blog-tabs-count { display: none; }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .blog-section-header { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .blog-nudge { flex-direction: column; align-items: flex-start; }
  .blog-nudge__content { max-width: 100%; }
}

/* ============================================================
   UTILITIES / NOWRAP
   ============================================================ */
.nowrap-md { white-space: nowrap; }

@media (max-width: 768px) {
  .nowrap-md { white-space: normal; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-banner { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
}

