/* ==========================================================
   Physiothérapie LPS — styles.css
   Brand: yellow (#ffc700) + black + white
   ========================================================== */

:root {
  --primary: #ffc700;
  --primary-rgb: 255, 199, 0;
  --primary-ink: #111827;
  --primary-ink-rgb: 17, 24, 39;
  --primary-dark: #cc9e00;
  --primary-dark-rgb: 204, 158, 0;
  --primary-light: #ffe066;
  --primary-light-rgb: 255, 224, 102;
  --secondary: #1a1a1a;
  --secondary-rgb: 26, 26, 26;
  --secondary-ink: #ffffff;
  --secondary-ink-rgb: 255, 255, 255;
  --accent: #fec80a;
  --accent-rgb: 254, 200, 10;
  --accent-ink: #111827;
  --accent-ink-rgb: 17, 24, 39;
  --accent-on-light: #b88200;
  --accent-on-light-rgb: 184, 130, 0;
  --text: #1a1a1a;
  --text-rgb: 26, 26, 26;
  --text-light: #4a4a4a;
  --text-light-rgb: 74, 74, 74;
  --text-muted: #6b6b6b;
  --text-muted-rgb: 107, 107, 107;
  --background: #ffffff;
  --background-rgb: 255, 255, 255;
  --bg-alt: #ffc700;
  --bg-alt-rgb: 255, 199, 0;
  --bg-alt-ink: #111827;
  --bg-alt-ink-rgb: 17, 24, 39;
  --surface: #f7f7f7;
  --surface-rgb: 247, 247, 247;
  --border: #8f8f8f;
  --border-rgb: 143, 143, 143;

  /* Utility tokens */
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 14px 40px rgba(0,0,0,0.18);
  --transition: 0.25s ease;
  --container-max: 1200px;
  --container-pad: 24px;
  --font-body: 'Montserrat', 'Almarai', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Montserrat', 'Almarai', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
img, picture, video { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
sup { font-size: .7em; }

/* Accessibility focus */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 3px solid var(--primary-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.35);
}
html { scroll-padding-top: 96px; }

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.phone-nowrap { white-space: nowrap; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--text); }
.eyebrow--light { color: var(--primary); }
.eyebrow--accent { color: var(--primary); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .65rem 1.2rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--primary-ink); box-shadow: 0 6px 18px rgba(var(--primary-dark-rgb), 0.45); }
.btn--primary:active { transform: translateY(0); background: #b88c00; border-color: #b88c00; }

.btn--dark {
  background: var(--secondary);
  color: var(--secondary-ink);
  border-color: var(--secondary);
}
.btn--dark:hover { background: #000; color: var(--secondary-ink); border-color: #000; }

.btn--outline-dark {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn--outline-dark:hover { background: var(--secondary); color: var(--secondary-ink); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--ghost-light:hover { background: #fff; color: var(--secondary); border-color: #fff; }

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.topbar__item {
  color: rgba(255,255,255,0.85);
}
.topbar__item:hover { color: var(--primary); }
.topbar__sep { color: rgba(255,255,255,0.25); }
.topbar__phone {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}
.topbar__phone:hover { color: var(--primary-light); }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__link {
  display: inline-block;
  padding: .65rem 1rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  border-radius: var(--radius);
  position: relative;
}
.nav__link:hover { color: var(--primary-ink); background: rgba(var(--primary-rgb), 0.18); }
.nav__link.active {
  color: var(--primary-ink);
}
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 4px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.header__cta {
  flex-shrink: 0;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--secondary);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 1rem 0;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open {
  display: block;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  padding: 0 var(--container-pad);
}
.mobile-menu__link {
  display: block;
  padding: .9rem .5rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text);
}
.mobile-menu__link.active { color: var(--primary-dark); }
.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1rem var(--container-pad) 0;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--secondary);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 45%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 60%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5rem;
}
.hero__content {
  max-width: 720px;
}
.hero__title {
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  letter-spacing: -0.01em;
}
.hero__title--accent {
  color: var(--primary);
  display: inline-block;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .65rem;
  color: #ffffff;
  font-size: .88rem;
  font-weight: 700;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  padding: .45rem .9rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ==========================================================
   GENERIC BAND
   ========================================================== */
.band {
  padding: 5rem 0;
}
.band--white { background: var(--background); }
.band--surface { background: var(--surface); }
.band--yellow {
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #ffcd1a 0%, #f5bf00 100%);
  color: var(--bg-alt-ink);
  position: relative;
}
.band--yellow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.18), transparent);
}
.band--yellow .band__title,
.band--yellow .band__sub,
.band--yellow p,
.band--yellow .eyebrow--dark { color: var(--bg-alt-ink); }
.band--dark { background: var(--secondary); color: #fff; }
.band--dark .band__title,
.band--dark .band__sub,
.band--dark p { color: #fff; }
.band--dark .band__sub--light { color: rgba(255,255,255,0.85); }
.band--dark a { color: var(--primary); }
.band--dark a:hover { color: var(--primary-light); }

.band__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.band__title { margin: 0 0 1rem; }
.band__title--light { color: #fff; }
.band__title--left { text-align: left; }
.band__sub {
  color: var(--text-light);
  font-size: 1.05rem;
  margin: 0;
}
.band__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ==========================================================
   TAGLINE BAND
   ========================================================== */
.tagline-band { text-align: center; padding: 4.5rem 0; }
.tagline {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
}
.tagline::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}
.tagline__sub {
  max-width: 720px;
  margin: 1.5rem auto 2rem;
  color: var(--text-light);
  font-size: 1.05rem;
}
.tagline__cta { display: flex; justify-content: center; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services-row {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-row.services-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}
.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body {
  padding: 1.5rem 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #fff;
  border-top: 3px solid var(--primary);
}
.service-card__body h3 {
  color: #fff;
  margin: 0;
  font-size: 1.15rem;
}
.service-card__body p {
  color: rgba(255,255,255,0.85);
  font-size: .95rem;
  margin: 0;
  flex: 1;
}
.service-card .card-link {
  display: inline-block;
  margin-top: .8rem;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
}
.service-card .card-link:hover { color: var(--primary-light); }

/* Service pills */
.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin: 2.5rem auto 0;
  max-width: 900px;
}
.service-pills li {
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,0,0,0.15);
}

/* ==========================================================
   CLIENTELE BAND
   ========================================================== */
.clientele__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.clientele__copy h2 { margin-bottom: 1rem; }
.clientele__copy p {
  color: var(--text-light);
  font-size: 1.05rem;
}
.clientele__cta { margin-top: 1.5rem; }
.clientele__pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pill-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.pill-card strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
}
.pill-card span {
  font-size: .85rem;
  color: var(--text-light);
}

/* ==========================================================
   FACILITY
   ========================================================== */
.facility-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
}
.facility-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.facility-tile--lg {
  grid-row: span 2;
}
.facility-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.facility-tile:hover img { transform: scale(1.05); }
.facility-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem .9rem;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0) 100%);
}

/* ==========================================================
   TEAM
   ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__media {
  aspect-ratio: 2 / 3;
  background: var(--secondary);
  overflow: hidden;
}
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.team-card__body {
  padding: 1.5rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.team-card__body h3 { margin: 0; }
.team-card__role {
  display: inline-block;
  align-self: center;
  color: var(--primary-ink);
  background: var(--primary);
  font-weight: 700;
  font-size: .78rem;
  margin: .25rem 0 .25rem;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.team-card__bio {
  color: var(--text-light);
  font-size: .92rem;
  margin: .4rem 0 0;
}

/* ==========================================================
   PARTNERS
   ========================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  padding: 1.2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.partner-tile img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band { padding: 4rem 0; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.cta-band__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 .5rem;
  color: var(--bg-alt-ink);
}
.cta-band__sub {
  color: var(--bg-alt-ink);
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.85;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: flex-end;
}

/* ==========================================================
   VISIT / CONTACT
   ========================================================== */
.visit__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.info-list li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.info-list__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.info-list a {
  color: var(--text);
  font-weight: 600;
}
.info-list a:hover { color: var(--primary-dark); }

.visit__sub {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.hours th, .hours td {
  text-align: left;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: .95rem;
}
.hours th { font-weight: 700; color: var(--text); }
.hours td { color: var(--text-light); }

.visit__map {
  position: relative;
  width: 100%;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow);
}
.visit__map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, #e8e9ec 0%, #eef2f4 100%),
    var(--surface);
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #e8e9ec 0%, #eef2f4 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.visit__map-pin {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  max-width: 280px;
  border: 2px solid var(--primary);
}
.visit__map-pin-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--secondary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-bottom: .25rem;
}
.visit__map-pin-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.visit__map-pin-addr {
  color: var(--text-light);
  font-size: .85rem;
  line-height: 1.4;
}
.visit__map-pin .btn {
  margin-top: .5rem;
}
.visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
  background: transparent;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--secondary);
  color: #fff;
  padding-top: 4rem;
}
.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: var(--primary); }
.footer a.btn--primary,
.footer a.btn--primary:hover { color: var(--primary-ink); }
.footer a.btn--dark,
.footer a.btn--dark:hover { color: var(--secondary-ink); }
.footer a.btn--outline-dark { color: var(--secondary); }
.footer a.btn--ghost-light { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__col--brand { max-width: 320px; }
.footer__logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}
.footer__tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.footer__about {
  color: rgba(255,255,255,0.78);
  font-size: .92rem;
  line-height: 1.6;
}
.footer__heading {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1.2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer__heading::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--primary);
  margin-top: .6rem;
  border-radius: 2px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer__list li, .footer__list--plain li {
  color: rgba(255,255,255,0.85);
  font-size: .92rem;
}
.footer__cta { margin-top: 1.2rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .85rem;
  color: rgba(255,255,255,0.7);
}
.footer__bottom-inner p { margin: 0; }
.footer__credit { color: rgba(255,255,255,0.6); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Tablet / small desktop */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services-row.services-row--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit__inner { grid-template-columns: 1fr; }
  .clientele__inner { grid-template-columns: 1fr; }
}

/* Mobile breakpoint — hide desktop nav, show hamburger */
@media (max-width: 960px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .nav-toggle { display: flex; }

  .topbar { font-size: .78rem; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__left { display: none; }

  .hero { min-height: auto; }
  .hero__inner { padding: 4.5rem 0 4rem; }
  .hero__actions .btn { flex: 1 1 auto; }

  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band__actions { justify-content: center; }

  .facility-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .facility-tile--lg { grid-row: span 1; grid-column: span 2; }

  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .partner-tile { height: 110px; padding: .8rem; }
  .partner-tile img { max-height: 60px; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer__col--brand { max-width: none; }

  .visit__map { min-height: 360px; }

  .band { padding: 4rem 0; }
}

@media (max-width: 600px) {
  :root { --container-pad: 18px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  .topbar__inner { font-size: .78rem; gap: .3rem; }
  .topbar__right { gap: .5rem; }
  .topbar__sep { display: none; }

  .brand__logo { height: 46px; }

  .hero__inner { padding: 3.5rem 0 3rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__badges { gap: .55rem 1rem; font-size: .85rem; }

  .services-row.services-row--three { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 440px; }
  .clientele__pills { grid-template-columns: 1fr; }

  .facility-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }
  .facility-tile--lg { grid-column: span 1; }

  .partners-grid { grid-template-columns: 1fr; }
  .partner-tile { height: 120px; }

  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

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

/* betterly-css-safety-net:start */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img, .hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card {
  background: var(--background, #fff);
  border: 1px solid var(--border, #e1e6ed);
  border-radius: var(--radius, 12px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: hidden;
}

.service-card__body > .card-link {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .intro-grid,
  .founder-grid,
  .visit-grid,
  .feature-grid,
  .trust-grid,
  .value-grid,
  .value__grid,
  .program-grid,
  .pillar-grid,
  .link-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .value__list,
  .values-list,
  .trust-list,
  .checklist,
  .bullets {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    display: grid;
  }
  .cta-banner-inner {
    display: grid;
  }
}
/* betterly-css-safety-net:end */
