/* ==========================================================================
   VivaFit – premium fitness landing page
   Palette: #161616 / #111 / brand green #83CA49 / #FCFCFC (matches vivafit.life)
   ========================================================================== */

/* ---------- 1. Tokens & base ---------- */
:root {
  --bg: #161616;
  --bg-2: #111111;
  --bg-3: #1f1f1f;
  --accent: #83ca49;
  --accent-text: var(--accent);
  --accent-ink: #161616;
  --text: #fcfcfc;
  --muted: #b3b9bf;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --danger: #ff6b6b;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- 2. Shared type & layout helpers ---------- */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section[id],
.cta[id],
.site-footer[id] {
  scroll-margin-top: 70px;
}

.bg-2 {
  background: var(--bg-2);
}

/* Off-white sections (same alternation as vivafit.life): variables are re-scoped,
   so every component inside adapts without extra rules. */
.is-light {
  --bg: #fcfcfc;
  --bg-2: #f1f4ec;
  --bg-3: #e6ebdc;
  --text: #161616;
  --muted: #566069;
  --line: rgba(22, 22, 22, 0.12);
  --line-strong: rgba(22, 22, 22, 0.3);
  --accent-text: #3f7a1a;
  background: var(--bg);
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: currentColor;
}

.title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.title em {
  font-style: normal;
  color: var(--accent-text);
}

.lead {
  max-width: 40rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-head-row .section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-cta {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, 2px);
  transition: transform 0.25s var(--ease);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: rotate(45deg) translate(1px, -1px);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 10px 30px rgba(131, 202, 73, 0.32);
}

.btn-ghost {
  border-color: var(--accent-text);
  color: var(--accent-text);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-dark {
  background: var(--accent-ink);
  color: var(--accent);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn-outline-dark {
  border-color: rgba(22, 22, 22, 0.5);
  color: var(--accent-ink);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 4. Navbar ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 0.9rem;
  transition: padding 0.35s var(--ease);
}

/* blur lives on a pseudo element so the mobile overlay (position: fixed) isn't trapped */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 22, 22, 0);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  padding-block: 0.45rem;
}

.site-header.is-scrolled::before {
  background: rgba(22, 22, 22, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 84px;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .brand img {
  height: 62px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  position: relative;
  padding-block: 0.4rem;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(22, 22, 22, 0.55);
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, opacity 0.2s ease;
}

.nav-toggle .bars {
  position: relative;
  margin: auto;
}

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

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

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

.nav-toggle[aria-expanded="true"] .bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .bars::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--accent);
}

.nav-toggle[aria-expanded="true"] .bars::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--accent);
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-zoom 24s ease-in-out infinite alternate;
}

/* the black layer that keeps text readable over the photo */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.92) 0%, rgba(22, 22, 22, 0.72) 48%, rgba(22, 22, 22, 0.6) 100%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.55) 0%, rgba(22, 22, 22, 0) 28%, rgba(22, 22, 22, 0) 70%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: calc(84px + 3rem);
  padding-bottom: 4rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title .line > span {
  display: inline-block;
  animation: line-up 1s var(--ease) both;
}

.hero-title .line:nth-child(1) > span {
  animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.4s;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: #e6e6e6;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  animation: fade-up 0.9s var(--ease) 0.6s both;
}

.hero-sub {
  max-width: 36rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.98rem;
  animation: fade-up 0.9s var(--ease) 0.7s both;
}

.hero-actions {
  margin-top: 1.9rem;
  animation: fade-up 0.9s var(--ease) 0.8s both;
}

/* ---------- 6. Enquiry form ---------- */
.hero-form {
  position: relative;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  border: 1px solid rgba(131, 202, 73, 0.28);
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  animation: fade-up 1s var(--ease) 0.55s both;
}

.hero-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}

.hero-form h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.form-note {
  margin: 0.55rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background-color: var(--bg);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: #6f6f6f;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23C6FF00' stroke-width='2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field select option {
  background: var(--bg-2);
  color: var(--text);
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(131, 202, 73, 0.18);
}

.recaptcha-wrap {
  min-height: 78px;
}

.g-recaptcha {
  transform-origin: 0 0;
}

#form-submit {
  width: 100%;
}

#form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-status {
  min-height: 1.3rem;
  font-size: 0.92rem;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--accent);
}

/* ---------- 8. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-media {
  position: relative;
  padding: 0 0 3rem;
}

.about-img {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-main {
  width: 78%;
  aspect-ratio: 9 / 11;
}

.about-img-a,
.about-img-b {
  position: absolute;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--bg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.about-img-a {
  top: 8%;
  right: 0;
}

.about-img-b {
  bottom: 0;
  right: 6%;
}

.about-badge {
  position: absolute;
  left: -0.5rem;
  bottom: 4.5rem;
  display: grid;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.about-badge strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.about-badge span {
  font-size: 0.78rem;
  font-weight: 600;
}

.about-copy .btn {
  margin-top: 1.75rem;
}

/* ---------- 9. Programs carousel ---------- */
.is-light .svc-card {
  --bg: #161616;
  --text: #fcfcfc;
  --muted: #b3b9bf;
  --line: rgba(255, 255, 255, 0.12);
  --accent-text: var(--accent);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.14);
}

.services {
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: scale(1.05);
}

.carousel-viewport {
  overflow-x: auto;
  padding-block: 0.5rem 1rem;
  scrollbar-width: none;
  cursor: grab;
  outline-offset: -4px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  width: max-content;
  padding-inline: max(1.25rem, calc((100vw - var(--max)) / 2));
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(272px, 24vw, 330px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.svc-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(131, 202, 73, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-media {
  position: relative;
  aspect-ratio: 720 / 520;
  overflow: hidden;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.svc-card:hover .svc-media img {
  transform: scale(1.09);
}

.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0) 45%, rgba(22, 22, 22, 0.7) 100%);
}

.svc-num {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 1;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.78);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.svc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.35rem 1.3rem 1.5rem;
}

.svc-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.svc-body p {
  flex: 1;
  color: var(--muted);
  font-size: 0.93rem;
}

.svc-link {
  align-self: flex-start;
  margin-top: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, letter-spacing 0.25s ease;
}

.svc-link::after {
  content: " →";
}

.svc-link:hover,
.svc-link:focus-visible {
  border-bottom-color: var(--accent);
  letter-spacing: 0.12em;
}

/* ---------- 10. Why VivaFit ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-card {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
  transition: transform 0.45s var(--ease), border-color 0.45s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(131, 202, 73, 0.4);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-num {
  display: block;
  margin-bottom: 1rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-text);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.why-card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- 12. Goals ---------- */
.goal-list {
  border-bottom: 1px solid var(--line);
}

.goal-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr) 2.5rem;
  gap: 1.5rem;
  align-items: center;
  padding: 1.7rem 1rem;
  border-top: 1px solid var(--line);
  transition: background-color 0.35s ease, padding 0.35s var(--ease);
}

.goal-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}

.goal-row:hover,
.goal-row:focus-visible {
  padding-left: 1.6rem;
  background: rgba(131, 202, 73, 0.05);
}

.goal-row:hover::before,
.goal-row:focus-visible::before {
  transform: scaleY(1);
}

.goal-num {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  transition: color 0.3s ease;
}

.goal-row:hover .goal-num {
  color: var(--accent-text);
}

.goal-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.goal-row p {
  color: var(--muted);
  font-size: 0.97rem;
}

.goal-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.goal-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid var(--text);
  border-right: 2px solid var(--text);
  transform: translate(-65%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

.goal-row:hover .goal-arrow {
  background: var(--accent);
  border-color: var(--accent);
}

.goal-row:hover .goal-arrow::after {
  border-color: var(--accent-ink);
}

/* ---------- 14. Steps ---------- */
.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.steps-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(131, 202, 73, 0.05));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.2s;
}

.steps-grid.in-view::before {
  transform: scaleX(1);
}

.step {
  position: relative;
  padding-top: 0.2rem;
}

.step-num {
  position: relative;
  display: inline-block;
  padding-right: 1rem;
  background: var(--bg-2);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-text);
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  margin: 1.2rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- 15. FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq-grid .section-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

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

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: inherit;
  font-weight: inherit;
}

.faq-item button {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 2rem;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  padding: 1.35rem 0;
  border: 0;
  background: none;
  text-align: left;
}

.faq-idx {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.faq-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.faq-icon {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  justify-self: end;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.open .faq-idx,
.faq-item.open .faq-text,
.faq-item button:hover .faq-text {
  color: var(--accent-text);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 2rem 1.5rem 3.5rem;
  color: var(--muted);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

/* ---------- 16. App ---------- */
.app {
  overflow: hidden;
}

.app::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 10%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 202, 73, 0.14), transparent 68%);
  pointer-events: none;
}

.app-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.app-visual img {
  width: min(100%, 520px);
  margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
  animation: float 8s ease-in-out infinite;
}

.app-actions {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-qr {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 28rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.app-qr img {
  flex: 0 0 auto;
  width: 112px;
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.app-qr figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 17. Final CTA (accent background) ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--accent);
  color: var(--accent-ink);
}

.cta::before {
  content: "VIVAFIT";
  position: absolute;
  left: -1vw;
  bottom: -0.22em;
  color: rgba(22, 22, 22, 0.07);
  font-family: var(--font-display);
  font-size: clamp(6rem, 17vw, 16rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cta .eyebrow {
  color: var(--accent-ink);
}

.cta .title {
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
}

.cta-copy > p {
  max-width: 36rem;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.cta .btn-row {
  margin-top: 1.75rem;
}

.cta-copy .cta-location {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.cta-media {
  aspect-ratio: 9 / 10;
  max-height: 540px;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: var(--accent-ink);
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 18. Footer ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: auto;
  height: 84px;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.social-links a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-col h3 {
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: #d4d4d4;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent);
}

.contact-list li {
  display: grid;
  gap: 0.1rem;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list address {
  color: #d4d4d4;
  font-style: normal;
}

.footer-map {
  display: inline-block;
  margin-top: 1.2rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--accent);
  color: var(--accent) !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.4rem 5.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-credit-link {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 19. Floating contact buttons ---------- */
.float-actions {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.float-call {
  background: var(--accent);
  outline: 2px solid var(--bg);
  outline-offset: -2px;
}

.float-call svg {
  fill: var(--accent-ink);
}

.float-whatsapp {
  background: #25d366;
  outline: 2px solid var(--bg);
  outline-offset: -2px;
}

.float-whatsapp svg {
  fill: #fff;
}

/* ---------- 20. Scroll reveal (only when JS is present) ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.reveal-left {
  transform: translate3d(-36px, 0, 0);
}

.js .reveal.reveal-scale {
  transform: scale(0.94);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* image reveal: curtain wipe + gentle settle */
.js .img-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .img-reveal img {
  transform: scale(1.18);
  transition: transform 1.6s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .about-media.in-view .img-reveal,
.js .img-reveal.in-view {
  clip-path: inset(0 0 0 0);
}

.js .about-media.in-view .img-reveal img,
.js .img-reveal.in-view img {
  transform: none;
}

.js .about-media.in-view .about-img-a {
  --d: 0.15s;
}

.js .about-media.in-view .about-img-b {
  --d: 0.3s;
}

.js .cta-media.img-reveal {
  clip-path: polygon(14% 0, 100% 0, 100% 0, 14% 0);
}

.js .cta-media.img-reveal.in-view {
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- 21. Keyframes ---------- */
@keyframes hero-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.14);
  }
}

@keyframes line-up {
  from {
    transform: translate3d(0, 110%, 0);
  }
  to {
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 7rem 2rem 3rem;
    background: rgba(22, 22, 22, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -14px, 0);
    transition: opacity 0.4s ease, transform 0.5s var(--ease), visibility 0s linear 0.5s;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav-links a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .nav-menu .nav-links li,
  .nav-menu .nav-join {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.5s ease, transform 0.6s var(--ease);
  }

  .nav-menu.open .nav-links li,
  .nav-menu.open .nav-join {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.08s + var(--i, 0) * 0.06s);
  }

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

  .hero-form {
    max-width: 560px;
  }

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

@media (max-width: 900px) {
  .about-grid,
  .app-grid,
  .cta-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    max-width: 520px;
    margin-inline: auto;
  }

  .faq-grid .section-head {
    position: static;
    margin-bottom: 1.5rem;
  }

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

  .steps-grid::before {
    display: none;
  }

  .goal-row {
    grid-template-columns: 3.2rem minmax(0, 1fr) 2.5rem;
    row-gap: 0.4rem;
  }

  .goal-row p {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .goal-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .cta-media {
    max-height: 360px;
    aspect-ratio: 16 / 9;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-head-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .carousel-controls {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 600px) {
  .brand img,
  .footer-brand img {
    height: 64px;
  }

  .site-header.is-scrolled .brand img {
    height: 52px;
  }

  .hero-grid {
    padding-top: calc(64px + 2rem);
  }

  .hero-actions .btn,
  .cta .btn-row .btn {
    flex: 1 1 100%;
  }

  .why-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-badge {
    left: 0;
    bottom: 3.5rem;
  }

  .faq-a p {
    padding: 0 0 1.4rem 0;
  }

  .faq-item button {
    grid-template-columns: 2.4rem minmax(0, 1fr) 1.6rem;
  }

  .app-qr {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .float-btn {
    width: 50px;
    height: 50px;
  }

  .float-actions {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.88);
  }

  .recaptcha-wrap {
    min-height: 70px;
  }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal,
  .js .img-reveal,
  .js .img-reveal img {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .js .cta-media.img-reveal {
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-bg {
    transform: none !important;
  }

  .steps-grid::before {
    transform: scaleX(1);
  }
}
