:root {
  --green-950: #112956;
  --green-900: #112956;
  --green-800: #b72f21;
  --green-700: #cf321d;
  --green-600: #e0442b;
  --green-100: #f7d9d2;
  --green-50: #fff4f2;
  --brand-red: #cf321d;
  --brand-navy: #112956;
  --ink: #151515;
  --ink-soft: #333333;
  --muted: #64748b;
  --line: #d8e2ea;
  --line-strong: #b9cbd5;
  --surface: #ffffff;
  --surface-cool: #f4f4f4;
  --accent: #cf321d;
  --accent-dark: #9a2518;
  --yellow: #cf321d;
  --yellow-dark: #9a2518;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(9, 33, 47, 0.12);
  --shadow-soft: 0 10px 28px rgba(9, 33, 47, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

/* Client portal refinement */
.client-portal-page {
  --portal-navy: #102a56;
  --portal-red: #c9362a;
  --portal-blue: #3567a8;
  --portal-bg: #f3f6fa;
  --portal-border: #dce3ec;
  --portal-muted: #667085;
}

.portal-main {
  background:
    radial-gradient(circle at 75% 0%, rgba(53, 103, 168, 0.07), transparent 28rem),
    var(--portal-bg, #f3f6fa);
}

.portal-login {
  min-height: calc(100vh - 101px);
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.58fr);
  gap: 32px;
  align-items: center;
  padding-block: 64px;
}

.portal-login__copy,
.portal-login__card {
  border-color: rgba(16, 42, 86, 0.11);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 42, 86, 0.1);
}

.portal-login__copy {
  min-height: 540px;
  padding: clamp(34px, 5vw, 64px);
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.14), transparent 18rem),
    linear-gradient(145deg, #102a56 0%, #183e70 62%, #22558d 100%);
  color: #fff;
  overflow: hidden;
}

.portal-login__copy > span,
.portal-login__eyebrow,
.portal-hero__eyebrow,
.portal-section-heading__eyebrow,
.portal-panel__eyebrow {
  color: var(--portal-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-login__copy > span {
  color: #ffb6ae;
}

.portal-login__copy h1 {
  max-width: 700px;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.portal-login__copy p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.74);
}

.portal-login__benefits {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.portal-login__benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.portal-login__benefits span::before {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  content: "✓";
  font-size: 11px;
}

.portal-login__meta {
  width: min(100%, 460px);
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 20px;
  margin-top: 38px;
  border-color: rgba(255, 255, 255, 0.15);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
}

.portal-login__meta strong,
.portal-login__meta span {
  grid-column: 1;
}

.portal-login__meta strong {
  color: #fff;
}

.portal-login__meta span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.portal-login__meta a {
  grid-column: 2;
  grid-row: 1 / 3;
  color: #fff;
}

.portal-login__card {
  gap: 18px;
  padding: 38px;
}

.portal-login__heading {
  margin-bottom: 4px;
}

.portal-login__card h2 {
  margin-top: 8px;
  color: var(--portal-navy);
  font-size: 32px;
  letter-spacing: -0.025em;
}

.portal-login__remember {
  width: 100%;
}

.portal-login__forgot {
  margin-left: auto;
  border: 0;
  padding: 0;
  background: none;
  color: var(--portal-blue);
  font-size: 13px;
  font-weight: 800;
}

.portal-login__link {
  border: 0;
  background: #f1f4f8;
}

.portal-login__security {
  margin: -2px 0 0 !important;
  color: #98a2b3 !important;
  font-size: 11px !important;
  text-align: center;
}

.portal-topbar {
  border-bottom-color: var(--portal-border);
}

.portal-topbar__inner {
  min-height: 68px;
}

.portal-topbar strong {
  color: var(--portal-navy);
  text-transform: none;
}

.portal-profile {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--portal-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.portal-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(470px, 0.9fr);
  gap: 18px;
  padding: 32px 0 20px;
}

.portal-hero__copy {
  min-height: 220px;
  padding: 32px;
  border: 0;
  border-radius: 14px;
  background: var(--portal-navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 42, 86, 0.14);
}

.portal-hero__eyebrow {
  color: #ffaaa1;
}

.portal-hero__copy h1 {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 46px);
  letter-spacing: -0.035em;
}

.portal-hero__copy p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.7);
}

.portal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.portal-hero__actions .button--secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.portal-hero__cards {
  gap: 10px;
}

.portal-hero__cards article {
  min-height: 220px;
  padding: 22px;
  border-top: 0;
  border-radius: 14px;
  box-shadow: none;
}

.portal-hero__cards strong {
  margin-top: 20px;
  color: var(--portal-navy);
}

.status-dot::before {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #98a2b3;
  content: "";
}

.status-dot--good::before {
  background: #1f9d68;
}

.status-dot--pending::before {
  background: #e59b20;
}

.portal-workspace {
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 22px;
}

.portal-side {
  top: 118px;
  gap: 4px;
  padding: 14px 10px;
  border-radius: 12px;
  box-shadow: none;
}

.portal-side__title {
  padding: 4px 12px 8px;
  color: var(--portal-navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-nav-button {
  min-height: 42px;
  border-left: 3px solid transparent;
  border-radius: 7px;
  color: #475467;
  font-size: 13px;
}

.portal-nav-button:hover {
  background: #f5f7fa;
  color: var(--portal-navy);
}

.portal-nav-button.is-active {
  border-left-color: var(--portal-red);
  background: #fff1ef;
  color: #a52d23;
  box-shadow: none;
}

.portal-nav-button.is-active .icon {
  color: var(--portal-red);
}

.portal-section-heading {
  min-height: 70px;
}

.portal-section-heading h2 {
  margin-top: 5px;
  color: var(--portal-navy);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.portal-stat-row article,
.portal-panel {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 42, 86, 0.045);
}

.portal-stat-row article {
  position: relative;
  min-height: 128px;
  overflow: hidden;
}

.portal-stat-row article::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  border-radius: 0 0 0 54px;
  background: #f3f6fa;
  content: "";
}

.portal-panel__head {
  margin-bottom: 18px;
}

.portal-panel__eyebrow {
  display: block;
  margin-bottom: 5px;
}

.portal-panel__head h3 {
  color: var(--portal-navy);
  font-size: 20px;
}

.portal-table-wrap {
  border-radius: 9px;
}

.portal-table th {
  background: #f7f9fb;
  color: #667085;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.portal-table tbody tr:hover td {
  background: #fafcff;
}

.record-id {
  color: #667085;
  font-variant-numeric: tabular-nums;
}

.date-cell {
  white-space: nowrap;
}

.mini-button {
  min-height: 32px;
  border: 1px solid #d4dce7;
  border-radius: 6px;
  padding-inline: 12px;
  background: #fff;
  color: var(--portal-blue);
  font-size: 12px;
  font-weight: 800;
}

.mini-button:hover {
  border-color: var(--portal-blue);
  background: #f4f8fd;
}

.portal-quick-actions button {
  min-height: 96px;
  justify-content: flex-start;
  padding: 20px;
  border-radius: 12px;
  box-shadow: none;
}

.portal-quick-actions button > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.portal-quick-actions small {
  color: var(--portal-muted);
  font-weight: 500;
}

.quick-arrow {
  margin-left: auto;
  color: var(--portal-blue);
  font-size: 20px;
}

.portal-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  max-width: min(390px, calc(100vw - 40px));
  border-left: 4px solid #1f9d68;
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--portal-navy, #102a56);
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 42, 86, 0.26);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.portal-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .portal-login,
  .portal-hero,
  .portal-workspace {
    grid-template-columns: 1fr;
  }

  .portal-login {
    min-height: auto;
  }

  .portal-side__title {
    display: none;
  }
}

@media (max-width: 880px) {
  .portal-login {
    padding-block: 28px 44px;
  }

  .portal-login__copy {
    min-height: auto;
  }

  .portal-hero__cards {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .portal-hero__cards article {
    min-height: 150px;
  }

  .portal-side {
    border-radius: 10px;
  }
}

@media (max-width: 520px) {
  .portal-login__copy h1 {
    font-size: 38px;
  }

  .portal-login__meta {
    grid-template-columns: 1fr;
  }

  .portal-login__meta a {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .portal-login__card {
    padding: 24px 20px;
  }

  .portal-hero__copy {
    padding: 24px 20px;
  }

  .portal-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-hero__actions .button {
    width: 100%;
  }

  .portal-toast {
    right: 20px;
    bottom: 20px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.no-smooth-scroll {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

body:not(.is-loaded) .page {
  opacity: 0;
}

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

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

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

button {
  cursor: pointer;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 20;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-sm);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 234, 0.9);
  backdrop-filter: blur(18px);
}

.contact-strip {
  background: var(--brand-red);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1;
}

.contact-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.strip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
}

.strip-text {
  min-width: 0;
}

.strip-text--mobile {
  display: none;
}

.strip-link:hover {
  color: #fff;
}

.strip-link--urgent {
  margin-left: auto;
  font-weight: 700;
}

.main-nav {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--green-800);
}

.brand img {
  width: 235px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 0.85;
}

.brand__text strong {
  color: var(--green-800);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand__text span {
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding-block: 26px;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  content: "";
  background: var(--green-700);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-800);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 10px 22px rgba(207, 50, 29, 0.22);
}

.button--primary:hover {
  background: var(--green-800);
}

.button--secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--green-700);
  color: var(--green-800);
}

.button--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(207, 50, 29, 0.22);
}

.button--accent:hover {
  background: var(--accent-dark);
}

.button--yellow {
  background: var(--yellow);
  color: #fff;
  box-shadow: 0 12px 24px rgba(207, 50, 29, 0.26);
}

.button--yellow:hover {
  background: var(--yellow-dark);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.arrow {
  width: 17px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  background: currentColor;
}

.arrow::before {
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.arrow::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.site-main {
  min-height: 62vh;
}

.page {
  animation: fadeUp 260ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #fff 0%, #fff 37%, rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0) 70%),
    var(--surface);
  overflow: hidden;
  overflow-anchor: none;
}

.hero-slider {
  min-height: 538px;
  overflow-anchor: none;
}

.hero--slider .hero-slide {
  display: none;
}

.hero--slider .hero-slide.is-active {
  display: block;
  animation: heroSlideIn 280ms ease both;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-slider__nav {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: min(calc(100% - 40px), var(--max));
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-slider__nav > * {
  pointer-events: auto;
}

.slider-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(207, 50, 29, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-red);
  box-shadow: 0 14px 32px rgba(17, 41, 86, 0.12);
  cursor: pointer;
}

.slider-button:hover,
.slider-button:focus-visible {
  background: var(--brand-red);
  color: #fff;
  outline: 0;
}

.slider-arrow {
  position: relative;
  display: block;
  width: 19px;
  height: 14px;
}

.slider-arrow::before,
.slider-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  background: currentColor;
}

.slider-arrow::before {
  width: 19px;
  height: 2px;
  transform: translateY(-50%);
}

.slider-arrow::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.slider-arrow--prev {
  transform: rotate(180deg);
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(207, 50, 29, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(17, 41, 86, 0.1);
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(207, 50, 29, 0.6);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.hero-slider__dot.is-active,
.hero-slider__dot:hover,
.hero-slider__dot:focus-visible {
  background: var(--brand-red);
  outline: 0;
}

.hero__grid {
  min-height: 538px;
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(560px, 1.1fr);
  align-items: stretch;
}

.hero__content {
  align-self: center;
  padding: 42px 44px 36px 0;
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--ink);
}

.hero p {
  max-width: 470px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
}

.hero__content--season {
  padding-top: 34px;
  padding-bottom: 30px;
}

.hero__content--season h1 {
  color: var(--brand-red);
  font-size: clamp(38px, 3.8vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.hero__content--season > p {
  max-width: 540px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.season-rates {
  display: grid;
  gap: 12px;
  max-width: 590px;
  margin-top: 18px;
}

.season-rates__group {
  padding-left: 14px;
  border-left: 3px solid var(--brand-red);
}

.season-rates__group strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.season-rates__group span {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.season-rates__group b {
  font-weight: 700;
}

.season-rates__group em {
  color: var(--ink);
  font-style: normal;
  white-space: nowrap;
}

.season-rates__group small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.hero p.season-rates__footnote {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.hero__content--season .hero__actions {
  margin-top: 18px;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 18px;
}

.hero-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.hero__media {
  position: relative;
  min-height: 538px;
}

.hero__media img {
  width: calc(50vw + 60px);
  max-width: none;
  height: 100%;
  min-height: 538px;
  object-fit: cover;
  object-position: center right;
}

.hero__media--illustration {
  display: grid;
  align-items: center;
  justify-items: end;
  background: #fff;
}

.hero__media--illustration img {
  width: min(660px, calc(50vw - 12px));
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding: 26px 0 28px 34px;
  object-fit: contain;
  object-position: center right;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -1px;
  width: 180px;
  z-index: 1;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero__media.hero__media--illustration::before {
  width: 120px;
}

.availability-sign {
  position: absolute;
  top: 62px;
  right: min(54px, 6vw);
  z-index: 2;
  padding: 13px 18px;
  border: 1px solid rgba(151, 255, 199, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(2, 23, 23, 0.88);
  color: #d5ffe9;
  box-shadow: var(--shadow);
  text-align: right;
}

.availability-sign span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.availability-sign strong {
  display: block;
  margin-top: 2px;
  color: #66ff9d;
  font-size: 34px;
  line-height: 1;
}

.section {
  padding: 34px 0;
}

.section--tight {
  padding: 18px 0;
}

.section--cool {
  background: var(--surface-cool);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.home-services .section-heading p {
  display: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  min-height: 132px;
  padding: 18px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 50, 29, 0.3);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.22;
}

.service-card p {
  display: none;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.service-card__number {
  display: none;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid rgba(207, 50, 29, 0.14);
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--mask) center / contain no-repeat;
  -webkit-mask: var(--mask) center / contain no-repeat;
  flex: 0 0 auto;
}

.icon-phone { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.5 3 3.6 5.1 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.7 0 1.2.5 1.2 1.2v3.5c0 .7-.5 1.2-1.2 1.2C10.5 21.4 2.6 13.5 2.6 3.4c0-.7.5-1.2 1.2-1.2h3.5c.7 0 1.2.5 1.2 1.2 0 1.4.2 2.7.6 4 .1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E"); }
.icon-mail { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 8.2L4.7 7H4v.6l8 6.8 8-6.8V7h-.7L12 13.2z'/%3E%3C/svg%3E"); }
.icon-headset { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a8 8 0 0 0-8 8v4a3 3 0 0 0 3 3h2v-7H6a6 6 0 0 1 12 0h-3v7h3a4 4 0 0 1-4 4h-3v-2h3a2 2 0 0 0 2-2h1a3 3 0 0 0 3-3v-4a8 8 0 0 0-8-8z'/%3E%3C/svg%3E"); }
.icon-car { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.8 6h10.4l2 5H21a1 1 0 0 1 1 1v7h-3v-2H5v2H2v-7a1 1 0 0 1 1-1h1.8l2-5zM7 13.5A1.5 1.5 0 1 0 7 16a1.5 1.5 0 0 0 0-3zm10 0A1.5 1.5 0 1 0 17 16a1.5 1.5 0 0 0 0-3zM7.8 8l-1.2 3h10.8l-1.2-3H7.8z'/%3E%3C/svg%3E"); }
.icon-camera { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4h6l1.5 2H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h4.5L9 4zm3 14a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0-2.2a2.8 2.8 0 1 1 0-5.6 2.8 2.8 0 0 1 0 5.6z'/%3E%3C/svg%3E"); }
.icon-shield { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 20 5v6c0 5.2-3.2 9.4-8 11-4.8-1.6-8-5.8-8-11V5l8-3zm4.7 7.7-1.4-1.4-4.5 4.5-2.1-2.1-1.4 1.4 3.5 3.5 5.9-5.9z'/%3E%3C/svg%3E"); }
.icon-tool { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m21.7 18.3-6.3-6.3a6.3 6.3 0 0 0-7.3-8.7l3.8 3.8-4.8 4.8-3.8-3.8a6.3 6.3 0 0 0 8.7 7.3l6.3 6.3 3.4-3.4z'/%3E%3C/svg%3E"); }
.icon-gate { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h2v14H3V5zm16 0h2v14h-2V5zM6 8h12v3H6V8zm1 5h10v2H7v-2z'/%3E%3C/svg%3E"); }
.icon-card { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 4h16V7H4v2zm2 5h6v2H6v-2z'/%3E%3C/svg%3E"); }
.icon-paint { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h12a3 3 0 1 1 0 6H8v3H6V7h10a1 1 0 1 0 0-2H4V3zm1 10h4v8H5v-8zm9-2 5 5-5 5-5-5 5-5z'/%3E%3C/svg%3E"); }
.icon-map { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 3 6 2 6-2v16l-6 2-6-2-6 2V5l6-2zm1 3v10.8l4 1.3V7.2L10 6zm-2 0.2L5 7.2v10.6l3-1V6.2zm8 1v10.6l3-1V6.2l-3 1z'/%3E%3C/svg%3E"); }
.icon-user { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-4.4 0-8 2.2-8 5v2h16v-2c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E"); }
.icon-check { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.1 16.6-4.2-4.2-1.4 1.4 5.6 5.6L21 7.5 19.6 6 9.1 16.6z'/%3E%3C/svg%3E"); }
.icon-lock { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 10h1a1 1 0 0 1 1 1v10H4V11a1 1 0 0 1 1-1h1V8a6 6 0 0 1 12 0v2zm-2 0V8a4 4 0 1 0-8 0v2h8z'/%3E%3C/svg%3E"); }
.icon-doc { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6V2zm8 1.5V8h4.5L14 3.5zM8 12h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E"); }
.icon-clock { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 5v5.6l4 2-.9 1.8-5.1-2.6V7h2z'/%3E%3C/svg%3E"); }

.season-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 20px 28px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)),
    linear-gradient(135deg, var(--brand-navy), #19366b);
  box-shadow: var(--shadow-soft);
}

.season-band h2,
.season-band p {
  margin: 0;
}

.season-band h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.season-band p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.season-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.season-icon .icon {
  width: 38px;
  height: 38px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: 22px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(14, 23, 38, 0.03);
}

.solution-panel,
.why-panel {
  padding: 24px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.solution-card h3 {
  margin: 0;
  padding: 12px;
  min-height: 57px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.18;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--green-800);
  font-weight: 800;
  font-size: 14px;
}

.text-link::after {
  content: "";
  width: 16px;
  height: 12px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M16.5.5 24 8l-7.5 7.5-1.4-1.4L20.2 9H0V7h20.2l-5.1-5.1L16.5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M16.5.5 24 8l-7.5 7.5-1.4-1.4L20.2 9H0V7h20.2l-5.1-5.1L16.5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.why-panel {
  background: linear-gradient(135deg, var(--green-50), #fff);
}

.why-panel h2,
.solution-panel h2,
.inline-cta h2,
.testimonials h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.why-panel > p,
.solution-panel > p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof-list {
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: start;
  color: var(--ink-soft);
  line-height: 1.45;
}

.proof-list .icon-box {
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
}

.proof-list .icon {
  width: 17px;
  height: 17px;
}

.testimonial-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.client-quote {
  min-height: 156px;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.client-quote:last-child {
  border-right: 0;
}

.client-quote strong {
  display: block;
  min-height: 38px;
  color: var(--green-800);
  font-size: 14px;
}

.client-quote p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.client-quote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  --page-banner: url("assets/hero-parking-gates.png");
  --banner-position: center right;
  position: relative;
  min-height: 320px;
  padding: 70px 0;
  border-bottom: 0;
  overflow: hidden;
  color: #fff;
  background: var(--brand-navy);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(17, 41, 86, 0.97) 0%, rgba(17, 41, 86, 0.9) 42%, rgba(17, 41, 86, 0.56) 72%, rgba(207, 50, 29, 0.34) 100%),
    var(--page-banner);
  background-position: center, var(--banner-position);
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, rgba(207, 50, 29, 0.18), rgba(207, 50, 29, 0) 44%);
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  min-height: 180px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) auto;
  gap: 46px;
  align-items: center;
}

.page-hero__copy {
  max-width: 740px;
}

.page-hero h1 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.page-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

.page-hero__visual {
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(207, 50, 29, 0.28);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.page-hero__icon {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-red);
}

.page-hero__icon .icon {
  width: 56px;
  height: 56px;
}

.page-hero .anchor-card {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.anchor-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.anchor-card h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.anchor-card a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.anchor-card a:hover {
  color: var(--green-800);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.value-chip {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(207, 50, 29, 0.18);
  border-radius: var(--radius);
  background: var(--green-50);
  color: var(--green-800);
  display: grid;
  align-content: space-between;
  gap: 18px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.value-chip .icon-box {
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--brand-red);
  border-color: rgba(207, 50, 29, 0.18);
  box-shadow: 0 8px 18px rgba(207, 50, 29, 0.08);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.52fr);
  gap: 40px;
  align-items: start;
}

.story-copy h2,
.track-record h2,
.feature-row__body h2,
.document h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.story-copy p,
.document p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.stat-stack {
  display: grid;
  gap: 14px;
}

.stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat-card strong {
  display: block;
  color: var(--green-800);
  font-size: 46px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-weight: 800;
  line-height: 1.3;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.record-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.record-card strong {
  display: inline-block;
  color: var(--green-800);
  font-size: 34px;
  line-height: 1;
}

.record-card h3 {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.record-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) 1fr;
  gap: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-row__visual {
  width: 100%;
  height: 100%;
  min-height: 210px;
  border-radius: var(--radius-sm);
}

.feature-row img.feature-row__visual {
  object-fit: cover;
}

.feature-row__visual--icon {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(207, 50, 29, 0.18);
  background:
    linear-gradient(145deg, rgba(207, 50, 29, 0.08), rgba(17, 41, 86, 0.08)),
    #fff;
  color: var(--brand-red);
  text-align: center;
}

.feature-row__visual--icon .icon {
  width: 76px;
  height: 76px;
}

.feature-row__visual--icon span {
  max-width: 190px;
  color: var(--brand-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.feature-row__body {
  display: grid;
  align-content: center;
  padding: 10px 12px 10px 0;
}

.feature-row__body span {
  width: max-content;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 900;
}

.feature-row__body h2 {
  margin-top: 10px;
  font-size: 28px;
}

.feature-row__body p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.feature-row__body ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.feature-row__body li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.feature-row__body li::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-700);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='m8 13.2-3-3 1.4-1.4L8 10.4l5.6-5.6L15 6.2l-7 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='m8 13.2-3-3 1.4-1.4L8 10.4l5.6-5.6L15 6.2l-7 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.inline-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(207, 50, 29, 0.18);
  background: var(--green-50);
}

.inline-cta p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) 1fr;
  gap: 24px;
}

.contact-card,
.form-card,
.portal-card,
.document,
.policy-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(14, 23, 38, 0.03);
}

.contact-card,
.portal-card,
.document,
.policy-aside {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
}

.contact-item strong {
  display: block;
  font-size: 14px;
}

.contact-item span,
.contact-item a,
.contact-item address {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.form-card {
  padding: 30px;
}

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

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

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

.field label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.required {
  color: var(--danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(207, 50, 29, 0.1);
}

.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-status {
  color: var(--green-800);
  font-weight: 750;
  font-size: 14px;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(310px, 0.42fr);
  gap: 24px;
}

.portal-card {
  min-height: 520px;
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-cool);
}

.portal-tab {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.portal-tab.is-active {
  background: #fff;
  color: var(--green-800);
  box-shadow: var(--shadow-soft);
}

.portal-pane {
  display: none;
  margin-top: 28px;
}

.portal-pane.is-active {
  display: block;
}

.portal-pane h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.portal-pane p {
  margin: 8px 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.support-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--green-50));
}

.support-panel h2 {
  margin: 0;
  font-size: 24px;
}

.support-panel ul {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.support-panel li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.support-panel .icon-box {
  width: 28px;
  height: 28px;
}

.support-panel .icon {
  width: 14px;
  height: 14px;
}

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

.testimonial-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.testimonial-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.testimonial-card h2 {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.2;
}

.testimonial-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 24px;
  align-items: start;
}

.document {
  display: grid;
  gap: 14px;
}

.policy-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.policy-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  text-align: left;
}

.policy-trigger::after {
  content: "+";
  color: var(--green-700);
  font-size: 24px;
  line-height: 1;
}

.policy-trigger[aria-expanded="true"]::after {
  content: "-";
}

.policy-copy {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.policy-copy.is-open {
  display: block;
}

.policy-aside h2 {
  margin: 0;
  font-size: 22px;
}

.policy-aside p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 42px 0 18px;
}

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

.brand--footer {
  color: #fff;
}

.brand--footer img {
  width: 245px;
  max-height: 70px;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text span {
  color: #fff;
}

.site-footer p {
  max-width: 260px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.site-footer a,
.site-footer address {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.42;
  font-style: normal;
}

.site-footer a:hover {
  color: #fff;
}

.footer-hotline {
  color: #78f7a9 !important;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-bottom a {
  margin: 0;
  font-size: inherit;
}

.portal-main {
  background: #f6f8fb;
}

.client-portal-page {
  color: var(--ink);
}

.client-portal-page:not(.is-authenticated) [data-portal-app] {
  display: none;
}

.client-portal-page.is-authenticated .portal-login {
  display: none;
}

.portal-login {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.5fr);
  gap: 22px;
  align-items: stretch;
  padding: 48px 0 58px;
  scroll-margin-top: 124px;
}

.portal-login__copy,
.portal-login__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 41, 86, 0.08);
}

.portal-login__copy {
  min-height: 420px;
  display: grid;
  align-content: center;
  padding: 42px;
  border-left: 5px solid var(--brand-red);
  background:
    linear-gradient(135deg, rgba(207, 50, 29, 0.06), rgba(17, 41, 86, 0.03)),
    #fff;
}

.portal-login__copy > span {
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-login__copy h1 {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 0.96;
}

.portal-login__copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.portal-login__meta {
  width: max-content;
  max-width: 100%;
  display: grid;
  gap: 3px;
  margin-top: 30px;
  border: 1px solid rgba(207, 50, 29, 0.2);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  background: #fff;
}

.portal-login__meta strong {
  color: var(--brand-navy);
  font-size: 13px;
  text-transform: uppercase;
}

.portal-login__meta a {
  color: var(--brand-red);
  font-weight: 950;
}

.portal-login__card {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 30px;
}

.portal-login__card h2 {
  margin: 0;
  font-size: 30px;
}

.portal-login__card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-login__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.portal-login__remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-red);
}

.portal-login__card .button {
  width: 100%;
}

.portal-login__link {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brand-navy);
  font-weight: 850;
}

.portal-topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.portal-topbar__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portal-topbar__label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-topbar strong {
  font-size: 15px;
  text-transform: uppercase;
}

.portal-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.portal-topbar__actions a,
.portal-topbar__actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #fff;
}

.portal-topbar__actions button {
  color: var(--brand-red);
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px 0 22px;
  scroll-margin-top: 124px;
}

.portal-hero__copy {
  min-height: 168px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(207, 50, 29, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(207, 50, 29, 0.08), rgba(17, 41, 86, 0)),
    #fff;
}

.portal-hero__copy h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
}

.portal-hero__copy p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.portal-hero__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-hero__cards article,
.portal-stat-row article,
.portal-stat,
.portal-panel,
.portal-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 41, 86, 0.06);
}

.portal-hero__cards article {
  min-height: 168px;
  display: grid;
  align-content: center;
  padding: 20px;
  border-top: 4px solid var(--brand-red);
}

.portal-hero__cards span,
.portal-stat-row span,
.portal-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-hero__cards strong {
  display: block;
  margin-top: 12px;
  color: var(--brand-navy);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.portal-hero__cards small {
  margin-top: 10px;
  color: var(--ink-soft);
  font-weight: 750;
}

.portal-workspace {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 58px;
}

.portal-side {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.portal-side__group {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.portal-side__group > span {
  padding: 4px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-nav-button,
.portal-quick-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 850;
  text-align: left;
}

.portal-nav-button {
  min-height: 44px;
  padding: 0 12px;
}

.portal-nav-button .icon,
.portal-quick-actions .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
}

.portal-nav-button.is-active {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(207, 50, 29, 0.18);
}

.portal-nav-button.is-active .icon {
  color: #fff;
}

.portal-stage {
  min-width: 0;
}

.portal-view {
  display: none;
}

.portal-view.is-active {
  display: grid;
  gap: 18px;
}

.portal-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.portal-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.portal-section-heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-search {
  min-width: 260px;
}

.portal-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 13px;
  outline: 0;
}

.portal-search input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(207, 50, 29, 0.12);
}

.portal-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portal-stat {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  padding: 18px;
}

.portal-stat-row article {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  padding: 18px;
}

.portal-stat-row span {
  display: block;
}

.portal-stat-row strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--brand-navy);
  font-size: 28px;
  line-height: 1;
}

.portal-stat-row small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.portal-stat strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--brand-navy);
  font-size: 28px;
  line-height: 1;
}

.portal-stat small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.portal-panel {
  min-width: 0;
  padding: 20px;
}

.portal-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.portal-panel__head h3,
.portal-panel h3 {
  margin: 0;
  font-size: 18px;
}

.portal-panel__head span {
  color: var(--muted);
  font-weight: 800;
}

.portal-panel__bar {
  margin: -20px -20px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 14px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 950;
}

.portal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.portal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.portal-table th,
.portal-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.portal-table th {
  background: #f2f4f7;
  color: var(--ink-soft);
  font-weight: 950;
}

.portal-table tbody tr:nth-child(odd) td {
  background: #fafafa;
}

.portal-table tbody tr:last-child td {
  border-bottom: 0;
}

.empty-cell {
  color: var(--muted);
  text-align: center !important;
}

.table-action,
.icon-button {
  border: 1px solid var(--brand-red);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brand-red);
  font-weight: 850;
}

.table-action {
  min-height: 34px;
  padding: 0 12px;
}

.icon-button {
  width: 30px;
  height: 30px;
}

.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.status-pill--pending {
  background: #d58900;
}

.status-pill--approved {
  background: #0b7a22;
}

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

.portal-quick-actions button {
  min-height: 104px;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 41, 86, 0.05);
}

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

.portal-form-grid--wide {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.portal-form-grid--wide .field {
  grid-column: span 3;
}

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

.portal-panel .field input,
.portal-panel .field select,
.portal-panel .field textarea {
  border-color: var(--line-strong);
  background: #fff;
}

.portal-panel .field input:disabled,
.portal-panel .field select:disabled {
  color: #777;
  background: #f6f6f6;
}

.portal-application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.portal-note {
  margin-bottom: 18px;
  border: 1px solid rgba(207, 50, 29, 0.25);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--green-50);
}

.portal-note strong,
.portal-note span {
  display: block;
}

.portal-note strong {
  color: var(--brand-red);
}

.portal-note span {
  margin-top: 3px;
  color: var(--ink-soft);
}

.payment-summary {
  display: grid;
  gap: 18px;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--ink-soft);
  font-weight: 850;
}

.summary-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.portal-calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.portal-calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 950;
}

.portal-calendar__head button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brand-navy);
  font-weight: 950;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
}

.calendar-grid span {
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.calendar-grid strong {
  color: var(--muted);
  font-size: 11px;
}

.calendar-grid .is-muted {
  color: #b7c0ca;
}

.calendar-grid .is-selected {
  background: var(--brand-red);
  color: #fff;
  font-weight: 950;
}

.portal-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .portal-login,
  .portal-hero,
  .portal-workspace,
  .portal-application-grid {
    grid-template-columns: 1fr;
  }

  .portal-login__copy {
    min-height: auto;
  }

  .portal-side {
    position: static;
  }
}

@media (max-width: 880px) {
  .portal-main {
    overflow: clip;
  }

  .portal-topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .portal-login {
    padding: 26px 0 42px;
  }

  .portal-login__copy,
  .portal-login__card {
    padding: 22px;
  }

  .portal-login__copy h1 {
    font-size: 38px;
  }

  .portal-hero {
    padding-top: 22px;
  }

  .portal-hero__copy {
    min-height: auto;
    padding: 22px;
  }

  .portal-hero__cards,
  .portal-stat-row,
  .portal-form-grid,
  .portal-form-grid--wide,
  .portal-quick-actions {
    grid-template-columns: 1fr;
  }

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

  .portal-side {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: thin;
  }

  .portal-side__group {
    display: contents;
  }

  .portal-side__group > span {
    display: none;
  }

  .portal-nav-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .portal-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-search {
    min-width: 0;
  }

  .portal-panel {
    padding: 16px;
  }

  .portal-panel__bar {
    margin: -16px -16px 14px;
  }

  .portal-table {
    min-width: 660px;
  }
}

@media (max-width: 520px) {
  .portal-login {
    gap: 14px;
    padding-top: 18px;
  }

  .portal-login__copy,
  .portal-login__card {
    padding: 18px;
  }

  .portal-login__copy h1 {
    font-size: 32px;
  }

  .portal-login__copy p,
  .portal-login__card p {
    font-size: 14px;
  }

  .portal-login__meta {
    width: 100%;
  }

  .portal-topbar__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .portal-topbar__actions a,
  .portal-topbar__actions button {
    justify-content: center;
  }

  .portal-hero__copy h1 {
    font-size: 32px;
  }

  .portal-hero__cards article {
    min-height: 132px;
  }

  .portal-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-grid {
    gap: 3px;
    font-size: 12px;
  }
}

@media (max-width: 1100px) {
  .contact-strip__inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 9px 0;
    line-height: 1.3;
  }

  .strip-link--urgent {
    margin-left: 0;
  }

  .nav-links {
    gap: 20px;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-slider {
    min-height: auto;
  }

  .hero__content {
    padding-right: 0;
  }

  .hero__media {
    min-height: 360px;
    margin-inline: calc(50% - 50vw);
  }

  .hero__media img {
    width: 100%;
    min-height: 360px;
  }

  .hero__media::before {
    display: none;
  }

  .hero-slider__nav {
    bottom: 18px;
    justify-content: center;
  }

  .service-grid,
  .record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-quote {
    border-bottom: 1px solid var(--line);
  }

  .client-quote:nth-child(3n) {
    border-right: 0;
  }

  .split-grid,
  .story-grid,
  .contact-layout,
  .portal-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 880px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .main-nav {
    min-height: 66px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
  }

  .brand__text strong {
    font-size: 23px;
  }

  .brand img {
    width: 220px;
    max-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 118px 14px auto;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 15px 12px;
    border-radius: var(--radius-sm);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.is-active {
    background: var(--green-50);
  }

  .nav-cta {
    display: none;
  }

  .hero__content {
    padding-block: 54px 46px;
  }

  .page-hero {
    min-height: 330px;
    padding: 58px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 58px 0;
  }

  .section-heading,
  .season-band,
  .inline-cta,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__grid {
    gap: 22px;
    min-height: auto;
  }

  .page-hero__visual {
    width: 132px;
    height: 132px;
    justify-self: start;
  }

  .page-hero__icon {
    width: 78px;
    height: 78px;
  }

  .page-hero__icon .icon {
    width: 40px;
    height: 40px;
  }

  .section-heading {
    align-items: start;
  }

  .season-band .button,
  .inline-cta .button {
    width: 100%;
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-row,
  .feature-row__body ul,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-row__body {
    padding: 2px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .contact-strip__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    min-height: auto;
    overflow-x: auto;
    padding: 7px 0;
    line-height: 1.15;
    scrollbar-width: none;
  }

  .contact-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .strip-link {
    flex: 0 0 auto;
    gap: 5px;
    min-height: 26px;
    font-size: 10.5px;
    font-weight: 850;
    white-space: nowrap;
  }

  .strip-link .icon {
    width: 12px;
    height: 12px;
  }

  .strip-link[href^="mailto"] > span:not(.icon) {
    display: none;
  }

  .strip-link[href^="mailto"]::after {
    content: "Email";
  }

  .strip-link[href="tel:+6564877491"] {
    display: none;
  }

  .strip-link .strip-text,
  .strip-link > span:not(.icon) {
    overflow: visible;
    text-overflow: clip;
  }

  .strip-text--desktop {
    display: none;
  }

  .strip-text--mobile {
    display: inline;
  }

  .main-nav {
    min-height: 62px;
  }

  .nav-links {
    inset: 130px 14px auto;
    max-height: calc(100vh - 144px);
  }

  .brand img {
    width: 198px;
    max-height: 45px;
  }

  .hero__content {
    padding-block: 34px 26px;
  }

  .page-hero {
    min-height: 300px;
    padding: 44px 0;
  }

  .page-hero::before {
    background-image:
      linear-gradient(90deg, rgba(17, 41, 86, 0.96) 0%, rgba(17, 41, 86, 0.88) 58%, rgba(207, 50, 29, 0.42) 100%),
      var(--page-banner);
  }

  .page-hero__visual {
    width: 94px;
    height: 94px;
  }

  .page-hero__icon {
    width: 58px;
    height: 58px;
  }

  .page-hero__icon .icon {
    width: 30px;
    height: 30px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero__content--season h1 {
    font-size: 34px;
  }

  .season-rates {
    gap: 10px;
    margin-top: 16px;
  }

  .season-rates__group {
    padding-left: 11px;
  }

  .season-rates__group span {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    font-size: 14px;
  }

  .hero__actions,
  .form-actions,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .service-grid,
  .solution-grid,
  .testimonial-rail,
  .testimonial-grid,
  .record-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .hero-proof__item {
    gap: 8px;
    font-size: 11px;
  }

  .hero__media,
  .hero__media img {
    min-height: 280px;
  }

  .feature-row {
    gap: 18px;
    padding: 14px;
  }

  .feature-row__visual {
    min-height: 180px;
  }

  .feature-row img.feature-row__visual {
    height: 190px;
  }

  .feature-row__visual--icon {
    min-height: 180px;
    padding: 24px;
  }

  .feature-row__body h2 {
    font-size: 25px;
  }

  .feature-row__body p {
    line-height: 1.55;
  }

  .feature-row__body li {
    font-size: 13px;
  }

  .hero-slider__nav {
    bottom: 14px;
    gap: 8px;
    width: min(calc(100% - 28px), var(--max));
  }

  .slider-button {
    width: 38px;
    height: 38px;
  }

  .hero-slider__dots {
    min-height: 38px;
    padding-inline: 12px;
  }

  .testimonial-rail {
    display: grid;
  }

  .client-quote,
  .client-quote:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .client-quote:last-child {
    border-bottom: 0;
  }

  .availability-sign {
    top: 24px;
    right: 18px;
  }

  .portal-card,
  .document,
  .policy-aside,
  .contact-card,
  .form-card,
  .solution-panel,
  .why-panel {
    padding: 20px;
  }

  .portal-card {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .contact-strip__inner {
    gap: 2px 8px;
  }

  .strip-link {
    gap: 6px;
    font-size: 11px;
  }

  .brand img {
    width: 184px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    inset-inline: 12px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero__content--season h1 {
    font-size: 30px;
  }

  .season-rates__group span {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .season-rates__group em {
    white-space: normal;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 38px 0;
  }

  .page-hero__visual {
    width: 82px;
    height: 82px;
  }

  .page-hero__icon {
    width: 52px;
    height: 52px;
  }
}

/* Portal overrides are kept last so the portal retains its own product UI. */
body .portal-main {
  background: radial-gradient(circle at 75% 0%, rgba(53, 103, 168, 0.07), transparent 28rem), #f3f6fa;
}

body .portal-login {
  min-height: calc(100vh - 101px);
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.58fr);
  gap: 32px;
  align-items: center;
  padding-block: 64px;
}

body .portal-login__copy,
body .portal-login__card {
  border-color: rgba(16, 42, 86, 0.11);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 42, 86, 0.1);
}

body .portal-login__copy {
  min-height: 540px;
  padding: clamp(34px, 5vw, 64px);
  border: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.14), transparent 18rem), linear-gradient(145deg, #102a56, #183e70 62%, #22558d);
  color: #fff;
}

body .portal-login__copy > span {
  color: #ffb6ae;
}

body .portal-login__copy h1 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

body .portal-login__copy p {
  color: rgba(255, 255, 255, 0.74);
}

body .portal-login__meta {
  width: min(100%, 460px);
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 20px;
  margin-top: 38px;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

body .portal-login__meta strong,
body .portal-login__meta span {
  grid-column: 1;
}

body .portal-login__meta strong,
body .portal-login__meta a {
  color: #fff;
}

body .portal-login__meta span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

body .portal-login__meta a {
  grid-column: 2;
  grid-row: 1 / 3;
}

body .portal-login__card {
  gap: 18px;
  padding: 38px;
}

body .portal-login__card h2 {
  margin-top: 8px;
  color: #102a56;
  font-size: 32px;
}

body .portal-login__remember {
  width: 100%;
}

body .portal-login__link {
  border: 0;
  background: #f1f4f8;
}

body .portal-topbar__inner {
  min-height: 68px;
}

body .portal-topbar strong {
  color: #102a56;
  text-transform: none;
}

body .portal-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(470px, 0.9fr);
  gap: 18px;
  padding: 32px 0 20px;
}

body .portal-hero__copy {
  min-height: 220px;
  padding: 32px;
  border: 0;
  border-radius: 14px;
  background: #102a56;
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 42, 86, 0.14);
}

body .portal-hero__copy h1 {
  margin-top: 10px;
  color: #fff;
  letter-spacing: -0.035em;
}

body .portal-hero__copy p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.7);
}

body .portal-hero__cards {
  gap: 10px;
}

body .portal-hero__cards article {
  min-height: 220px;
  padding: 22px;
  border-top: 0;
  border-radius: 14px;
  box-shadow: none;
}

body .portal-workspace {
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 22px;
}

body .portal-side {
  top: 118px;
  gap: 4px;
  padding: 14px 10px;
  border-radius: 12px;
  box-shadow: none;
}

body .portal-nav-button {
  min-height: 42px;
  border-left: 3px solid transparent;
  color: #475467;
  font-size: 13px;
}

body .portal-nav-button.is-active {
  border-left-color: #c9362a;
  background: #fff1ef;
  color: #a52d23;
  box-shadow: none;
}

body .portal-nav-button.is-active .icon {
  color: #c9362a;
}

body .portal-section-heading h2 {
  color: #102a56;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
}

body .portal-stat-row article,
body .portal-panel {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 42, 86, 0.045);
}

body .portal-table th {
  background: #f7f9fb;
  color: #667085;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body .portal-table tbody tr:nth-child(odd) td {
  background: #fff;
}

body .portal-quick-actions button {
  min-height: 96px;
  justify-content: flex-start;
  padding: 20px;
  border-radius: 12px;
  box-shadow: none;
}

@media (max-width: 1100px) {
  body .portal-login,
  body .portal-hero,
  body .portal-workspace {
    grid-template-columns: 1fr;
  }

  body .portal-login {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  body .portal-login {
    padding-block: 18px 42px;
  }

  body .portal-login__copy {
    min-height: auto;
  }

  body .portal-login__card {
    padding: 24px 20px;
  }

  body .portal-hero__copy {
    padding: 24px 20px;
  }
}

/* Request status experience */
.status-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-overview article {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 42, 86, 0.04);
}

.status-overview__icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eef3fa;
  color: #3567a8;
}

.status-overview__icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.status-overview__icon--pending {
  background: #fff7e6;
  color: #b7791f;
}

.status-overview__icon--pending::after {
  position: absolute;
  width: 2px;
  height: 5px;
  margin-top: -5px;
  background: currentColor;
  box-shadow: 3px 5px 0 -0.25px currentColor;
  content: "";
}

.status-overview__icon--approved {
  background: #eaf8f1;
  color: #18794e;
}

.status-overview__icon--approved::after {
  position: absolute;
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: rotate(-45deg);
}

.status-overview__icon--action {
  background: #fff0ee;
  color: #c9362a;
}

.status-overview__icon--action::before {
  border: 0;
  content: "!";
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.status-overview small {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.status-overview strong {
  display: block;
  margin-top: 3px;
  color: #102a56;
  font-size: 24px;
  line-height: 1;
}

.status-panel {
  padding: 0 !important;
  overflow: hidden;
}

.status-panel__head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5eaf0;
}

.status-panel__head h3 {
  margin: 4px 0 0;
  color: #102a56;
  font-size: 18px;
}

.status-count {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #f1f4f8;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.status-panel .portal-table-wrap {
  border: 0;
  border-radius: 0;
}

.status-panel .portal-table th:first-child,
.status-panel .portal-table td:first-child {
  padding-left: 20px;
}

.status-panel .portal-table th:last-child,
.status-panel .portal-table td:last-child {
  padding-right: 20px;
}

.status-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.status-badge i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--pending {
  border-color: #f1d49a;
  background: #fff8e8;
  color: #996515;
}

.status-badge--approved {
  border-color: #a9dfc5;
  background: #edf9f3;
  color: #18794e;
}

.status-badge--rejected {
  border-color: #f1b5af;
  background: #fff0ee;
  color: #b42318;
}

.status-badge--processing {
  border-color: #b8cdec;
  background: #eff5fc;
  color: #285b9a;
}

.vehicle-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid #d8e0ea;
  border-radius: 5px;
  padding: 0 8px;
  background: #f8fafc;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.status-empty {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 28px 20px;
  text-align: center;
}

.status-empty--compact {
  min-height: 160px;
}

.status-empty__icon {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f0f4f8;
}

.status-empty__icon::before {
  position: absolute;
  inset: 13px 15px;
  border: 2px solid #8ba0b8;
  border-radius: 3px;
  content: "";
}

.status-empty__icon::after {
  position: absolute;
  top: 18px;
  left: 19px;
  width: 10px;
  height: 2px;
  background: #8ba0b8;
  box-shadow: 0 5px #8ba0b8;
  content: "";
}

.status-empty__icon--payment::before {
  inset: 15px 11px;
  border-radius: 4px;
}

.status-empty__icon--payment::after {
  top: 20px;
  left: 13px;
  width: 22px;
  box-shadow: none;
}

.status-empty__icon--vehicle::before {
  inset: 20px 9px 13px;
  border-radius: 5px 7px 3px 3px;
}

.status-empty__icon--vehicle::after {
  top: 31px;
  left: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ba0b8;
  box-shadow: 16px 0 #8ba0b8;
}

.status-empty strong {
  color: #344054;
  font-size: 14px;
}

.status-empty p {
  max-width: 390px;
  margin: 6px auto 0;
  color: #7b8798;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .status-overview {
    grid-template-columns: 1fr;
  }

  .status-overview article {
    min-height: 76px;
  }

  .status-panel__head {
    align-items: flex-start;
  }
}

/* Functional portal controls */
.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #18794e;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.notice.is-success {
  border-color: #a9dfc5;
  border-left-color: #18794e;
  background: #edf9f3;
  color: #136c45;
}

.payment-summary__checkout {
  width: 100%;
}

.payment-summary__checkout:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.calendar-grid--interactive {
  gap: 4px;
}

.calendar-grid--interactive .calendar-weekday,
.calendar-grid--interactive .calendar-blank {
  min-height: 30px;
  display: grid;
  place-items: center;
}

.calendar-grid--interactive .calendar-weekday {
  color: #7b8798;
  font-size: 10px;
  font-weight: 900;
}

.calendar-grid--interactive button {
  min-width: 0;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #344054;
  font-size: 12px;
}

.calendar-grid--interactive button:hover,
.calendar-grid--interactive button:focus-visible {
  background: #eaf0f8;
  color: #102a56;
  outline: 0;
}

.calendar-grid--interactive button:disabled {
  cursor: not-allowed;
  background: transparent;
  color: #c3cad4;
  opacity: 0.68;
}

.calendar-grid--interactive button:disabled:hover {
  background: transparent;
  color: #c3cad4;
}

.calendar-grid--interactive button.is-today:not(.is-range-start):not(.is-range-end) {
  box-shadow: inset 0 0 0 1px #9cb0c8;
  color: #102a56;
  font-weight: 850;
}

.portal-calendar__head button:disabled {
  cursor: not-allowed;
  color: #b8c1cc;
  background: #f5f7fa;
  opacity: 0.65;
}

.calendar-grid--interactive button.is-in-range {
  border-radius: 0;
  background: #e9f0fa;
  color: #285b9a;
}

.calendar-grid--interactive button.is-range-start,
.calendar-grid--interactive button.is-range-end {
  background: #c9362a;
  color: #fff;
  font-weight: 900;
}

.calendar-help {
  margin: 10px 0 0;
  color: #7b8798;
  font-size: 11px;
  text-align: center;
}

body.portal-modal-open {
  overflow: hidden;
}

.portal-modal[hidden] {
  display: none;
}

.portal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.portal-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 22, 45, 0.64);
  backdrop-filter: blur(3px);
}

.portal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  border-radius: 16px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(8, 22, 45, 0.3);
}

.portal-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid #dce3ec;
  border-radius: 50%;
  background: #fff;
  color: #667085;
  font-size: 22px;
  line-height: 1;
}

.portal-modal__eyebrow {
  display: block;
  padding-right: 40px;
  color: #c9362a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal-modal__dialog h2 {
  margin: 8px 40px 20px 0;
  color: #102a56;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.modal-details {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  overflow: hidden;
}

.modal-details div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid #e8edf2;
}

.modal-details div:last-child {
  border-bottom: 0;
}

.modal-details dt {
  color: #7b8798;
  font-size: 12px;
  font-weight: 700;
}

.modal-details dd {
  margin: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.modal-note {
  margin: 14px 0 0;
  border-radius: 8px;
  padding: 11px 12px;
  background: #f5f7fa;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.portal-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 520px) {
  .portal-modal__dialog {
    padding: 24px 18px 18px;
  }

  .modal-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .modal-details dd {
    text-align: left;
  }

  .portal-modal__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .portal-modal__actions .button {
    width: 100%;
  }
}

/* Wide desktop portal workspace — final cascade override */
.client-portal-page .portal-topbar__inner,
.client-portal-page .portal-hero,
.client-portal-page .portal-workspace {
  width: min(calc(100% - clamp(32px, 4vw, 80px)), 1920px);
  max-width: none;
}

@media (min-width: 1560px) {
  body .portal-hero {
    grid-template-columns: minmax(620px, 1.15fr) minmax(640px, 0.85fr);
  }

  body .portal-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
  }

  body .portal-application-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
  }

  body .portal-form-grid--wide .field {
    grid-column: span 2;
  }
}

/* Site-wide spacing and form rhythm */
.section {
  padding: clamp(48px, 4vw, 64px) 0;
}

.section--tight {
  padding: 32px 0;
}

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

.contact-layout,
.split-grid,
.policy-layout,
.portal-layout {
  gap: 28px;
}

.form-grid,
.portal-form-grid {
  row-gap: 20px;
}

.field label {
  line-height: 1.35;
}

.feature-stack {
  gap: 24px;
}

.testimonial-grid,
.record-grid {
  gap: 20px;
}

.portal-view.is-active {
  gap: 24px;
}

.portal-panel[data-account-form],
.portal-panel[data-password-form] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-content: start;
}

.portal-panel[data-account-form] h3,
.portal-panel[data-password-form] h3 {
  margin-bottom: 2px;
}

.portal-panel[data-account-form] .form-actions,
.portal-panel[data-password-form] .form-actions {
  margin-top: 4px;
  padding-top: 4px;
}

@media (max-width: 620px) {
  .section {
    padding: 48px 0;
  }

  .section--tight {
    padding: 26px 0;
  }

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

  .contact-layout,
  .split-grid,
  .policy-layout,
  .portal-layout {
    gap: 20px;
  }

  .portal-view.is-active {
    gap: 18px;
  }

  .portal-panel[data-account-form],
  .portal-panel[data-password-form] {
    gap: 16px;
  }
}
