:root {
  --ink: #17203f;
  --muted: #596174;
  --line: #dbe6ee;
  --paper: #f7fbfd;
  --white: #ffffff;
  --leaf: #82c51f;
  --leaf-dark: #378c2e;
  --blue: #128cc6;
  --navy: #263184;
  --sage: #eaf6df;
  --sun: #f58218;
  --rose: #f8b156;
  --shadow: 0 18px 48px rgba(23, 32, 63, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(18, 140, 198, 0.16);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(23, 32, 63, 0.06);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: clamp(150px, 22vw, 260px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  padding: 6px;
  border: 1px solid rgba(18, 140, 198, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 15px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 10px 22px rgba(38, 49, 132, 0.22);
  transform: translateY(-1px);
}

.site-nav a:focus-visible {
  outline: 3px solid rgba(245, 130, 24, 0.72);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.btn.secondary {
  border-color: rgba(245, 130, 24, 0.44);
  color: var(--navy);
  background: var(--white);
}

.btn.secondary:hover {
  background: #fff3e6;
}

.btn.is-disabled {
  border-color: var(--line);
  color: var(--muted);
  background: var(--white);
  cursor: not-allowed;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
  background-image: linear-gradient(90deg, rgba(23, 32, 63, 0.88), rgba(18, 140, 198, 0.42), rgba(130, 197, 31, 0.18)), url("images/livefit-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-slide:nth-child(2) {
  background-image: linear-gradient(90deg, rgba(23, 32, 63, 0.84), rgba(130, 197, 31, 0.44), rgba(18, 140, 198, 0.18)), url("images/livefit-hero.png");
  background-position: left center;
}

.hero-slide:nth-child(3) {
  background-image: linear-gradient(90deg, rgba(23, 32, 63, 0.88), rgba(245, 130, 24, 0.38), rgba(38, 49, 132, 0.2)), url("images/livefit-hero.png");
  background-position: right center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
  color: var(--white);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 30px;
  border-radius: 999px;
  border-color: var(--sun);
  background: var(--sun);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 8vw, 5.9rem);
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

section,
.page-hero {
  padding: 76px 0;
}

.page-hero {
  background: var(--sage);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.feature-list,
.values-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li,
.values-list li,
.contact-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--white);
}

.program-grid,
.service-grid,
.gallery-grid,
.testimonial-grid,
.journey-grid,
.focus-grid,
.media-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 32, 63, 0.05);
}

.card h3 {
  font-size: 1.17rem;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.visual-panel {
  min-height: 360px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 140, 198, 0.9), rgba(130, 197, 31, 0.68), rgba(245, 130, 24, 0.58)), url("images/livefit-hero.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.tall-panel {
  min-height: 480px;
}

.soft-band {
  background: linear-gradient(135deg, #edf8ff, #eef8e5 56%, #fff3e6);
}

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

.journey-step,
.focus-card,
.team-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.journey-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), var(--blue));
  font-weight: 850;
}

.journey-step p,
.focus-card p,
.team-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.expect-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.expect-list div {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--white);
}

.expect-list span {
  color: var(--muted);
}

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

.focus-card {
  background: linear-gradient(180deg, var(--white), #fff3e6);
}

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

.livefit-service-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.livefit-service-card {
  display: grid;
  grid-template-rows: 360px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 32, 63, 0.08);
}

.livefit-service-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: linear-gradient(135deg, rgba(234, 246, 223, 0.72), rgba(255, 255, 255, 0.92));
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.service-card-body p {
  margin: 0;
  color: var(--muted);
}

.service-card-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.service-tag {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--navy);
  background: #e8f4fb;
  font-size: 0.82rem;
  font-weight: 850;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 32, 63, 0.04);
}

.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

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

.review-card,
.cert-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 32, 63, 0.05);
}

.stars {
  color: var(--sun);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.review-card p {
  margin: 14px 0 18px;
  color: var(--ink);
  font-weight: 650;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.review-link:hover {
  color: var(--orange);
}

.review-card span,
.cert-card p {
  margin-top: 6px;
  color: var(--muted);
}

.cert-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--sun), var(--leaf));
  font-weight: 900;
}

.featured-cert {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, var(--navy), var(--leaf));
}

.featured-cert p {
  color: rgba(255, 255, 255, 0.84);
}

.media-grid {
  grid-template-columns: 1.1fr 0.9fr 1.1fr;
}

.media-slot {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(18, 140, 198, 0.45);
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(232, 244, 251, 0.76), rgba(234, 246, 223, 0.78), rgba(255, 255, 255, 0.92)), url("images/livefit-hero.png");
  background-position: center;
  background-size: cover;
  font-weight: 850;
}

.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 63, 0.02), rgba(23, 32, 63, 0.52));
}

.video-slot {
  position: relative;
}

.video-slot::before {
  content: "";
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: var(--shadow);
}

.video-slot::after {
  content: "";
  position: absolute;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--white);
  transform: translateX(4px);
}

.media-slot span {
  position: relative;
  z-index: 1;
  align-self: end;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.team-card {
  text-align: center;
}

.team-photo {
  width: min(180px, 70%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px dashed rgba(18, 140, 198, 0.5);
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(232, 244, 251, 0.9), rgba(234, 246, 223, 0.84), rgba(255, 255, 255, 0.95));
  font-weight: 850;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.6rem;
}

.band {
  background: linear-gradient(135deg, var(--navy), var(--blue) 58%, var(--leaf-dark));
  color: var(--white);
}

.band .section-heading p,
.band .card p {
  color: rgba(255, 255, 255, 0.78);
}

.band .card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 240px;
  display: flex;
  align-items: end;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(23, 32, 63, 0.12);
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 63, 0.04), rgba(23, 32, 63, 0.72));
}

.gallery-tile figcaption {
  position: relative;
  z-index: 1;
  padding: 18px;
  font-weight: 800;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

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

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

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

.field span {
  font-weight: 750;
}

.required-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1;
  vertical-align: text-top;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  background: var(--sage);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: radial-gradient(circle at 14% 0%, rgba(245, 130, 24, 0.28), transparent 32%), radial-gradient(circle at 88% 10%, rgba(130, 197, 31, 0.24), transparent 28%), linear-gradient(135deg, var(--navy), #17203f 54%, #0f6fa1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr 1fr;
  gap: 34px;
  align-items: start;
  padding-right: 150px;
}

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

.footer-logo {
  width: min(260px, 100%);
  height: auto;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--white);
}

.footer-brand h2,
.footer-column h3 {
  color: var(--white);
}

.footer-brand h2 {
  font-size: 1.55rem;
}

.footer-brand p,
.footer-column p {
  margin: 12px 0 0;
}

.footer-column h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--sun);
}

.footer-contact li > span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[data-address] {
  white-space: pre-line;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-icons {
  margin-top: 8px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--sun);
  color: var(--ink);
  background: var(--sun);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  padding-right: 150px;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
  background: var(--white);
}

.map-card p {
  margin: 6px 0 16px;
  color: var(--muted);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.float-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.float-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(23, 32, 63, 0.22);
}

.float-icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-icon {
  background: #25d366;
}

.call-icon {
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 0;
    border-bottom: 1px solid rgba(18, 140, 198, 0.16);
    border-radius: 0;
    background: rgba(247, 251, 253, 0.98);
    box-shadow: 0 18px 34px rgba(23, 32, 63, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--white);
  }

  .hero {
    min-height: 720px;
  }

  .hero-slide,
  .hero-slide:nth-child(2),
  .hero-slide:nth-child(3) {
    background-image: linear-gradient(180deg, rgba(23, 32, 63, 0.64), rgba(23, 32, 63, 0.9)), url("images/livefit-hero.png");
    background-position: center;
  }

  .split,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 128px;
  }

  .footer-inner,
  .footer-bottom {
    padding-right: 0;
  }

  .program-grid,
  .service-grid,
  .gallery-grid,
  .testimonial-grid,
  .journey-grid,
  .focus-grid,
  .faq-grid,
  .review-grid,
  .cert-grid,
  .livefit-service-grid,
  .livefit-service-grid.two-col,
  .media-grid,
  .team-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .livefit-service-card {
    grid-template-rows: 320px 1fr;
  }

  section,
  .page-hero {
    padding: 56px 0;
  }

  .floating-actions {
    right: 16px;
    left: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 170px;
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 148px;
    height: 44px;
  }

  .hero-content {
    padding-bottom: 92px;
  }

  .hero-actions .btn,
  .section-actions .btn {
    width: 100%;
  }
}
