:root {
  --bg-base: #f7f5f2;
  --bg-card: #ffffff;
  --bg-soft: #eef3ef;
  --bg-accent: #3d6b5a;
  --bg-accent-dark: #2f5547;
  --text-primary: #1e2a24;
  --text-muted: #465952;
  --accent: #3d6b5a;
  --accent-hover: #2f5547;
  --accent-soft: #d4e4dc;
  --lavender: #7b6b8a;
  --lavender-soft: #ebe6f0;
  --border: rgba(61, 107, 90, 0.18);
  --danger: #b54a4a;
  --success: #2d7a52;
  --focus: #2563eb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 16px 48px rgba(30, 42, 36, 0.08);
  --max-width: 1160px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-primary);
  background: var(--bg-base);
  background-image:
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(123, 107, 138, 0.07), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(61, 107, 90, 0.06), transparent);
  min-height: 100vh;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.32rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
address { font-style: normal; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--focus); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--lavender) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-text { font-family: var(--font-display); font-size: 1.2rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font: inherit;
  color: var(--text-primary);
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text-primary);
  box-shadow: 0 5px 0 var(--text-primary), 0 -5px 0 var(--text-primary);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
}

.nav-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--accent-hover); color: #fff !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

a.btn,
a.btn:visited {
  text-decoration: none;
}

.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline,
a.btn-outline,
a.btn-outline:visited {
  background: var(--bg-card);
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover,
a.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-text,
button.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem;
}

.btn-text:hover,
button.btn-text:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-split {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy .eyebrow,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lavender);
  margin: 0 0 0.75rem;
}

.hero-copy .lead,
.lead {
  font-size: 1.18rem;
  color: #36463e;
  max-width: 38rem;
}

.media-caption {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card p,
.faq-item p,
.split-text p,
.section-inner > p,
.resource-list p {
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  max-width: 14rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-soft { background: var(--bg-soft); }

.section-header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(30, 42, 36, 0.04);
}

.card img {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.split-media .media-caption,
.hero-visual .media-caption {
  margin-top: 0.75rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
}

.stat-box span { font-size: 0.92rem; color: var(--text-muted); }

.cta-band {
  background: linear-gradient(135deg, var(--bg-accent) 0%, #4a5568 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: rgba(255, 255, 255, 0.92); margin: 0; }

.cta-band .btn-primary,
.cta-band a.btn-primary,
.cta-band a.btn-primary:visited {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.cta-band .btn-primary:hover,
.cta-band a.btn-primary:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-soft);
}

.cookie-banner .btn-primary,
.cookie-banner .btn-primary:hover {
  background: #fff;
  color: var(--text-primary);
  border-color: #fff;
}

.cookie-banner .btn-outline,
.cookie-banner .btn-outline:visited {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.cookie-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: #fff;
}

.cookie-banner .btn-text {
  color: rgba(255, 255, 255, 0.92);
}

.cookie-banner .btn-text:hover {
  color: #fff;
}

.page-hero .btn-outline,
.page-hero a.btn-outline:visited {
  background: var(--bg-card);
}

.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-base) 100%);
  padding: 3.5rem 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero .lead { max-width: 46rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card-body { padding: 1.25rem; }

.team-card .role {
  color: var(--lavender);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.5rem;
}

.faq-list { max-width: 48rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 0.85rem;
}

.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.faq-item p:last-child { margin-bottom: 0; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--bg-soft);
  font-family: var(--font-display);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-details-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.contact-photo {
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.section-intro-split {
  margin-bottom: 2.5rem;
}

.split + .faq-list {
  margin-top: 2.5rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--bg-base);
  color: var(--text-primary);
}

.form-required { font-weight: 400; color: var(--text-muted); font-size: 0.9rem; }

.form-notice {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}

.form-notice-success {
  background: #e8f5ee;
  border: 1px solid #9fd4b4;
  color: var(--success);
}

.map-section { margin-top: 2.5rem; }

.map-heading { font-size: 1.5rem; }

.map-intro { color: var(--text-muted); max-width: 52rem; }

.map-frame {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.map-placeholder {
  padding: 2.5rem;
  text-align: center;
}

.map-iframe { border: 0; display: block; width: 100%; }

.legal-content { max-width: 48rem; }
.legal-content h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-updated { color: var(--text-muted); font-size: 0.95rem; }

.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tagline,
.footer-disclaimer {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-contact address,
.footer-contact p { font-size: 0.95rem; margin: 0 0 0.5rem; }

.footer-contact a { color: rgba(255, 255, 255, 0.9); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  background: rgba(30, 42, 36, 0.96);
  color: #fff;
  padding: 1.25rem;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin: 0 0 0.35rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cookie-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.cookie-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 2.6rem;
  height: 1.4rem;
}

.switch input { opacity: 0; width: 0; height: 0; }

.switch-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  left: 0.2rem;
  top: 0.2rem;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.switch input:checked + .switch-slider { background: var(--accent); }
.switch input:checked + .switch-slider::before { transform: translateX(1.2rem); }

.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.resource-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
}

.resource-list a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .hero-split,
  .split,
  .contact-layout,
  .footer-grid { grid-template-columns: 1fr; }

  .stats-row { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 0.75rem 1.25rem 1rem;
  }

  .site-nav.is-open { display: block; }

  .nav-list { flex-direction: column; align-items: flex-start; }
}
