:root {
  --ink: #171916;
  --muted: #73776f;
  --sage: #dfeccc;
  --sage-soft: #f0f6e8;
  --sage-deep: #839669;
  --blue-soft: #e8eff8;
  --paper: #ffffff;
  --canvas: #edf5df;
  --line: #e7e9e3;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 20px 60px rgba(50, 66, 30, .11);
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(255,255,255,.78), transparent 23rem),
    var(--canvas);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-shell {
  width: min(1420px, calc(100% - 64px));
  margin: 50px auto;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: clip;
}

.site-header {
  --scroll-progress: 0;
  position: sticky;
  z-index: 50;
  top: 12px;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 0 36px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  transition: margin .45s cubic-bezier(.22, 1, .36, 1),
              padding .45s cubic-bezier(.22, 1, .36, 1),
              background-color .35s ease,
              border-color .35s ease,
              box-shadow .45s cubic-bezier(.22, 1, .36, 1),
              backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  margin: 0 14px;
  padding-inline: 24px;
  border-color: rgba(221, 226, 215, .8);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 35px rgba(43, 57, 30, .11);
  backdrop-filter: blur(18px) saturate(1.25);
}

.scroll-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  opacity: 0;
  transition: opacity .3s ease;
}

.scroll-progress::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sage-deep);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
}

.site-header.is-scrolled .scroll-progress { opacity: .42; }
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.5px;
}

.brand > span:last-child > span { color: var(--sage-deep); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--ink);
  background: var(--sage);
  border-radius: 50%;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), background-color .25s ease;
}

.brand-mark svg { width: 17px; height: 17px; }
.brand:hover .brand-mark { transform: rotate(12deg) scale(1.06); background: #d4e7b8; }

.main-nav { display: flex; gap: 38px; align-items: center; }
.main-nav a { position: relative; color: #7f827b; font-size: 13px; transition: color .25s ease, transform .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover { transform: translateY(-1px); }
.main-nav a.active::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--sage);
  border-radius: 50%;
  transform: translateY(-50%) scale(1);
  animation: nav-dot-in .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes nav-dot-in {
  from { opacity: 0; transform: translateY(-50%) scale(0); }
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  background: var(--sage-soft);
  border-radius: 999px;
  font-size: 13px;
  transition: transform .2s, background .2s;
}
.header-action:hover { transform: translateY(-2px); background: var(--sage); }
.header-action svg, .button svg { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.header-action:hover svg, .button:hover svg { transform: translateX(3px); }
.header-action:active, .button:active { transform: translateY(0) scale(.97); }
.header-action svg { width: 15px; height: 15px; }
.nav-toggle, .nav-toggle-label { display: none; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 0 18px 0 60px;
}

.hero-copy {
  align-self: center;
  max-width: 590px;
  padding: 58px 30px 54px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: #757a71;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow > span { width: 23px; height: 1px; background: var(--sage-deep); }

h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; font-weight: 500; letter-spacing: -.05em; }

h1 { max-width: 570px; font-size: clamp(54px, 5.15vw, 78px); line-height: .98; }

.highlight {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -7px;
  right: -9px;
  bottom: 7px;
  height: 35%;
  background: var(--sage);
  border-radius: 4px;
  transform: rotate(-1.4deg);
}

.hero-intro {
  max-width: 500px;
  margin: 26px 0 29px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions, .cta-actions { display: flex; align-items: center; gap: 10px; }
.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 16px; height: 16px; }
.button-dark { color: #fff; background: var(--ink); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.button-dark:hover { background: #343832; box-shadow: 0 11px 25px rgba(0,0,0,.16); }
.button-light { background: var(--sage-soft); border-color: #e4edd9; }
.button-light:hover { background: var(--sage); }

.hero-trust { display: flex; align-items: center; gap: 15px; margin-top: 72px; font-size: 12px; color: #96998f; }
.hero-trust strong { display: block; margin-bottom: 1px; color: var(--ink); font-size: 16px; font-weight: 500; }
.avatar-stack { display: flex; padding-left: 8px; }
.avatar-stack span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #9d715f;
  font-size: 8px;
  font-weight: 600;
}
.avatar-stack span:nth-child(2) { background: #52635d; }
.avatar-stack span:nth-child(3) { background: #bb9577; }
.avatar-stack span:nth-child(4) { background: #303e48; }

.hero-visual { position: relative; min-height: 650px; border-radius: 20px; overflow: hidden; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(20,26,19,.16));
  pointer-events: none;
}
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

.floating-card {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 12px 30px rgba(32,43,25,.12);
  backdrop-filter: blur(8px);
}
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: #7a7f75; font-size: 10px; }
.floating-card strong { margin-top: 3px; font-size: 12px; font-weight: 500; }
.card-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--sage-deep); background: var(--sage-soft); border-radius: 10px; }
.card-icon svg { width: 20px; height: 20px; }
.appointment-card { left: 20px; bottom: 22px; min-width: 230px; }
.status-dot { width: 8px; height: 8px; margin-left: auto; border: 2px solid #fff; border-radius: 50%; background: #7daa5a; box-shadow: 0 0 0 3px #e7f2df; }
.status-dot { animation: availability-pulse 2.4s ease-out infinite; }
@keyframes availability-pulse {
  0%, 45%, 100% { box-shadow: 0 0 0 3px #e7f2df; }
  20% { box-shadow: 0 0 0 7px rgba(125, 170, 90, 0); }
}
.care-card { right: 18px; bottom: 97px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, .7fr) 1.4fr;
  align-items: center;
  gap: 20px;
  margin: 42px 60px 0;
  padding: 24px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-number { font-family: "Manrope", sans-serif; font-size: 31px; letter-spacing: -.07em; }
.trust-number span { color: var(--sage-deep); }
.trust-item p { margin: 0; color: #989b93; font-size: 10px; line-height: 1.45; }
.trust-cta {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: 0 10px 0 22px;
  border-radius: 14px;
  background: var(--sage-soft);
}
.trust-cta span, .trust-cta strong { display: block; grid-column: 1; }
.trust-cta span { color: #8a8e84; font-size: 10px; }
.trust-cta strong { margin-top: 3px; font-size: 13px; font-weight: 500; }
.trust-cta i { grid-area: 1 / 2 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); transition: transform .2s; }
.trust-cta:hover i { transform: translateX(3px); }

.section { padding: 120px 60px; }
.section-heading { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
h2 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.08; }
h2 span { color: #b9bcb6; }
.section-heading > p:last-child { max-width: 550px; margin: 22px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-card {
  position: relative;
  min-height: 385px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #ebede8;
  border-radius: var(--radius-md);
  background: #f8f9f7;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(45,56,35,.08); }
.service-card .service-icon { transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }
.service-card:hover .service-icon { transform: rotate(-5deg) scale(1.08); box-shadow: 0 8px 20px rgba(45,56,35,.1); }
.service-card:nth-child(3) { background: var(--blue-soft); }
.service-card:nth-child(4) { background: #f4f1eb; }
.service-card-featured { background: var(--sage); }
.service-card-featured::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -95px;
  right: -85px;
  border: 44px solid rgba(255,255,255,.33);
  border-radius: 50%;
}
.service-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.service-icon svg { width: 22px; height: 22px; }
.service-index { position: absolute; right: 23px; top: 28px; color: #8d9288; font-size: 11px; }
.service-content { margin-top: auto; position: relative; }
.service-content h3 { font-size: 21px; letter-spacing: -.04em; }
.service-content p { min-height: 57px; margin: 12px 0 22px; color: #73776f; font-size: 12px; line-height: 1.6; }
.service-content a, .text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.service-content a svg, .text-link svg { width: 15px; transition: transform .2s; }
.service-content a:hover svg, .text-link:hover svg { transform: translateX(4px); }

.about { display: grid; grid-template-columns: .95fr 1fr; gap: 90px; align-items: center; background: #f8f9f6; }
.about-visual { position: relative; height: 570px; border-radius: var(--radius-lg); overflow: hidden; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.quote-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 400px;
  padding: 19px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
  backdrop-filter: blur(8px);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
.about-copy { max-width: 560px; }
.about-copy > p:not(.eyebrow) { margin: 24px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-copy ul { display: grid; gap: 12px; margin: 0 0 31px; padding: 0; list-style: none; }
.about-copy li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.about-copy li span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); }
.about-copy li svg { width: 17px; height: 17px; }

.cta-section {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 60px;
  margin: 18px;
  padding: 64px 44px;
  border-radius: var(--radius-lg);
  background: var(--sage);
}
.cta-section h2 { max-width: 740px; }
.cta-actions { align-items: flex-start; flex-direction: column; padding-bottom: 5px; }
.cta-actions p { max-width: 330px; margin: 10px 0 0; color: #70776a; font-size: 12px; line-height: 1.6; }

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 60px;
}
footer p { color: #9a9d96; font-size: 10px; }
.footer-links { justify-self: end; display: flex; gap: 25px; color: #777b73; font-size: 11px; }
.footer-links a:hover { color: var(--ink); }

.micro-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}
.micro-reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2), .trust-item:nth-child(2), .about-copy li:nth-child(2) { transition-delay: .07s; }
.service-card:nth-child(3), .trust-item:nth-child(3), .about-copy li:nth-child(3) { transition-delay: .14s; }
.service-card:nth-child(4) { transition-delay: .21s; }

@media (max-width: 1080px) {
  .site-shell { width: calc(100% - 36px); margin: 18px auto; }
  .site-header { padding: 0 24px; }
  .hero { padding-left: 36px; }
  .hero-copy { padding-right: 0; }
  .care-card { display: none; }
  .trust-strip { margin-left: 36px; margin-right: 36px; }
  .section { padding-left: 36px; padding-right: 36px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 330px; }
  .about { gap: 48px; }
}

@media (max-width: 820px) {
  body { background: var(--canvas); }
  .site-shell { width: calc(100% - 24px); margin: 12px auto; border-radius: 16px; }
  .site-header { top: 8px; height: 72px; grid-template-columns: 1fr auto; }
  .site-header.is-scrolled { margin-inline: 8px; padding-inline: 18px; }
  .main-nav {
    position: absolute;
    z-index: 10;
    top: 70px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0,0,0,.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top;
    pointer-events: none;
    transition: opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility .25s;
  }
  .main-nav a { padding: 11px 12px; }
  .main-nav a.active::before { display: none; }
  .header-action { display: none; }
  .nav-toggle-label { display: grid; gap: 5px; width: 37px; height: 37px; place-content: center; border-radius: 50%; background: #f5f6f3; cursor: pointer; }
  .nav-toggle-label span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .nav-toggle:checked ~ .main-nav { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-toggle:checked + .nav-toggle-label span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span:last-child { transform: translateY(-3px) rotate(-45deg); }

  .hero { min-height: auto; grid-template-columns: 1fr; gap: 24px; padding: 45px 10px 10px; }
  .hero-copy { padding: 0 14px; }
  h1 { font-size: clamp(46px, 13vw, 67px); }
  .hero-intro { font-size: 14px; }
  .hero-trust { margin-top: 40px; }
  .hero-visual { min-height: 590px; }
  .trust-strip { grid-template-columns: repeat(3, 1fr); margin: 40px 24px 0; padding: 25px 0; }
  .trust-item { justify-content: center; }
  .trust-item p { display: none; }
  .trust-cta { grid-column: 1 / -1; margin-top: 10px; }
  .section { padding: 90px 24px; }
  .about { grid-template-columns: 1fr; }
  .about-visual { height: 500px; }
  .about-copy { max-width: none; }
  .cta-section { grid-template-columns: 1fr; align-items: start; gap: 35px; padding: 52px 28px; }
  footer { grid-template-columns: 1fr auto; padding: 22px 28px; }
  footer p { display: none; }
}

@media (max-width: 560px) {
  .site-shell { width: calc(100% - 16px); margin: 8px auto; }
  .site-header { padding: 0 18px; }
  .hero { padding-top: 34px; }
  .eyebrow { margin-bottom: 19px; font-size: 9px; }
  h1 { font-size: 45px; }
  h2 { font-size: 36px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-trust { margin: 34px 0 2px; }
  .hero-visual { min-height: 520px; border-radius: 15px; }
  .hero-visual > img { object-position: 54% 35%; }
  .appointment-card { left: 9px; right: 9px; bottom: 9px; min-width: 0; }
  .trust-strip { margin-left: 19px; margin-right: 19px; }
  .trust-number { font-size: 26px; }
  .section { padding: 75px 19px; }
  .section-heading { margin-bottom: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .about { gap: 38px; }
  .about-visual { height: 440px; border-radius: 18px; }
  .quote-badge { font-size: 14px; }
  .cta-section { margin: 9px; padding: 44px 24px; }
  footer { min-height: 95px; grid-template-columns: 1fr; justify-items: center; }
  footer .brand { justify-self: center; }
  .footer-links { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .status-dot { animation: none; }
  .micro-reveal { opacity: 1; transform: none; }
}
