/* Local variable fonts (no Google Fonts CDN). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15201c;
  --muted: #5a6a63;
  --bg: #eef2f0;
  --surface: #f7faf8;
  --accent: #1f4a3c;
  --accent-soft: #2f6b56;
  --line: #d5ddd8;
  --hero-veil: linear-gradient(
    115deg,
    rgba(15, 28, 24, 0.78) 0%,
    rgba(15, 28, 24, 0.45) 48%,
    rgba(15, 28, 24, 0.2) 100%
  );
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", sans-serif;
  --max: 70rem;
  --space: clamp(1rem, 2.5vw, 1.5rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #dce8e2 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e4ebe7 0%, transparent 45%),
    var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.08rem);
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-soft);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.section__inner {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section.intro {
  padding-bottom: 0;
  margin-bottom: 0;
}

.section.treatments {
  padding-top: calc(1rem + 20px);
  margin-top: 0;
}

.section__head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section__head p {
  color: var(--muted);
  margin: 0;
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 250, 248, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(21, 32, 28, 0.08);
}

.site-header__inner {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-brand__logo {
  display: block;
  height: clamp(2.4rem, 5vw, 3.1rem);
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.site-brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-brand__place {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"]:not(.btn),
.site-nav a:hover:not(.btn) {
  color: var(--accent);
}

.site-nav .btn,
.site-nav .btn:hover,
.site-nav a.btn[aria-current="page"],
.site-nav__list > li.is-current > a.btn,
.site-nav__list > li.current-menu-item > a.btn,
.site-nav__list > li.current_page_item > a.btn {
  color: #fff;
}

.nav-item--has-sub {
  position: relative;
}

.nav-item__top {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-item__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-item__caret span {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.25s var(--ease);
}

.nav-item.is-open .nav-item__caret span,
.nav-item--has-sub:hover .nav-item__caret span {
  transform: rotate(45deg) translate(-1px, -1px);
}

@media (min-width: 821px) {
  .nav-item--has-sub:has([aria-current="page"]) .nav-item__caret span {
    transform: rotate(45deg) translate(-1px, -1px);
  }
}

.submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.35rem);
  min-width: 15.5rem;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  background: rgba(247, 250, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 16px 36px rgba(21, 32, 28, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  z-index: 120;
}

.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}

.nav-item--has-sub:hover .submenu,
.nav-item--has-sub:focus-within .submenu,
.nav-item.is-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.submenu a:hover {
  background: rgba(31, 74, 60, 0.08);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #f4faf7;
  font: inherit;
  font-weight: 560;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(31, 74, 60, 0.18);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:hover {
  background: var(--accent-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(31, 74, 60, 0.24);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(31, 74, 60, 0.16);
}

.btn--ghost {
  background: rgba(244, 250, 247, 0.14);
  color: #f4faf7;
  border-color: rgba(244, 250, 247, 0.4);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(244, 250, 247, 0.24);
  color: #fff;
  border-color: rgba(244, 250, 247, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn--soft {
  background: rgba(244, 250, 247, 0.88);
  color: var(--accent);
  border-color: rgba(244, 250, 247, 0.95);
  box-shadow: 0 8px 20px rgba(15, 28, 24, 0.12);
}

.btn--soft:hover {
  background: #fff;
  color: var(--ink);
}

.btn--small {
  min-height: 2.4rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  box-shadow: 0 6px 16px rgba(31, 74, 60, 0.14);
}

/* Hero */
.hero {
  --hero-height: max(28rem, calc(100svh - var(--header-h)));
  position: relative;
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-height);
  color: #f4faf7;
  overflow: hidden;
  background: #0f1c18;
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(3.5rem, 14vh, 7rem);
  padding-bottom: 4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 3.2s var(--hero-ease),
    visibility 3.2s var(--hero-ease);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  overflow: hidden;
  z-index: 0;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  transition: transform 11s var(--hero-ease);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.hero__slide.is-active .hero__media img {
  transform: scale(1);
}

.hero__veil {
  z-index: 1;
  background: var(--hero-veil);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--space), var(--max));
  max-width: min(40rem, calc(100% - 2 * var(--space)));
  margin: 0 auto 0 max(var(--space), calc((100% - var(--max)) / 2));
  padding: 0;
}

.hero__slide.is-active .hero__content {
  animation: hero-rise 3.1s var(--hero-ease) both;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__title {
  color: inherit;
  margin-bottom: 0.85rem;
  font-size: clamp(1.85rem, 6vw, 3.6rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero__lead {
  color: rgba(244, 250, 247, 0.88);
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  right: auto;
  bottom: clamp(0.85rem, 2.5vw, 1.35rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: auto;
}

.hero__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.hero__dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 250, 247, 0.35);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.hero__dot.is-active {
  width: 1.7rem;
  background: #f4faf7;
}

.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero__nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(244, 250, 247, 0.35);
  border-radius: 999px;
  background: rgba(21, 32, 28, 0.35);
  color: #f4faf7;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero__nav:hover {
  background: rgba(21, 32, 28, 0.55);
  border-color: rgba(244, 250, 247, 0.55);
  transform: translateY(-1px);
}

.hero__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero__pause {
  min-height: 2.4rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(244, 250, 247, 0.35);
  border-radius: 999px;
  background: rgba(21, 32, 28, 0.35);
  color: #f4faf7;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero__pause:hover {
  background: rgba(21, 32, 28, 0.55);
  border-color: rgba(244, 250, 247, 0.55);
}

.hero__pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero__pause[aria-pressed="true"] {
  background: rgba(244, 250, 247, 0.16);
  border-color: rgba(244, 250, 247, 0.55);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intro */
.intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
}

.intro__copy > *:last-child {
  margin-bottom: 0;
}

.intro__aside {
  padding: 0;
  margin: 0;
  border: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
}

.intro__photo {
  position: relative;
  width: 210px;
  height: 280px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: #d7e0db;
  flex-shrink: 0;
}

.intro__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.intro__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 1.5rem 0 0.25rem;
  padding-top: 0;
}

.intro__role,
.intro__note {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.intro__note {
  margin-bottom: 0;
}

.section.treatments .section__head {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.section.treatments .section__head h2 {
  margin-top: 0;
}

/* Treatments */
/* Help grid */
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3vw, 1.75rem);
  row-gap: clamp(2.75rem, 5vw, 3.75rem);
}

.help-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  height: 100%;
}

.help-item__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.help-item__link:hover,
.help-item__link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.help-item__link:focus-visible {
  outline: 2px solid var(--accent, #2f5d4a);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.help-item__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: #d7e0db;
}

.help-item__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.help-item__link:hover .help-item__media img,
.help-item__link:focus-visible .help-item__media img {
  transform: scale(1.04);
}

.help-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 550;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.help-item__text {
  color: var(--muted);
  margin: 0 0 1.1rem;
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.5;
}

.help-item .btn {
  align-self: center;
  pointer-events: none;
}

/* Team grid (Om oss) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3vw, 2rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  margin-top: 0.5rem;
}

#kurser-och-fortbildning.section {
  padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

#kurser-och-fortbildning .content-block:last-child {
  padding-bottom: 1rem;
}

#teamet.section {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

#teamet .section__head {
  margin-bottom: 1.35rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.team-card__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: #d7e0db;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 550;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.team-card__role {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.team-card__text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.team-card__text p {
  margin: 0 0 0.75rem;
}

.team-card__text p:last-child {
  margin-bottom: 0;
}

/* Quotes */
.quotes {
  background: linear-gradient(180deg, transparent, rgba(31, 74, 60, 0.05));
}

.quotes .section__head {
  margin-inline: auto;
  text-align: center;
}

/* Omdömen with optional photo background (per category) */
.quotes.quotes--has-bg {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: none;
  padding-block: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.quotes.quotes--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #1a2420;
  background-image: var(--quotes-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.quotes.quotes--has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 16, 0.72) 0%,
    rgba(12, 18, 16, 0.58) 45%,
    rgba(12, 18, 16, 0.78) 100%
  );
}

.quotes.quotes--has-bg .section__head h2,
.quotes.quotes--has-bg .quote p {
  color: #fff;
}

.quotes.quotes--has-bg .section__head p,
.quotes.quotes--has-bg .quote figcaption {
  color: rgba(255, 255, 255, 0.82);
}

.quotes.quotes--has-bg .quote-slider__nav {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.quotes.quotes--has-bg .quote-slider__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.quotes.quotes--has-bg .quote-slider__dot {
  background: rgba(255, 255, 255, 0.35);
}

.quotes.quotes--has-bg .quote-slider__dot.is-active {
  background: #fff;
}

.quote-slider {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.quote-slider__viewport {
  position: relative;
  min-height: 11rem;
}

.quote {
  margin: 0;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s var(--ease);
}

.quote.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.quote blockquote {
  margin: 0 0 0.75rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.4;
  margin: 0;
}

.quote figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quote-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quote-slider__dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 74, 60, 0.25);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.quote-slider__dot.is-active {
  width: 1.5rem;
  background: var(--accent);
}

.quote-slider__nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(21, 32, 28, 0.06);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.quote-slider__nav:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* CTA */
.cta-band {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 1.25rem;
  background:
    linear-gradient(
      135deg,
      rgba(31, 74, 60, 0.98) 0%,
      rgba(42, 95, 77, 0.82) 42%,
      rgba(90, 140, 118, 0.45) 72%,
      rgba(238, 242, 240, 0.15) 100%
    ),
    linear-gradient(135deg, #1f4a3c, #2f6b56 50%, #6f9a86);
  color: #f4faf7;
  overflow: hidden;
}

.cta-band h2 {
  margin-bottom: 0.35rem;
}

.cta-band p {
  margin: 0;
  color: rgba(244, 250, 247, 0.85);
}

.cta-band .btn {
  background: #f4faf7;
  color: var(--accent);
  border-color: #f4faf7;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(15, 28, 24, 0.18);
}

.cta-band .btn:hover {
  background: #fff;
  color: var(--ink);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2rem, 5vw, 3.25rem) 0 0.35rem;
}

.page-hero--compact {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 0.35rem;
}

/* No ingress: drop unused H1→lead gap so H1→content ≈ lead→content */
.page-hero--no-lead {
  padding-bottom: 0;
}

.page-hero--no-lead h1 {
  margin-bottom: 0;
}

.page-hero + .section,
.page-hero--compact + .section {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
}

/* Match H1→ingress gap (~0.75rem) when Ingress is empty */
.page-hero--no-lead + .section {
  padding-top: 0.75rem;
}

.page-hero--no-lead + .section .intro__name,
.page-hero--no-lead + .section .intro__copy > :first-child {
  margin-top: 0;
}

.page-hero--no-lead + .section .content-block > :first-child {
  margin-top: 0;
}

.page-hero__brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.page-hero__brand a {
  color: inherit;
  text-decoration: none;
}

.page-hero__brand a:hover {
  color: var(--accent);
}

.page-hero__lead {
  max-width: 36rem;
  color: var(--muted);
  margin: 0;
  font-size: 1.08rem;
}

.content-stack {
  display: grid;
  gap: 0;
}

.content-block {
  padding: 0 0 1.25rem;
  border-top: 0;
}

.content-block:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
}

.content-block:has(+ .page-price),
.detail-layout__main .content-block {
  border-bottom: 0;
  padding-bottom: 1.25rem;
}

.content-block p,
.content-block ul,
.content-block ol {
  max-width: 42rem;
  color: var(--muted);
}

.content-block p:last-child {
  margin-bottom: 0;
}

.site-map {
  max-width: 42rem;
}

.site-map__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-map__list .site-map__list {
  margin: 0.35rem 0 0.5rem 1.15rem;
  padding: 0;
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
}

.site-map__item {
  margin: 0;
}

.site-map__item > a {
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--ink, var(--text, #1a1a1a));
  text-decoration: underline;
  text-underline-offset: 0.15em;
  line-height: 1.35;
}

.site-map__item > a:hover {
  color: var(--accent, #2f6b4f);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  padding-top: 0.25rem;
}

.detail-layout__main {
  min-width: 0;
}

.detail-layout__media {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7e0db;
  aspect-ratio: 4 / 5;
}

.detail-layout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-price {
  margin: 0.5rem 0 0.25rem;
  max-width: 40rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border-top: 2px solid rgba(31, 74, 60, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 248, 0.55));
  box-shadow: inset 0 -1px 0 rgba(213, 221, 216, 0.85);
}

.page-price__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.page-price__head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.page-price__link {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}

.page-price__link:hover {
  color: var(--accent-soft);
}

.page-price .price-card__note {
  margin: 0 0 1rem;
}

.page-price .price-subhead {
  margin-top: 1rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: stretch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-list {
  margin: 1.25rem 0 0;
}

.contact-list > div {
  margin-bottom: 1.25rem;
}

.contact-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-list dd {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font: inherit;
}

.contact-form .btn {
  justify-self: start;
}

.contact-map-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-map-panel .contact-map,
.contact-details .contact-map {
  width: 100%;
  flex: 1 1 auto;
  min-height: 18rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7e0db;
}

.contact-map-panel .contact-map iframe,
.contact-details .contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
  display: block;
}

.contact-map__link {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.contact-map__link a {
  font-weight: 500;
}

.contact-map {
  position: relative;
}

.contact-map__consent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(238, 242, 240, 0.96) 0%, rgba(215, 224, 219, 0.98) 100%);
  color: var(--ink);
}

.contact-map__consent[hidden] {
  display: none !important;
}

.contact-map__consent p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
}

.contact-map__consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.contact-map__prefs {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.contact-map__prefs:hover {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  pointer-events: auto;
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(247, 250, 248, 0.97);
  box-shadow: 0 -12px 40px rgba(21, 32, 28, 0.12);
  backdrop-filter: blur(8px);
}

.cookie-banner__copy {
  flex: 1 1 18rem;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--accent);
  font-weight: 500;
  text-underline-offset: 0.15em;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.cookie-banner__btn {
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  box-shadow: none;
}

.cookie-banner .btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}

.cookie-banner .btn--ghost:hover {
  background: rgba(31, 74, 60, 0.06);
  border-color: var(--accent-soft);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 0.65rem;
  }

  .cookie-banner__inner {
    padding: 1rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1 1 auto;
  }
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 74, 60, 0.35);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-status {
  margin: 0;
  color: var(--accent);
  font-weight: 500;
}

/* Prices */
.prices {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.prices-pay {
  display: grid;
  gap: 0.35rem;
  max-width: 44rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(31, 74, 60, 0.08), transparent 85%);
  color: var(--muted);
}

.prices-pay__title {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prices-pay p {
  margin: 0;
}

.prices-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 2.25rem;
}

.prices-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 250, 248, 0.9);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.prices-jump a:hover {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
}

.prices-group {
  margin-bottom: clamp(2.75rem, 5vw, 3.75rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.prices-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.prices-group__head h2 {
  margin: 0;
}

.prices-group__link {
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}

.prices-group__link:hover {
  color: var(--accent-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.price-card {
  padding: 1.35rem 1.4rem 1.45rem;
  border-top: 2px solid rgba(31, 74, 60, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 248, 0.55));
  box-shadow: inset 0 -1px 0 rgba(213, 221, 216, 0.85);
}

.price-card--wide {
  grid-column: 1 / -1;
}

.price-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 550;
}

.price-card h3 a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.price-card h3 a span {
  color: var(--accent);
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}

.price-card h3 a:hover {
  color: var(--accent);
}

.price-card h3 a:hover span {
  transform: translateX(0.2rem);
}

.price-card__note {
  margin: -0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-subhead {
  margin: 1.15rem 0 0.55rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.price-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0.7rem;
  margin-inline: -0.7rem;
  border-top: 1px solid rgba(213, 221, 216, 0.85);
  border-radius: 0.45rem;
  transition: background 0.2s var(--ease);
}

.price-list > div:first-child {
  border-top: 0;
}

.price-list > div:last-child {
  padding-bottom: 0.7rem;
}

.price-list > div:hover {
  background: rgba(31, 74, 60, 0.08);
}

.price-list--packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.price-list--packages > div,
.price-list--packages > div:first-child,
.price-list--packages > div:last-child {
  padding: 0.85rem 1rem;
  margin-inline: 0;
  border: 1px solid rgba(213, 221, 216, 0.95);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.price-list--packages > div:hover {
  background: rgba(31, 74, 60, 0.1);
  border-color: rgba(31, 74, 60, 0.28);
}

.price-list dt {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.price-list dt .muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9em;
}

.price-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 1.02rem;
}

@media (max-width: 820px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card--wide {
    grid-column: auto;
  }

  .price-list--packages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .price-list > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .price-list dd {
    white-space: normal;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: rgba(247, 250, 248, 0.7);
}

.site-footer__inner {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__logo {
  display: block;
  height: 5rem;
  width: auto;
  max-width: 350px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.site-footer__nav-title {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer__list a {
  font-weight: 500;
}

.site-footer__contact p {
  margin: 0 0 0.55rem;
}

.site-footer__coords {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.site-footer__coords strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.site-footer__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}

.site-footer__brand {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__credit {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  text-align: right;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer__credit a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 1100px) {
  .help-grid,
  .help-grid--three,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem var(--space) 1.25rem;
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav .btn {
    width: 100%;
  }

  .nav-item--has-sub {
    width: 100%;
  }

  .nav-item__top {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
  }

  .nav-item__top > a {
    order: 1;
  }

  .nav-item__caret {
    order: 2;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Closed: point right; open/hover: point down */
  .nav-item__caret span {
    transform: rotate(-45deg) translate(0, 0);
  }

  .nav-item.is-open .nav-item__caret span,
  .nav-item--has-sub:hover .nav-item__caret span {
    transform: rotate(45deg) translate(-1px, -1px);
  }

  .submenu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-left: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  }

  .submenu::before {
    display: none;
  }

  .nav-item--has-sub:hover .submenu,
  .nav-item--has-sub:focus-within .submenu {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
  }

  .nav-item.is-open .submenu {
    display: block;
    max-height: 28rem;
    padding-top: 0.35rem;
    padding-bottom: 0.55rem;
    transform: none;
    pointer-events: auto;
  }

  .submenu a {
    white-space: normal;
  }

  .intro__grid,
  .contact-layout,
  .detail-layout,
  .cta-band__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-layout__media {
    width: 100%;
    max-width: 28rem;
    aspect-ratio: 16 / 10;
  }

  .intro__photo {
    width: min(100%, 210px);
    height: 280px;
  }

  .intro__aside {
    width: 100%;
  }

  .hero {
    --hero-height: max(32rem, calc(100svh - var(--header-h)));
  }

  .hero__content {
    margin-left: var(--space);
    margin-right: var(--space);
    width: calc(100% - 2 * var(--space));
    max-width: none;
  }

  .hero__controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
  }

  .cta-band__inner {
    width: min(100% - 2 * var(--space), var(--max));
  }

  .cta-band .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    --hero-height: max(30rem, calc(100svh - var(--header-h)));
  }

  .hero__actions .btn {
    width: 100%;
  }

  .help-grid,
  .help-grid--three,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@supports not (height: 100svh) {
  .hero {
    --hero-height: max(28rem, calc(100vh - var(--header-h)));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    transform: none !important;
  }
}

/* ——— WordPress integration ——— */
.site-brand .custom-logo-link {
  display: contents;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-nav__list > li.is-current > a:not(.btn),
.site-nav__list > li.is-current > .nav-item__top > a,
.site-nav__list .submenu .current-menu-item > a,
.site-nav__list .submenu .current_page_item > a {
  color: var(--accent);
}

.site-nav__list > li.nav-item--has-sub:has(.current-menu-item) > .nav-item__top > a,
.site-nav__list > li.nav-item--has-sub:has(.current_page_item) > .nav-item__top > a,
.site-nav__list > li.nav-item--has-sub.is-current > .nav-item__top > a {
  color: var(--accent);
}

.site-nav__list > li.nav-item--has-sub:has(.current-menu-item) > .nav-item__top .nav-item__caret span,
.site-nav__list > li.nav-item--has-sub:has(.current_page_item) > .nav-item__top .nav-item__caret span,
.site-nav__list > li.nav-item--has-sub.is-current > .nav-item__top .nav-item__caret span {
  transform: rotate(45deg) translate(-1px, -1px);
}

.wp-block-image img,
.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.content-stack .alignwide {
  max-width: min(100%, 70rem);
}

.screen-reader-text,
.skip-link:not(:focus) {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

