/* Liora Pilates – Mersin. Palette from the studio sign: plum rays, blush + sand rays, charcoal letters. */
:root {
  --plum: #772C62;
  --plum-deep: #5A2148;
  --blush: #C9A79B;
  --sand: #C9B77E;
  --ink: #1F1814;
  --ink-soft: #5F5559;
  --paper: #FBF8F7;
  --white: #FFFFFF;
  --rule: #E9DEE3;
  --measure: 62ch;
  --gutter: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Josefin Sans", "Nunito Sans", sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  color: var(--plum-deep);
  margin-bottom: 1.25rem;
}

p { margin: 0 0 1rem; max-width: var(--measure); }

a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

.wrap {
  width: min(1040px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.top .mark {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.32em;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.top nav a {
  margin-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.top nav a:hover { color: var(--plum); }

/* Hero – the sign's arc drawn in SVG, then the name set like the letters on the wall */
.hero {
  text-align: center;
  padding: 1.5rem 0 3.5rem;
}
.hero .rays {
  width: min(680px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero .rays line, .hero .rays path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.1s ease-out forwards;
}
.hero .rays line:nth-child(n+13) { animation-delay: 0.15s; }
.hero .rays path { animation-delay: 0.35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero .rays line, .hero .rays path { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  margin: -0.4rem 0 0 0.42em; /* compensate the trailing tracking so it sits optically centred */
  color: var(--ink);
}
.hero .sub {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0.4rem auto 1.6rem;
}
.hero .lead {
  max-width: 34ch;
  margin: 0 auto 1.8rem;
  font-size: 1.2rem;
  color: var(--ink);
}

/* The one button */
.btn {
  display: inline-block;
  background: var(--plum);
  color: var(--white);
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
}
.btn:hover { background: var(--plum-deep); }
.btn.quiet {
  background: transparent;
  color: var(--plum);
  box-shadow: inset 0 0 0 1.5px var(--plum);
}
.btn.quiet:hover { background: rgba(119, 44, 98, 0.06); }

/* Sections: white bands separated by a single blush rule, prose left-aligned */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--rule); }
.band { background: var(--white); }

.two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: start;
}
@media (max-width: 720px) { .two { grid-template-columns: 1fr; gap: 1.5rem; } }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.facts li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}
.facts b {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--plum);
  line-height: 1;
  padding-top: 0.2rem;
}

/* How it works: a genuine sequence, so numbered */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 1.25rem; } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  font-size: 2.6rem;
  color: var(--blush);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.steps h3 {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.steps p { font-size: 1rem; color: var(--ink-soft); }

/* Packages: one list, one rule per row */
.packages {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  max-width: 640px;
}
.packages li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}
.packages .name {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
}
.packages .name small {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.packages .price { color: var(--ink-soft); white-space: nowrap; }
.note { font-size: 0.95rem; color: var(--ink-soft); margin-top: 1rem; }

/* Hours & place */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}
.hours li:first-child { border-top: 1px solid var(--rule); }
.hours .day { color: var(--ink-soft); }
address { font-style: normal; }
address a { display: inline-block; margin-top: 0.4rem; }

/* Footer – the arc returns, small */
footer {
  padding: 3rem 0 2.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
footer .rays { width: 180px; height: auto; display: block; margin: 0 auto 0.75rem; }
footer .mark {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.32em;
  color: var(--ink);
  display: block;
  margin: 0 0 1rem 0.32em;
}
footer .links a { margin: 0 0.6rem; }
footer .legal { margin-top: 1.25rem; font-size: 0.85rem; }

/* Floating WhatsApp on phones, where the hero button has scrolled away */
.wa-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--plum);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(90, 33, 72, 0.28);
}
.wa-fab svg { width: 28px; height: 28px; fill: var(--white); }
@media (max-width: 720px) {
  .wa-fab { display: flex; }
  .top nav a:not(:last-child) { display: none; }
  section { padding: 2.5rem 0; }
}
