/*
Theme Name: Neutral Ground Partners
Theme URI: https://neutralgroundpartners.com
Author: Neutral Ground Partners
Author URI: https://neutralgroundpartners.com
Description: A custom WordPress theme for Neutral Ground Partners — fractional HR services for small businesses. Warm, professional, and people-first.
Version: 1.2.0
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 {
  /* Brand Colors */
  --navy:          #2B4057;
  --navy-dark:     #1E2E40;
  --navy-light:    #3D5470;
  --sage:          #5B8A6E;
  --sage-light:    #7AA88A;
  --sage-pale:     #EAF1EC;
  --amber:         #C8864A;
  --amber-dark:    #A96D37;
  --amber-light:   #D99B65;
  --cream:         #F7F4EF;
  --cream-dark:    #EDE8E0;
  --white:         #FFFFFF;
  --text:          #2D2926;
  --text-muted:    #6B6560;
  --border:        #E0D8CE;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -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 */
  --shadow-sm:  0 2px 8px  rgba(43, 64, 87, 0.08);
  --shadow-md:  0 4px 20px rgba(43, 64, 87, 0.12);
  --shadow-lg:  0 8px 40px rgba(43, 64, 87, 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.7;
  color: var(--text);
  background-color: var(--cream);
  -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-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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-navy    { color: var(--navy); }
.text-sage    { color: var(--sage); }
.text-amber   { color: var(--amber); }
.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(--cream); }
.section--white  { background-color: var(--white); }
.section--navy   { background-color: var(--navy); color: var(--white); }
.section--sage   { background-color: var(--sage-pale); }
.section--amber  { background-color: var(--amber); color: var(--white); }

.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.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.btn--primary {
  background-color: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn--primary:hover {
  background-color: var(--amber-dark);
  border-color: var(--amber-dark);
  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.15);
  border-color: var(--white);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-amber {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}
.btn--outline-amber:hover {
  background: var(--amber);
  color: var(--white);
}

.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: column;
  gap: 0.1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.site-logo__mark {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-logo__tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
}

.primary-nav a:hover,
.primary-nav a.current-menu-item,
.primary-nav a[aria-current="page"] {
  color: var(--navy);
  background-color: var(--cream);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem);
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
  transition: transform var(--transition);
}

.primary-nav a:hover::after,
.primary-nav a.current-menu-item::after {
  transform: translateX(-50%) scaleX(1);
}

.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(--navy);
  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.75rem 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-nav a:hover {
  background: var(--cream);
  color: var(--navy);
}

.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(--navy);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(91, 138, 110, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200, 134, 74, 0.12) 0%, transparent 50%);
  color: var(--white);
  padding: clamp(4rem, 10vw, 7rem) var(--container-pad);
  position: relative;
  overflow: hidden;
}

.hero::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-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(91, 138, 110, 0.25);
  border: 1px solid rgba(91, 138, 110, 0.4);
  color: var(--sage-light);
  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(--white);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber-light);
}

.hero .hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ============================================================
   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(--sage);
  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--navy .eyebrow  { color: var(--sage-light); }
.section--navy .section-header h2 { color: var(--white); }
.section--navy .section-header p  { color: rgba(255, 255, 255, 0.75); }
.section--amber .section-header h2 { color: var(--white); }
.section--amber .section-header p  { color: rgba(255, 255, 255, 0.85); }

/* ============================================================
   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);
}

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

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--sage-pale);
  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--amber { background: rgba(200, 134, 74, 0.12); }
.card__icon--navy  { background: rgba(43, 64, 87, 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(--sage);
  border-width: 2px;
  position: relative;
}

.card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--sage);
  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;
}

.service-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  background: var(--sage-pale);
  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(--navy);
}

.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(--sage);
  transition: gap var(--transition), color var(--transition);
}

.service-card .card-link:hover {
  color: var(--navy);
  gap: 0.6rem;
}

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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(--white);
  margin-bottom: 0.35rem;
}

.feature-item__content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--sage-pale);
  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;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sage);
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--sage-pale);
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  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(--amber);
  font-size: 0.9rem;
  justify-content: flex-end;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 5rem var(--container-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(91, 138, 110, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(200, 134, 74, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  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(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  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(--navy);
}

.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(--navy);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--sage);
  transition: transform 300ms ease, background-color var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--sage);
  color: var(--white);
}

.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(--navy);
  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(--sage);
  box-shadow: 0 0 0 3px rgba(91, 138, 110, 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(--sage-pale);
  color: var(--sage);
  border: 1px solid rgba(91, 138, 110, 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(--sage-pale);
  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(--navy);
  font-size: 0.95rem;
}

.contact-info-item__value a {
  color: var(--sage);
  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(--cream);
  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(--sage-pale);
  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(--sage-light);
}

.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(--sage);
  margin-bottom: 0.5rem;
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  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(--sage);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--sage-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}

.post-content a {
  color: var(--sage);
  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(--sage);
  color: var(--sage);
  background: var(--sage-pale);
}

.pagination .current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem var(--container-pad) 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@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(--white);
  font-size: 1.35rem;
}

.footer-brand .site-logo__tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  max-width: 34ch;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.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(--white);
  font-size: 0.875rem;
  transition: border-color var(--transition), background var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 0.7rem 1.2rem;
  background: var(--amber);
  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(--amber-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: none;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem var(--container-pad) 3.5rem;
  text-align: center;
}

.page-hero .eyebrow { color: var(--sage-light); }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255, 255, 255, 0.8); margin-inline: auto; font-size: 1.1rem; }

/* ============================================================
   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(--sage);
}

.value-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.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(--sage-pale);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage);
  border: 3px solid var(--sage-pale);
  overflow: hidden;
}

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

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.team-card__title {
  font-size: 0.8rem;
  color: var(--sage);
  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 {
  background: var(--sage-pale);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.service-detail__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 138, 110, 0.15) 0%, transparent 60%);
}

.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(--sage);
  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; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 6rem var(--container-pad);
}

.error-404__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 10rem);
  color: var(--cream-dark);
  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;
}

/* ============================================================
   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;
}

/* ============================================================
   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; }
}
