/* Subpage components for Yellow Star service, about, booking and policy pages.
   Built on the homepage design tokens: --primary-yellow #F6E309 on near-black. */

/* Page hero: photo banner with dark overlay, eyebrow breadcrumb, H1, lede, CTAs */
.subpage-hero {
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  background-color: #010C11;
  overflow: hidden;
}
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 12, 17, 0.85), rgba(1, 12, 17, 0.62));
}
.subpage-hero .container {
  position: relative;
  z-index: 2;
}
.crumb {
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #9aa0a6;
  margin-bottom: 14px;
}
.crumb a {
  color: var(--primary-yellow);
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb-sep {
  margin: 0 8px;
  color: #546e7a;
}
.subpage-hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  line-height: 1.12;
}
.subpage-hero .hero-subtext {
  color: #cfd4dc;
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 30px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Content sections */
.subpage-section {
  padding: 80px 0;
}
.subpage-section.alt {
  background: #0b0d10;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.lead-gray {
  color: #cfd4dc;
  font-size: 17px;
  line-height: 1.7;
}
.body-gray {
  color: #cfd4dc;
  font-size: 15.5px;
  line-height: 1.75;
}

/* Two-column feature checklist with yellow checks */
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.check-list li {
  color: #e1e7f0;
  font-size: 15.5px;
  line-height: 1.55;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list i {
  color: var(--primary-yellow);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Numbered process steps: yellow square badges, never round icons */
.process-steps {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.process-steps.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.process-step {
  display: flex;
  gap: 16px;
  background: #0b0d10;
  border: 1px solid #2b3038;
  border-radius: 10px;
  padding: 20px 22px;
}
.subpage-section.alt .process-step {
  background: #121417;
}
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary-yellow);
  color: #000000;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h5 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 6px;
}
.process-step p {
  color: #cfd4dc;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* Full-width CTA band with photo backdrop */
.cta-band {
  position: relative;
  padding: 72px 0;
  background-size: cover;
  background-position: center;
  background-color: #010C11;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 12, 17, 0.86);
}
.cta-band .container {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.cta-band p {
  color: #cfd4dc;
  font-size: 16px;
  margin-bottom: 26px;
  max-width: 620px;
}

/* Booking confirmation summary */
.booking-confirm {
  background: #0b0d10;
  border: 1px solid var(--primary-yellow);
  border-radius: 12px;
  padding: 34px;
}
.booking-confirm h3 {
  color: #ffffff;
  margin-bottom: 8px;
}
.booking-confirm .confirm-rows {
  margin: 20px 0 26px;
}
.booking-confirm .confirm-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #2b3038;
  color: #cfd4dc;
  font-size: 15px;
}
.booking-confirm .confirm-rows > div span:first-child {
  color: #9aa0a6;
  flex-shrink: 0;
}
.booking-confirm .confirm-rows > div span:last-child {
  color: #ffffff;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Dark selects and date inputs inside the booking card */
select.exact-underline-input,
input[type="date"].exact-underline-input {
  color-scheme: dark;
  color: #e1e7f0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #2b3038;
  width: 100%;
  padding: 10px 2px;
  font-size: 15px;
}
select.exact-underline-input option {
  background: #0b0d10;
  color: #e1e7f0;
}
.field-label {
  display: block;
  color: #9aa0a6;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}
.field-error {
  color: #ff9a9a;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}
.field-error.visible {
  display: block;
}

/* Info note box for honest scope boundaries */
.service-note {
  border: 1px solid #2b3038;
  border-radius: 10px;
  padding: 18px 20px;
  color: #cfd4dc;
  background: #0b0d10;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 28px;
}
.service-note strong {
  color: #ffffff;
}
.service-note a {
  color: var(--primary-yellow);
}

/* Long-form policy prose */
.privacy-prose {
  max-width: 860px;
}
.privacy-prose h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.privacy-prose h2:first-child {
  margin-top: 0;
}
.privacy-prose p,
.privacy-prose li {
  color: #cfd4dc;
  line-height: 1.75;
  font-size: 15.5px;
}
.privacy-prose ul {
  padding-left: 20px;
}
.privacy-prose li {
  margin-bottom: 8px;
}
.privacy-prose a {
  color: var(--primary-yellow);
}
.updated-stamp {
  color: #9aa0a6;
  font-size: 14px;
}

/* Contact detail rows on the booking page */
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #2b3038;
  color: #cfd4dc;
  font-size: 15.5px;
}
.contact-line:last-child {
  border-bottom: none;
}
.contact-line i {
  color: var(--primary-yellow);
  margin-top: 4px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.contact-line a {
  color: #ffffff;
  text-decoration: none;
}
.contact-line a:hover {
  color: var(--primary-yellow);
}

@media (max-width: 768px) {
  .subpage-hero {
    padding: 80px 0 60px;
  }
  .subpage-section {
    padding: 56px 0;
  }
  .check-list {
    grid-template-columns: 1fr;
  }
  .process-steps.cols-2 {
    grid-template-columns: 1fr;
  }
  .booking-confirm {
    padding: 24px;
  }
  .cta-band {
    padding: 56px 0;
  }
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Gallery lightbox (vanilla, see gallery.php) */
.ys-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
}
.ys-lightbox[hidden] {
  display: none;
}
.ys-lb-img {
  max-width: min(90vw, 1100px);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.ys-lb-close,
.ys-lb-prev,
.ys-lb-next {
  position: absolute;
  border: none;
  background: rgba(245, 197, 24, 0.92);
  color: #1a1a1a;
  font-size: 28px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.ys-lb-close {
  top: 20px;
  right: 24px;
}
.ys-lb-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.ys-lb-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Gallery filter + cards */
.gal-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  background: transparent;
  border: 1px solid #2b3038;
  color: #cfd4dc;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover {
  border-color: var(--primary-yellow);
  color: #ffffff;
}
.filter-btn.current {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: #000000;
}
.gal-card {
  margin: 0;
  background: #0b0d10;
  border: 1px solid #2b3038;
  border-radius: 12px;
  overflow: hidden;
}
.gal-card a {
  display: block;
}
.gal-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.gal-card figcaption {
  padding: 14px 16px;
  color: #cfd4dc;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Blog listing cards */
.post-card {
  display: flex;
  gap: 24px;
  background: #0b0d10;
  border: 1px solid #2b3038;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.post-card-img {
  flex: 0 0 300px;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.post-card-body {
  padding: 26px 28px 26px 4px;
}
.post-cat {
  color: var(--primary-yellow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.post-card-body h2 {
  color: #ffffff;
  font-size: 23px;
  margin: 8px 0 10px;
  line-height: 1.3;
}
.post-card-body h2 a {
  color: #ffffff;
  text-decoration: none;
}
.post-card-body h2 a:hover {
  color: var(--primary-yellow);
}
.post-meta {
  color: #9aa0a6;
  font-size: 13.5px;
  margin-bottom: 10px;
}
.post-excerpt {
  color: #cfd4dc;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.post-link {
  color: var(--primary-yellow);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.4px;
}
.post-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .post-card {
    flex-direction: column;
  }
  .post-card-img {
    flex: none;
  }
  .post-card-img img {
    min-height: 0;
    height: 200px;
  }
  .post-card-body {
    padding: 0 22px 24px;
  }
}

/* Pricing guide cards */
.guide-card {
  background: #121417;
  border: 1px solid #2b3038;
  border-radius: 12px;
  padding: 26px;
  height: 100%;
}
.guide-card h3 {
  color: #ffffff;
  font-size: 19px;
  margin-bottom: 10px;
}
.guide-range {
  color: var(--primary-yellow);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.guide-sub {
  color: #9aa0a6;
  font-size: 13.5px;
  margin-bottom: 14px;
}
.guide-covers {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.guide-covers li {
  color: #cfd4dc;
  font-size: 14.5px;
  padding: 6px 0 6px 26px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.guide-covers li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-yellow);
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 13px;
}
.guide-src {
  color: #9aa0a6;
  font-size: 13px;
  margin: 0;
}
.guide-src a {
  color: var(--primary-yellow);
  text-decoration: none;
}
.guide-src a:hover {
  text-decoration: underline;
}
.guide-cta {
  border-color: var(--primary-yellow);
}

/* Responsive map frame */
.map-ratio {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2b3038;
}
.map-ratio iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Flip cards: keyboard users reach the back-face CTA via focus */
.service-flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

/* Small-screen fixes: top bar, stats stack, carousel arrows, safe area */
@media (max-width: 576px) {
  .top-bar-contact a:first-child {
    display: none;
  }
  .stats-right-box .col-4 {
    width: 100%;
  }
  .slider-arrow-btn {
    position: static;
    transform: none;
    margin: 6px;
  }
  .mobile-book-btn {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

/* Feature media: nested % heights never resolve against shrink-to-fit flex
   columns, which left a short image floating at the top of a tall wrapper.
   Absolute fill inside a relative box always resolves. Overrides style.css. */
.image-wrapper {
  position: relative;
  min-height: 420px;
}
.section-feature-img {
  position: absolute;
  inset: 0;
  margin: 0;
}
