/* Anchor Point Training — personal training demo
   Palette: near-black warm charcoal base, warm rust/terracotta accent, warm sand secondary.
   Deliberately unstereotyped for a female-fronted brand, see README.md for the reasoning. */

:root {
  --ink: #1c1917;
  --text: #37322e;
  --muted: #8c8177;
  --accent: #b5502e;
  --accent-dark: #8f3d22;
  --accent-light: #d98a67;
  --stone: #f2ede6;
  --stone-deep: #e7ddd0;
  --paper: #ffffff;
  --border: #e6ddd0;
  --shadow: 0 20px 50px -25px rgba(28, 25, 23, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
}

p { margin: 0 0 1em; color: var(--muted); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.9em;
}
.section-eyebrow--light { color: var(--accent-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--large { padding: 0.95em 2em; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebc59; border-color: #1ebc59; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.brand__name { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.site-header__nav { display: flex; gap: 2rem; }
.site-header__nav a { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.site-header__nav a:hover { color: var(--accent); }
.site-header__contact { display: flex; align-items: center; gap: 1.2rem; }
.site-header__phone { font-weight: 600; font-size: 0.92rem; }
.site-header__phone:hover { color: var(--accent); }

/* Hero — Pattern A: split left-right, single portrait */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
  background: var(--stone);
  overflow: hidden;
}
.hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 5vw, 5rem) 4rem clamp(1.5rem, 6vw, 6rem);
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1em;
}
.hero__text h1 {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  max-width: 19ch;
  margin-bottom: 0.5em;
}
.hero__sub { font-size: 1.02rem; max-width: 42ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__badges { display: flex; flex-direction: column; gap: 0.5rem; }
.hero__badges span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}
.hero__badges span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__media {
  position: relative;
  height: 100%;
  min-height: 420px;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(28, 25, 23, 0.14) 0%, transparent 45%);
}

/* Trust strip */
.trust-strip { background: var(--ink); padding: 1.6rem 1.5rem; }
.trust-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: 0.7rem; color: var(--stone); font-size: 0.86rem; font-weight: 500; }
.trust-item svg { color: var(--accent-light); flex-shrink: 0; }

/* Programs / goal cards */
.programs { padding: 6rem 1.5rem; background: var(--paper); }
.programs__inner { max-width: 1200px; margin: 0 auto; }
.programs__head { max-width: 62ch; margin-bottom: 2.5rem; }
.programs__head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }

.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.8rem 1.6rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.program-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent-light); }
.program-card svg { color: var(--accent); margin-bottom: 0.9rem; }
.program-card h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.program-card p { font-size: 0.9rem; margin: 0; }
.program-card--cta {
  background: var(--stone);
  border: 1px dashed var(--accent-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}
.program-card--cta p { color: var(--ink); font-weight: 700; font-size: 1rem; margin: 0; }

/* Trainer */
.trainer { padding: 6rem 1.5rem; background: var(--stone); }
.trainer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.trainer__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 520px; object-fit: cover; object-position: 50% 20%; }
.trainer__copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0.3em; }
.trainer__philosophy { font-size: 1.15rem; font-style: italic; color: var(--accent); font-weight: 600; margin-bottom: 1em; }
.trainer__tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1.4rem 0 1.2rem;
}
.trainer__tags li {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid var(--accent-light);
  padding: 0.4em 0.9em;
  border-radius: 999px;
}
.trainer__credentials { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.6rem; }
.trainer__credentials li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}
.trainer__credentials li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.trainer__quote {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  margin: 0;
}
.trainer__quote p { color: var(--ink); font-style: italic; font-size: 0.98rem; margin-bottom: 0.5em; }
.trainer__quote cite { font-style: normal; font-weight: 600; font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 0.6em; }

/* Trial / booking */
.trial { background: var(--ink); padding: 6rem 1.5rem; }
.trial__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.trial__copy h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.trial__copy p { color: var(--stone-deep); }
.trial__price-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  margin-top: 1.4rem;
}
.trial__price { font-size: 2.4rem; font-weight: 800; color: #fff; }
.trial__price-unit { font-size: 0.9rem; color: var(--accent-light); font-weight: 600; margin-left: 0.4em; }
.trial__price-card p { margin: 0.6em 0 0; font-size: 0.88rem; }

.booking-widget {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.booking-widget__label { font-size: 0.8rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.7em; }
.booking-widget__days { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.day-btn {
  flex: 1;
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.6em 0.4em;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.day-btn span { font-size: 0.95rem; font-weight: 700; }
.day-btn:hover { border-color: var(--accent); }
.day-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.booking-widget__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.6rem; }
.slot-btn {
  padding: 0.65em 0.5em;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.slot-btn:hover { border-color: var(--accent); color: var(--accent); }
.slot-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.booking-widget__summary { border-top: 1px solid var(--border); padding-top: 1.3rem; }
.booking-widget__summary p { font-size: 0.92rem; color: var(--text); margin-bottom: 0.9em; }
.booking-widget__summary p span { font-weight: 700; color: var(--ink); }
.booking-widget__note { font-size: 0.76rem; color: var(--muted); margin: 0.8em 0 0; text-align: center; }

/* Experience */
.experience { padding: 6rem 1.5rem; background: var(--paper); }
.experience__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.experience__media img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.experience__copy h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.experience__list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.experience__list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text); font-size: 0.93rem; }
.experience__list svg { color: var(--accent); flex-shrink: 0; margin-top: 0.15em; }

/* Reviews */
.reviews { padding: 6rem 1.5rem; background: var(--stone); text-align: center; }
.reviews__inner { max-width: 1160px; margin: 0 auto; }
.reviews h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.reviews__disclaimer { font-size: 0.8rem; font-style: italic; color: var(--muted); margin-bottom: 2.5rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; }
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 0;
  position: relative;
  border: 1px solid var(--border);
}
.review-card__goal {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.7em;
}
.review-card__stars { color: #c99a4b; font-size: 0.9rem; margin-bottom: 0.6em; letter-spacing: 0.08em; }
.review-card p { font-size: 0.92rem; color: var(--text); margin-bottom: 1em; }
.review-card cite { font-style: normal; font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.review-card__tag {
  display: inline-block;
  margin-top: 0.8em;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--stone);
  padding: 0.25em 0.7em;
  border-radius: 999px;
}

/* Area / map */
.area { padding: 6rem 1.5rem; background: var(--paper); }
.area__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.area__details h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.area__regions { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.4rem 0; }
.area__regions li {
  display: flex;
  justify-content: space-between;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.area__regions li span { color: var(--muted); font-weight: 400; }
.area__hours { font-size: 0.9rem; }
.area__map { height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--ink); padding: 4rem 1.5rem 1.5rem; }
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; color: #fff; font-weight: 800; font-size: 1.1rem; }
.site-footer p, .site-footer a { color: var(--stone-deep); font-size: 0.88rem; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.site-footer__copyright { max-width: 1200px; margin: 1.5rem auto 0; font-size: 0.78rem; color: #a89a86; text-align: center; }

/* Sticky WhatsApp (desktop) */
.sticky-whatsapp {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 60;
  background: #25D366;
  color: #fff;
  padding: 0.8em 1.2em;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,0.4);
}

/* Mobile tab bar */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}
.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}
.mobile-tabbar a:last-child { color: #25D366; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero__media { height: 300px; min-height: 0; flex-shrink: 0; order: -1; }
  .hero__text { padding: 3rem 1.5rem; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .trainer__inner { grid-template-columns: 1fr; }
  .trainer__media img { height: 360px; }
  .trial__inner { grid-template-columns: 1fr; }
  .experience__inner { grid-template-columns: 1fr; }
  .experience__media { order: -1; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .area__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .site-header__nav { display: none; }
  .site-header__phone { display: none; }
  .hero__media { height: 190px; min-height: 0; flex-shrink: 0; }
  .hero__text { padding: 1.5rem 1.5rem 2.5rem; }
  .hero__eyebrow { margin-bottom: 0.6em; }
  .hero__text h1 { max-width: 100%; font-size: clamp(1.7rem, 7vw, 2.1rem); margin-bottom: 0.4em; }
  .hero__sub { font-size: 0.92rem; margin-bottom: 1.1em; }
  .hero__actions { flex-direction: column; margin-bottom: 1.2rem; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { display: none; }
  .programs__grid { grid-template-columns: 1fr; }
  .booking-widget__days { flex-wrap: nowrap; overflow-x: auto; }
  .booking-widget__slots { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .sticky-whatsapp { display: none; }
  .mobile-tabbar { display: grid; }
  body { padding-bottom: 4.2rem; }
}
