/* =========================================================================
   Fitness template: inner-page components
   ========================================================================= */

/* ---------- page hero (inner pages, full-bleed photo) ---------- */
.page-hero { position: relative; padding: clamp(9rem, 18vw, 13rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) contrast(1.05); }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), .55), rgba(var(--bg-rgb), .98)); }
.page-hero__title { margin: 0 0 1rem; max-width: 12ch; font-size: clamp(3.4rem, 10vw, 8rem); }
.page-hero__sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 50ch; }

/* ---------- schedule page ---------- */
.schedule-note { margin-top: 2rem; color: var(--muted); font-size: .9rem; max-width: 60ch; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; }
.week__day { background: var(--surface); border-radius: var(--radius); padding: 1rem .9rem; min-height: 200px; }
.week__day h3 { font-size: 1.3rem; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.week__day.today h3 { border-color: var(--accent); color: var(--accent); }
.week__item { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.week__item:last-child { border-bottom: 0; }
.week__item strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.week__item span { color: var(--muted); font-size: .78rem; }
@media (max-width: 1100px) { .week { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .week { grid-template-columns: repeat(2, 1fr); } }

/* ---------- memberships page ---------- */
.compare { margin-top: clamp(2.5rem, 5vw, 4rem); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 3rem; }
.faq__item { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.faq__item h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.faq__item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- coaches page ---------- */
.team--page { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 760px) { .team--page { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }

/* ---------- visit page ---------- */
.visit__note { margin-top: 1.5rem; color: var(--ink-soft); font-size: .95rem; }
.amenities { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; color: var(--ink-soft); font-size: .92rem; }
.amenities li { display: flex; gap: .6rem; align-items: baseline; }
.amenities li::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; transform: rotate(45deg) translateY(-.15em); }

/* ---------- book / trial ---------- */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book__intro h2 { margin-bottom: 1rem; }
.book__contact { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.5rem; }
.book__contact-btn { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.book__contact-btn:hover { border-color: var(--accent); transform: translateX(4px); }
.book__contact-btn__ico { width: 42px; height: 42px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.book__contact-btn small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.book__contact-btn strong { font-weight: 600; }
.book__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.field label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; outline: none;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; }
.book__form .btn { grid-column: 1 / -1; }
.book__form-note { grid-column: 1 / -1; font-size: .88rem; min-height: 1.2rem; margin: 0; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } .book__form { grid-template-columns: 1fr; } }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { max-width: 760px; }
.legal h3 { margin: 2.2rem 0 .7rem; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.legal h3:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); }
.legal ul { color: var(--ink-soft); padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin: .3rem 0; }
.footer__legal a { margin: 0 .2rem; }
.footer__legal a:hover { text-decoration: underline; }

/* ---------- embedded Booking Pro widgets (booking / store) ---------- */
.embed { border-radius: var(--radius, 12px); overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.embed iframe { display: block; width: 100%; height: min(100dvh - 6rem, 960px); min-height: 640px; border: 0; }
@media (max-width: 760px) { .embed iframe { height: calc(100dvh - 4rem); min-height: 560px; } }
