/* Federated Living Solutions – orange theme & overrides */

:root {
  --primary: rgb(239, 121, 44);
  --primary-dark: rgb(210, 100, 35);
  --primary-light: rgba(239, 121, 44, 0.15);
  --house-blue: #1a2d4a;
  --house-sky: #c7d7e8;
  --house-sky-soft: #87b0dc;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fafbfc;
  overflow-x: hidden;
}

/* Theme overrides */
.fls-primary {
  background-color: var(--primary) !important;
}

.fls-nav {
  background: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

.fls-primary-text {
  color: var(--primary) !important;
}

.fls-btn {
  background-color: var(--primary) !important;
}

.fls-btn:hover {
  background-color: var(--primary-dark) !important;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border: none;
  box-shadow: none;
}

nav {
  border: none !important;
  box-shadow: none !important;
}

main {
  padding-top: 64px;
  overflow-x: hidden;
}

.nav-full-width {
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

@media screen and (max-width: 600px) {
  .nav-full-width {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-logo {
    height: 40px;
  }
}

.nav-logo {
  height: 48px;
  width: auto;
  vertical-align: middle;
}

nav .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav .brand-logo {
  display: flex;
  align-items: center;
  margin-left: 0;
}

nav #nav-mobile {
  margin-left: auto;
  flex-shrink: 0;
}

nav ul a {
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

nav ul a:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.sidenav a {
  text-transform: uppercase;
}

/* Hero – same flat bg as Who We Are (no gradient seam or scroll color shift) */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  padding: 28vh 2rem 4rem 2rem;
  background-color: #fafbfc;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(90%, 100%);
  margin: 0 auto;
  text-align: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 20vh;
}

/* Fixed cluster: text + houses; CSS-only houses respond to --hero-scroll */
.hero-cluster {
  position: fixed;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 44rem;
  padding: 0 1.75rem;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: clamp(1.25rem, 4vh, 2.25rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: rgba(20, 21, 26, 0.45);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  pointer-events: auto;
}

.hero-scroll-hint:hover,
.hero-scroll-hint:focus-visible {
  color: var(--primary);
  outline: none;
}

.hero-scroll-hint__label {
  display: block;
}

.hero-scroll-hint__icon {
  font-size: 1.75rem !important;
  width: 1.75rem;
  height: 1.75rem;
  line-height: 1 !important;
  margin-top: -0.1rem;
  animation: hero-scroll-hint-bob 2.2s ease-in-out infinite;
}

@keyframes hero-scroll-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.hero-cluster-text {
  width: 100%;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-title {
  margin: 0;
  padding: 0;
  color: #14151a;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: clamp(2.05rem, 6.2vw, 3.85rem);
  line-height: 1.12;
  text-align: center;
}

.hero-tagline {
  margin: 1.35rem 0 0;
  padding: 0;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 2.35vw, 1.28rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(20, 21, 26, 0.58);
}

/* Three pure-CSS houses: orange / dark blue / light blue; motion from --hero-scroll (0–1) */
.hero-houses {
  --hero-scroll: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-top: 2rem;
  height: 5.25rem;
  perspective: 420px;
  transform-style: preserve-3d;
}

.hero-house {
  --roof: var(--primary);
  --wall: var(--house-blue);
  --accent: var(--house-sky-soft);
  width: 2.65rem;
  height: 2.85rem;
  margin-top: 1.05rem;
  position: relative;
  background-color: var(--wall);
  box-shadow:
    inset 0.38rem 0.4rem 0 -0.05rem var(--accent),
    inset -0.38rem 0.4rem 0 -0.05rem var(--accent),
    inset 0 0 0 1px rgba(255, 255, 255, calc(0.04 + var(--hero-scroll) * 0.08)),
    0 calc(2px + var(--hero-scroll) * 10px) calc(6px + var(--hero-scroll) * 18px) rgba(15, 31, 54, calc(0.2 + var(--hero-scroll) * 0.16));
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-house::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2.85rem;
  height: 1.05rem;
  transform: translateX(-50%);
  background-color: var(--roof);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  filter: brightness(calc(1 + var(--hero-scroll) * 0.04));
}

.hero-house::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.55rem;
  height: 0.95rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent) 0%, rgba(15, 31, 54, 0.45) 100%);
  border-radius: 1px 1px 0 0;
  box-shadow: 0 -2px 0 0 rgba(15, 31, 54, 0.35);
  opacity: calc(0.85 + var(--hero-scroll) * 0.15);
}

/* Scroll: color-mix shifts palette; translateZ + scale = forward/back (no rotate) */
.hero-house--1 {
  --roof: color-mix(
    in srgb,
    var(--primary) calc((1 - var(--hero-scroll)) * 100%),
    var(--house-blue) calc(var(--hero-scroll) * 100%)
  );
  --wall: color-mix(
    in srgb,
    var(--house-blue) calc((1 - var(--hero-scroll)) * 100%),
    var(--house-sky) calc(var(--hero-scroll) * 100%)
  );
  --accent: color-mix(
    in srgb,
    var(--house-sky) calc((1 - var(--hero-scroll)) * 100%),
    var(--primary) calc(var(--hero-scroll) * 100%)
  );
  transform: translateZ(calc(-18px + var(--hero-scroll) * 42px))
    scale(calc(0.94 + var(--hero-scroll) * 0.1));
}

.hero-house--2 {
  --roof: color-mix(
    in srgb,
    var(--house-blue) calc((1 - var(--hero-scroll)) * 100%),
    var(--house-sky) calc(var(--hero-scroll) * 100%)
  );
  --wall: color-mix(
    in srgb,
    var(--house-sky) calc((1 - var(--hero-scroll)) * 100%),
    var(--primary) calc(var(--hero-scroll) * 100%)
  );
  --accent: color-mix(
    in srgb,
    var(--primary) calc((1 - var(--hero-scroll)) * 100%),
    var(--house-blue) calc(var(--hero-scroll) * 100%)
  );
  transform: translateZ(calc(20px - var(--hero-scroll) * 44px))
    scale(calc(1.02 - var(--hero-scroll) * 0.08));
}

.hero-house--3 {
  --roof: color-mix(
    in srgb,
    var(--house-sky) calc((1 - var(--hero-scroll)) * 100%),
    var(--primary) calc(var(--hero-scroll) * 100%)
  );
  --wall: color-mix(
    in srgb,
    var(--primary) calc((1 - var(--hero-scroll)) * 100%),
    var(--house-blue) calc(var(--hero-scroll) * 100%)
  );
  --accent: color-mix(
    in srgb,
    var(--house-blue) calc((1 - var(--hero-scroll)) * 100%),
    var(--house-sky) calc(var(--hero-scroll) * 100%)
  );
  transform: translateZ(calc(var(--hero-scroll) * (1 - var(--hero-scroll)) * 72px))
    scale(calc(0.96 + var(--hero-scroll) * (1 - var(--hero-scroll)) * 0.12));
}

/* Large screens: ~3.5× base (prior 5× at 70%) */
@media screen and (min-width: 1024px) {
  .hero-houses {
    gap: clamp(2.45rem, 5.6vw, 4.375rem);
    margin-top: 2.5rem;
    height: 18.55rem;
    perspective: 840px;
  }

  .hero-house {
    width: 9.275rem;
    height: 9.975rem;
    margin-top: 3.675rem;
    box-shadow:
      inset 1.33rem 1.4rem 0 -0.175rem var(--accent),
      inset -1.33rem 1.4rem 0 -0.175rem var(--accent),
      inset 0 0 0 2px rgba(255, 255, 255, calc(0.04 + var(--hero-scroll) * 0.08)),
      0 calc(7px + var(--hero-scroll) * 35px) calc(21px + var(--hero-scroll) * 63px) rgba(15, 31, 54, calc(0.18 + var(--hero-scroll) * 0.14));
  }

  .hero-house::before {
    width: 9.975rem;
    height: 3.675rem;
  }

  .hero-house::after {
    width: 1.925rem;
    height: 3.325rem;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -7px 0 0 rgba(15, 31, 54, 0.3);
  }

  .hero-house--1 {
    transform: translateZ(calc(-35px + var(--hero-scroll) * 84px))
      scale(calc(0.94 + var(--hero-scroll) * 0.1));
  }

  .hero-house--2 {
    transform: translateZ(calc(38px - var(--hero-scroll) * 88px))
      scale(calc(1.02 - var(--hero-scroll) * 0.08));
  }

  .hero-house--3 {
    transform: translateZ(calc(var(--hero-scroll) * (1 - var(--hero-scroll)) * 140px))
      scale(calc(0.96 + var(--hero-scroll) * (1 - var(--hero-scroll)) * 0.12));
  }
}

@media screen and (min-width: 900px) {
  .hero-cluster {
    max-width: 48rem;
  }

  .hero-title {
    font-size: clamp(2.65rem, 5vw, 4.85rem);
  }

  .hero-tagline {
    max-width: 38rem;
    font-size: clamp(1.1rem, 2.05vw, 1.48rem);
  }

  .hero-eyebrow {
    font-size: 0.8125rem;
  }
}

@media screen and (min-width: 1200px) {
  .hero-cluster {
    max-width: 56rem;
  }

  .hero-title {
    font-size: clamp(3.15rem, 4.15vw, 6.15rem);
  }

  .hero-tagline {
    max-width: 42rem;
    font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  }

  .hero-eyebrow {
    font-size: 0.875rem;
  }
}

@media screen and (min-width: 1400px) {
  .hero-cluster {
    max-width: 60rem;
  }

  .hero-title {
    font-size: clamp(3.4rem, 3.75vw, 6.85rem);
  }

  .hero-tagline {
    max-width: 44rem;
    font-size: clamp(1.2rem, 1.55vw, 1.8rem);
  }

  .hero-eyebrow {
    font-size: 0.9375rem;
    letter-spacing: 0.2em;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    min-height: 60vh;
    padding: 18vh 1.5rem 4rem;
    align-items: flex-start;
  }

  .hero-cluster {
    max-width: 100%;
    padding: 0 1.25rem;
    top: 44%;
  }

  .hero-houses {
    margin-top: 1.5rem;
    gap: 1rem;
    height: 4.75rem;
  }

  .hero-house {
    width: 2.2rem;
    height: 2.4rem;
    margin-top: 0.9rem;
  }

  .hero-house::before {
    width: 2.35rem;
    height: 0.9rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.45rem);
    letter-spacing: -0.015em;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .hero-tagline {
    margin-top: 1.1rem;
    font-size: 1rem;
  }

  .hero-scroll-hint {
    display: none;
  }
}

/* Sections – extra spacing so scrolling is clear between sections */
.section {
  padding: 6rem 0;
}

@media screen and (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
}

#who-we-are {
  background-color: #fafbfc !important;
  /* min-height: 80vh; */
  display: flex;
  align-items: stretch;
  padding: 0;
}

.who-we-are-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (max-width: 600px) {
  .who-we-are-container {
    padding: 0 1rem;
  }
}

.who-we-are-inner {
  /* min-height: 80vh; */
  width: 100%;
  padding: 4rem 0;
}

@media screen and (max-width: 600px) {
  .who-we-are-inner {
    padding: 2rem 0;
  }

  .who-we-are-title-sticky-wrap {
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .who-we-are-content-inner {
    padding-left: 0;
  }

  #who-we-are .flow-text,
  #who-we-are p {
    margin-bottom: 1.25rem;
    margin-top: 0;
  }
}

.who-we-are-row {
  align-items: stretch;
  min-height: 100%;
}

.who-we-are-title-col {
  align-self: stretch;
}

/* Sticky title: default in-flow; .is-stuck applied by JS for fixed positioning */
.who-we-are-title-sticky-wrap {
  padding-right: 2rem;
  transition: opacity 0.15s ease;
}

.who-we-are-title-sticky-wrap.is-stuck {
  position: fixed;
  top: 80px;
  z-index: 10;
}

#who-we-are .who-we-are-title-col .section-title {
  color: var(--primary);
  text-align: left;
  margin-bottom: 0;
}

.who-we-are-content-inner {
  /* min-height: 80vh; */
  padding-left: 0.5rem;
}

#who-we-are .flow-text,
#who-we-are p {
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* What We Do – same layout and styling as Who We Are */
#what-we-do {
  background-color: #fff !important;
  /* min-height: 80vh; */
  display: flex;
  align-items: stretch;
  padding: 0;
}

.what-we-do-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (max-width: 600px) {
  .what-we-do-container {
    padding: 0 1rem;
  }
}

.what-we-do-inner {
  /* min-height: 80vh; */
  width: 100%;
  padding: 4rem 0;
}

@media screen and (max-width: 600px) {
  .what-we-do-inner {
    padding: 2rem 0;
  }

  .what-we-do-title-sticky-wrap {
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .what-we-do-content-inner {
    padding-left: 0;
  }

  #what-we-do .flow-text,
  #what-we-do p {
    margin-bottom: 1.25rem;
    margin-top: 0;
  }
}

.what-we-do-row {
  align-items: stretch;
  min-height: 100%;
}

.what-we-do-title-col {
  align-self: stretch;
}

.what-we-do-title-sticky-wrap {
  padding-right: 2rem;
  transition: opacity 0.15s ease;
}

.what-we-do-title-sticky-wrap.is-stuck {
  position: fixed;
  top: 80px;
  z-index: 10;
}

#what-we-do .what-we-do-title-col .section-title {
  color: var(--primary);
  text-align: left;
  margin-bottom: 0;
}

.what-we-do-content-inner {
  /* min-height: 80vh; */
  padding-left: 0.5rem;
}

#what-we-do .flow-text,
#what-we-do p {
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* Meet the Team – flip cards */
.meet-the-team-section {
  background-color: #fff !important;
  padding: 0;
}

.meet-the-team-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

@media screen and (max-width: 600px) {
  .meet-the-team-container {
    padding: 2.5rem 1rem;
  }
}

#meet-the-team .meet-the-team-heading {
  text-align: center;
  margin-bottom: 1.25rem;
}

.meet-the-team-lead {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem !important;
  color: rgba(0, 0, 0, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.meet-the-team-grid {
  margin-bottom: 0;
}

.meet-the-team-grid > .col {
  margin-bottom: 2rem;
}

.meet-the-team-grid > .col:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 601px) {
  .meet-the-team-grid > .col {
    margin-bottom: 0;
  }
}

.team-flip {
  perspective: 1100px;
  outline: none;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .team-flip {
    cursor: pointer;
  }
}

.team-flip__inner {
  position: relative;
  min-height: 22rem;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .team-flip:hover .team-flip__inner {
    transform: rotateY(180deg);
  }
}

.team-flip.is-flipped .team-flip__inner {
  transform: rotateY(180deg);
}

.team-flip:focus-visible {
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(239, 121, 44, 0.45);
}

.team-flip__face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fafbfc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.team-flip__face--front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
}

.team-flip__avatar {
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  background: #e4eaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  flex-shrink: 0;
  overflow: hidden;
}

.team-flip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-flip__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #14151a;
  letter-spacing: -0.02em;
}

.team-flip__role {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.52);
  font-weight: 400;
}

.team-flip__cta {
  margin: 1.5rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.team-flip__face--back {
  transform: rotateY(180deg);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.team-flip__back-scroll {
  padding: 1.35rem 1.35rem 1.5rem;
  overflow-y: auto;
  max-height: 100%;
  -webkit-overflow-scrolling: touch;
}

.team-flip__back-scroll p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.82);
}

.team-flip__name--back {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.team-flip__role--back {
  margin: 0 0 0.85rem !important;
  font-size: 0.8rem !important;
}

.team-flip__contact {
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-flip__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  word-break: break-word;
}

.team-flip__link:hover,
.team-flip__link:focus-visible {
  text-decoration: underline;
}

.team-flip__icon {
  font-size: 1.15rem !important;
  flex-shrink: 0;
}

@media screen and (max-width: 600px) {
  .team-flip__inner {
    min-height: 24rem;
  }

  .team-flip__avatar {
    width: 8rem;
    height: 8rem;
  }
}

/* Education & Coaching – same layout and styling as Who We Are / What We Do */
#education-coaching {
  background-color: #f2f2f4 !important;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.education-coaching-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (max-width: 600px) {
  .education-coaching-container {
    padding: 0 1rem;
  }
}

.education-coaching-inner {
  width: 100%;
  padding: 4rem 0;
}

@media screen and (max-width: 600px) {
  .education-coaching-inner {
    padding: 2rem 0;
  }

  .education-coaching-title-sticky-wrap {
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .education-coaching-content-inner {
    padding-left: 0;
  }

  #education-coaching .flow-text,
  #education-coaching p {
    margin-bottom: 1.25rem;
    margin-top: 0;
  }
}

.education-coaching-row {
  align-items: stretch;
  min-height: 100%;
}

.education-coaching-title-col {
  align-self: stretch;
}

.education-coaching-title-sticky-wrap {
  padding-right: 2rem;
  transition: opacity 0.15s ease;
}

.education-coaching-title-sticky-wrap.is-stuck {
  position: fixed;
  top: 80px;
  z-index: 10;
}

#education-coaching .education-coaching-title-col .section-title {
  color: var(--primary);
  text-align: left;
  margin-bottom: 0;
}

.education-coaching-content-inner {
  padding-left: 0.5rem;
}

#education-coaching .flow-text,
#education-coaching p {
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.section-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}

.section-list {
  margin: 1rem 0 1.5rem 1.25rem;
  padding-left: 1rem;
}

.section-list li {
  margin-bottom: 0.5rem;
}

/* Our Approach – same layout as Who We Are / What We Do; content is cards */
#our-approach {
  background-color: #e2e4ec !important;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.our-approach-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (max-width: 600px) {
  .our-approach-container {
    padding: 0 1rem;
  }
}

.our-approach-inner {
  width: 100%;
  padding: 4rem 0;
}

@media screen and (max-width: 600px) {
  .our-approach-inner {
    padding: 2rem 0;
  }
}

.our-approach-row {
  align-items: stretch;
  min-height: 100%;
}

.our-approach-title-col {
  align-self: stretch;
}

.our-approach-title-sticky-wrap {
  padding-right: 2rem;
  transition: opacity 0.15s ease;
}

.our-approach-title-sticky-wrap.is-stuck {
  position: fixed;
  top: 80px;
  z-index: 10;
}

#our-approach .our-approach-title-col .section-title {
  color: var(--primary);
  text-align: left;
  margin-bottom: 0;
}

.our-approach-content-inner {
  padding-left: 0.5rem;
}

/* Cards grid – equal height, 2x2 */
.our-approach-cards {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 1.5rem;

}

.approach-card-col {
  margin-bottom: 0;
  display: flex;
}

.approach-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  padding: 0rem 1.5rem 0rem 0.5rem;
}

.approach-card .card-content {
  padding: 1.75rem 1.5rem;
}

.approach-card .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

#our-approach .approach-card .card-content p {
  color: rgba(0, 0, 0, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Our Approach – mobile */
@media screen and (max-width: 600px) {
  .our-approach-title-sticky-wrap {
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .our-approach-content-inner {
    padding-left: 0;
  }

  .our-approach-cards {
    gap: 1.25rem;
  }

  .approach-card-col {
    width: 100%;
    max-width: 100%;
  }

  .approach-card .card-content {
    padding: 1.25rem 1rem;
  }

  .approach-card .card-title {
    font-size: 1.25rem;
  }

  #our-approach .approach-card .card-content p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* Cards – accent border or subtle highlight */
.card .card-title.fls-primary-text {
  font-weight: 600;
}

/* Contact – GIF as fixed background (all widths). Was desktop-only because mobile used <img>;
   iOS Safari may still treat background-attachment: fixed like scroll — browser limitation. */
#contact.contact-section {
  position: relative;
  background-color: #f2f2f4;
  background-image: url('images/hero.gif');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-attachment: fixed;
  padding: 0;
  min-height: calc(100vh - 64px - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media screen and (min-width: 769px) {
  #contact.contact-section {
    background-size: 100% auto;
  }
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background-color: #ffffffdb;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s ease-out;
}

.contact-section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #ffffffdb;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

#contact .section-title {
  color: var(--primary);
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-info {
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 !important;
  color: rgba(0, 0, 0, 0.85);
  font-size: 1.1rem;
}

.contact-item .material-icons {
  font-size: 1.5rem;
}

#contact .contact-item a {
  color: var(--primary);
  text-decoration: none;
}

#contact .contact-item a:hover {
  text-decoration: underline;
}

.contact-hours {
  color: rgba(0, 0, 0, 0.85);
}

/* Narrow viewports: inset card from viewport edges (global .container is width 100% on small screens) */
@media screen and (max-width: 992px) {
  #contact.contact-section {
    padding: 2.5rem clamp(1.1rem, 5vw, 2rem) 2.75rem;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 600px) {
  #contact.contact-section {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .contact-section-inner {
    padding: 1.65rem 1.4rem 1.85rem;
  }

  #contact .section-title {
    margin-bottom: 1.65rem;
  }

  .contact-item {
    flex-direction: column;
    gap: 0.25rem;
    font-size: 1rem;
  }

  .contact-item .material-icons {
    font-size: 1.35rem;
  }
}

/* Footer – compact bar (Materialize row/col adds default vertical margin) */
.page-footer {
  padding: 0.55rem 0;
  margin-top: 0;
}

.page-footer .container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-footer .row {
  margin-top: 0;
  margin-bottom: 0 !important;
}

.page-footer .col {
  padding-top: 0;
  padding-bottom: 0;
}

.page-footer .white-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: center;
}
