/* Brand roots — palette from Lifeway logo (orange, purple, lime, cyan; no pink) */
:root {
  --color-brand-orange: #ed7324;
  --color-brand-purple: #6e3aac;
  --color-brand-lime: #9ed23b;
  --color-brand-cyan: #27b5cf;

  --color-promo-bg: var(--color-brand-orange);
  --color-promo-text: rgb(255, 255, 255);
  --color-bg: #f4f6f8;
  --color-surface: rgb(255, 255, 255);
  --color-text: rgb(27, 27, 27);
  --color-muted: rgb(94, 94, 94);
  --color-accent: #d86818;
  --color-accent-active: #4a266c;
  --color-accent-hover: #8b4ec4;
  --color-accent-soft: rgba(237, 115, 36, 0.14);
  --color-teal: var(--color-brand-cyan);
  --color-teal-soft: rgba(39, 181, 207, 0.16);
  --color-border: rgba(27, 27, 27, 0.08);
  --color-nav-surface: rgba(255, 255, 255, 0.82);
  --color-btn-text: rgb(48, 48, 48);
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 12px 28px -12px rgba(237, 115, 36, 0.2);
  --shadow-lg: 0 20px 50px -20px rgba(74, 38, 108, 0.28);
  --radius: 16px;
  --radius-pill: 999px;
  --max-width: 1120px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(237, 115, 36, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 30%, rgba(39, 181, 207, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 85%, rgba(237, 115, 36, 0.06), transparent 45%);
  background-attachment: fixed;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--color-promo-bg);
  color: #fff;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.4s var(--ease-soft);
}

.site-header.is-scrolled .header-main {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 12px 40px rgba(74, 38, 108, 0.1);
}

.site-header.is-scrolled .logo-mark img {
  height: 42px;
}

.site-header.is-scrolled .logo-text {
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .header-main,
  .site-header .logo-mark img,
  .site-header .logo-text {
    transition: none;
  }
}

/* Matches live PromoBanner: c1-o background, c1-p/c1-q padding, BodyAlpha 22px white centred */
.promo-banner {
  background-color: var(--color-promo-bg);
  background-image: linear-gradient(
    105deg,
    rgb(188, 82, 22) 0%,
    var(--color-promo-bg) 30%,
    var(--color-brand-lime) 55%,
    var(--color-brand-cyan) 78%,
    var(--color-promo-bg) 100%
  );
  background-size: 220% 100%;
  width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .promo-banner {
    animation: promo-flow 14s ease-in-out infinite;
  }
}

@keyframes promo-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.promo-banner-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6px 0 10px;
}

.promo-banner-marquee {
  width: 100%;
  overflow: visible;
}

.promo-banner-marquee.is-marquee-ready {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 1.25rem,
    #000 calc(100% - 1.25rem),
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
}

.promo-banner-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  will-change: transform;
}

.promo-banner-marquee:not(.is-marquee-ready) .promo-banner-marquee-track {
  width: auto;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  gap: 0;
  will-change: auto;
}

.promo-banner-marquee:not(.is-marquee-ready) .promo-banner-contacts {
  flex-wrap: wrap;
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .promo-banner-marquee.is-marquee-ready .promo-banner-marquee-track {
    animation: promo-marquee 50s linear infinite;
  }

  .promo-banner-marquee.is-marquee-ready:hover .promo-banner-marquee-track,
  .promo-banner-marquee.is-marquee-ready:focus-within .promo-banner-marquee-track {
    animation-play-state: paused;
  }
}

@keyframes promo-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.promo-banner-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 1.35rem;
}

.promo-banner-contacts > li {
  margin: 0;
}

.promo-banner-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.9vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: none;
  padding: 0.2rem 0;
  border-radius: 6px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.promo-banner-contact-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(39, 181, 207, 0.45);
}

.promo-banner-contact-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

.promo-banner-contact-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  opacity: 0.92;
}

.promo-banner-contact-link:hover .promo-banner-contact-icon {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .promo-banner-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }

  .promo-banner-marquee-track {
    width: auto;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .promo-banner-contacts {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .promo-banner-contact-link {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .promo-banner-contacts {
    gap: 0.3rem 1rem;
  }
}

.header-main {
  background: var(--color-nav-surface);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 40px rgba(74, 38, 108, 0.07);
  width: 100%;
  padding: 0.5rem clamp(1rem, 3vw, 1.5rem);
  transition: padding 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.header-main-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 2vw, 1.25rem);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 1 auto;
  padding: 0.15rem 0;
  border-radius: 14px;
  transition: background 0.2s var(--ease-out);
}

.logo-link:hover {
  background: rgba(237, 115, 36, 0.06);
}

.logo-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  background: linear-gradient(180deg, #fff, #fafafa);
  border-radius: 14px;
  border: 1px solid rgba(237, 115, 36, 0.15);
  box-shadow: 0 2px 12px rgba(74, 38, 108, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.logo-mark img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s var(--ease-soft);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.15;
}

.logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  transition: font-size 0.35s var(--ease-soft);
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.header-call-cluster {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.header-tel-primary {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(237, 115, 36, 0.16);
  box-shadow: 0 1px 3px rgba(74, 38, 108, 0.06);
}

.header-tel-primary:hover {
  color: var(--color-promo-bg);
  border-color: rgba(237, 115, 36, 0.32);
  box-shadow: 0 2px 10px rgba(237, 115, 36, 0.12);
}

.header-tel-alt {
  padding: 0.32rem 0.4rem 0.32rem 0.6rem;
  margin-left: 0.1rem;
  border-left: 1px solid rgba(74, 38, 108, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.header-tel-alt:hover {
  color: var(--color-promo-bg);
}

.header-tel-icon {
  flex-shrink: 0;
  color: var(--color-promo-bg);
  opacity: 0.88;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(237, 115, 36, 0.22);
  background: linear-gradient(180deg, #fff, rgba(237, 115, 36, 0.05));
  padding: 0.5rem 0.85rem;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(74, 38, 108, 0.08);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  border-color: rgba(237, 115, 36, 0.35);
  box-shadow: 0 4px 14px rgba(237, 115, 36, 0.12);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 1.05rem;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.05rem 0.15rem;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: transparent;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.site-nav a:hover {
  color: var(--color-promo-bg);
  background: rgba(237, 115, 36, 0.08);
}

.site-nav a[aria-current="page"] {
  color: var(--color-promo-bg);
  background: rgba(237, 115, 36, 0.1);
  font-weight: 700;
}

.site-nav a:active {
  color: var(--color-accent-active);
}

main {
  min-height: 50vh;
}

/* Hero — full-bleed video (optional) or still image + layered brand grade (logo colours) */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(440px, 82vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1a1520;
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  overflow: hidden;
  transform-origin: 50% 40%;
  pointer-events: none;
  background: #141018;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-color: #1a1520;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  transform-origin: 50% 40%;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    will-change: transform;
    animation: hero-kenburns 34s var(--ease-soft) infinite alternate;
  }

  .hero-bg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    display: none;
  }

  .hero-bg {
    inset: 0;
    background-image: url("/images/godaddy/ec45c1a6274cf4aa.jpg");
    animation: none;
  }

  .hero .btn-primary {
    animation: none !important;
  }
}

@keyframes hero-kenburns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.09) translate3d(-1.2%, 0.8%, 0);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    145deg,
    rgba(36, 22, 58, 0.9) 0%,
    rgba(237, 115, 36, 0.52) 42%,
    rgba(39, 181, 207, 0.48) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-blob--a {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: var(--color-promo-bg);
  top: -8%;
  right: -5%;
}

.hero-blob--b {
  width: min(45vw, 360px);
  height: min(45vw, 360px);
  background: var(--color-brand-purple);
  bottom: -10%;
  left: -8%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-blob--a {
    animation: blob-drift-a 18s ease-in-out infinite;
  }
  .hero-blob--b {
    animation: blob-drift-b 22s ease-in-out infinite;
  }
}

@keyframes blob-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@keyframes blob-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, -4%) scale(1.06);
  }
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 46rem;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: hero-rise 1s var(--ease-out) both;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  margin: 0 0 1.75rem;
  opacity: 0.95;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.2s;
}

.btn-primary {
  background: #fff;
  color: var(--color-promo-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  filter: brightness(1.02);
}

.hero .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
  color: #b85612;
  padding-inline: 2.25rem;
  min-height: 56px;
  font-size: 0.8125rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero .btn-primary {
    animation: hero-cta-ring 3s var(--ease-soft) infinite;
  }

  .hero .btn-primary:hover,
  .hero .btn-primary:focus-visible {
    animation: none;
  }
}

@keyframes hero-cta-ring {
  0%,
  100% {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(237, 115, 36, 0.45);
  }
  55% {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3), 0 0 0 14px rgba(237, 115, 36, 0);
  }
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem;
}

.section--tint {
  max-width: none;
  width: 100%;
  background: linear-gradient(180deg, rgba(237, 115, 36, 0.07) 0%, rgba(39, 181, 207, 0.04) 55%, transparent 100%);
  border-top: 1px solid rgba(237, 115, 36, 0.08);
  border-bottom: 1px solid rgba(39, 181, 207, 0.06);
}

.section--tint > .section-title,
.section--tint > .card-grid,
.section--tint > .page-intro {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section--tint > .page-intro {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  margin: 0 0 2.25rem;
  padding-bottom: 1.1rem;
  color: var(--color-text);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4.5rem;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-promo-bg), var(--color-teal));
  box-shadow: 0 2px 12px rgba(237, 115, 36, 0.35);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  position: relative;
  background: var(--color-surface);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid rgba(237, 115, 36, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-promo-bg), var(--color-teal));
  opacity: 0.85;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(237, 115, 36, 0.22);
  }

  .card:hover::before {
    transform: scaleX(1);
  }
}

.card > img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  margin: 0 0 1rem;
  transition: transform 0.55s var(--ease-soft);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover > img {
    transform: scale(1.045);
  }
}

.card h3,
.card h4 {
  margin-top: 0;
  color: var(--color-text);
}

/* Home — service spotlight grid (Kadence-style tiles, Lifeway assets) */
.service-spotlight-section .page-intro {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.service-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .service-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .service-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.service-spotlight-card {
  margin: 0;
  padding: 0;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(237, 115, 36, 0.12);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-spotlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
}

.service-spotlight-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-spotlight-card-link:hover .service-spotlight-title {
  color: var(--color-promo-bg);
}

.service-spotlight-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(237, 115, 36, 0.08), rgba(39, 181, 207, 0.06));
}

.service-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-soft);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-spotlight-card:hover .service-spotlight-media img {
    transform: scale(1.05);
  }
}

.service-spotlight-body {
  padding: 1rem 1.15rem 1.2rem;
}

.service-spotlight-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  transition: color 0.2s var(--ease-out);
}

.service-spotlight-footer {
  text-align: center;
  margin: 2rem 0 0;
}

/* Surveys page */
.survey-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  padding: 0;
}

.survey-options-grid > li {
  margin: 0;
  display: flex;
}

.survey-options-grid .survey-option-card {
  width: 100%;
}

.survey-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  background: var(--color-surface);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(237, 115, 36, 0.14);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.2s;
}

.survey-option-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39, 181, 207, 0.35);
}

.survey-option-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.survey-option-text {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.survey-option-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-promo-bg);
}

.survey-setup-note {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted);
  text-align: center;
}

.survey-portal-panel {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(180deg, rgba(237, 115, 36, 0.06) 0%, rgba(39, 181, 207, 0.05) 100%);
  border: 1px solid rgba(237, 115, 36, 0.12);
  border-radius: calc(var(--radius) + 6px);
  text-align: center;
}

.survey-portal-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.survey-portal-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.survey-portal-link {
  display: inline-flex;
}

/* Survey portal — login / request access (modal pattern, mysitesurvey-style portals) */
body.portal-modal-open {
  overflow: hidden;
}

.section.survey-portal-page {
  max-width: none;
  width: 100%;
}

.survey-portal-page {
  min-height: calc(100vh - 12rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem 3rem;
  background: radial-gradient(120% 80% at 50% 0%, rgba(39, 181, 207, 0.12) 0%, transparent 55%),
    radial-gradient(90% 60% at 80% 100%, rgba(237, 115, 36, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(250, 251, 252, 1) 0%, rgba(245, 246, 247, 1) 100%);
}

.survey-portal-card {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2rem);
  background: var(--color-surface);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 4px 32px rgba(27, 27, 27, 0.08), 0 24px 64px rgba(27, 27, 27, 0.06);
  border: 1px solid rgba(237, 115, 36, 0.12);
  text-align: center;
}

.survey-portal-card .logo-mark img {
  width: 88px;
  height: 88px;
}

.survey-portal-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 1rem 0 0.5rem;
}

.survey-portal-sub {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0 0 1.75rem;
}

.survey-portal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.survey-portal-actions .btn {
  width: 100%;
  justify-content: center;
}

.survey-portal-card .btn-primary {
  background: linear-gradient(135deg, var(--color-promo-bg), #c46218);
  color: #fff;
  box-shadow: 0 4px 18px rgba(237, 115, 36, 0.35);
}

.survey-portal-card .btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 28px rgba(237, 115, 36, 0.4);
}

.survey-portal-card .btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(27, 27, 27, 0.2);
}

.survey-portal-card .btn-outline:hover {
  background: rgba(39, 181, 207, 0.08);
  border-color: rgba(39, 181, 207, 0.45);
  color: var(--color-teal);
}

.survey-portal-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.survey-portal-footnote a {
  color: var(--color-accent);
  font-weight: 600;
}

.portal-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.portal-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.portal-modal[hidden] {
  display: none !important;
}

.portal-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 24, 0.62);
  backdrop-filter: blur(2px);
}

.portal-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: min(92vh, 36rem);
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(27, 27, 27, 0.08);
  padding: 1.35rem 1.35rem 1.25rem;
  text-align: left;
}

.portal-modal-panel--wide {
  max-width: min(46rem, 96vw);
  max-height: min(90vh, 48rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.portal-modal-panel--wide .lifeway-portal-shabach-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1.25rem 0.5rem;
  text-align: left;
}

.portal-modal-panel--wide .lifeway-portal-shabach-foot {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(27, 27, 27, 0.1);
  background: rgba(248, 250, 249, 0.95);
}

.portal-modal-panel--wide .portal-modal-feedback {
  margin: 0 1.25rem 0.75rem;
}

.portal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(237, 115, 36, 0.15);
}

.portal-modal-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
  line-height: 1.35;
}

.portal-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: -0.35rem -0.35rem 0 0;
  border: none;
  border-radius: 10px;
  background: rgba(27, 27, 27, 0.06);
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.portal-modal-close:hover {
  background: rgba(237, 115, 36, 0.12);
  color: var(--color-promo-bg);
}

.portal-modal-field {
  margin-bottom: 1rem;
}

.portal-modal-field label,
.portal-modal-field-label-block {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.logo-link--portal {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.portal-modal-field .req {
  color: var(--color-promo-bg);
}

.portal-modal-field input[type="text"],
.portal-modal-field input[type="email"],
.portal-modal-field input[type="tel"],
.portal-modal-field input[type="password"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(27, 27, 27, 0.14);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.portal-modal-field input:focus {
  outline: none;
  border-color: rgba(237, 115, 36, 0.45);
  box-shadow: 0 0 0 3px rgba(237, 115, 36, 0.12);
}

.portal-modal-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}

.portal-modal-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0;
  cursor: pointer;
}

.portal-modal-radios input {
  width: auto;
  accent-color: var(--color-promo-bg);
}

.portal-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.portal-modal-actions .btn {
  flex: 1;
  min-width: 6.5rem;
  justify-content: center;
}

.portal-modal-panel .btn-primary {
  background: linear-gradient(135deg, var(--color-promo-bg), #c46218);
  color: #fff;
  box-shadow: 0 4px 16px rgba(237, 115, 36, 0.3);
}

.portal-modal-panel .btn-primary:hover {
  filter: brightness(1.05);
}

.portal-modal-panel .btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(27, 27, 27, 0.2);
}

.portal-modal-panel .btn-outline:hover {
  background: rgba(237, 115, 36, 0.08);
  border-color: rgba(237, 115, 36, 0.35);
}

.portal-modal-feedback {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #5a4a12;
  background: rgba(237, 115, 36, 0.1);
  border: 1px solid rgba(237, 115, 36, 0.22);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin: 0 0 1rem;
}

.survey-portal-legal {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
}

/* —— Lifeway Portal: hub after SurveySelect; eForm modals after inetpub Shabach Confidentiality / HandHygiene / InfectionControl (large modal-lg pattern). —— */
body.lifeway-portal-route {
  margin: 0;
  min-height: 100vh;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.lifeway-portal-route .skip-link {
  z-index: 20;
}

.lifeway-portal-surveyselect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3.25rem 1rem 2.5rem;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 12%, rgba(9, 9, 121, 1) 43%, rgba(73, 250, 117, 1) 100%);
}

.lifeway-portal-exit-nav {
  position: fixed;
  top: 0.65rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  z-index: 10;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lifeway-portal-exit-nav a {
  color: #0a0a5a;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.8);
}

.lifeway-portal-exit-nav a:hover {
  text-decoration: underline;
}

.lifeway-portal-forms-hub {
  width: 100%;
  max-width: 26rem;
  padding: 0 0.5rem 2rem;
  margin: 0 auto;
  text-align: center;
}

.lifeway-portal-picker-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.lifeway-portal-picker-heading {
  margin: 0.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}

.lifeway-portal-forms-intro {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.lifeway-portal-formmenu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.lifeway-portal-formmenu li {
  margin: 0 0 0.5rem;
}

.lifeway-portal-formmenu-btn {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.lifeway-portal-formmenu-btn:hover {
  background: #fff;
  border-color: #fff;
}

.lifeway-portal-formmenu-btn--accent {
  background: rgba(40, 167, 69, 0.15);
  border-color: rgba(40, 167, 69, 0.55);
}

.lifeway-portal-formmenu-btn--accent:hover {
  background: rgba(40, 167, 69, 0.28);
}

.lifeway-portal-picker-account {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.9375rem;
}

.lifeway-portal-picker-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: #0a0a5a;
  cursor: pointer;
  text-decoration: underline;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.lifeway-portal-picker-link:hover {
  color: #000;
}

.lifeway-portal-picker-dot {
  margin: 0 0.35rem;
  color: rgba(10, 10, 90, 0.7);
}

.lifeway-portal-picker-foot {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(10, 10, 90, 0.85);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
}

/* Shabach questionnaire modal interior (Bootstrap-like) */
.lifeway-portal-shabach-modalhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(27, 27, 27, 0.1);
  background: #f1f5f9;
}

.lifeway-portal-shabach-modalhead .portal-modal-close {
  margin-left: auto;
}

.lifeway-portal-shabach-modaltitle {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0.02em;
}

.lifeway-portal-shabach-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.lifeway-portal-shabach-band {
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(9, 9, 121, 1) 0%, rgba(73, 250, 117, 1) 100%);
  border-radius: 4px;
}

.lifeway-portal-shabach-body > .lifeway-portal-shabach-band:first-of-type {
  margin-top: 0;
}

.lifeway-portal-shabach-hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 0.5rem 0;
}

.lifeway-portal-shabach-field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.lifeway-portal-shabach-field--full {
  grid-template-columns: 1fr;
}

.lifeway-portal-shabach-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  padding-top: 0.35rem;
}

.lifeway-portal-shabach-input,
.lifeway-portal-shabach-select,
.lifeway-portal-shabach-textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: inherit;
  box-sizing: border-box;
}

.lifeway-portal-shabach-textarea {
  resize: vertical;
  min-height: 4rem;
}

@media (max-width: 520px) {
  .lifeway-portal-shabach-field {
    grid-template-columns: 1fr;
  }
}

.section--tint.staff-survey-page > .staff-survey-breadcrumb,
.section--tint.staff-survey-page > .staff-survey-form,
.section--tint.service-user-survey-page > .staff-survey-breadcrumb,
.section--tint.service-user-survey-page > .staff-survey-form {
  max-width: min(52rem, var(--max-width));
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.staff-survey-lead {
  max-width: 40rem;
}

.staff-survey-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(237, 115, 36, 0.12);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.staff-survey-breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.staff-survey-breadcrumb a:hover {
  text-decoration: underline;
}

.staff-survey-breadcrumb-sep {
  color: rgba(27, 27, 27, 0.25);
  font-weight: 400;
}

.staff-survey-breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

.staff-survey-form {
  padding-bottom: 0.5rem;
}

.staff-survey-section {
  position: relative;
  border: 1px solid rgba(237, 115, 36, 0.12);
  border-radius: calc(var(--radius) + 6px);
  padding: 0 0 0.25rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--color-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.staff-survey-section::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--color-promo-bg), var(--color-teal));
  opacity: 0.9;
}

.staff-survey-section-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  text-align: left;
  margin: 0;
  padding: 1.1rem 1.35rem 0.85rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(39, 181, 207, 0.12);
  line-height: 1.35;
}

.staff-survey-section-intro {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  padding: 1rem 1.35rem 0.25rem;
  color: var(--color-muted);
}

.staff-survey-scale-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 400;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.staff-survey-scale-hint--block {
  margin-top: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: rgba(39, 181, 207, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(39, 181, 207, 0.12);
}

.staff-survey-label-text {
  display: block;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text);
}

.staff-survey-question {
  display: grid;
  gap: 0.65rem 1rem;
  margin: 0;
  padding: 1rem 1.35rem;
  border-top: 1px solid rgba(27, 27, 27, 0.06);
  align-items: start;
}

.staff-survey-section > .staff-survey-question:first-of-type {
  border-top: none;
}

.staff-survey-section-intro + .staff-survey-question {
  border-top: none;
  padding-top: 0.65rem;
}

.staff-survey-question-main label {
  display: block;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text);
}

@media (min-width: 640px) {
  .staff-survey-question:not(.staff-survey-question--full) {
    grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 12rem);
    gap: 0.75rem 1.25rem;
    align-items: center;
  }

  .staff-survey-question:not(.staff-survey-question--full) .staff-survey-field-wrap {
    justify-self: end;
    width: 100%;
  }
}

.staff-survey-question--full {
  grid-template-columns: 1fr;
  padding-bottom: 1.25rem;
}

.staff-survey-field-wrap {
  min-width: 0;
}

.staff-survey-field-wrap--full {
  margin-top: 0.35rem;
}

.staff-survey-select,
.staff-survey-question textarea {
  width: 100%;
  padding: 0.7rem 2.25rem 0.7rem 0.95rem;
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.35;
  background-color: #fff;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.staff-survey-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231b1b1b' fill-opacity='0.45' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 11px 7px;
}

.staff-survey-question textarea {
  resize: vertical;
  min-height: 9rem;
  max-width: none;
  padding: 0.85rem 1rem;
}

.staff-survey-select:focus,
.staff-survey-question textarea:focus {
  outline: none;
  border-color: rgba(237, 115, 36, 0.45);
  box-shadow: 0 0 0 3px rgba(237, 115, 36, 0.12);
}

.staff-survey-actions {
  margin-top: 0.5rem;
  padding: 1.5rem 1.35rem 1.75rem;
  background: linear-gradient(180deg, rgba(237, 115, 36, 0.05) 0%, rgba(39, 181, 207, 0.04) 100%);
  border: 1px solid rgba(237, 115, 36, 0.1);
  border-radius: calc(var(--radius) + 6px);
  text-align: center;
}

.staff-survey-submit {
  margin-top: 0.35rem;
  min-width: 12rem;
}

.staff-survey-feedback {
  font-size: 0.9375rem;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
  max-width: 36rem;
  text-align: left;
}

.staff-survey-feedback.is-success {
  color: #0d5728;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(13, 87, 40, 0.08);
  border: 1px solid rgba(13, 87, 40, 0.2);
}

.staff-survey-feedback.is-error {
  color: #b42318;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(180, 35, 24, 0.06);
  border: 1px solid rgba(180, 35, 24, 0.18);
}

/* Photo gallery — framed carousel */
.section-gallery {
  position: relative;
}

.section-gallery .section-title {
  margin-bottom: 1.75rem;
}

.section-gallery .section-title::after {
  background: linear-gradient(90deg, var(--color-teal), var(--color-promo-bg));
}

.gallery-carousel.carousel {
  text-align: center;
  position: relative;
  opacity: 0;
  margin: 0 auto;
  transition: opacity 0.5s;
  width: 100%;
  max-width: 100%;
}

.gallery-carousel.carousel.loaded {
  opacity: 1;
}

.gallery-carousel .carousel-container-inner {
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: auto;
}

.gallery-carousel .carousel-viewport {
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  width: 100%;
  height: 600px;
  touch-action: pan-y pinch-zoom;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

@media (max-width: 767px) {
  .gallery-carousel .carousel-viewport {
    height: min(600px, 55vh);
    min-height: 280px;
  }
}

.gallery-carousel .carousel-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  height: 100%;
  will-change: transform;
  line-height: 0;
}

.gallery-carousel .carousel-track .carousel-slide {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  opacity: 0.3;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
  background: rgba(204, 204, 204, 0.7);
}

.gallery-carousel .carousel-track .carousel-slide.carousel-slide-selected {
  opacity: 1;
  z-index: 1;
}

.gallery-carousel .carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  white-space: normal;
}

.gallery-carousel .carousel-arrow-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 2;
}

.gallery-carousel:hover .carousel-arrow-row,
.gallery-carousel:focus-within .carousel-arrow-row {
  opacity: 1;
}

@media (hover: none) {
  .gallery-carousel .carousel-arrow-row {
    opacity: 0.92;
  }
}

.gallery-carousel .carousel-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  margin: 0;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  color: rgb(255, 255, 255);
  background: rgba(22, 22, 22, 0.5);
  line-height: 0;
  pointer-events: auto;
  transition: background 0.2s;
}

.gallery-carousel .carousel-arrow-btn:hover {
  background: rgba(22, 22, 22, 0.65);
}

.gallery-carousel .carousel-arrow-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.gallery-carousel .carousel-arrow-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.gallery-carousel .carousel-arrow-btn--prev {
  left: 16px;
}

.gallery-carousel .carousel-arrow-btn--next {
  right: 16px;
}

.gallery-carousel .carousel-dots {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: center;
}

.gallery-carousel .carousel-dots li {
  display: inline-block;
}

.gallery-carousel .carousel-dots button {
  border: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.18);
  font-size: 0;
  cursor: pointer;
  line-height: 0;
  transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s;
}

.gallery-carousel .carousel-dots button.selected {
  background: linear-gradient(135deg, var(--color-promo-bg), var(--color-teal));
  transform: scale(1.25);
  box-shadow: 0 2px 10px rgba(237, 115, 36, 0.45);
}

.gallery-carousel .carousel-dots button:focus {
  outline: none;
}

.expandable .expand-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expandable.is-open .expand-preview {
  display: block;
  -webkit-line-clamp: unset;
}

.expand-toggle {
  margin-top: 0.85rem;
  background: linear-gradient(135deg, rgba(237, 115, 36, 0.1), rgba(39, 181, 207, 0.08));
  border: 1px solid rgba(237, 115, 36, 0.25);
  color: var(--color-promo-bg);
  font-weight: 700;
  cursor: pointer;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.2s var(--ease-out);
}

.expand-toggle:hover {
  background: linear-gradient(135deg, rgba(237, 115, 36, 0.18), rgba(39, 181, 207, 0.12));
  transform: translateX(2px);
}

.expand-full {
  display: none;
}

.expandable.is-open .expand-full {
  display: block;
}

.expandable.is-open .expand-preview {
  display: none;
}

.page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--color-muted);
}

.page-intro h1 {
  font-family: var(--font-display);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  font-weight: 400;
}

.slavery-policy-section,
.privacy-policy-section {
  scroll-margin-top: 5.5rem;
}

.slavery-policy-meta {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.slavery-policy-meta + .slavery-policy-subheading {
  margin-top: 0.5rem;
}

.cookie-banner p a {
  margin-left: 0.25rem;
  font-weight: 600;
  color: var(--color-promo-bg);
}

.slavery-policy-hero {
  margin: 0 auto 1.75rem;
  max-width: min(100%, 56rem);
  padding: 0 1.25rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slavery-policy-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(48vh, 400px);
  object-fit: cover;
}

.slavery-policy-inline {
  margin: 0 0 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.slavery-policy-inline img {
  display: block;
  width: 100%;
  height: auto;
}

.slavery-policy {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: left;
  color: var(--color-text);
  line-height: 1.65;
}

.slavery-policy-subheading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.slavery-policy > .slavery-policy-subheading:first-of-type {
  margin-top: 0;
}

.slavery-policy p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.slavery-policy p:last-child {
  margin-bottom: 0;
}

.slavery-policy p strong {
  color: var(--color-text);
}

.slavery-policy-list {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--color-muted);
}

.slavery-policy-list li {
  margin-bottom: 0.5rem;
}

.slavery-policy-list li:last-child {
  margin-bottom: 0;
}

.slavery-policy a {
  color: var(--color-promo-bg);
  font-weight: 600;
}

.slavery-policy-credits {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(39, 181, 207, 0.2);
}

.slavery-policy-credits-text {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.slavery-policy-credits-text:last-child {
  margin-bottom: 0;
}

.slavery-policy-credits a {
  color: var(--color-promo-bg);
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1180px) {
  .logo-tagline {
    display: none;
  }
}

@media (max-width: 1040px) and (min-width: 961px) {
  .site-nav a {
    font-size: 0.78rem;
    padding: 0.3rem 0.42rem;
  }

  .header-tel-primary {
    font-size: 0.75rem;
    padding: 0.28rem 0.5rem;
  }

  .header-tel-alt {
    font-size: 0.7rem;
  }
}

@media (max-width: 960px) {
  .header-main-inner {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    column-gap: 0.65rem;
  }

  .logo-link {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
  }

  .header-call-cluster {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    background: linear-gradient(135deg, rgba(237, 115, 36, 0.05), rgba(39, 181, 207, 0.04));
    border-radius: 12px;
    border: 1px solid rgba(237, 115, 36, 0.1);
  }

  .header-tel-primary {
    font-size: 0.8125rem;
    padding: 0.38rem 0.7rem;
  }

  .header-tel-alt {
    font-size: 0.78rem;
    padding: 0.38rem 0.35rem 0.38rem 0.55rem;
  }

  .logo-tagline {
    display: none;
  }

  .site-nav {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    display: none;
    padding-top: 0.35rem;
    border-top: 1px solid var(--color-border);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.25rem 0 0.4rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    font-size: 0.9375rem;
  }

  .site-nav a:hover {
    background: var(--color-accent-soft);
  }

  .site-nav li:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.service-tags a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--color-accent-soft);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.service-tags a:hover {
  background: var(--color-promo-bg);
  color: #fff;
}

.list-check {
  margin: 0;
  padding-left: 1.25rem;
}

.list-check li {
  margin-bottom: 0.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(237, 115, 36, 0.1);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(27, 27, 27, 0.12);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(237, 115, 36, 0.45);
  box-shadow: 0 0 0 3px rgba(237, 115, 36, 0.12);
}

.contact-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.contact-form .checkbox-row input {
  width: auto;
  margin: 0.2rem 0 0;
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.contact-recaptcha {
  margin: 0.75rem 0 0.25rem;
}

.contact-recaptcha-page {
  margin: 0.5rem 0 0.25rem;
}

.contact-recaptcha > div {
  display: inline-block;
}

.form-error {
  font-size: 0.8125rem;
  color: #b42318;
  margin: 0 0 0.75rem;
}

.form-api-message {
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.form-api-message.is-success {
  color: #0d5728;
}

.form-api-message.is-error {
  color: #b42318;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
}

.contact-map-bleed {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  box-sizing: border-box;
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-top: 1px solid rgba(27, 27, 27, 0.1);
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  background: #e8eaed;
  aspect-ratio: 21 / 9;
  max-height: min(52vh, 520px);
  min-height: 220px;
}

.contact-map-bleed .contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .contact-map-bleed {
    aspect-ratio: 16 / 10;
    max-height: min(48vh, 440px);
  }
}

@media (max-width: 600px) {
  .contact-map-bleed {
    aspect-ratio: 4 / 3;
    max-height: none;
    min-height: 240px;
  }
}

.areas-list {
  columns: 2;
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

/* Reviews (contact page) — Lifeway palette */
.reviews-section {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  background: linear-gradient(180deg, #f9f9f9 0%, #f3f4f6 100%);
  border-top: 1px solid rgba(237, 115, 36, 0.08);
  border-bottom: 1px solid rgba(39, 181, 207, 0.08);
}

.reviews-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.reviews-section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  margin: 0 0 1.25rem;
  color: var(--color-text);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reviews-actions {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-submit-btn {
  display: inline-block;
  background: linear-gradient(135deg, #5a2d8a 0%, var(--color-promo-bg) 45%, var(--color-teal) 130%);
  color: #fff !important;
  padding: 0.9rem 2rem;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 24px rgba(237, 115, 36, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.2s;
}

.reviews-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(74, 38, 108, 0.28);
  filter: brightness(1.03);
}

.reviews-actions--dual {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.reviews-submit-btn--secondary {
  background: transparent !important;
  color: var(--color-promo-bg) !important;
  border: 2px solid var(--color-promo-bg);
  box-shadow: none !important;
}

.reviews-submit-btn--secondary:hover {
  background: rgba(237, 115, 36, 0.08) !important;
  filter: none;
}

.submit-review-section {
  scroll-margin-top: 5.5rem;
}

.submit-review-grid .contact-card h3 {
  margin-top: 0;
}

.reviews-carousel {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 2.75rem;
}

.reviews-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  outline: none;
}

.reviews-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(237, 115, 36, 0.35);
}

.reviews-carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 0.35rem;
}

.review-card {
  background: var(--color-surface);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid rgba(237, 115, 36, 0.12);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

.review-star {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-promo-bg);
}

.review-star::before {
  content: "â˜…";
}

.review-text {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text);
}

.review-author {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.review-author strong {
  color: var(--color-text);
  font-size: 1rem;
}

.reviews-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.reviews-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237, 115, 36, 0.25);
  background: #fff;
  color: var(--color-promo-bg);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease-out), color 0.2s, border-color 0.2s, transform 0.2s;
}

.reviews-carousel-btn:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-promo-bg);
  transform: scale(1.05);
}

.reviews-carousel-btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.reviews-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.reviews-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.2);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.reviews-carousel-dot:hover {
  background: rgba(237, 115, 36, 0.45);
  transform: scale(1.15);
}

.reviews-carousel-dot.is-active {
  background: var(--color-promo-bg);
  transform: scale(1.2);
}

.reviews-carousel-dot:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.reviews-section {
  max-width: none;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vw, 3.75rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(39, 181, 207, 0.04) 100%);
  border-top: 1px solid rgba(39, 181, 207, 0.08);
}

.reviews-section > .section-title,
.reviews-section > .reviews-intro {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.reviews-intro {
  text-align: center;
  margin: -1.25rem auto 2rem;
  padding: 0 1.25rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.reviews-add-panel {
  max-width: min(100%, calc(var(--max-width) + 2.5rem));
  margin: clamp(1.75rem, 5vw, 2.75rem) auto 0;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  border-radius: calc(var(--radius) + 6px);
  background: var(--color-surface);
  border: 1px solid rgba(39, 181, 207, 0.12);
  box-shadow: var(--shadow);
}

.reviews-add-heading {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 600;
}

.reviews-add-text {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.reviews-add-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.reviews-add-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-sans);
  border: 2px solid var(--color-promo-bg);
  color: var(--color-promo-bg);
  background: transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s;
}

.reviews-add-secondary:hover {
  transform: translateY(-2px);
  background: rgba(237, 115, 36, 0.08);
}

.reviews-add-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.reviews-scroller-wrap {
  position: relative;
  max-width: min(100vw, calc(var(--max-width) + 5rem));
  margin: 0 auto;
  padding: 0 clamp(0.25rem, 2vw, 2.75rem);
}

.reviews-scroller-wrap.is-marquee-ready .reviews-nav {
  display: none !important;
}

.reviews-dual-marquee {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 2.2vw, 1.1rem);
  flex: 1;
  min-width: 0;
}

.reviews-marquee {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(0.5rem, 2vw, 1rem);
  padding: 0.35rem 0 1rem;
  scrollbar-color: rgba(237, 115, 36, 0.45) transparent;
  -webkit-overflow-scrolling: touch;
}

.reviews-marquee.is-marquee-ready {
  overflow: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 0.75rem,
    #000 calc(100% - 0.75rem),
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
}

.reviews-marquee.is-marquee-ready::-webkit-scrollbar {
  display: none;
}

.reviews-marquee:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 4px;
}

.reviews-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: max-content;
}

.reviews-marquee-set {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .reviews-marquee-row--left.is-marquee-ready .reviews-marquee-track {
    animation: reviews-marquee 52s linear infinite;
    will-change: transform;
  }

  .reviews-marquee-row--right.is-marquee-ready .reviews-marquee-track {
    animation: reviews-marquee 64s linear infinite reverse;
    will-change: transform;
  }

  .reviews-marquee-row.is-marquee-ready:hover .reviews-marquee-track,
  .reviews-marquee-row.is-marquee-ready:focus-within .reviews-marquee-track {
    animation-play-state: paused;
  }
}

@keyframes reviews-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.reviews-card {
  flex: 0 0 min(88vw, 420px);
  scroll-snap-align: start;
  background: #f7f8f9;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 2vw, 1rem);
}

.reviews-card--google {
  border-color: rgba(39, 181, 207, 0.12);
}

.reviews-card-top--google {
  width: 100%;
}

.reviews-google-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.reviews-avatar--long {
  font-size: 0.58rem;
  letter-spacing: 0.01em;
}

.reviews-avatar {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--color-brand-purple), var(--color-teal));
  box-shadow: 0 2px 10px rgba(110, 58, 172, 0.25);
}

.reviews-google-head {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.reviews-card--google .reviews-meta {
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.72rem;
}

.reviews-card--google .reviews-name {
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.85rem;
}

.reviews-card--google .reviews-relation {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
}

.reviews-google-foot {
  margin: 0;
  font-size: 0.875rem;
}

.reviews-google-link {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.reviews-star-dim path {
  fill: rgba(0, 0, 0, 0.16);
}

.reviews-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1rem;
}

.reviews-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--color-promo-bg);
  flex-shrink: 0;
}

.reviews-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.reviews-name {
  color: var(--color-text);
}

.reviews-relation {
  color: rgba(0, 0, 0, 0.38);
}

.reviews-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.reviews-card--google .reviews-quote {
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.reviews-quote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

.reviews-quote p {
  margin: 0;
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(237, 115, 36, 0.25);
  background: var(--color-surface);
  color: var(--color-promo-bg);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.reviews-nav:hover,
.reviews-nav:focus-visible {
  background: var(--color-promo-bg);
  color: #fff;
  border-color: var(--color-promo-bg);
}

.reviews-nav:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.reviews-nav--prev {
  left: 0.15rem;
}

.reviews-nav--next {
  right: 0.15rem;
}

@media (min-width: 720px) {
  .reviews-nav {
    display: flex;
  }

  .reviews-card {
    flex: 0 0 min(72vw, 400px);
  }
}

@media (min-width: 1100px) {
  .reviews-card {
    flex: 0 0 min(38vw, 440px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .reviews-marquee .reviews-marquee-track {
    animation: none !important;
    will-change: auto;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-marquee-set {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
}

.subscribe-box {
  position: relative;
  overflow: hidden;
  margin-top: clamp(-2.25rem, -4.5vw, -0.85rem);
  /* Extra bottom padding so the form clears the footer wave (footer paints on top of main). */
  padding: clamp(2.25rem, 5vw, 3.25rem) 1.25rem clamp(5.25rem, 13vw, 8.5rem);
  background: linear-gradient(
    125deg,
    rgb(188, 82, 22) 0%,
    var(--color-promo-bg) 32%,
    var(--color-brand-purple) 58%,
    var(--color-brand-lime) 82%,
    var(--color-teal) 125%
  );
  color: #fff;
  text-align: center;
}

.subscribe-box::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.12) 0%, transparent 38%);
  pointer-events: none;
}

.subscribe-box h2,
.subscribe-box p,
.subscribe-form {
  position: relative;
  z-index: 2;
}

.subscribe-box h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.subscribe-box p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  font-size: 1.05rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: flex-start;
  max-width: 520px;
  margin: 0 auto;
}

.subscribe-consent {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  max-width: 28rem;
  margin: 0 auto;
}

.subscribe-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-brand-purple);
}

.subscribe-consent label {
  cursor: pointer;
}

.subscribe-success {
  position: relative;
  z-index: 2;
  margin: 0 auto 1rem;
  max-width: 32rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.15rem;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.subscribe-form .btn-primary {
  background: #fff;
  color: var(--color-promo-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.subscribe-box .subscribe-legal {
  position: relative;
  z-index: 2;
  margin: 0.85rem auto 0;
  max-width: 26rem;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.9;
}

.subscribe-box .subscribe-legal a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, #141a18 0%, #0d1210 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 0;
  font-size: 0.9375rem;
  border-top: none;
}

/* Layered wave transition (pattern similar to voyagecare.com-style footers; original artwork). */
.footer-waves {
  position: relative;
  width: 100%;
  margin-top: clamp(-2rem, -4.5vw, -0.75rem);
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.footer-waves-svg {
  display: block;
  width: 100%;
  height: clamp(52px, 11vw, 96px);
  vertical-align: top;
}

.site-footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2rem;
}

.site-footer a {
  color: rgba(255, 200, 230, 0.95);
}

.site-footer a:hover {
  color: #fff;
}

.footer-emergency {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(237, 115, 36, 0.14), rgba(39, 181, 207, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 1.25rem;
  text-align: center;
}

.footer-emergency-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.footer-emergency-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.footer-emergency-nums a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2rem;
}

.footer-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 400;
}

.footer-blurb {
  margin: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contacts li {
  margin-bottom: 0.5rem;
}

.footer-contacts li {
  color: rgba(255, 255, 255, 0.78);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 1.75rem 0 0;
  margin: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.2s;
}

.footer-social a:hover {
  background: rgba(237, 115, 36, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  flex-shrink: 0;
}

.footer-meta {
  text-align: center;
  margin: 1.5rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.footer-legal-note {
  margin: 0 auto 0.65rem;
  max-width: 38rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

.footer-meta-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
}

.footer-meta-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 220, 200, 0.95);
  text-decoration: none;
}

.footer-meta-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hiring-bar {
  background: linear-gradient(135deg, #1e2a26 0%, #152019 50%, #1a2830 100%);
  color: #fff;
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
}

.hiring-bar img {
  max-height: 80px;
  border-radius: 8px;
}

.hiring-bar h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hiring-bar p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hiring-bar .btn {
  background: linear-gradient(135deg, var(--color-promo-bg), rgb(255, 90, 170));
  color: #fff;
  box-shadow: 0 4px 20px rgba(237, 115, 36, 0.4);
}

.hiring-bar .btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  max-width: 560px;
  font-size: 0.875rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-actions button {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), filter 0.2s;
}

.cookie-actions button:hover {
  transform: translateY(-1px);
}

.cookie-decline {
  background: transparent;
  border: 1px solid var(--color-border);
}

.cookie-accept {
  background: var(--color-promo-bg);
  color: #fff;
  border: none;
}

body.cookie-pad {
  padding-bottom: 100px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-block h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-promo-bg);
}

.value-block img {
  border-radius: calc(var(--radius) + 4px);
  width: 100%;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

/* Scroll-reveal (toggled by main.js when motion is allowed) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px) scale(0.988);
  filter: blur(10px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  main p a {
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--color-promo-bg), var(--color-teal));
    background-repeat: no-repeat;
    background-position: 0 calc(100% - 2px);
    background-size: 28% 2px;
    transition: background-size 0.45s var(--ease-out), color 0.2s var(--ease-out);
  }

  main p a:hover {
    background-size: 100% 2px;
    color: var(--color-accent-hover);
  }

  main p a:focus-visible {
    outline: 2px solid var(--color-promo-bg);
    outline-offset: 3px;
    border-radius: 2px;
  }
}
