/* ==========================================================================
   Denali CRT, LLC
   Design system and site styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Typeface, served from this site so nothing depends on an outside host
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/figtree-latin.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: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.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;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand palette, sampled from the Denali logo */
  --lime: #bed62f;
  --lime-bright: #d2e857;
  --lime-wash: #f0f7d2;
  --brand: #5f7d2c;
  --brand-dark: #435a1c;
  --brand-deep: #2c3d15;

  /* Neutrals */
  --ink: #15211a;
  --ink-2: #33443a;
  --ink-3: #5d6d62;
  --forest: #1b2a1e;
  --forest-2: #22331f;
  --cream: #f7faef;
  --cream-2: #eef3e2;
  --paper: #ffffff;
  --line: #e0e7d6;
  --line-strong: #cad4bb;

  /* Support */
  --sky: #2f6f8f;
  --amber: #b8791a;

  /* Type */
  --font: "Figtree", "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(21, 33, 26, 0.05), 0 2px 8px rgba(21, 33, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(21, 33, 26, 0.06), 0 12px 32px rgba(21, 33, 26, 0.07);
  --shadow-lg: 0 8px 24px rgba(21, 33, 26, 0.08), 0 24px 60px rgba(21, 33, 26, 0.1);

  /* Layout */
  --container: 1180px;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--s4);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem);
}

h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  margin: 0 0 var(--s4);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--brand);
}

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

ul,
ol {
  margin: 0 0 var(--s4);
  padding-left: 1.15rem;
}

li {
  margin-bottom: var(--s2);
}

li:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s6) 0;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s5);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

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

.section--forest {
  background: var(--forest);
  color: #d5e0d3;
}

.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: #fff;
}

.section--forest a {
  color: var(--lime-bright);
}

.section-head {
  max-width: 660px;
  margin-bottom: var(--s7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.125rem;
  color: var(--ink-3);
}

.section--forest .section-head p {
  color: #b9c8b7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--brand));
}

.section--forest .eyebrow {
  color: var(--lime);
}

/* Same look without the leading rule, for centered badges */
.eyebrow--plain::before {
  content: none;
}

.grid {
  display: grid;
  gap: var(--s5);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-3);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s4);
  z-index: 200;
  padding: var(--s3) var(--s5);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--s4);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 8px 22px rgba(67, 90, 28, 0.28);
}

.btn--lime {
  background: var(--lime);
  color: var(--brand-deep);
}

.btn--lime:hover {
  background: var(--lime-bright);
  color: var(--brand-deep);
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--brand);
  background: var(--cream);
}

.btn--onforest {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--onforest:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 1rem 1.85rem;
  font-size: 1.075rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-dark);
}

.link-arrow::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(21, 33, 26, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin-left: auto;
}

.nav__link {
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav__link:hover {
  background: var(--cream-2);
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--lime-wash);
}

/* The in nav booking button belongs to the mobile drawer only */
.nav__cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex: none;
}

/* Language switch */
.langswitch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--paper);
}

.langswitch button {
  padding: 0.3rem 0.65rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.langswitch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

@media (max-width: 1040px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s4) var(--s5) var(--s6);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 0.85rem 0.75rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav__cta {
    display: inline-flex;
    margin-top: var(--s4);
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header__actions .btn--header {
    display: none;
  }
}

@media (max-width: 460px) {
  .brand img {
    height: 34px;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--cream) 0%, #fff 60%);
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3rem, 1rem + 6vw, 5rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(190, 214, 47, 0.4), transparent 70%);
}

.hero::after {
  width: 420px;
  height: 420px;
  bottom: -260px;
  left: -180px;
  background: radial-gradient(circle, rgba(95, 125, 44, 0.18), transparent 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero__copy h1 {
  margin-bottom: var(--s5);
}

.hero__copy .lede {
  max-width: 30em;
  margin-bottom: var(--s6);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-3);
}

.hero__badges svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.hero__accredit {
  position: absolute;
  right: -14px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: var(--s3);
  max-width: 260px;
  padding: var(--s3) var(--s4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.hero__accredit img {
  width: 46px;
  height: 46px;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}

.hero__accredit p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-3);
}

.hero__accredit strong {
  display: block;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    max-width: 520px;
  }

  .hero__accredit {
    right: auto;
    left: var(--s4);
    bottom: -18px;
  }
}

/* Compact page hero for inner pages */
.pagehero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1rem + 3vw, 3.5rem);
  background: linear-gradient(160deg, var(--cream) 0%, #fff 70%);
  border-bottom: 1px solid var(--line);
}

.pagehero__inner {
  max-width: 780px;
}

.pagehero .lede {
  margin-bottom: 0;
}

.pagehero .btn-row {
  margin-top: var(--s6);
}

.breadcrumb {
  display: flex;
  gap: var(--s2);
  margin-bottom: var(--s4);
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--s2);
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card > :last-child {
  margin-bottom: 0;
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s5);
  border-radius: var(--r-md);
  background: var(--lime-wash);
  color: var(--brand-dark);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card p {
  color: var(--ink-3);
}

.card .link-arrow {
  margin-top: var(--s5);
}

/* Action cards, the three primary tasks */
.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s5);
}

.action {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s6);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.action::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.action:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  color: inherit;
}

.action:hover::after {
  transform: scaleX(1);
}

.action__step {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s3);
}

.action h3 {
  margin-bottom: var(--s3);
}

.action p {
  color: var(--ink-3);
  font-size: 0.98rem;
  margin-bottom: var(--s5);
}

.action__go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
  color: var(--brand-dark);
}

.action__go::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.action:hover .action__go::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Insurance chips
   -------------------------------------------------------------------------- */

.plans {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  padding: 0;
  margin: 0 0 var(--s5);
  list-style: none;
}

.plans li {
  margin: 0;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.7rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.plan-chip svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
}

.section--cream .plan-chip {
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   9. Steps / process
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--s5);
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  position: relative;
  margin: 0;
  padding-top: var(--s6);
  border-top: 3px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -1.05rem;
  left: 0;
  padding-right: var(--s3);
  background: var(--cream);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.section--forest .steps li {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.section--forest .steps li::before {
  background: var(--forest);
  color: var(--lime);
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s2);
}

.steps p {
  font-size: 0.98rem;
  color: var(--ink-3);
  margin: 0;
}

.section--forest .steps p {
  color: #b9c8b7;
}

/* --------------------------------------------------------------------------
   10. Split feature blocks
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.split--media-right .split__media {
  order: 2;
}

.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--media-right .split__media {
    order: 0;
  }
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s5);
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--s3);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23435a1c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

.section--forest .checklist li::before {
  background-color: rgba(190, 214, 47, 0.2);
}

/* --------------------------------------------------------------------------
   11. Team
   -------------------------------------------------------------------------- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s5);
}

.member {
  text-align: center;
}

.member__photo {
  position: relative;
  margin-bottom: var(--s4);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  aspect-ratio: 4 / 5;
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.member h3 {
  margin-bottom: var(--s1);
  font-size: 1.08rem;
}

.member p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   12. Locations and contact
   -------------------------------------------------------------------------- */

.location {
  padding: var(--s6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.location h3 {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.location h3 svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: none;
}

.location address {
  font-style: normal;
  color: var(--ink-3);
  margin-bottom: var(--s4);
}

.datalist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.datalist li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.datalist li:first-child {
  border-top: 0;
  padding-top: 0;
}

.datalist svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 0.2rem;
  color: var(--brand);
}

.datalist .label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.datalist a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.datalist a:hover {
  color: var(--brand);
}

.counties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.counties li {
  margin: 0;
  padding: 0.35rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
}

.section--cream .counties li {
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   13. Callout / CTA band
   -------------------------------------------------------------------------- */

.callout {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--forest) 0%, var(--brand-deep) 100%);
  color: #d5e0d3;
}

.callout::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -110px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 214, 47, 0.28), transparent 70%);
  pointer-events: none;
}

.callout__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.callout h2 {
  color: #fff;
  margin-bottom: var(--s3);
}

.callout p {
  color: #c3d1c1;
  margin-bottom: 0;
}

.callout .btn-row {
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .callout__inner {
    grid-template-columns: 1fr;
  }

  .callout .btn-row {
    justify-content: flex-start;
  }
}

/* Notice panel */
.notice {
  display: flex;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--lime-wash);
  border: 1px solid #dbe8ad;
  border-radius: var(--r-md);
  color: var(--ink-2);
}

.notice svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brand-dark);
  margin-top: 2px;
}

.notice p {
  margin: 0;
  font-size: 0.97rem;
}

.notice p + p {
  margin-top: var(--s2);
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */

.formcard {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.field .req {
  color: #b3261e;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(95, 125, 44, 0.16);
}

.field .hint {
  font-size: 0.82rem;
  color: var(--ink-3);
}

.form-embed {
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   15. Roles / careers
   -------------------------------------------------------------------------- */

.role {
  display: flex;
  flex-direction: column;
  padding: var(--s6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.role > .btn {
  align-self: flex-start;
  margin-top: auto;
}

.role__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--lime-wash);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s3);
  padding: 0;
  margin: var(--s5) 0;
  list-style: none;
}

.rates li {
  margin: 0;
  padding: var(--s4);
  background: var(--cream);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.rates .rate {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.rates .rate-note {
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   16. Accordion
   -------------------------------------------------------------------------- */

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
}

.accordion + .accordion {
  margin-top: var(--s3);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  flex: none;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.accordion[open] summary::after {
  transform: rotate(45deg);
}

.accordion__body {
  padding: 0 var(--s5) var(--s5);
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   17. Coming soon
   -------------------------------------------------------------------------- */

.comingsoon {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background: linear-gradient(160deg, var(--cream) 0%, #fff 70%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}

.comingsoon__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: var(--s5);
  border-radius: 50%;
  background: var(--lime-wash);
  color: var(--brand-dark);
}

.comingsoon__mark svg {
  width: 36px;
  height: 36px;
}

.comingsoon .lede {
  max-width: 44ch;
  margin-inline: auto;
}

.comingsoon .btn-row {
  justify-content: center;
  margin-top: var(--s6);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(95, 125, 44, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(95, 125, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 125, 44, 0);
  }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--forest);
  color: #a9baa7;
  padding-block: var(--s8) var(--s5);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--s6);
  padding-bottom: var(--s7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: var(--s3);
}

.footer a {
  color: #cddccb;
  text-decoration: none;
}

.footer a:hover {
  color: var(--lime-bright);
  text-decoration: underline;
}

.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: var(--s4);
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__brand p {
  max-width: 34ch;
  font-size: 0.92rem;
}

.socials {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s5);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cddccb;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--brand-deep);
  transform: translateY(-2px);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s5);
  font-size: 0.85rem;
  color: #8ba189;
}

.footer__legal nav {
  display: flex;
  gap: var(--s5);
}

.footer__note {
  margin-top: var(--s4);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #7e947c;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* --------------------------------------------------------------------------
   19. Floating WhatsApp
   -------------------------------------------------------------------------- */

.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 0.8rem 1.2rem 0.8rem 0.9rem;
  border-radius: var(--r-pill);
  background: #1fa855;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 168, 85, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(31, 168, 85, 0.42);
}

.fab svg {
  width: 24px;
  height: 24px;
  flex: none;
}

@media (max-width: 560px) {
  .fab {
    right: 14px;
    bottom: 14px;
    padding: 0.85rem;
  }

  .fab span {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   20. Motion
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. Navigation dropdown
   -------------------------------------------------------------------------- */

.nav__group {
  position: relative;
}

.nav__group > .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav__group > .nav__link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav__group.is-open > .nav__link::after {
  transform: rotate(225deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 300px;
  padding: var(--s3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}

.nav__group.is-open .dropdown,
.nav__group:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) and (min-width: 1041px) {
  .nav__group:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}

.dropdown a:hover {
  background: var(--lime-wash);
}

.dropdown .dd-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--brand-dark);
}

.dropdown .dd-icon svg {
  width: 22px;
  height: 22px;
}

.dropdown strong {
  display: block;
  font-size: 0.95rem;
}

.dropdown small {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-3);
}

@media (max-width: 1040px) {
  .nav__group {
    border-bottom: 1px solid var(--line);
  }

  .nav__group > .nav__link {
    width: 100%;
    justify-content: space-between;
    border-bottom: 0;
  }

  .dropdown {
    position: static;
    translate: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 var(--s3);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__group.is-open .dropdown {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   23. Language flags
   -------------------------------------------------------------------------- */

.langswitch button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.langswitch .flag {
  display: inline-block;
  width: 18px;
  height: 13px;
  border-radius: 2.5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.langswitch .flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   24. Journey timeline, the ABA path
   -------------------------------------------------------------------------- */

.journey {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: leg;
}

.journey::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lime) 0%, var(--brand) 100%);
  opacity: 0.35;
}

.journey li {
  position: relative;
  display: flex;
  gap: var(--s5);
  padding: var(--s4) 0 var(--s5) 0;
  margin: 0;
}

.journey__icon {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--lime);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.journey li:hover .journey__icon {
  transform: scale(1.08) rotate(-4deg);
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(95, 125, 44, 0.22);
}

.journey__icon svg {
  width: 30px;
  height: 30px;
}

.journey__body {
  padding-top: 0.35rem;
}

.journey__body::before {
  counter-increment: leg;
  content: "Step " counter(leg);
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

html[lang="es"] .journey__body::before {
  content: "Paso " counter(leg);
}

.journey h3 {
  margin-bottom: var(--s2);
  font-size: 1.2rem;
}

.journey p {
  margin: 0;
  color: var(--ink-3);
  max-width: 52ch;
}

.journey__places {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}

.journey__places span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--lime-wash);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.journey__places svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   25. Service chooser, eligibility step one
   -------------------------------------------------------------------------- */

.chooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s5);
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s6);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.choice[aria-pressed="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(95, 125, 44, 0.14), var(--shadow-md);
}

.choice[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px 14px no-repeat;
}

.choice__art {
  width: 76px;
  height: 76px;
  color: var(--brand-dark);
}

.choice__art svg {
  width: 100%;
  height: 100%;
}

.choice h3 {
  margin: 0;
}

.choice p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.96rem;
}

.elig-panel[hidden] {
  display: none;
}

.elig-panel {
  animation: panelIn 0.35s ease;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   26. Booking calendar
   -------------------------------------------------------------------------- */

.cal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s5);
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s4);
}

.cal__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  text-transform: capitalize;
}

.cal__nav {
  display: flex;
  gap: var(--s2);
}

.cal__nav button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cal__nav button:hover:not(:disabled) {
  background: var(--cream);
  border-color: var(--brand);
}

.cal__nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal__dow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 4px;
}

.cal__day {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cal__day:hover:not(:disabled) {
  background: var(--lime-wash);
  border-color: var(--line-strong);
  transform: scale(1.06);
}

.cal__day:disabled {
  color: var(--line-strong);
  cursor: not-allowed;
}

.cal__day.is-selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-dark);
}

.cal__day.is-today:not(.is-selected) {
  border-color: var(--brand);
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: var(--s2);
  margin-top: var(--s4);
}

.slot {
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.slot:hover {
  border-color: var(--brand);
  background: var(--lime-wash);
  transform: translateY(-2px);
}

.slot.is-selected {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: #fff;
}

.booking-summary {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-md);
  background: var(--lime-wash);
  border: 1px solid #dbe8ad;
  font-weight: 700;
  color: var(--brand-deep);
}

.booking-summary svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.form-status {
  margin-top: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-md);
  font-weight: 600;
}

.form-status--ok {
  background: var(--lime-wash);
  border: 1px solid #dbe8ad;
  color: var(--brand-deep);
}

.form-status--err {
  background: #fdeeee;
  border: 1px solid #f3c8c8;
  color: #8f2a24;
}

/* --------------------------------------------------------------------------
   27. Construction scene, for pages under construction
   -------------------------------------------------------------------------- */

.construction {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}

.construction svg {
  width: 100%;
  height: auto;
}

.construction .crane-arm {
  transform-origin: 84px 68px;
  animation: crane 6s ease-in-out infinite;
}

@keyframes crane {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-7deg);
  }
}

.construction .crane-hook {
  animation: hook 6s ease-in-out infinite;
}

@keyframes hook {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.construction .gear {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 10s linear infinite;
}

.construction .gear--rev {
  animation-direction: reverse;
  animation-duration: 7s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   28. Portal, login shell
   -------------------------------------------------------------------------- */

.portal-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--forest) 0%, var(--brand-deep) 100%);
  color: #d5e0d3;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}

.portal-hero h1,
.portal-hero h2 {
  color: #fff;
}

.portal-hero .lede {
  color: #b9c8b7;
}

.portal-hero .eyebrow {
  color: var(--lime);
}

.login-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-lg);
  color: var(--ink-2);
}

.login-card h2,
.login-card h3 {
  color: var(--ink);
}

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mod;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  margin: 0 0 var(--s2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.module-list li:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}

.module-list li::before {
  counter-increment: mod;
  content: counter(mod, decimal-leading-zero);
  flex: none;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand);
}

.module-list .mod-name {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.97rem;
}

.module-list .mod-hours {
  flex: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--cream);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.7rem;
}

.progressbar {
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  overflow: hidden;
}

.progressbar span {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--lime), var(--brand));
  transition: width 0.6s ease;
}

/* --------------------------------------------------------------------------
   29. Decorative floaters and texture
   -------------------------------------------------------------------------- */

.floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floaters svg {
  position: absolute;
  opacity: 0.14;
  color: var(--brand);
  animation: floaty 9s ease-in-out infinite;
}

.floaters svg:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 11s;
}

.floaters svg:nth-child(3) {
  animation-delay: -6s;
  animation-duration: 13s;
}

.floaters svg:nth-child(4) {
  animation-delay: -1.5s;
  animation-duration: 8s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(6deg);
  }
}

/* Gradient accent for a highlighted word */
.accent-grad {
  background: linear-gradient(100deg, var(--brand) 20%, #93b021 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Button shine sweep */
.btn--primary,
.btn--lime {
  position: relative;
  overflow: hidden;
}

.btn--primary::after,
.btn--lime::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn--primary:hover::after,
.btn--lime:hover::after {
  left: 130%;
}

/* Tick marquee for insurance names */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--s3);
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Under construction ribbon */
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-pill);
  background: repeating-linear-gradient(
    -45deg,
    #f5d442 0 10px,
    #2b2b2b 10px 20px
  );
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   30. Compact phone layout
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  body {
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(1.7rem, 1.3rem + 3.4vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.4rem, 1.15rem + 2vw, 1.8rem);
  }

  h3 {
    font-size: 1.1rem;
  }

  .lede {
    font-size: 1.04rem;
  }

  .section {
    padding-block: 2.75rem;
  }

  .section--tight {
    padding-block: 2rem;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .card,
  .role,
  .location,
  .action,
  .choice {
    padding: 1.25rem;
  }

  .btn--lg {
    padding: 0.85rem 1.4rem;
    font-size: 1rem;
  }

  .hero__badges {
    gap: 0.5rem 1rem;
  }

  .hero__badges li {
    font-size: 0.85rem;
  }

  .journey::before {
    left: 25px;
  }

  .journey__icon {
    width: 52px;
    height: 52px;
  }

  .journey__icon svg {
    width: 24px;
    height: 24px;
  }

  .rates .rate {
    font-size: 1.25rem;
  }

  .callout {
    padding: 1.5rem;
  }

  .footer {
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */

@media print {
  .header,
  .fab,
  .footer,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
  }
}

/* Items that belong to the mobile drawer only */
.nav__link--mobile-only {
  display: none;
}

@media (max-width: 1040px) {
  .nav__link--mobile-only {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   31. Insurance picker on the eligibility page
   -------------------------------------------------------------------------- */

.plan-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: var(--s4);
  margin-bottom: var(--s6);
}

.plan-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, background 0.18s ease;
}

/* Brand bar that sweeps in on hover */
.plan-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--lime), var(--brand));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.22s ease;
}

.plan-option:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.plan-option:hover::before {
  transform: scaleY(1);
}

/* The tick badge, the visual promise that this plan is covered */
.plan-option__tick {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime-wash);
  color: var(--brand-dark);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.plan-option__tick svg {
  width: 17px;
  height: 17px;
}

.plan-option:hover .plan-option__tick {
  background: var(--brand);
  color: #fff;
  transform: scale(1.08);
}

.plan-option__name {
  flex: 1;
  text-wrap: balance;
}

/* Small arrow that hints the form opens in a new tab */
.plan-option__go {
  flex: none;
  width: 15px;
  height: 15px;
  opacity: 0;
  color: var(--brand);
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.plan-option:hover .plan-option__go {
  opacity: 1;
  transform: translateX(0);
}

/* "My plan is not on this list", deliberately quieter */
.plan-option--other {
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
  box-shadow: none;
  font-weight: 600;
  color: var(--ink-3);
}

.plan-option--other::before {
  background: var(--ink-3);
}

.plan-option--other .plan-option__tick {
  background: var(--cream-2);
  color: var(--ink-3);
}

.plan-option--other:hover {
  border-color: var(--ink-3);
  background: var(--cream);
  color: var(--ink-2);
}

.plan-option--other:hover .plan-option__tick {
  background: var(--ink-3);
  color: #fff;
}

.plan-option--other[aria-pressed="true"] {
  border-style: solid;
  border-color: var(--ink-2);
  background: var(--ink-2);
  color: #fff;
}

.plan-option--other[aria-pressed="true"] .plan-option__tick {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.plan-option--other[aria-pressed="true"]::before {
  transform: scaleY(1);
  background: var(--lime);
}

@media (max-width: 520px) {
  .plan-picker {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }

  .plan-option {
    padding: var(--s3) var(--s4);
    font-size: 0.98rem;
  }
}

/* Panel shown when we do not take the plan */
.plan-decline {
  display: flex;
  gap: var(--s5);
  padding: var(--s6);
  border-radius: var(--r-lg);
  background: #fff8ee;
  border: 1px solid #f0dcbe;
  animation: panelIn 0.35s ease;
}

.plan-decline__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fceedb;
  color: #9a6516;
}

.plan-decline__mark svg {
  width: 28px;
  height: 28px;
}

.plan-decline h3 {
  margin-bottom: var(--s3);
}

.plan-decline p {
  color: var(--ink-2);
}

.plan-decline .btn-row {
  margin-top: var(--s5);
}

@media (max-width: 560px) {
  .plan-decline {
    flex-direction: column;
    gap: var(--s4);
    padding: var(--s5);
  }
}

/* --------------------------------------------------------------------------
   32. Hero caption, says what we do straight on the photo
   -------------------------------------------------------------------------- */

.hero__caption {
  position: absolute;
  top: clamp(1rem, 3.5%, 2.25rem);
  right: clamp(1rem, 5%, 2.5rem);
  left: 42%;
  margin: 0;
  text-align: right;
  text-wrap: balance;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.hero__caption span {
  display: block;
}

.hero__caption-a {
  font-size: clamp(1rem, 0.55rem + 1.5vw, 1.6rem);
  font-weight: 800;
}

.hero__caption-b {
  margin-top: 0.15em;
  font-size: clamp(0.85rem, 0.5rem + 1.15vw, 1.28rem);
  font-weight: 700;
  color: var(--ink-2);
}

.hero__caption-b span {
  display: inline;
}

.hero__amp {
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero__caption {
    left: 38%;
  }
}

/* --------------------------------------------------------------------------
   33. Coverage span, how far north and south we travel
   -------------------------------------------------------------------------- */

.span {
  position: relative;
  padding: 0;
  margin: var(--s5) 0 0;
  list-style: none;
}

/* The line that ties the three stops together. It starts and ends at the
   centre of the first and last marker, never past them. */
.span::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  bottom: 1.35rem;
  left: 0.95rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--line-strong),
    var(--lime),
    var(--line-strong)
  );
  border-radius: 2px;
}

.span__stop {
  position: relative;
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  margin: 0;
  padding: 0.45rem 0;
}

.span__stop + .span__stop {
  margin-top: var(--s4);
}

.span__marker {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-3);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.span__marker svg {
  width: 1rem;
  height: 1rem;
}

.section--cream .span__marker {
  background: var(--cream);
}

.span__stop--home .span__marker {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
  box-shadow: 0 0 0 5px rgba(190, 214, 47, 0.28);
}

.span:hover .span__stop--home .span__marker,
.span__stop:hover .span__marker {
  transform: scale(1.08);
}

.span__stop:hover .span__marker {
  border-color: var(--brand);
  color: var(--brand);
}

.span__stop--home:hover .span__marker {
  color: var(--paper);
}

.span__body {
  display: block;
  padding-top: 0.1rem;
}

.span__body strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.span__body small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  color: var(--ink-3);
}

@media (prefers-reduced-motion: reduce) {
  .span__marker {
    transition: none;
  }

  .span:hover .span__stop--home .span__marker,
  .span__stop:hover .span__marker {
    transform: none;
  }
}
