.booking-page,
.legal-page,
.error-page {
  min-height: calc(100vh - var(--header-height));
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 107, 0, 0.16), transparent 27rem),
    radial-gradient(circle at 88% 78%, rgba(27, 123, 206, 0.16), transparent 30rem),
    #06111d;
  color: #eaf1f7;
}

.booking-page::before,
.legal-page::before,
.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}

.page-stage {
  position: relative;
  z-index: 1;
  padding: 92px 0 110px;
}

.page-eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 999px;
  color: #ffb782;
  background: rgba(255, 107, 0, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title {
  max-width: 880px;
  margin-top: 24px;
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-lead {
  max-width: 720px;
  margin-top: 26px;
  color: #aebdcb;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.status-card {
  max-width: 980px;
  margin-top: 54px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: rgba(7, 25, 42, 0.74);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.status-card h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.status-card > p {
  max-width: 720px;
  color: #aebdcb;
  font-size: 1.05rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.status-item {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.status-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.status-item span {
  color: #8fa2b4;
  font-size: 0.92rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-muted {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-muted:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.pause-note {
  color: #8395a7;
  font-size: 0.88rem;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 50px;
}

.legal-hero .page-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-nav,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(7, 25, 42, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 22px;
}

.legal-nav strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  color: #94a7ba;
  font-size: 0.92rem;
}

.legal-nav a:hover {
  color: var(--color-accent);
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
}

.legal-section + .legal-section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.legal-section p,
.legal-section li {
  color: #aebdcb;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.legal-section li {
  position: relative;
  padding-left: 20px;
}

.legal-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.legal-callout {
  margin-top: 18px;
  padding: 18px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 107, 0, 0.08);
  color: #e7edf4;
}

.error-page {
  display: grid;
  place-items: center;
}

.error-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  padding: 82px 0 100px;
  position: relative;
  z-index: 1;
}

.error-code {
  color: #fff;
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-shadow: 0 0 55px rgba(255, 107, 0, 0.22);
}

.error-copy h1 {
  max-width: 660px;
  margin: 32px 0 18px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.error-copy p {
  max-width: 620px;
  margin-bottom: 30px;
  color: #aebdcb;
  font-size: 1.12rem;
}

.error-visual {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.error-orbit {
  width: min(78vw, 390px);
  aspect-ratio: 1;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(255, 107, 0, 0.06), 0 0 70px rgba(0, 0, 0, 0.28);
  animation: orbitFloat 5.4s ease-in-out infinite;
}

.error-orbit::before,
.error-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.error-orbit::before {
  inset: 17%;
  border: 1px dashed rgba(255, 107, 0, 0.48);
  animation: spin 13s linear infinite;
}

.error-orbit::after {
  inset: 38%;
  background: radial-gradient(circle at 35% 30%, #ffb071, #ff6b00 42%, #6b2500 100%);
  box-shadow: 0 0 50px rgba(255, 107, 0, 0.42);
}

.orbit-dot {
  width: 17px;
  height: 17px;
  position: absolute;
  top: 48%;
  left: -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 24px #fff;
  animation: satellite 8s linear infinite;
  transform-origin: calc(50% + 203px) center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes satellite {
  to { transform: rotate(360deg); }
}

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}

@media (max-width: 780px) {
  .page-stage {
    padding: 70px 0 84px;
  }

  .status-grid,
  .legal-layout,
  .error-stage {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .error-stage {
    gap: 24px;
  }

  .error-visual {
    order: -1;
    min-height: 300px;
  }

  .error-orbit {
    width: min(72vw, 280px);
  }

  .orbit-dot {
    transform-origin: calc(50% + 148px) center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-orbit,
  .error-orbit::before,
  .orbit-dot {
    animation: none;
  }
}

/* Investment page */
.investment-page {
  min-height: 100vh;
  overflow: hidden;
  color: #eef4fa;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 107, 0, 0.15), transparent 26rem),
    radial-gradient(circle at 88% 48%, rgba(27, 123, 206, 0.14), transparent 30rem),
    #050d16;
}

.investment-hero {
  padding: 7rem 0 4rem;
  text-align: center;
}

.investment-hero h1 {
  max-width: 900px;
  margin: 0 auto 1.4rem;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.investment-hero h1 span {
  color: var(--color-accent);
  text-shadow: 0 0 38px rgba(255, 107, 0, 0.25);
}

.investment-lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #b8c5d2;
  font-size: 1.18rem;
  line-height: 1.75;
}

.investment-reference {
  padding: 1rem 0 6rem;
}

.investment-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.75fr);
  gap: 3rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 0, 0.32);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(12, 35, 56, 0.94), rgba(4, 15, 26, 0.98));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38), inset 0 0 70px rgba(255, 107, 0, 0.035);
}

.investment-card::after {
  content: '';
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 23rem;
  height: 23rem;
  border: 1px solid rgba(255, 107, 0, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(255, 107, 0, 0.12);
  pointer-events: none;
}

.investment-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: 999px;
  color: #ffbd8c;
  background: rgba(255, 107, 0, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.investment-card h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.investment-card p {
  max-width: 620px;
  color: #b8c5d2;
  line-height: 1.75;
}

.investment-price {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.investment-price small,
.investment-price span {
  display: block;
  color: #b8c5d2;
}

.investment-price strong {
  display: block;
  margin: 0.4rem 0;
  color: #ff7a19;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.investment-factors,
.investment-process {
  padding: 5.5rem 0;
}

.investment-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.investment-heading h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.investment-heading p {
  color: #aebdcb;
  line-height: 1.7;
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.investment-factor,
.investment-step {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.investment-factor strong,
.investment-step strong {
  display: block;
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.05rem;
}

.investment-factor p,
.investment-step p {
  color: #9fb0c0;
  line-height: 1.6;
}

.investment-step span {
  display: block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-family: 'Courier New', monospace;
  font-weight: 800;
}

.investment-cta {
  padding: 6rem 0 8rem;
  text-align: center;
}

.investment-cta__box {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(255, 107, 0, 0.28);
  border-radius: 26px;
  background: rgba(7, 25, 42, 0.78);
}

.investment-cta h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
}

.investment-cta p {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #aebdcb;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .investment-card,
  .investment-grid {
    grid-template-columns: 1fr;
  }

  .investment-grid {
    gap: 0.8rem;
  }
}

/* Search-focused service pages: same visual system, clearer commercial intent */
.service-detail-page {
  position: relative;
  overflow: hidden;
  color: #eaf1f7;
  background: #050e17;
}

.service-detail-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.service-detail-page > * {
  position: relative;
  z-index: 1;
}

.service-detail-hero {
  padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 107, 0, 0.2), transparent 24rem),
    radial-gradient(circle at 8% 86%, rgba(25, 118, 190, 0.17), transparent 28rem);
}

.service-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  color: #8799aa;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-breadcrumb a { color: #ff9a52; }

.service-detail-hero h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(3rem, 7.1vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.service-detail-hero h1 span { color: #ff6b00; }

.service-detail-lead {
  max-width: 720px;
  margin-top: 1.75rem;
  color: #afbdca;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.service-text-link {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 0.3rem;
  color: #dce6ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 750;
}

.service-signal-panel {
  position: relative;
  min-height: 430px;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(8, 25, 40, 0.78);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.service-signal-panel::before,
.service-signal-panel::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50%;
}

.service-signal-panel::before {
  width: 310px;
  height: 310px;
  top: 55px;
  right: -80px;
  animation: serviceOrbit 10s linear infinite;
}

.service-signal-panel::after {
  width: 190px;
  height: 190px;
  top: 115px;
  right: -20px;
  border-color: rgba(53, 146, 217, 0.35);
  animation: serviceOrbit 7s linear infinite reverse;
}

.service-signal-label {
  color: #ff9a52;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-signal-list {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  display: grid;
  gap: 0.7rem;
}

.service-signal-list div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.service-signal-list span {
  color: #ff7b1c;
  font-size: 0.72rem;
  font-weight: 850;
}

.service-signal-list strong {
  color: #fff;
  font-size: 0.95rem;
}

@keyframes serviceOrbit { to { transform: rotate(360deg); } }

.service-proofline {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.service-proofline .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-proofline div {
  padding: 1.4rem clamp(1rem, 3vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.service-proofline div:last-child { border-right: 0; }
.service-proofline strong { display: block; color: #fff; font-size: 0.96rem; }
.service-proofline span { color: #8699aa; font-size: 0.82rem; }

.service-detail-section { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.service-detail-section--blue {
  background: linear-gradient(155deg, rgba(10, 36, 58, 0.86), rgba(4, 14, 23, 0.94));
}

.service-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.6fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.service-detail-heading h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-detail-heading p { color: #9eafbe; line-height: 1.7; }

.service-benefit-grid,
.service-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-benefit-card,
.service-process-card {
  min-height: 220px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-benefit-card:hover,
.service-process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 0, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.service-benefit-card span,
.service-process-card span {
  display: block;
  margin-bottom: 1.35rem;
  color: #ff8b38;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.service-benefit-card h3,
.service-process-card h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.25rem;
}

.service-benefit-card p,
.service-process-card p { color: #94a6b5; line-height: 1.6; }

.service-faq { max-width: 900px; margin: 0 auto; }

.service-faq h2 {
  margin-bottom: 2rem;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4rem);
  text-align: center;
  letter-spacing: -0.05em;
}

.service-faq details { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.service-faq details:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.service-faq summary {
  padding: 1.35rem 2.5rem 1.35rem 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
}

.service-faq details p {
  max-width: 760px;
  padding: 0 0 1.5rem;
  color: #9eafbe;
  line-height: 1.7;
}

.service-related {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.service-related a {
  padding: 0.8rem 1rem;
  color: #d9e3ec;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.service-related a:hover { color: #fff; border-color: rgba(255, 107, 0, 0.45); }

.service-card-link {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.4rem;
  color: #ff9a52;
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card-link:hover { gap: 0.85rem; color: #fff; }

@media (max-width: 900px) {
  .service-detail-hero__grid,
  .service-detail-heading { grid-template-columns: 1fr; }
  .service-signal-panel { min-height: 360px; }
  .service-benefit-grid,
  .service-process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-detail-hero { padding-top: 7.4rem; }
  .service-detail-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .service-signal-panel { min-height: 330px; padding: 1.4rem; }
  .service-signal-list { right: 1.25rem; bottom: 1.25rem; left: 1.25rem; }
  .service-proofline .container { grid-template-columns: 1fr; }
  .service-proofline div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .service-proofline div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .service-signal-panel::before,
  .service-signal-panel::after { animation: none; }
}
