/* Base design system */
:root {
  --navy: #283E5B;
  --sage: #B7C4B3;
  --heritage: #8A9F86;
  --mint: #F6F7F5;
  --white: #FFFFFF;
  --text: #20334D;
  --muted: #64717D;
  --footer: #18283D;
  --line: rgba(40, 62, 91, 0.12);
  --soft-line: rgba(40, 62, 91, 0.075);
  --shadow: 0 24px 70px rgba(24, 40, 61, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--white);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html {
  -webkit-tap-highlight-color: rgba(138, 159, 134, 0.18);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 20px;
  top: 14px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--heritage);
  color: var(--footer);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-72px);
  transition: transform 240ms var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.section-white {
  background: var(--white);
}

.section-mint {
  background: var(--mint);
}

.section-navy {
  background: var(--navy);
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--heritage);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--sage);
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

h2 {
  max-width: 780px;
  color: var(--text);
  font-size: clamp(38px, 5.8vw, 74px);
}

h3,
h4,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.highlight {
  background-image: linear-gradient(transparent 66%, rgba(183, 201, 177, 0.66) 66%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.highlight.dark {
  color: var(--white);
  background-image: linear-gradient(transparent 66%, rgba(183, 201, 177, 0.30) 66%);
}

.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 420ms var(--ease), background 420ms var(--ease), color 420ms var(--ease), border-color 420ms var(--ease), box-shadow 420ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sage);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(183, 201, 177, 0.18);
}

.btn-primary:hover {
  background: #C6D4C1;
  box-shadow: 0 20px 46px rgba(183, 201, 177, 0.24);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--sage);
  background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #213E63;
}

.centered {
  text-align: center;
}

.centered .section-kicker {
  justify-content: center;
}

.centered .section-kicker::before {
  width: 34px;
  height: 1px;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-inline: auto;
}

/* Sticky navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(24px, 4vw, 64px);
  color: var(--navy);
  transition: background 360ms var(--ease), border-color 360ms var(--ease), backdrop-filter 360ms var(--ease), box-shadow 360ms var(--ease);
}

.site-header.scrolled {
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(18, 36, 58, 0.055);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-width: 188px;
}

.brand-logo {
  width: 202px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-dark {
  display: none;
}

.site-header:not(.scrolled) .brand-logo-light {
  display: none;
}

.site-header:not(.scrolled) .brand-logo-dark {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 52px;
  padding: 6px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(18, 36, 58, 0.08);
}

.site-header:not(.scrolled) .desktop-nav {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transition: background 260ms var(--ease), color 260ms var(--ease);
}

.site-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.nav-link::after {
  content: none;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(183, 196, 179, 0.26);
}

.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-link.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.nav-phone {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-left: 4px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 320ms var(--ease), color 320ms var(--ease), transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.nav-phone:hover {
  background: #C6D4C1;
  box-shadow: 0 10px 22px rgba(183, 201, 177, 0.20);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: block;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(183, 196, 179, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(138, 159, 134, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(18, 36, 58, 0.985), rgba(12, 24, 39, 0.995));
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 420ms var(--ease), visibility 420ms var(--ease);
}

.mobile-menu::before,
.mobile-menu::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.mobile-menu::before {
  top: 10%;
  right: -14%;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(183, 196, 179, 0.12), transparent 66%);
}

.mobile-menu::after {
  left: -18%;
  bottom: -10%;
  width: 56vw;
  height: 56vw;
  background: radial-gradient(circle, rgba(40, 62, 91, 0.34), transparent 70%);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100dvh;
  padding: 108px 28px 34px;
}

.mobile-menu-links {
  display: grid;
  align-content: center;
  gap: 0;
}

.mobile-menu-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease), color 260ms var(--ease);
}

.mobile-menu-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu.open .mobile-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-item:nth-child(1) {
  transition-delay: 70ms;
}

.mobile-menu-item:nth-child(2) {
  transition-delay: 120ms;
}

.mobile-menu-item:nth-child(3) {
  transition-delay: 170ms;
}

.mobile-menu-item:nth-child(4) {
  transition-delay: 220ms;
}

.mobile-menu-label {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 8.8vw, 54px);
  line-height: 0.98;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  color: var(--sage);
}

.mobile-menu-footer {
  display: grid;
  gap: 18px;
  max-width: 420px;
  padding-top: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms var(--ease) 220ms, transform 480ms var(--ease) 220ms;
}

.mobile-menu.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mobile-menu .mobile-phone,
.mobile-menu .mobile-email {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background 260ms var(--ease), border-color 260ms var(--ease), color 260ms var(--ease);
}

.mobile-menu .mobile-phone {
  background: rgba(183, 196, 179, 0.14);
}

.mobile-menu .mobile-phone:hover,
.mobile-menu .mobile-email:hover {
  border-color: rgba(183, 196, 179, 0.46);
  background: rgba(183, 196, 179, 0.18);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 54px) 0 126px;
  background:
    linear-gradient(90deg, rgba(18, 36, 58, 0.98) 0%, rgba(18, 36, 58, 0.88) 38%, rgba(18, 36, 58, 0.34) 72%, rgba(18, 36, 58, 0.18) 100%),
    url("assets/house1.png") center bottom / cover no-repeat,
    var(--navy);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 36, 58, 0.12), rgba(18, 36, 58, 0.44));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(18, 36, 58, 0.34), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.hero-kicker {
  opacity: 0;
  animation: heroUp 760ms var(--ease) 80ms forwards;
}

.hero-title {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(52px, 6vw, 86px);
}

.headline-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroUp 820ms var(--ease) forwards;
}

.headline-line:nth-child(1) {
  animation-delay: 180ms;
}

.headline-line:nth-child(2) {
  animation-delay: 260ms;
}

.hero-subtitle {
  max-width: 620px;
  margin: 30px 0 34px;
  color: rgba(223, 230, 240, 0.92);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.32;
  opacity: 0;
  transform: translateY(20px);
  animation: heroUp 760ms var(--ease) 420ms forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroUp 760ms var(--ease) 640ms forwards;
}

@keyframes heroUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Diagonal section transitions */
.clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), 0 100%);
}

.clip-top {
  margin-top: -44px;
  padding-top: 112px;
  clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
}

.clip-bottom-white {
  padding-bottom: 132px;
  clip-path: polygon(0 44px, 100% 0, 100% calc(100% - 50px), 0 100%);
}

.clip-top-dark {
  margin-top: -52px;
  padding-top: 136px;
  clip-path: polygon(0 52px, 100% 0, 100% 100%, 0 100%);
}

.clip-bottom-dark {
  padding-bottom: 136px;
  clip-path: polygon(0 52px, 100% 0, 100% calc(100% - 56px), 0 100%);
}

/* Services */
.services {
  position: relative;
  padding-bottom: 122px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 98px;
  border-block: 1px solid var(--line);
}

.trust-item {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.trust-item+.trust-item {
  border-left: 1px solid var(--line);
}

.icon-wrap svg,
.value-row svg,
.contact-details svg,
.contact-row svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap {
  color: var(--heritage);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.services-image {
  position: relative;
  order: 2;
  margin: 0;
}

.services-image::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 46%;
  height: 46%;
  border-right: 1px solid var(--sage);
  border-bottom: 1px solid var(--sage);
  pointer-events: none;
}

.services-image img {
  width: 100%;
  max-height: 390px;
  aspect-ratio: 0.82;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(24, 40, 61, 0.12);
}

.services-copy {
  order: 1;
  padding-top: 0;
}

.services-copy h2,
.approach-copy h2,
.contact-copy h2 {
  margin-bottom: 28px;
}

.services-copy p {
  max-width: 650px;
  font-size: 17px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  border-top: 0;
}

.feature-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 192px;
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: var(--mint);
}

.feature-list article>span {
  color: var(--heritage);
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.feature-list h3 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.feature-list p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* How it works */
.how {
  padding: 126px 0 132px;
}

.how-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: end;
  max-width: 1040px;
  margin: 0 auto clamp(58px, 8vw, 92px);
}

.how-intro h2 {
  max-width: 640px;
  font-size: clamp(50px, 6.2vw, 86px);
}

.how-intro-line {
  display: block;
  white-space: nowrap;
}

.how-intro>p {
  max-width: 500px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
}

.steps-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px clamp(56px, 7vw, 108px);
  max-width: 1040px;
  margin: 0 auto;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(rgba(40, 62, 91, 0.08), rgba(40, 62, 91, 0.18), rgba(40, 62, 91, 0.08));
  transform: translateX(-0.5px);
}

.step-card {
  position: relative;
  width: auto;
  min-height: 238px;
  padding: 30px 0 48px;
  border-top: 1px solid var(--line);
  background: transparent;
  transition: transform 420ms var(--ease), border-color 420ms var(--ease);
}

.step-card::before {
  content: none;
}

.step-card:nth-child(even) {
  margin-top: 60px;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 62, 91, 0.24);
}

.step-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 26px;
  color: #6F8B78;
  font-size: clamp(62px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.72;
}

.step-card h3,
.step-card p {
  position: relative;
  z-index: 1;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
}

.step-card p {
  max-width: 460px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.62;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* Approach */
.approach {
  color: var(--white);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
}

.approach h2 {
  color: var(--white);
}

.approach-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.value-pill {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.value-pill span {
  display: block;
}

.value-pill svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--sage);
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.approach-card {
  padding: 38px;
  border: 1px solid rgba(183, 201, 177, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.approach-card h3 {
  margin-bottom: 34px;
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
}

.benefit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 0 0 28px;
}

.benefit-row+.benefit-row {
  padding-top: 4px;
}

.large-check {
  color: var(--sage);
  font-size: 28px;
  font-weight: 700;
  line-height: 0.95;
}

.benefit-row h4 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.25;
}

.benefit-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

.approach-card .btn {
  margin-top: 8px;
}

/* Providers */
.providers {
  position: relative;
  overflow: hidden;
  padding: 112px 0 124px;
}

.providers-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.providers-heading {
  position: relative;
}

.providers-heading h2 {
  font-size: clamp(38px, 5vw, 66px);
}

.providers-heading p:not(.section-kicker) {
  max-width: 520px;
  font-size: 17px;
}

.provider-panel {
  display: grid;
  gap: 24px;
}

.provider-panel img {
  width: 100%;
  max-height: 300px;
  aspect-ratio: 1.78;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(24, 40, 61, 0.11);
}

.provider-standards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.provider-standards article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--soft-line);
}

.provider-standards span {
  color: var(--heritage);
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
}

.provider-standards h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.provider-standards p {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* FAQ */
.faq {
  padding: 112px 0 124px;
}

.faq-layout {
  max-width: 980px;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.faq-tab {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 320ms var(--ease), color 320ms var(--ease), border-color 320ms var(--ease);
}

.faq-tab.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.faq-panels {
  position: relative;
}

.faq-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.faq-panel.active {
  display: grid;
  gap: 12px;
  animation: panelIn 340ms var(--ease) forwards;
}

@keyframes panelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: rgba(25, 43, 67, 0.76);
  cursor: pointer;
  text-align: left;
  font-weight: 500;
}

.faq-item.open .faq-question {
  color: var(--navy);
  font-weight: 700;
}

.faq-question span {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: currentColor;
  transform: rotate(45deg);
  transition: transform 320ms var(--ease), color 320ms var(--ease);
}

.faq-item.open .faq-question span {
  color: var(--sage);
  transform: rotate(225deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease);
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

/* Team */
.team {
  position: relative;
  overflow: hidden;
  padding: 112px 0 124px;
}

.team-layout {
  position: relative;
  display: grid;
  gap: 46px;
  align-items: start;
}

.team-heading {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.team-heading h2 {
  margin-bottom: 14px;
}

.team-heading p:not(.section-kicker) {
  max-width: 660px;
  margin: 0 auto 12px;
  font-size: 17px;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-profile {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 247, 245, 0.86), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 18px 54px rgba(24, 40, 61, 0.08);
}

.team-avatar {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 34%, rgba(183, 196, 179, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(40, 62, 91, 0.08), rgba(183, 196, 179, 0.18));
  color: var(--navy);
}

.team-avatar::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px 999px 0 0;
  opacity: 0.72;
}

.team-avatar svg {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  padding: 19px;
  border: 1px solid rgba(40, 62, 91, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  box-shadow: 0 16px 38px rgba(24, 40, 61, 0.10);
}

.team-profile-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 26px;
}

.team-profile h3 {
  margin-bottom: 4px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.1;
}

.role {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.team-profile p:not(.role) {
  max-width: 560px;
  margin-bottom: 18px;
}

.team-profile .contact-row {
  margin-top: auto;
  padding-top: 6px;
}

.team-profile .contact-row a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-row a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.contact-row svg {
  color: var(--sage);
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding-bottom: 124px;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(183, 196, 179, 0.10), rgba(24, 40, 61, 0) 48%);
  opacity: 1;
  pointer-events: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.88fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}

.contact h2 {
  color: var(--white);
}

.contact-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
}

.contact-details a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.contact-details svg {
  color: var(--sage);
}

.form-card {
  border: 1px solid rgba(183, 201, 177, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  padding: 40px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.14);
}

.form-card.is-submitted {
  display: grid;
  align-content: center;
  min-height: 540px;
}

.form-heading {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft-line);
}

.form-heading[hidden] {
  display: none;
}

.form-heading h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.required-mark {
  color: #B54545;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(25, 43, 67, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  padding: 12px 16px;
  outline: none;
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field-wide,
.form-submit {
  grid-column: 1 / -1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(183, 201, 177, 0.24);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #b84a4a;
}

.error-message {
  display: none;
  color: #b84a4a;
  font-size: 12px;
  line-height: 1.3;
}

.field.error .error-message {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-success {
  display: grid;
  gap: 18px;
  color: var(--text);
  padding: 8px 0 6px;
}

.form-success[hidden] {
  display: none;
}

.form-success-badge {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(183, 201, 177, 0.9), rgba(138, 159, 134, 0.92));
  color: var(--navy);
  box-shadow: 0 18px 34px rgba(138, 159, 134, 0.24);
}

.form-success-badge svg {
  width: 30px;
  height: 30px;
}

.form-success-kicker {
  margin: 0;
  color: var(--heritage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-success h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  letter-spacing: 0;
  line-height: 1.02;
}

.form-success p {
  margin: 0;
}

.form-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.form-success-actions .btn {
  min-width: 160px;
}

.form-card.is-submitted .form-success {
  align-content: center;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 72px 0 24px;
}

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

.footer-logo {
  width: 224px;
  height: 52px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: center;
}

.site-footer p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  min-height: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 260ms var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-credit:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Scroll motion */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

.reveal.from-left {
  transform: translateX(-34px);
}

.reveal.from-right {
  transform: translateX(34px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.steps-timeline .reveal:nth-child(2) {
  transition-delay: 100ms;
}

.steps-timeline .reveal:nth-child(3) {
  transition-delay: 200ms;
}

.steps-timeline .reveal:nth-child(4) {
  transition-delay: 300ms;
}

.steps-timeline .reveal:nth-child(5) {
  transition-delay: 400ms;
}

.steps-timeline .reveal:nth-child(6) {
  transition-delay: 500ms;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(40, 62, 91, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    box-shadow: 0 12px 32px rgba(18, 36, 58, 0.12);
    cursor: pointer;
    transition: background 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease), color 260ms var(--ease);
  }

  .site-header:not(.scrolled) .menu-toggle {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    box-shadow: 0 10px 28px rgba(18, 36, 58, 0.10);
    backdrop-filter: blur(14px);
  }

  .menu-toggle-icon {
    position: relative;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    flex: 0 0 auto;
  }

  .menu-toggle-icon span {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 300ms var(--ease), opacity 300ms var(--ease);
  }

  .menu-toggle-icon span:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle-icon span:last-child {
    transform: translateY(4px);
  }

  .menu-toggle.open .menu-toggle-icon span:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle.open .menu-toggle-icon span:last-child {
    transform: rotate(-45deg);
  }

  .menu-toggle:hover {
    box-shadow: 0 16px 36px rgba(18, 36, 58, 0.16);
  }

  .site-header:not(.scrolled) .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  .services-layout,
  .approach-layout,
  .providers-layout,
  .team-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .services-image {
    max-width: 420px;
  }

  .providers-heading {
    position: static;
  }

  .provider-standards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 16px;
  }

  .container,
  .hero-inner,
  .trust-strip {
    width: min(100% - 40px, 1160px);
  }

  .site-header {
    height: var(--header-h);
    padding: 0 20px;
  }

  .brand-logo {
    width: 164px;
    height: 36px;
  }

  .hero {
    min-height: 100dvh;
    background-position: 58% center;
    padding: calc(var(--header-h) + 30px) 0 68px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(18, 36, 58, 0.94), rgba(18, 36, 58, 0.64));
  }

  .hero-title {
    font-size: clamp(38px, 12vw, 64px);
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-actions,
  .hero-actions .btn,
  .approach-card .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  h2,
  .providers-heading h2 {
    font-size: clamp(34px, 10.5vw, 54px);
  }

  .clip-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%);
  }

  .clip-top {
    margin-top: -34px;
    padding-top: 94px;
    clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
  }

  .clip-bottom-white,
  .clip-bottom-dark {
    padding-bottom: 104px;
  }

  .clip-bottom-white {
    clip-path: polygon(0 34px, 100% 0, 100% calc(100% - 38px), 0 100%);
  }

  .clip-top-dark {
    margin-top: -38px;
    padding-top: 110px;
    clip-path: polygon(0 38px, 100% 0, 100% 100%, 0 100%);
  }

  .clip-bottom-dark {
    clip-path: polygon(0 38px, 100% 0, 100% calc(100% - 42px), 0 100%);
  }

  .services,
  .how,
  .providers,
  .faq,
  .team,
  .contact {
    padding-left: 0;
    padding-right: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 76px;
  }

  .trust-item {
    min-height: 104px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .trust-item+.trust-item {
    border-left: 0;
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .services-layout,
  .approach-layout,
  .providers-layout,
  .team-layout,
  .contact-layout {
    gap: 34px;
  }

  .services-image::after {
    right: -10px;
    bottom: -10px;
  }

  .services-image img,
  .provider-panel img {
    max-height: 240px;
  }

  .team-heading {
    margin: 0;
    text-align: left;
  }

  .team-heading .section-kicker {
    justify-content: flex-start;
  }

  .team-heading p:not(.section-kicker) {
    max-width: 34ch;
    margin: 0 0 12px;
  }

  .value-row {
    display: none;
    grid-template-columns: 1fr;
  }

  .how {
    padding: 88px 0 96px;
  }

  .how-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 56px;
  }

  .how-intro h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .how-intro-line {
    display: inline;
    white-space: normal;
  }

  .how-intro>p {
    max-width: 100%;
    font-size: 17px;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps-timeline::before {
    left: 6px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 1px;
    height: auto;
    background: linear-gradient(rgba(40, 62, 91, 0.10), var(--sage), rgba(40, 62, 91, 0.10));
    transform: none;
  }

  .step-card,
  .step-card:nth-child(odd),
  .step-card:nth-child(even) {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 22px 0 48px 32px;
    border-top: 1px solid var(--line);
    text-align: left;
    justify-self: stretch;
  }

  .step-card:nth-child(odd)::before,
  .step-card:nth-child(even)::before,
  .step-card::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 30px;
    right: auto;
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: var(--heritage);
    box-shadow: 0 0 0 8px var(--mint);
  }

  .step-badge {
    margin-bottom: 18px;
    padding-left: 0;
    font-size: 38px;
    line-height: 0.9;
  }

  .step-card h3 {
    font-size: 21px;
  }

  .step-card p {
    font-size: 15px;
  }

  .feature-list article {
    min-height: 0;
    padding: 20px;
  }

  .provider-standards article {
    padding: 18px 0;
  }

  .team-profile {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .team-list {
    grid-template-columns: 1fr;
  }

  .team-avatar {
    min-height: 300px;
    border-bottom: 1px solid var(--line);
  }

  .team-profile-body {
    min-height: 0;
    padding: 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .reveal.from-left,
  .reveal.from-right {
    transform: translateY(40px);
  }

  .approach-card,
  .form-card {
    padding: 28px;
    border-radius: var(--radius);
  }

  .faq-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .faq-tabs::-webkit-scrollbar {
    display: none;
  }

  .faq-tab {
    flex: 0 0 auto;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-answer p {
    padding: 0 20px 22px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-card {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .site-footer a {
    width: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 420px) {

  .container,
  .hero-inner,
  .trust-strip {
    width: calc(100% - 32px);
  }

  .brand-logo {
    width: 148px;
    height: 34px;
  }

  .hero {
    padding-bottom: 86px;
  }

  .btn {
    padding-inline: 22px;
  }

  .trust-item {
    padding-inline: 10px;
    font-size: 13px;
  }

  .services-image {
    max-width: 100%;
  }

  .services-image img,
  .provider-panel img {
    max-height: 190px;
  }

  .form-card,
  .approach-card {
    padding: 24px;
  }

  .team-profile-body {
    padding: 22px;
  }

  .feature-list article,
  .provider-standards article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .provider-standards p {
    grid-column: 1;
  }

  .contact-row a {
    font-size: 13px;
    word-break: break-word;
  }
}

@media (max-width: 768px) and (max-height: 560px) and (orientation: landscape) {
  .mobile-menu {
    overflow-y: auto;
  }

  .mobile-menu-inner {
    min-height: auto;
    padding: 88px 24px 24px;
  }

  .mobile-menu-links {
    align-content: start;
  }

  .mobile-menu-item {
    padding: 12px 0;
  }

  .mobile-menu-label {
    font-size: clamp(24px, 4.4vw, 34px);
  }

  .mobile-menu-footer {
    gap: 14px;
    padding-top: 18px;
  }

  .mobile-menu-footer p {
    font-size: 14px;
  }

  .mobile-menu .mobile-phone,
  .mobile-menu .mobile-email {
    min-height: 42px;
    font-size: 13px;
  }
}
