* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-heading: "Poppins", sans-serif;
  --font-body: "Nunito Sans", sans-serif;

  --primary-dark: #00394d;
  --primary-light: #0085b3;
  --green-primary: #808655;
  --green-dark: #6f7549;
  --green-light: #9ca378;
  --green-rgb: 128, 134, 85;
  --green-tint-06: rgba(var(--green-rgb), 0.06);
  --green-tint-12: rgba(var(--green-rgb), 0.12);
  --green-tint-16: rgba(var(--green-rgb), 0.16);
  --green-tint-18: rgba(var(--green-rgb), 0.18);
  --green-tint-22: rgba(var(--green-rgb), 0.22);

  --surface-page: #f7f7f4;
  --surface-muted: #f3f3f3;
  --surface-card: #ffffff;
  --surface-soft: #dfe5db;

  --text-primary: var(--primary-dark);
  --text-secondary: #1c5b74;
  --text-muted: #8083a0;

  --border-subtle: rgba(0, 57, 77, 0.06);
  --border-soft: rgba(0, 57, 77, 0.08);

  --shadow-card: 0 12px 26px rgba(8, 37, 50, 0.06);
  --shadow-card-soft: 0 16px 36px rgba(8, 37, 50, 0.08);
  --shadow-card-strong: 0 18px 42px rgba(8, 37, 50, 0.08);
  --shadow-button-blue: 0 14px 28px rgba(0, 57, 77, 0.14);
  --shadow-button-green: 0 12px 26px rgba(var(--green-rgb), 0.24);
  --shadow-button-blue-hover: 0 16px 30px rgba(0, 57, 77, 0.16);
  --shadow-button-blue-active: 0 10px 20px rgba(0, 57, 77, 0.14);
  --shadow-button-green-hover: 0 14px 30px rgba(var(--green-rgb), 0.22);
  --shadow-button-green-active: 0 10px 22px rgba(var(--green-rgb), 0.18);
  --shadow-control-soft-hover: 0 10px 18px rgba(8, 37, 50, 0.08);
  --shadow-control-soft-active: 0 6px 14px rgba(8, 37, 50, 0.06);
  --shadow-control-strong-hover: 0 14px 24px rgba(8, 37, 50, 0.12);
  --shadow-control-strong-active: 0 8px 16px rgba(8, 37, 50, 0.08);

  --radius-card-sm: 20px;
  --radius-card: 24px;
  --radius-card-lg: 28px;
  --radius-pill: 999px;

  --container-max: 1280px;
  --container-inline: 80px;
  --header-top-space: 24px;
  --header-shell-height: 76px;
  --header-total-height: calc(
    var(--header-top-space) + var(--header-shell-height)
  );

  --section-space: 104px;
  --section-space-tight: 88px;
  --section-space-mobile: 72px;
  --section-heading-gap: 16px;
  --section-content-gap: 40px;

  --section-title-size: 2.8rem;
  --section-title-line-height: 1.04;
  --section-title-spacing: -0.03em;
  --section-subtitle-size: 0.98rem;
  --section-subtitle-line-height: 1.56;
  --section-subtitle-weight: 600;

  --card-title-size: 1rem;
  --card-title-line-height: 1.14;
  --card-title-weight: 700;
  --card-copy-size: 0.88rem;
  --card-copy-line-height: 1.44;
  --card-copy-weight: 600;

  --button-height: 48px;
  --button-padding-x: 24px;
  --button-font-size: 0.92rem;
  --button-font-weight: 700;
  --interaction-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --interaction-duration-fast: 240ms;
  --interaction-duration-base: 320ms;
  --interaction-duration-slow: 400ms;
  --interaction-focus-ring-blue: rgba(0, 133, 179, 0.16);
  --interaction-focus-ring-green: rgba(var(--green-rgb), 0.18);
  --interaction-focus-ring-neutral: rgba(0, 57, 77, 0.14);
  --interaction-focus-ring-light: rgba(255, 255, 255, 0.22);
  --button-transition:
    transform var(--interaction-duration-base) var(--interaction-ease),
    box-shadow var(--interaction-duration-base) var(--interaction-ease),
    background-color var(--interaction-duration-base) var(--interaction-ease),
    border-color var(--interaction-duration-base) var(--interaction-ease),
    color var(--interaction-duration-fast) var(--interaction-ease),
    filter var(--interaction-duration-base) var(--interaction-ease),
    opacity var(--interaction-duration-fast) ease;
  --control-transition:
    transform var(--interaction-duration-base) var(--interaction-ease),
    box-shadow var(--interaction-duration-base) var(--interaction-ease),
    background-color var(--interaction-duration-base) var(--interaction-ease),
    border-color var(--interaction-duration-base) var(--interaction-ease),
    color var(--interaction-duration-fast) var(--interaction-ease),
    opacity var(--interaction-duration-fast) ease,
    width var(--interaction-duration-base) var(--interaction-ease);
  --card-hover-transition:
    transform var(--interaction-duration-slow) var(--interaction-ease),
    box-shadow var(--interaction-duration-slow) var(--interaction-ease),
    border-color var(--interaction-duration-slow) var(--interaction-ease),
    background-color var(--interaction-duration-slow) var(--interaction-ease);
  --card-icon-transition:
    transform var(--interaction-duration-slow) var(--interaction-ease),
    background var(--interaction-duration-slow) var(--interaction-ease),
    box-shadow var(--interaction-duration-slow) var(--interaction-ease),
    color var(--interaction-duration-base) var(--interaction-ease);
  --card-icon-glyph-transition:
    transform var(--interaction-duration-base) var(--interaction-ease);

  --gradient-blue: linear-gradient(
    to right,
    var(--primary-dark),
    var(--primary-light)
  );
  --gradient-green: linear-gradient(
    135deg,
    var(--green-primary) 0%,
    var(--green-light) 100%
  );
  --gradient-green-hover: linear-gradient(
    135deg,
    var(--green-dark) 0%,
    var(--green-primary) 100%
  );
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-page);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

:where(
    .hero__cta,
    .header__cta,
    .header__mobile-cta,
    .online-care__cta,
    .location__cta,
    .services__feature-cta
  ) {
  transition: var(--button-transition);
  transform: translate3d(0, 0, 0);
}

:where(
    .hero__cta,
    .header__cta,
    .header__mobile-cta,
    .location__cta,
    .services__feature-cta
  ) {
  --button-hover-shadow: var(--shadow-button-blue-hover);
  --button-active-shadow: var(--shadow-button-blue-active);
  --button-hover-filter: brightness(1.02);
  --button-focus-ring: var(--interaction-focus-ring-blue);
}

:where(.online-care__cta) {
  --button-hover-shadow: var(--shadow-button-green-hover);
  --button-active-shadow: var(--shadow-button-green-active);
  --button-hover-filter: none;
  --button-focus-ring: var(--interaction-focus-ring-green);
}

:where(
    .hero__cta,
    .header__cta,
    .header__mobile-cta,
    .online-care__cta,
    .location__cta,
    .services__feature-cta
  ):focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--button-focus-ring),
    var(--button-hover-shadow);
}

:where(
    .hero__cta,
    .header__cta,
    .header__mobile-cta,
    .online-care__cta,
    .location__cta,
    .services__feature-cta
  ):active {
  transform: translateY(0) scale(0.992);
  box-shadow: var(--button-active-shadow, var(--button-hover-shadow));
}

:where(
    .hero__cta,
    .header__cta,
    .header__mobile-cta,
    .online-care__cta,
    .location__cta,
    .services__feature-cta
  ):disabled,
:where(
    .hero__cta,
    .header__cta,
    .header__mobile-cta,
    .online-care__cta,
    .location__cta,
    .services__feature-cta
  )[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.56;
}

:where(.header__menu-button, .services__feature-arrow, .professionals__arrow) {
  transition: var(--control-transition);
  transform: translate3d(0, 0, 0);
}

:where(.header__menu-button, .services__feature-arrow, .professionals__arrow):focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--control-focus-ring, var(--interaction-focus-ring-neutral)),
    var(--control-focus-shadow, var(--control-hover-shadow, none));
}

:where(.header__menu-button, .services__feature-arrow, .professionals__arrow):active:not(:disabled) {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--control-active-shadow, var(--control-hover-shadow, none));
}

:where(.services__window-dot, .professionals__dot) {
  transition: var(--control-transition);
}

:where(.services__window-dot, .professionals__dot):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--dot-focus-ring, var(--interaction-focus-ring-neutral));
}

:where(.services__window-dot, .professionals__dot):active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  :where(
      .hero__cta,
      .header__cta,
      .header__mobile-cta,
      .online-care__cta,
      .location__cta,
      .services__feature-cta
    ):hover {
    transform: translateY(-1px);
    box-shadow: var(--button-hover-shadow);
    filter: var(--button-hover-filter);
  }

  :where(.header__menu-button, .services__feature-arrow, .professionals__arrow):hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--control-hover-shadow, none);
  }

  :where(.services__window-dot, .professionals__dot):hover {
    transform: scale(1.08);
  }

  :where(.services__window-dot.is-active, .professionals__dot--active):hover {
    transform: scale(1.12);
  }
}

@media (max-width: 1199px) {
  :root {
    --container-inline: 56px;
    --header-top-space: 20px;
    --header-shell-height: 68px;
    --section-space: 90px;
    --section-space-tight: 76px;
    --section-title-size: 2.48rem;
    --section-subtitle-size: 0.92rem;
    --card-copy-size: 0.82rem;
    --button-height: 44px;
    --button-padding-x: 22px;
    --button-font-size: 0.88rem;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  :root {
    --container-inline: 40px;
    --header-top-space: 16px;
    --header-shell-height: 70px;
    --section-space: 84px;
    --section-space-tight: 70px;
    --section-content-gap: 34px;
    --section-title-size: clamp(2.28rem, 5vw, 2.58rem);
    --section-subtitle-size: 0.94rem;
  }
}

@media (max-width: 767px) {
  :root {
    --container-inline: 32px;
    --header-top-space: 12px;
    --header-shell-height: 66px;
    --section-space: 68px;
    --section-space-tight: 56px;
    --section-heading-gap: 14px;
    --section-title-size: clamp(1.95rem, 7.8vw, 2.3rem);
    --section-subtitle-size: 0.9rem;
    --card-copy-size: 0.84rem;
    --button-height: 42px;
    --button-padding-x: 18px;
    --button-font-size: 0.86rem;
  }
}

@supports (content-visibility: auto) {
  @media (min-width: 900px) {
    .about,
    .services,
    .professionals,
    .online-care,
    .location,
    .footer {
      content-visibility: auto;
      contain-intrinsic-size: 1px 920px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
