/* Editable pages (Online, Locations, Guides, About): blocks that sell.
   Loaded after styles.css by the pages the portal renders. */

.block-title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.05; margin-bottom: 1rem; }
.block-intro { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 640px; margin-bottom: 1.5rem; }
.hero-actions { margin-top: 1.5rem; }

/* ---------- Hero with a card beside it (booking / offer) ---------- */
.loc-hero .landing-hero-inner.has-image,
.online-hero .landing-hero-inner.has-image {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
}

.booking-card,
.offer-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg, 20px);
  background: rgba(14, 14, 20, 0.92);
  border: 2px solid rgba(255, 45, 138, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 45, 138, 0.18);
}

.booking-card-title,
.offer-card-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.9rem;
}

.booking-card-details { display: grid; gap: 0.8rem; margin: 0 0 1.25rem; }
.booking-card-details dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.booking-card-details dd { margin: 0.15rem 0 0; font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.booking-card-note { margin-top: 0.75rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); text-align: center; }
.booking-card-map,
.offer-card-link { display: block; margin-top: 0.6rem; text-align: center; color: var(--pink); font-weight: 700; font-size: 0.95rem; }

.offer-card-price { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; margin-bottom: 1rem; }
.offer-card-price span { color: var(--pink); }
.offer-card-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; }
.offer-card-list li { position: relative; padding-left: 1.6rem; font-size: 1.05rem; }
.offer-card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: linear-gradient(90deg, rgba(255, 45, 138, 0.14), rgba(155, 92, 255, 0.14));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.trust-strip li { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; }
.trust-strip svg { width: 1.2rem; height: 1.2rem; color: var(--pink); flex: 0 0 auto; }

/* ---------- Steps ---------- */
.steps-block { padding: 4rem 0; }
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--gradient-cta, linear-gradient(90deg, #ff2d8a, #9b5cff));
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}

.step h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.step p { font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }

/* ---------- Good to know ---------- */
.good-to-know { padding: 0 0 3rem; }
.good-to-know-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 0; }
.good-to-know-list div { padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px dashed rgba(255, 45, 138, 0.45); }
.good-to-know-list dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
.good-to-know-list dd { margin: 0.3rem 0 0; font-size: 1.1rem; }

/* ---------- Photo band ---------- */
.class-photo { padding-top: 0; }
.class-photo-frame { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.class-photo-img { display: block; width: 100%; height: auto; aspect-ratio: 1158 / 612; object-fit: cover; }
.photo-band-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
.photo-band-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; }
video.photo-band-img { display: block; aspect-ratio: 4 / 3; height: auto; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.photo-band-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 0.4rem; }
.photo-band-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 0.9rem; }
.photo-band-copy p:not(.photo-band-kicker):not(.photo-band-title) { font-size: 1.12rem; line-height: 1.7; color: rgba(255, 255, 255, 0.88); margin-bottom: 1.4rem; }

/* ---------- Library preview ---------- */
.library-preview-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: center; }
.library-preview-copy p:not(.photo-band-kicker) { font-size: 1.12rem; line-height: 1.7; color: rgba(255, 255, 255, 0.88); margin-bottom: 1.4rem; }
.library-preview-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #000;
  border: 2px solid rgba(155, 92, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ---------- Reviews ---------- */
.reviews-block { background: var(--black-soft, #12121a); }
.review-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.review-card blockquote {
  height: 100%;
  margin: 0;
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card p { font-size: 1.15rem; line-height: 1.6; }
.review-card p::first-letter { color: var(--pink); }
.review-card footer { margin-top: auto; font-weight: 700; color: var(--pink); }

/* ---------- Closing booking panel ---------- */
.closing-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(150deg, rgba(255, 45, 138, 0.2), rgba(155, 92, 255, 0.2));
  border: 2px solid rgba(255, 45, 138, 0.45);
}
.closing-card h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6rem; }
.closing-card p { font-size: 1.1rem; }
.closing-when { margin: 0.9rem 0 0.4rem; font-weight: 700; font-size: 1.2rem !important; }
.closing-card .landing-actions { justify-content: center; }

/* ---------- Compare options (Online section page) ---------- */
.compare-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.compare-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.compare-card.is-featured { border: 2px solid var(--pink); background: rgba(255, 45, 138, 0.08); }
.compare-badge {
  position: absolute;
  top: -0.8rem;
  left: 1.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--pink-deep, #d81b72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-card h3 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.compare-price { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.9); }
.compare-price span { color: var(--pink); font-size: 2.2rem; }
.compare-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.5rem; flex: 1 1 auto; }
.compare-card ul li { position: relative; padding-left: 1.5rem; font-size: 1.02rem; }
.compare-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.hub-list-heading { padding-top: 1rem; }

/* ---------- Phone sticky booking bar ---------- */
.sticky-cta { display: none; }

@media (max-width: 800px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(10, 10, 15, 0.96);
    border-top: 1px solid rgba(255, 45, 138, 0.4);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta-label { font-weight: 700; font-size: 1rem; }
  .sticky-cta .btn { padding: 0.7rem 1.4rem; white-space: nowrap; }
  body.has-sticky-cta .site-footer { padding-bottom: 5rem; }
  /* The draft preview banner sits above the bar. */
  body:has(.preview-banner) .sticky-cta { bottom: 3.2rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 800px) {
  .loc-hero .landing-hero-inner.has-image,
  .online-hero .landing-hero-inner.has-image { grid-template-columns: 1fr; }
  .loc-hero .landing-hero-media,
  .online-hero .landing-hero-media { max-width: none; }
  .photo-band-inner,
  .library-preview-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  /* The class details card (with Book) comes straight after on phones, so skip the duplicate buttons. */
  .loc-hero .hero-actions { display: none; }
  .trust-strip ul { justify-content: flex-start; gap: 0.6rem 1.25rem; }
  .trust-strip li { font-size: 0.95rem; }
  .steps-block { padding: 3rem 0; }
  .closing-card { padding: 2rem 1.25rem; }
}

/* ---------- About page: Amy's photo framed like the homepage "About Amy" ---------- */
.about-hero .landing-hero-inner.has-image {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.about-hero .landing-hero-media { display: flex; justify-content: center; }
.about-hero .landing-hero-media img {
  width: 100%;
  max-width: 440px;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg, 20px);
  border: 3px solid rgba(255, 255, 255, 0.9);
  transform: rotate(-2deg);
  filter: none;
  box-shadow: 16px 16px 0 rgba(155, 92, 255, 0.55), 0 0 50px rgba(255, 45, 138, 0.3);
}

/* Phones and tablets: breadcrumb and heading, then Amy, then the words */
@media (max-width: 800px) {
  .about-hero .landing-hero-inner.has-image { grid-template-columns: 1fr; gap: 0; }
  .about-hero .landing-hero-copy { display: contents; }
  .about-hero .breadcrumb,
  .about-hero h1 { order: -2; }
  .about-hero h1 { margin-bottom: 1.5rem; }
  .about-hero .landing-hero-media { order: -1; max-width: none; margin-bottom: 2rem; }
  .about-hero .landing-hero-media img {
    width: min(88%, 420px);
    box-shadow: 10px 10px 0 rgba(155, 92, 255, 0.55), 0 0 40px rgba(255, 45, 138, 0.3);
  }
}

/* ---------- Section with a class clip beside it (e.g. About) ---------- */
.block-clip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.block-clip-grid .landing-prose { max-width: none; }
.block-clip-left .block-clip { order: -1; }
.block-clip { margin: 0; }
.block-clip-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  border-radius: var(--radius-lg, 20px);
  border: 3px solid rgba(255, 255, 255, 0.9);
  transform: rotate(1.5deg);
  box-shadow: 14px 14px 0 rgba(155, 92, 255, 0.55), 0 0 40px rgba(255, 45, 138, 0.25);
}
.block-clip-left .block-clip-video {
  transform: rotate(-1.5deg);
  box-shadow: -14px 14px 0 rgba(255, 45, 138, 0.5), 0 0 40px rgba(155, 92, 255, 0.25);
}

/* Phones and tablets: heading and text, then the clip */
@media (max-width: 800px) {
  .block-clip-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .block-clip-left .block-clip { order: 0; }
  .block-clip { width: min(92%, 520px); justify-self: center; }
  .block-clip-video,
  .block-clip-left .block-clip-video { box-shadow: 10px 10px 0 rgba(155, 92, 255, 0.55), 0 0 30px rgba(255, 45, 138, 0.25); }
}

/* ---------- About: lead from the hero into Amy's story ---------- */
.about-hero { padding-bottom: 5rem; }
.about-hero .landing-hero-media img { max-width: 400px; }
.about-facts { position: relative; z-index: 2; margin-top: -3rem; padding-bottom: 1rem; }
.about-facts-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.about-fact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-lg, 20px);
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid rgba(255, 45, 138, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.about-fact-big {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--gradient-cta, linear-gradient(90deg, #ff2d8a, #9b5cff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-fact-small { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.35; }
#story { scroll-margin-top: calc(var(--header-h, 72px) + 0.5rem); }

@media (max-width: 800px) {
  .about-hero { padding-bottom: 3rem; }
  .about-hero .landing-actions { justify-content: center; }
  .about-hero .landing-lead { text-align: left; }
  .about-facts { margin-top: -1.5rem; }
  .about-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .about-fact { padding: 1rem; }
}

/* Online hub: the three products as video cards (shares .location-card from styles.css) */
.compare-location-cards .location-card-title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.compare-location-cards .location-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.compare-location-cards .location-card-badge { background: var(--pink-deep); color: #fff; }

/* Online page opens on the product cards, no hero */
.landing-page > .online-choose:first-child { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); border-top: none; }
.online-choose .locations-feature-lead p { margin: 0; }
