/* ========================================================================
   Flow - Signature tier demo · micro.netweb
   Calm wellness studio. Sage + bone, gradients, more whitespace and craft.
   ===================================================================== */

:root {
  --bone:     #f3f1ea;
  --bone-2:   #eae6da;
  --ink:      #20271f;
  --ink-soft: #54604f;
  --sage:     #7c8a5f;
  --sage-dk:  #5d6a43;
  --clay:     #cf8b6a;
  --gold:     #c9a86a;
  --line:     #ddd7c6;
  --radius:   20px;
  --shadow:   0 24px 60px -28px rgba(32, 39, 31, .45);
  --shadow-sm:0 10px 30px -18px rgba(32, 39, 31, .4);
  --ff-disp:  "Marcellus", Georgia, serif;
  --ff-body:  "Mulish", system-ui, sans-serif;
  --wrap:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body); color: var(--ink); line-height: 1.7;
  background:
    radial-gradient(60% 50% at 85% -5%, rgba(124,138,95,.12), transparent 60%),
    radial-gradient(55% 45% at -5% 100%, rgba(207,139,106,.12), transparent 55%),
    var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

h1,h2,h3 { font-family: var(--ff-disp); font-weight: 400; line-height: 1.1; letter-spacing: .005em; }
.eyebrow {
  font-size: .76rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 800;
  color: var(--sage-dk); display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sage); }

/* Demo badge */
.demobar { background: linear-gradient(90deg,var(--sage-dk),var(--sage)); color: #fff; font-size: .8rem;
  text-align: center; padding: .6rem 1rem; }
.demobar b { color: #fbe9c9; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ff-body);
  font-weight: 800; font-size: .92rem; letter-spacing: .01em; padding: .9rem 1.7rem; border-radius: 50px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn--sage { --bg: var(--sage-dk); --bd: var(--sage-dk); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--wa { --bg: #1faf54; --bd: #1faf54; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; }
.site-head.scrolled { background: color-mix(in srgb, var(--bone) 90%, transparent); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 0; transition: padding .3s; }
.site-head.scrolled .nav { padding: .85rem 0; }
.brand { font-family: var(--ff-disp); font-size: 1.6rem; display: flex; align-items: center; gap: .55rem; }
.brand .leaf { width: 26px; height: 26px; color: var(--sage); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-weight: 700; font-size: .9rem; letter-spacing: .04em; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-5px; height:2px; width:0; background: var(--sage); transition: width .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-tools { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 50px; overflow: hidden; background: rgba(255,255,255,.6); }
.lang button { border:0; background: transparent; font-family: var(--ff-body); font-weight: 800; font-size: .78rem; padding: .42rem .72rem; cursor: pointer; color: var(--ink-soft); transition: .2s; }
.lang button.active { background: var(--sage-dk); color: #fff; }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; padding: clamp(3rem,7vw,6.5rem) 0 clamp(4rem,8vw,7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.8rem,7vw,5.2rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 44ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 200px 200px 24px 24px; aspect-ratio: 3/4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-visual .blob { position: absolute; inset: auto -8% -10% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle at 30% 30%, var(--gold), var(--clay)); filter: blur(2px); border-radius: 46% 54% 60% 40% / 55% 48% 52% 45%; z-index: -1; opacity: .5; animation: morph 14s ease-in-out infinite; }
@keyframes morph { 0%,100%{border-radius:46% 54% 60% 40%/55% 48% 52% 45%;} 50%{border-radius:60% 40% 40% 60%/45% 60% 40% 55%;} }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; }
.hero-stats .num { font-family: var(--ff-disp); font-size: 2.4rem; color: var(--sage-dk); display: block; line-height: 1; }
.hero-stats small { color: var(--ink-soft); font-size: .85rem; letter-spacing: .04em; }

/* Sections */
section { padding: clamp(4rem,8vw,7rem) 0; }
.sec-head { max-width: 56ch; margin: 0 auto 3rem; text-align: center; }
.sec-head.left { margin-inline: 0; text-align: left; }
.sec-head h2 { font-size: clamp(2.2rem,5vw,3.4rem); margin-bottom: 1rem; }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Classes / schedule */
.classes { background: var(--bone-2); }
.tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.4rem; }
.tabs button { border: 1.5px solid var(--line); background: rgba(255,255,255,.6); color: var(--ink-soft); font-family: var(--ff-body);
  font-weight: 800; font-size: .85rem; padding: .6rem 1.3rem; border-radius: 50px; cursor: pointer; transition: .25s var(--ease); }
.tabs button.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.schedule { display: grid; gap: 1rem; }
.slot { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.4rem; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.6rem; transition: transform .25s var(--ease), box-shadow .25s; }
.slot:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.slot .time { font-family: var(--ff-disp); font-size: 1.35rem; color: var(--sage-dk); }
.slot .time small { display: block; font-family: var(--ff-body); font-size: .72rem; color: var(--ink-soft); letter-spacing: .1em; text-transform: uppercase; }
.slot h3 { font-size: 1.3rem; }
.slot p { color: var(--ink-soft); font-size: .92rem; }
.slot .lvl { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--clay); padding: .35rem .8rem; border-radius: 50px; }

/* Instructors */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.coach { text-align: center; }
.coach .ph { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; position: relative; }
.coach .ph img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.coach:hover .ph img { transform: scale(1.06); }
.coach .ph .role { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.92); padding: .4rem .9rem; border-radius: 50px; font-size: .78rem; font-weight: 800; color: var(--sage-dk); letter-spacing: .04em; }
.coach h3 { font-size: 1.45rem; }
.coach p { color: var(--ink-soft); font-size: .95rem; }

/* Gallery */
.gallery { background: var(--ink); color: var(--bone); }
.gallery .sec-head h2 { color: var(--bone); }
.gallery .sec-head p { color: #c2c8bd; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: 200px; }
.gal-grid figure { overflow: hidden; border-radius: 14px; cursor: pointer; margin: 0; position: relative; }
.gal-grid figure:nth-child(1){ grid-row: span 2; }
.gal-grid figure:nth-child(4){ grid-column: span 2; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-grid figure:hover img { transform: scale(1.08); }
.gal-grid figure::after { content: "＋"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; background: rgba(32,39,31,.35); opacity: 0; transition: .3s; }
.gal-grid figure:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,24,19,.92); display: none; place-items: center; z-index: 100; padding: 2rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox .close { position: absolute; top: 1.4rem; right: 1.8rem; font-size: 2.5rem; color: #fff; cursor: pointer; background: none; border: 0; }

/* Testimonials */
.quotes { overflow: hidden; }
.quote-track { display: flex; transition: transform .6s var(--ease); }
.quote { min-width: 100%; text-align: center; padding: 0 clamp(0rem,5vw,3rem); }
.quote p { font-family: var(--ff-disp); font-style: italic; font-size: clamp(1.4rem,3.2vw,2.1rem); line-height: 1.4; color: var(--ink); margin-bottom: 1.4rem; }
.quote .who { font-weight: 800; color: var(--sage-dk); letter-spacing: .03em; }
.quote .who small { display: block; font-weight: 600; color: var(--ink-soft); }
.quote-dots { display: flex; gap: .6rem; justify-content: center; margin-top: 2.2rem; }
.quote-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: .25s; }
.quote-dots button.active { background: var(--sage-dk); width: 28px; border-radius: 50px; }
.stars { color: var(--gold); letter-spacing: .2em; margin-bottom: 1rem; }

/* Booking / contact */
.book { background: linear-gradient(135deg, var(--sage-dk), var(--sage)); color: #fff; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.book h2 { color: #fff; font-size: clamp(2.2rem,5vw,3.2rem); margin-bottom: 1rem; }
.book .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 1.8rem; }
.book .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.book .actions .btn--ghost { --fg:#fff; --bd: rgba(255,255,255,.7); }
.book .actions .btn--ghost:hover { background: #fff; color: var(--sage-dk); }
.form { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(6px); }
.form label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .4rem; }
.form input, .form select { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12);
  color: #fff; font-family: var(--ff-body); font-size: 1rem; margin-bottom: 1.1rem; }
.form input::placeholder { color: rgba(255,255,255,.65); }
.form select option { color: #20271f; }
.form .btn { width: 100%; justify-content: center; --bg:#fff; --fg: var(--sage-dk); --bd:#fff; }
.form .note { font-size: .82rem; color: rgba(255,255,255,.8); margin-top: .8rem; text-align: center; }

/* Footer */
.site-foot { background: var(--bone-2); border-top: 1px solid var(--line); padding: 3rem 0 2.4rem; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.powered { font-size: .92rem; color: var(--ink-soft); }
.powered a { color: var(--sage-dk); font-weight: 800; border-bottom: 1px dotted currentColor; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .1s; }
[data-reveal][data-delay="2"]{ transition-delay: .2s; }
[data-reveal][data-delay="3"]{ transition-delay: .3s; }

/* Responsive */
@media (max-width: 940px) {
  .hero-grid, .book-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw,330px); flex-direction: column; background: var(--bone);
    padding: 6rem 2rem; gap: 1.5rem; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow); z-index: 55; }
  .nav-links.open { transform: none; }
  .burger { display: block; z-index: 60; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 1fr; gap: .6rem; text-align: left; }
  .hero-stats { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *{ scroll-behavior:auto !important; animation: none !important; }
  [data-reveal]{ opacity:1 !important; transform:none !important; }
}
