/* VEMFİT — mobile first */

:root {
  --ink: #0E0E0E;
  --ink-2: #1C1C1C;
  --ink-3: #2E2E2E;
  --line-dark: #262626;
  --paper: #F4F4F2;
  --paper-line: #E4E4E1;
  --white: #FFFFFF;
  --grey-1: #E0E0E0;
  --grey-2: #C9C9C9;
  --grey-3: #A3A3A3;
  --grey-4: #5A5A5A;
  --grey-5: #333333;

  --display: 'Rajdhani', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 20px;
  --max: 1120px;
  --section-y: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --z-fab: 10;
  --z-skip: 20;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; }

/* Cut-corner shape used across buttons, cards and photos */
.cut { --c: 12px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.cut-s { --c: 8px; }
.cut-m { --c: 18px; }
.cut-l { --c: 24px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: var(--z-skip);
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* ---------- Shared type ---------- */

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 11vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 9vw, 60px);
  line-height: 0.95;
  text-transform: uppercase;
}

.lead {
  font-size: 18px;
  color: var(--grey-2);
  max-width: 34em;
}

.stack { display: flex; flex-direction: column; }

.section-head { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
/* clip-path hides outer outlines, so draw the focus ring inside */
.btn.cut:focus-visible { outline-offset: -6px; }

.btn svg { width: 20px; height: 20px; flex: none; }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--grey-1); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }

.btn--outline {
  min-height: 48px;
  padding: 0 20px;
  font-size: 16px;
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--sm { min-height: 48px; padding: 0 20px; font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.link-arrow svg { width: 20px; height: 20px; flex: none; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Demo banner ---------- */

.demo-banner {
  background: var(--grey-2);
  color: var(--ink);
  text-align: center;
  padding: 8px 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--line-dark); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { width: 120px; height: auto; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #4A4A4A;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.header-cta svg { width: 18px; height: 18px; }
.header-cta:hover { border-color: var(--white); background: var(--ink-2); }
.header-cta:active { transform: scale(0.98); }

/* ---------- Hero ---------- */

.hero { padding: 40px 0 var(--section-y); }
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero-copy { gap: 22px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.hero-actions .btn--light { flex: 1 1 auto; }

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 6px;
  font-size: 15px;
  color: var(--grey-2);
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--white); }
.rating strong { color: var(--white); font-weight: 600; }

.photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--ink-2);
}
.hero-photo { aspect-ratio: 1 / 1; object-position: 50% 40%; }

/* ---------- Stats ---------- */

.stats { background: var(--ink-2); }
.stats .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  padding-top: 28px;
  padding-bottom: 30px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 14px; color: var(--grey-3); }
a.stat-label {
  color: var(--grey-2);
  text-underline-offset: 3px;
  align-self: flex-start;
  padding: 2px 0;
}
a.stat-label:hover { color: var(--white); }

/* ---------- Light sections ---------- */

.light { background: var(--paper); color: #111111; }
.light .eyebrow { color: var(--grey-4); }

/* ---------- Coach ---------- */

.coach { padding: var(--section-y) 0 calc(var(--section-y) + 8px); }
.coach .container { display: grid; gap: 40px; align-items: center; }
.coach-photo { aspect-ratio: 4 / 5; object-position: 30% 50%; }
.coach-copy { gap: 20px; }
.coach-copy p { font-size: 18px; color: var(--grey-5); max-width: 34em; }

.perks { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 16px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk-mark {
  flex: 0 0 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
}
.perk-mark svg { width: 18px; height: 18px; stroke-width: 2.5; }
.perk-title { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.perk-text { font-size: 16px; color: var(--grey-4); }
.coach-cta { padding-top: 8px; }

/* ---------- Pricing ---------- */

.pricing { padding: var(--section-y) 0 calc(var(--section-y) + 8px); }
.pricing .container { display: flex; flex-direction: column; gap: 32px; }
.pricing .lead { max-width: 32em; }

.plans {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
/* phones: one row per plan, price left and monthly note right */
.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px 16px;
  padding: 20px 20px 14px;
  background: var(--ink-2);
  transition: background-color 0.2s var(--ease);
}
.plan-head, .plan-link { grid-column: 1 / -1; }
.plan-note { text-align: right; max-width: 11em; }
.plan:hover { background: #232323; }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.plan-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--ink-3);
  color: var(--grey-1);
}
.plan-price { display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.plan-price s { color: var(--grey-3); font-size: 15px; }
.plan-price strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
}
.plan-price strong span { font-size: 18px; }
.plan-note { font-size: 15px; color: var(--grey-2); }
.plan-link {
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--grey-5);
  padding-top: 10px;
  font-size: 16px;
}
.plan-link svg { width: 18px; height: 18px; }

.plan--best { background: var(--white); color: var(--ink); }
.plan--best:hover { background: #ECECEA; }
.plan--best .plan-tag { background: var(--ink); color: var(--white); }
.plan--best .plan-price s { color: var(--grey-4); }
.plan--best .plan-note { color: var(--grey-5); }
.plan--best .plan-link { border-top-color: #D6D6D3; }

.extras { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.extras h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.extras ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-3); }
.extra {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-3);
}
.extra-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.extra-text { font-size: 15px; color: var(--grey-3); }
.extra-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.extra .link-arrow { font-size: 17px; }
.extra .link-arrow svg { width: 18px; height: 18px; }

/* ---------- Gallery ---------- */

.gallery { padding: var(--section-y) 0 48px; }
.gallery .container { display: flex; flex-direction: column; gap: 28px; }
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  /* bleed to the screen edge on phones */
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 6px;
  scrollbar-width: thin;
}
.gallery-track:focus-visible { outline-offset: -3px; }
.gallery-track img { aspect-ratio: 3 / 4; scroll-snap-align: start; }
.gallery-track img:nth-child(2) { object-position: 60% 50%; }

/* ---------- Visit ---------- */

.visit { padding: 24px 0 calc(var(--section-y) + 8px); }
.visit .container { display: flex; flex-direction: column; gap: 28px; }
.visit-grid { display: grid; gap: 14px; }
.panel { background: var(--white); padding: 26px 22px; display: flex; flex-direction: column; }
.panel--contact { gap: 22px; }
.panel--hours { gap: 14px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row > svg { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; color: var(--ink); }
.info-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-4);
}
.info-value { font-size: 18px; font-style: normal; }
a.info-value { color: var(--ink); text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.panel-actions .btn { flex: 1 1 auto; }

.hours-head { display: flex; gap: 14px; align-items: center; }
.hours-head svg { flex: 0 0 24px; width: 24px; height: 24px; }
.hours { margin: 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line);
  font-size: 18px;
}
.hours div:last-child { border-bottom: 0; color: var(--grey-4); }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-family: var(--display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Final CTA ---------- */

.final { padding: 72px 0 80px; }
.final .container { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.final .lead { max-width: 32em; }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.tel-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-underline-offset: 4px;
  font-variant-numeric: tabular-nums;
}
.tel-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-dark); }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 36px;
  /* room for the floating WhatsApp button */
  padding-bottom: 104px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .logo { width: 150px; }
.footer-meta { font-size: 15px; color: var(--grey-3); font-style: normal; }
.footer-legal { font-size: 14px; color: var(--grey-3); }

/* ---------- Floating WhatsApp ---------- */

.fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  /* drop-shadow on the wrapper, since clip-path would cut a box-shadow */
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
/* hidden while another WhatsApp button is on screen */
.fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.fab .btn { min-height: 52px; padding: 0 22px; font-size: 17px; }

/* ---------- Reveal on scroll (JS adds .js) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .stats .container { grid-template-columns: repeat(4, 1fr); }
  .gallery-track { grid-auto-columns: 46%; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 18px 16px; }
  .plan-note { text-align: left; max-width: none; }
  .plan-link { justify-content: flex-start; }
  .hero-actions .btn--light, .panel-actions .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  :root { --section-y: 104px; }
  .logo { width: 136px; }
  .footer-brand .logo { width: 160px; }

  .hero { padding-top: 88px; }
  .hero .container { grid-template-columns: 1fr 1fr; gap: 56px; }

  .coach .container { grid-template-columns: 1fr 1.2fr; gap: 56px; }

  .plans { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .plan-price strong { font-size: 36px; }

  .gallery-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .visit-grid { grid-template-columns: 1fr 1fr; }

  .final { padding: 120px 0 128px; }
}
