/* ============================================================
   FORM PILATES STUDIO — STYLESHEET
   Sage green / warm white / warm sand — Cormorant Garamond + Inter
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 500; }
em { font-style: italic; color: var(--primary); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; padding: 13px 28px; border-radius: 4px; font-size: .88rem; font-weight: 600; font-family: 'Inter', sans-serif; border: none; cursor: pointer; transition: background .25s, transform .2s; letter-spacing: .3px; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--primary); padding: 12px 28px; border-radius: 4px; border: 1.5px solid var(--primary); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .25s; font-family: 'Inter', sans-serif; }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { display: inline-flex; align-items: center; background: rgba(255,255,255,.15); color: #fff; padding: 12px 28px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.35); font-size: .88rem; font-weight: 600; backdrop-filter: blur(8px); cursor: pointer; transition: all .25s; }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-sm-primary { background: var(--primary); color: #fff; padding: 8px 18px; border-radius: 4px; font-size: .78rem; font-weight: 600; white-space: nowrap; transition: background .2s; }
.btn-sm-primary:hover { background: var(--primary-dark); }
.btn-sm { background: var(--primary-light); color: var(--primary); padding: 7px 16px; border-radius: 4px; font-size: .78rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--border); transition: all .2s; }
.btn-sm:hover { background: var(--primary); color: #fff; }
.btn-disabled { opacity: .5; pointer-events: none; }
.btn-white { background: #fff; color: var(--primary); padding: 14px 32px; border-radius: 4px; font-size: .9rem; font-weight: 700; border: none; cursor: pointer; transition: all .25s; }
.btn-white:hover { background: var(--primary-light); }
.full-width { width: 100%; justify-content: center; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.eyebrow-pill { display: inline-block; background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 5px 16px; border-radius: 2px; font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; backdrop-filter: blur(8px); }
.eyebrow-light { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; }

.section { padding: 100px 0; }
.section-tinted { background: var(--surface); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: background .3s, box-shadow .3s; padding: 22px 0; }
.navbar.scrolled { background: rgba(250,249,247,.93); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); padding: 14px 0; }
.nav-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: 4px; }
.logo-sub { font-size: .56rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 2px; }
.navbar.scrolled .logo-main { color: var(--primary); }
.navbar.scrolled .logo-sub { color: var(--text-dim); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: .83rem; font-weight: 500; color: rgba(255,255,255,.8); transition: color .2s; }
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: .82rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: all .3s; }
.navbar.scrolled .hamburger span { background: var(--text); }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); padding: 20px 24px; gap: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.06); }
  .nav-links.open a { color: var(--text); }
  .nav-links.open .nav-cta { display: inline-flex; margin-left: 0; width: 100%; justify-content: center; }
}

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-img { height: 100%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,22,.85) 0%, rgba(26,26,22,.4) 50%, rgba(26,26,22,.15) 100%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 80px; display: flex; flex-direction: column; align-items: flex-start; }
.hero-text { max-width: 600px; margin-bottom: 40px; }
.hero-text h1 { color: #fff; margin-bottom: 18px; }
.hero-text p { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.7; margin-bottom: 30px; max-width: 500px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-trust li { font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 500; padding-left: 12px; position: relative; }
.hero-trust li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; background: var(--primary); border-radius: 50%; }

/* STATS BAND */
.stats-band { background: var(--primary); }
.stats-inner { display: flex; justify-content: space-around; padding: 32px 0; flex-wrap: wrap; gap: 20px; }
.stat-block { text-align: center; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: #fff; line-height: 1; }
.stat-label { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* FILTER */
.filter-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { background: transparent; border: 1.5px solid var(--border); color: var(--text-muted); padding: 8px 22px; border-radius: 2px; font-size: .8rem; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* CLASSES */
.classes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.class-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.class-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(90,127,110,.1); }
.class-card.hidden { display: none; }
.class-img { height: 200px; position: relative; overflow: hidden; }
.class-img img { transition: transform .4s; }
.class-card:hover .class-img img { transform: scale(1.04); }
.class-badge { position: absolute; top: 12px; right: 12px; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; letter-spacing: .5px; }
.class-type { position: absolute; top: 12px; left: 12px; background: rgba(250,249,247,.9); color: var(--primary); font-size: .65rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; }
.class-body { padding: 20px; }
.class-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.class-header-row h3 { font-size: 1.15rem; }
.class-level { font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; white-space: nowrap; }
.level-all-levels, .level-any-level { background: var(--primary-light); color: var(--primary); }
.level-beginner { background: #e8f5e9; color: #2e7d32; }
.level-intermediate, .level-intermediate--advanced { background: #fff3e0; color: #e65100; }
.level-advanced { background: #fce4ec; color: #c62828; }
.class-body > p { color: var(--text-muted); font-size: .84rem; line-height: 1.6; margin-bottom: 12px; }
.benefits-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.benefits-list li { background: var(--surface); color: var(--text-muted); font-size: .72rem; font-weight: 500; padding: 4px 10px; border-radius: 2px; }
.class-footer { display: flex; align-items: center; justify-content: space-between; }
.class-duration { font-size: .8rem; color: var(--text-dim); font-weight: 500; }

/* SCHEDULE */
.schedule-tabs { }
.tab-btns { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 0; border-bottom: 2px solid var(--border); }
.tab-btn { background: none; border: none; border-bottom: 3px solid transparent; padding: 10px 20px; font-size: .84rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif; white-space: nowrap; margin-bottom: -2px; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; margin-top: 20px; }
.tab-panel.active { display: block; }
.schedule-table { display: flex; flex-direction: column; gap: 2px; }
.schedule-row { display: grid; grid-template-columns: 90px 1fr 120px 100px 70px; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 16px 20px; transition: border-color .2s; }
.schedule-row:hover { border-color: var(--primary); }
.schedule-row.fully-booked { opacity: .6; }
.sch-time { font-size: .85rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.sch-class strong { display: block; font-size: .9rem; font-weight: 600; color: var(--text); }
.sch-class span { font-size: .75rem; color: var(--text-dim); }
.sch-instructor { font-size: .82rem; color: var(--text-muted); }
.sch-spots { }
.spots-ok { font-size: .75rem; color: #2e7d32; font-weight: 600; }
.spots-low { font-size: .75rem; color: #e65100; font-weight: 700; }
.spots-full { font-size: .75rem; color: #c62828; font-weight: 700; }
@media (max-width: 760px) { .schedule-row { grid-template-columns: 80px 1fr 60px; } .sch-instructor, .sch-spots { display: none; } }

/* INSTRUCTORS */
.instructors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.instructor-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow .3s; }
.instructor-card:hover { box-shadow: 0 10px 36px rgba(90,127,110,.1); }
.instructor-img { height: 300px; overflow: hidden; }
.instructor-img img { transition: transform .4s; }
.instructor-card:hover .instructor-img img { transform: scale(1.04); }
.instructor-body { padding: 22px; }
.instructor-body h3 { margin-bottom: 4px; }
.inst-title { color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.inst-specialty { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.inst-bio { font-size: .84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.inst-certs { display: flex; flex-direction: column; gap: 4px; }
.cert-badge { background: var(--primary-light); color: var(--primary); font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 2px; border: 1px solid var(--border); display: inline-block; width: fit-content; }

/* MEMBERSHIP */
.membership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 48px; }
.membership-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 8px; padding: 32px; position: relative; transition: box-shadow .3s; }
.membership-featured { border-color: var(--primary); box-shadow: 0 8px 40px var(--primary-glow); }
.pop-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 16px; border-radius: 2px; white-space: nowrap; letter-spacing: .5px; text-transform: uppercase; }
.mem-top { margin-bottom: 24px; }
.mem-top h3 { font-size: 1.4rem; margin-bottom: 10px; }
.mem-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }
.mem-price span { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--primary); }
.mem-price small { font-size: .82rem; color: var(--text-dim); }
.mem-top p { color: var(--text-muted); font-size: .84rem; line-height: 1.55; }
.mem-perks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.mem-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--text-muted); }
.mem-perks li::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.class-packs { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.class-packs h3 { margin-bottom: 20px; }
.packs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; }
.pack-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: .86rem; }
.pack-row:last-child { border-bottom: none; }
.pack-price { font-weight: 700; color: var(--primary); }

/* ABOUT */
.about-section { }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { border-radius: 4px; overflow: hidden; aspect-ratio: 3/4; }
.about-content .eyebrow { display: block; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); font-size: .95rem; line-height: 1.75; margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value-item { display: flex; gap: 12px; align-items: flex-start; }
.value-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.value-item strong { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.value-item p { font-size: .8rem; color: var(--text-muted); margin: 0; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; gap: 40px; } .about-media { aspect-ratio: 16/9; } .values-grid { grid-template-columns: 1fr; } }

/* TRIAL */
.trial-section { background: var(--primary); padding: 80px 0; }
.trial-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.trial-text h2 { color: #fff; margin-bottom: 12px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.trial-text p { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.7; }
.trial-form { }
.trial-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.trial-fields input, .trial-fields select { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 12px 16px; font-size: .88rem; color: #fff; font-family: 'Inter', sans-serif; width: 100%; }
.trial-fields input::placeholder { color: rgba(255,255,255,.55); }
.trial-fields select option { color: var(--text); background: #fff; }
.trial-note { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: 10px; text-align: center; }
@media (max-width: 760px) { .trial-inner { grid-template-columns: 1fr; gap: 40px; } .trial-fields { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; font-size: .92rem; font-weight: 600; font-family: 'Inter', sans-serif; color: var(--text); background: none; border: none; cursor: pointer; text-align: left; }
.faq-toggle { font-size: 1.2rem; flex-shrink: 0; color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 24px 18px; color: var(--text-muted); font-size: .88rem; line-height: 1.7; }

/* CONTACT */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info .eyebrow { display: block; }
.contact-info h2 { margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.detail-row { display: flex; flex-direction: column; gap: 2px; }
.detail-row strong { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); font-family: 'Inter', sans-serif; }
.detail-row span, .detail-row a { font-size: .9rem; color: var(--text-muted); }
.hours-block { border-top: 1px solid var(--border); padding-top: 20px; margin-bottom: 24px; }
.hour-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font-size: .84rem; }
.map-placeholder { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; height: 200px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: .82rem; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 36px; }
.contact-form h3 { margin-bottom: 24px; font-size: 1.4rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.form-group input, .form-group textarea { background: var(--bg); border: 1.5px solid var(--border); border-radius: 4px; padding: 12px 16px; font-size: .88rem; font-family: 'Inter', sans-serif; color: var(--text); transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
@media (max-width: 780px) { .contact-split { grid-template-columns: 1fr; gap: 40px; } }

/* FOOTER */
.footer { background: #141410; color: rgba(255,255,255,.55); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-main { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,.35); }
.footer-brand > p { font-size: .84rem; line-height: 1.6; margin-top: 12px; max-width: 240px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; color: rgba(255,255,255,.5); }
.social-links a:hover { border-color: var(--primary); color: var(--primary); }
.footer-col h4 { color: rgba(255,255,255,.9); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .84rem; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 24px; text-align: center; font-size: .78rem; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.back-to-top { position: fixed; bottom: 28px; right: 24px; width: 40px; height: 40px; border-radius: 2px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; z-index: 800; }
.back-to-top.visible { opacity: 1; visibility: visible; }
