/* ─────────────────────────────────────────────────────────────────────────
   KF Health and Fitness — faithful rebuild of sale.kfhealthandfitness.com
   Light warm-grey background, white cards with soft shadow, bright blue
   accent, Plus Jakarta Sans bold headlines, centered section heads.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  /* Surface */
  --bg:           #f4f4ef;
  --bg-white:     #ffffff;
  --bg-mute:      #fafaf7;

  /* Dark surface */
  --dark:         #0c1622;
  --dark-deep:    #080f18;
  --dark-card:    rgba(255, 255, 255, 0.025);
  --dark-border:  rgba(255, 255, 255, 0.08);
  --dark-body:    rgba(255, 255, 255, 0.55);
  --dark-strong:  rgba(255, 255, 255, 0.78);

  /* Type */
  --ink:          #0a1f2f;
  --ink-soft:     #1a2b3c;
  --body:         #5a6470;
  --body-soft:    #7c8693;

  /* Accent */
  --blue:         #0d92f4;
  --blue-deep:    #0a7bd1;
  --blue-soft:    #cfe9fc;
  --blue-glow:    rgba(13, 146, 244, 0.35);
  --blue-glow-soft: rgba(13, 146, 244, 0.18);

  /* Guarantee */
  --green-bg:     #e8f6dd;
  --green-ink:    #3d8b40;

  /* Lines & shadows */
  --hair:         rgba(10, 31, 47, 0.08);
  --hair-strong:  rgba(10, 31, 47, 0.14);
  --shadow-card:  0 1px 2px rgba(10, 31, 47, 0.04),
                  0 8px 24px rgba(10, 31, 47, 0.06);
  --shadow-soft:  0 4px 16px rgba(10, 31, 47, 0.05);

  --radius-card:  18px;
  --radius-pill:  999px;
  --radius-photo: 16px;

  --max: 1180px;
  --pad: clamp(20px, 4vw, 48px);

  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Wrappers ────────────────────────────────────────────────────────── */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin: 0 0 20px; }
.section-head .sub {
  margin: 0 auto;
  max-width: 580px;
  color: var(--body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

/* ── Type ─────────────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
}

h1 { font-size: clamp(40px, 6.8vw, 84px); letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: 19px; font-weight: 800; }

p { margin: 0; }

.accent { color: var(--blue); }
.muted  { color: var(--body); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px var(--blue-glow),
              0 2px 6px rgba(13, 146, 244, 0.25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px var(--blue-glow),
              0 4px 10px rgba(13, 146, 244, 0.3);
}
.btn:active { transform: translateY(0); }
.btn.lg { padding: 22px 44px; font-size: 18px; }
.btn.xl { padding: 26px 52px; font-size: 19px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] {
  background: #9aa8b5;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-meta {
  display: block;
  margin-top: 16px;
  color: var(--body-soft);
  font-size: 14px;
  font-weight: 600;
}

/* ── Top logo bar ─────────────────────────────────────────────────────── */

.topbar {
  padding: 56px 0 24px;
  text-align: center;
}
.topbar .logo { display: inline-flex; }
.topbar img { display: block; }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding-top: 80px;
  padding-bottom: clamp(96px, 14vw, 200px);
  text-align: center;
  background: var(--bg-white);
}
.hero h1 {
  max-width: 18ch;
  margin: 0 auto 32px;
}
.hero .lede {
  max-width: 38ch;
  margin: 0 auto 48px;
  color: var(--body);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.6;
}

.hero .scarcity {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero .scarcity .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2dbc5d;
  box-shadow: 0 0 0 5px rgba(45, 188, 93, 0.18);
}

/* ── "Sound familiar" section ─────────────────────────────────────────── */

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

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-card);
  padding: 36px 28px 36px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
}
.card h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
}
.card p {
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 980px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-4 { grid-template-columns: 1fr; } }

/* ── "What you get" — feature cards with icon ────────────────────────── */

.features { background: var(--bg-white); }
.features .card { padding: 40px 28px 40px; }
.features .card .ic {
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 28px;
}

/* ── Results gallery ─────────────────────────────────────────────────── */

.results { background: var(--bg); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.tile {
  position: relative;
  background: #d8d6cf;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--hair);
  aspect-ratio: 4/5;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

/* ── About Keegan ────────────────────────────────────────────────────── */

.about {
  background: var(--bg-white);
  text-align: center;
}
.about h2 { margin-bottom: 56px; }
.portrait {
  width: clamp(220px, 24vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 56px;
  position: relative;
  background: #d8d6cf;
  box-shadow:
    0 0 0 6px var(--bg-white),
    0 0 0 10px var(--blue-soft),
    0 24px 60px var(--blue-glow-soft);
  overflow: hidden;
}
.portrait image-slot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.about .body {
  max-width: 640px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 26px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--body);
}

/* ── Models grid (light, matches the rest of the page) ───────────────── */

.models { background: var(--bg); }
.models .model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.model {
  background: var(--bg-white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px 28px 36px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  transition: transform .2s, border-color .2s;
}
.model:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 146, 244, 0.35);
}
.model .ic {
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 28px;
}
.model h4 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.2;
}
.model p {
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.family-line {
  text-align: center;
  max-width: 640px;
  margin: 56px auto 0;
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}
.family-line b { color: var(--ink); font-weight: 800; }

@media (max-width: 980px) { .models .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .models .model-grid { grid-template-columns: 1fr; } }

/* ── How it works ────────────────────────────────────────────────────── */

.how { background: var(--bg-white); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
}
.step { text-align: center; }
.step .badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 26px;
  margin: 0 auto 28px;
  box-shadow: 0 10px 28px var(--blue-glow),
              0 2px 6px rgba(13, 146, 244, 0.25),
              0 0 0 6px rgba(13, 146, 244, 0.12);
}
.step h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
}
.step p {
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  max-width: 30ch;
  margin: 0 auto;
}

@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 48px; } }

/* ── ENQUIRY SECTION ─────────────────────────────────────────────────── */

.enquire {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.enquire::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, var(--blue-glow-soft), transparent 70%);
  pointer-events: none;
}
.enquire .layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.enquire .lhs h2 {
  margin: 18px 0 22px;
  max-width: 18ch;
}
.enquire .lhs .sub {
  color: var(--body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 36px;
}

.proof-row {
  display: flex; align-items: center; gap: 16px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--hair);
}
.proof-row .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.proof-row .avatar image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.proof-row .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.proof-row .copy {
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  line-height: 1.45;
}
.proof-row .copy b { color: var(--ink); font-weight: 800; display: block; }

/* form */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-mute);
  border: 1.5px solid var(--hair);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--body-soft); font-weight: 500; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 146, 244, 0.12);
}

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  appearance: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--bg-mute);
  border: 1.5px solid var(--hair);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.form-foot {
  margin-top: 8px;
  text-align: center;
  color: var(--body-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.form-foot strong { color: var(--ink); font-weight: 800; }

.thanks {
  text-align: center;
  padding: 40px 12px 24px;
}
.thanks .tick {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 28px var(--blue-glow);
}
.thanks h3 { font-size: 26px; margin: 0 0 12px; }
.thanks p { color: var(--body); font-weight: 600; max-width: 32ch; margin: 0 auto; }

/* phone preview */
.phone-wrap {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 24px;
}
.phone {
  width: 320px;
  max-width: 100%;
  background: #1a1a1c;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 24px 60px rgba(10, 31, 47, 0.22),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.12);
}
.phone .screen {
  background: #f6f6f8;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex; flex-direction: column;
}
.phone .status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px 6px;
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1c;
}
.phone .status .right { display: inline-flex; align-items: center; gap: 6px; }
.phone .status svg { width: 14px; height: 14px; }
.phone .convo-hd {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 16px 14px;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  background: rgba(246,246,248,.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
}
.phone .convo-hd .back {
  position: absolute; left: 12px; top: 50%; transform: translateY(-30%);
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}
.phone .convo-hd .avi {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}
.phone .convo-hd .name {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1c;
  display: inline-flex; align-items: center; gap: 4px;
}
.phone .convo-hd .name::after {
  content: "›";
  color: rgba(0,0,0,.3);
  font-weight: 600;
  font-size: 14px;
}
.phone .bubbles {
  flex: 1;
  padding: 14px 12px 18px;
  display: flex; flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.phone .meta-time {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(0,0,0,.4);
  margin: 2px 0 8px;
}
.phone .meta-time b { color: rgba(0,0,0,.65); font-weight: 800; }
.phone .bubble {
  max-width: 84%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 18px;
  word-wrap: break-word;
}
.phone .bubble.me {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.phone .bubble.them {
  align-self: flex-start;
  background: #e7e7ec;
  color: #1a1a1c;
  border-bottom-left-radius: 4px;
}
.phone .bubble + .bubble.me { margin-top: 2px; }
.phone .bubble.placeholder { color: rgba(255,255,255,.7); font-style: italic; font-weight: 500; }
.phone .typing {
  align-self: flex-start;
  background: #e7e7ec;
  border-radius: 18px;
  padding: 10px 14px;
  display: inline-flex; gap: 4px;
  border-bottom-left-radius: 4px;
}
.phone .typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  display: inline-block;
  animation: blink 1.4s infinite ease-in-out;
}
.phone .typing i:nth-child(2) { animation-delay: .2s; }
.phone .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.phone .input-bar {
  padding: 8px 12px 14px;
  border-top: 0.5px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 8px;
}
.phone .input-bar .fake-input {
  flex: 1;
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(0,0,0,.35);
}
.phone .input-bar .send-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.phone-caption {
  text-align: center;
  color: var(--body-soft);
  font-size: 13px;
  font-weight: 600;
  max-width: 26ch;
  line-height: 1.4;
}
.phone-caption b { color: var(--ink); font-weight: 800; }

@media (max-width: 920px) {
  .enquire .layout { grid-template-columns: 1fr; }
  .phone-wrap { position: static; order: -1; }
  .phone { width: 280px; }
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--hair-strong);
  padding: 24px 4px;
}
.faq details:first-child { border-top: 1px solid var(--hair-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 20px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  color: var(--blue);
  transition: transform .25s ease;
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p {
  margin: 14px 30px 0 0;
  color: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

footer {
  text-align: center;
  background: var(--bg);
  padding: 36px 0 56px;
  border-top: 1px solid var(--hair);
}
footer .logo { display: flex; justify-content: center; margin: 0 auto 18px; }
footer .logo img { display: block; }
footer small {
  display: block;
  color: var(--body-soft);
  font-size: 14px;
  font-weight: 600;
}

/* ── image-slot baseline ─────────────────────────────────────────────── */
image-slot {
  background: linear-gradient(135deg, #e2e0d8, #ccc9c0);
}
