/* Balance Yoga And Pilates — concept by Beans Digital
   Palette: bone / deep eucalyptus / sage / sand-gold
   Type: Fraunces (display serif) + Jost (sans) */

@view-transition { navigation: auto; }

:root {
  --bone: #f6f1e8;
  --bone-2: #efe8db;
  --ink: #2d3a32;
  --ink-soft: #51605a;
  --sage: #8fa08a;
  --sage-deep: #5f7262;
  --sand: #b99e6f;
  --line: rgba(45, 58, 50, 0.16);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; }

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--ink);
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.55rem 1rem;
}
.concept-banner a { color: var(--sand); text-underline-offset: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  view-transition-name: brand-logo;
}
.logo svg { flex: none; }
.logo em { font-style: italic; color: var(--sage-deep); }

.main-nav ul { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--sand);
  font-weight: 500;
}
.nav-cta {
  background: var(--ink);
  color: var(--bone) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  transition: background 0.25s;
}
.nav-cta:hover { background: var(--sage-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.45rem 0.7rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4.5rem;
  text-align: center;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--sage-deep);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: 0 auto 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--sage-deep); }
.hero p.lede {
  max-width: 44ch;
  margin: 0 auto 2.2rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 2.4rem;
  background: var(--bone-2);
}
.rating-line .stars { color: var(--sand); letter-spacing: 0.1em; }

/* breathing ring */
.breath-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34rem, 86vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(143, 160, 138, 0.4);
  border-radius: 50%;
  z-index: -1;
  animation: breathe 7s ease-in-out infinite;
}
.breath-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(185, 158, 111, 0.35);
  border-radius: 50%;
  animation: breathe 7s ease-in-out infinite reverse;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.07); opacity: 1; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); }
.btn-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 4.2rem 1.25rem; }
.wrap { max-width: 72rem; margin: 0 auto; }
.wrap-narrow { max-width: 48rem; margin: 0 auto; }

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.74rem;
  color: var(--sage-deep);
  margin-bottom: 0.9rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
h2 em { font-style: italic; color: var(--sage-deep); }
h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.5rem; }
.muted { color: var(--ink-soft); }

.band { background: var(--bone-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--bone); }
.band-ink h2 { color: var(--bone); }
.band-ink .muted { color: rgba(246, 241, 232, 0.75); }
.band-ink .section-kicker { color: var(--sage); }

/* ---------- class cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.class-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.class-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(45, 58, 50, 0.1); }
.class-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sage-deep);
  background: rgba(143, 160, 138, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}
.class-card .tag.ladies { color: #8a6a3f; background: rgba(185, 158, 111, 0.18); }
.class-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* editorial rows (classes page) */
.class-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2rem;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.class-row:last-of-type { border-bottom: 1px solid var(--line); }
.class-row .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sand);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.4rem;
}
.class-row h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.class-row ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.class-row ul li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); }
.class-row ul li::before { content: "○"; position: absolute; left: 0; color: var(--sage); font-size: 0.7rem; top: 0.35rem; }
.class-row ul li strong { color: var(--ink); font-weight: 500; }

/* ---------- quotes ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}
blockquote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
blockquote .stars { color: var(--sand); display: block; margin-bottom: 0.7rem; letter-spacing: 0.12em; }
blockquote footer { margin-top: 0.9rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sage-deep); }

/* ---------- hours & contact ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 2.4rem;
  align-items: start;
}
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.hours-table th { font-weight: 500; }
.hours-table td { color: var(--ink-soft); text-align: right; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bone-2);
}
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.2rem; }
.contact-list a { color: var(--sage-deep); text-decoration-color: var(--sand); text-underline-offset: 3px; }
.contact-list li strong { font-weight: 500; }

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
}
details summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; color: var(--sand); transition: transform 0.25s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-top: 0.8rem; color: var(--ink-soft); }

/* ---------- CTA strip ---------- */
.cta-strip { text-align: center; }
.cta-strip h2 { max-width: 22ch; margin: 0 auto 1rem; }
.cta-strip p { max-width: 46ch; margin: 0 auto 2rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 232, 0.8);
  padding: 3.2rem 1.25rem 2.2rem;
  font-size: 0.93rem;
}
.footer-grid {
  max-width: 72rem;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
}
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(246, 241, 232, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-note {
  max-width: 72rem;
  margin: 0 auto;
  border-top: 1px solid rgba(246, 241, 232, 0.2);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(246, 241, 232, 0.6);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.8rem; height: 1.8rem; fill: #fff; }

/* ---------- reveal animation (JS-gated) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero { padding: 3.6rem 1.25rem 3rem; }
  section { padding: 3rem 1.1rem; }
  .class-row { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
}

/* no-JS: nav always reachable via anchor fallback */
html:not(.js) .main-nav { display: block; }
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 760px) {
  html:not(.js) .main-nav { position: static; border-bottom: none; padding: 0.4rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
