:root {
  --ink: #1d1d1b;
  --muted: #64625d;
  --line: #ddd9cf;
  --paper: #f7f5ef;
  --soft: #ece9df;
  --silver: #d7d6d2;
  --gold: #9b8549;
  --gold-soft: #e8d59c;
  --olive: #6b5d39;
  --teal: #18464a;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(29, 29, 27, 0.12);
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 217, 207, 0.9);
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(168px, 18vw, 236px);
  height: auto;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.header-action:hover {
  color: var(--ink);
}

.header-action {
  padding: 10px 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 640px) minmax(360px, 520px);
  justify-content: center;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding: clamp(34px, 6vw, 76px) clamp(20px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(236, 233, 223, 0.88)),
    var(--soft);
}

.hero-content {
  max-width: 640px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(155, 133, 73, 0.24);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0), rgba(29, 29, 27, 0.16));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(29, 29, 27, 0.14);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

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

.button.light {
  color: var(--ink);
  background: var(--white);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(155, 133, 73, 0.28);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.differentials-section {
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.differentials-section .section-heading {
  max-width: var(--container);
  margin: 0 auto 26px;
}

.differentials-section h2 {
  max-width: 860px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--container);
  margin-inline: auto;
}

.differentials-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  min-height: 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.differential-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--teal);
  background: var(--white);
  border: 1px solid rgba(155, 133, 73, 0.28);
  border-radius: 50%;
  font-weight: 800;
}

.differential-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(24%) saturate(1081%) hue-rotate(139deg) brightness(88%) contrast(92%);
}

.differentials-grid strong,
.differentials-grid span:not(.differential-icon) {
  display: block;
}

.differentials-grid strong {
  grid-area: title;
  color: var(--teal);
  font-size: 19px;
  line-height: 1.2;
}

.differentials-grid span:not(.differential-icon) {
  grid-area: text;
  color: var(--muted);
}

.lead-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(340px, 500px);
  justify-content: center;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  overflow: hidden;
  padding: clamp(54px, 8vw, 88px) clamp(20px, 4vw, 56px);
  background:
    linear-gradient(105deg, rgba(24, 70, 74, 0.9), rgba(24, 70, 74, 0.56)),
    url("./assets/space/sala-fisio-4.jpg") center / cover;
  border-bottom: 1px solid var(--line);
}

.lead-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(232, 213, 156, 0.26), transparent 32%);
  pointer-events: none;
}

.lead-section > * {
  position: relative;
  z-index: 1;
}

.lead-copy {
  max-width: 680px;
}

.lead-copy .eyebrow {
  color: var(--gold-soft);
}

.lead-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
}

.lead-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.45;
}

.lead-benefits {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.lead-benefits li {
  position: relative;
  padding: 12px 16px 12px 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.lead-benefits li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--gold-soft);
  border-radius: 50%;
  transform: translateY(-50%);
}

.section {
  padding: clamp(64px, 10vw, 116px) clamp(20px, 4vw, 56px);
}

.section-heading {
  max-width: var(--container);
  margin: 0 auto 34px;
}

.section-heading > h2,
.section-heading > p:not(.eyebrow) {
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.symptom-list,
.service-grid {
  display: grid;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}

.symptom-list {
  grid-template-columns: repeat(5, 1fr);
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.space-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.symptom-list article {
  min-height: 174px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
}

.symptom-list h3 {
  color: var(--teal);
  font-size: 20px;
}

.symptom-list p {
  margin-bottom: 0;
}

.service-card {
  min-height: 0;
  overflow: hidden;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--gold);
  background: var(--paper);
  border: 1px solid rgba(155, 133, 73, 0.26);
  border-radius: 50%;
}

.service-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(47%) sepia(17%) saturate(885%) hue-rotate(8deg) brightness(91%) contrast(86%);
}

.service-toggle {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  padding: 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-title {
  color: var(--teal);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.18;
}

.service-arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--paper);
  border: 1px solid rgba(155, 133, 73, 0.28);
  border-radius: 50%;
}

.service-arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.24s ease;
}

.service-card.is-open .service-arrow::before {
  transform: translateY(2px) rotate(225deg);
}

.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.34s ease, opacity 0.24s ease;
}

.service-card.is-open .service-details {
  opacity: 1;
}

.service-details p {
  margin: -4px 22px 22px;
}

.service-subareas {
  display: grid;
  gap: 6px;
  margin: -10px 22px 22px;
  padding-left: 18px;
  color: var(--muted);
}

.symptom-list p,
.service-grid p,
.service-subareas,
.space-card p,
.team-card p,
.contact-section p,
.faq-section p,
.site-footer {
  color: var(--muted);
}

.team-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}

.team-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.team-card-copy {
  padding: 18px;
}

.team-card-copy h3 {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 20px;
}

.team-card-copy p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.4;
}

.differentials-grid article,
.symptom-list article,
.service-card,
.team-card,
.space-card,
.journey-list article,
.faq-list details,
.lead-form {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.differentials-grid article:hover,
.symptom-list article:hover,
.service-card:hover,
.team-card:hover,
.space-card:hover,
.journey-list article:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 133, 73, 0.42);
  box-shadow: 0 22px 52px rgba(29, 29, 27, 0.14);
}

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

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 720px);
  justify-content: center;
  gap: clamp(28px, 5vw, 72px);
}

.journey-list {
  display: grid;
  gap: 14px;
}

.journey-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.journey-list span {
  display: block;
  width: fit-content;
  padding-top: 2px;
  color: var(--gold);
  background: transparent;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
}

.journey-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.space-gallery {
  display: grid;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}

.gallery-section {
  background: var(--white);
}

.space-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.space-card {
  overflow: hidden;
}

.space-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.space-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.space-card.featured img {
  aspect-ratio: 16 / 10;
}

.space-card-copy {
  padding: 20px;
}

.space-card-copy p {
  margin-bottom: 0;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  overflow: hidden;
  width: calc(100% - 2 * clamp(20px, 4vw, 56px));
  max-width: var(--container);
  margin: 0 auto clamp(44px, 8vw, 82px);
  padding: clamp(36px, 6vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 70, 74, 0.94), rgba(29, 29, 27, 0.78)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/%C3%81guas_Claras_faz_20_anos_com_obras_em_mobilidade_e_mais_qualidade_de_vida.jpg/1920px-%C3%81guas_Claras_faz_20_anos_com_obras_em_mobilidade_e_mais_qualidade_de_vida.jpg") center / cover;
  border-radius: 8px;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-section .eyebrow {
  color: var(--gold-soft);
}

.contact-section p {
  max-width: 680px;
  color: #f2f4ec;
}

.photo-credit {
  margin-top: 18px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 12px;
}

.photo-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-frame {
  min-height: 320px;
  grid-column: 1 / -1;
  margin-top: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(232, 213, 156, 0.32);
  border-radius: 8px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.faq-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 18px 58px 18px 22px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 780px;
  margin: -4px 58px 22px 22px;
}

.lead-form {
  align-self: start;
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--gold-soft);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  counter-reset: lead-step;
}

.lead-form-header {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.lead-form-header strong {
  color: var(--teal);
  font-size: 26px;
  line-height: 1.1;
}

.lead-form-header span {
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
}

.lead-field {
  counter-increment: lead-step;
}

.lead-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 17px;
  font-weight: 800;
}

.lead-field label::before {
  content: counter(lead-step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  color: var(--ink);
  background: #fffaeb;
  border: 3px solid var(--teal);
  border-radius: 8px;
  font: inherit;
  font-size: 19px;
  font-weight: 600;
}

.lead-form input::placeholder {
  color: #a89c7a;
  font-weight: 400;
}

.lead-form input:focus {
  outline: 4px solid rgba(232, 213, 156, 0.65);
  border-color: var(--gold);
}

.lead-form .button {
  width: 100%;
  min-height: 62px;
  margin-top: 2px;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 16px 34px rgba(24, 70, 74, 0.28);
}

.lead-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.lead-form .button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.form-note {
  margin-bottom: 0;
  color: var(--teal) !important;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.form-error {
  display: none;
  margin: -4px 0 0;
  padding: 12px 14px;
  color: #7a221c !important;
  background: #fff0ed;
  border: 1px solid #e4aaa2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form-error.is-visible {
  display: block;
}

@media (max-width: 1080px) {
  .lead-section,
  .contact-section,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .map-frame {
    grid-column: auto;
    grid-row: auto;
  }

  .map-frame {
    margin-top: 0;
  }
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(44px, 7vw, 72px) clamp(20px, 4vw, 56px);
}

.footer-brand {
  max-width: 460px;
}

.footer-brand strong,
.footer-column strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 18px;
}

.footer-brand p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 20px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .hero,
  .lead-section,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
    min-height: 420px;
  }

  .symptom-list,
  .service-grid,
  .space-gallery,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .nav {
    display: none;
  }

  .symptom-list,
  .lead-section,
  .differentials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand-logo {
    width: 142px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-trust span {
    width: 100%;
  }

  .contact-section {
    width: 100%;
    margin-inline: 0;
    margin-bottom: 0;
    padding: 28px 20px;
    border-radius: 0;
  }

  .lead-section {
    padding: 36px 20px;
  }

  .lead-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .lead-benefits {
    margin-top: 20px;
  }

  .lead-benefits li {
    padding: 11px 14px 11px 38px;
    font-size: 14px;
  }

  .contact-section h2,
  .lead-section h2 {
    font-size: 30px;
    line-height: 1.06;
  }

  .lead-form {
    gap: 16px;
    padding: 20px;
  }

  .lead-form-header strong {
    font-size: 21px;
  }

  .lead-form input {
    min-height: 54px;
    font-size: 16px;
  }

  .lead-form .button {
    min-height: 56px;
    padding-inline: 16px;
    font-size: 16px;
    line-height: 1.2;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 240px;
  }

  .faq-list summary {
    min-height: 62px;
    padding: 16px 52px 16px 18px;
    font-size: 17px;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list p {
    margin: -2px 18px 20px;
  }

  .service-grid,
  .space-gallery,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .space-gallery,
  .team-grid {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .space-gallery::-webkit-scrollbar,
  .team-grid::-webkit-scrollbar {
    height: 6px;
  }

  .space-gallery::-webkit-scrollbar-thumb,
  .team-grid::-webkit-scrollbar-thumb {
    background: rgba(155, 133, 73, 0.35);
    border-radius: 999px;
  }

  .space-card,
  .team-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .space-card.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .journey-list article {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
