/* =========================================================
   Shared Service Page Layer
   Applies to city + service pages loaded after core CSS.
   Keep only service-page-specific shared patterns here.
   ========================================================= */

/* ------------------------------
   Service page hero refinements
   ------------------------------ */
.hero-ultra-luxe {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 18% 16%, rgba(212, 175, 55, 0.16) 0, rgba(212, 175, 55, 0) 34%),
    radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #041124 0%, #071a36 48%, #0b1e3a 100%);
  color: var(--white);
}

.hero-ultra-luxe::before {
  content: "";
  position: absolute;
  inset: 0;
  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: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.68), rgba(0,0,0,0));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -12%;
  top: -24%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.20) 0%, rgba(212, 175, 55, 0.07) 32%, rgba(212, 175, 55, 0) 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, 1fr);
  gap: 68px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  min-height: 540px;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 34px -18px -18px 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  position: relative;
  z-index: 1;
}

.glass-review-card {
  position: absolute;
  z-index: 3;
  left: -20px;
  bottom: 28px;
  width: min(320px, 74%);
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-stars {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.glass-quote {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.glass-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #53647d;
  font-size: 12px;
  font-weight: 700;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  min-width: 120px;
}

.stat-num {
  margin-bottom: 4px;
  font-family: var(--font-main);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.stat-label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.16);
}

/* ------------------------------
   Service hero content cards
   Shared by service pages with dense SEO/service-intent copy.
   ------------------------------ */
.hero-lead-copy {
  max-width: 720px;
}

.hero-service-insight-card {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-service-insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(212,175,55,0.12), rgba(212,175,55,0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0) 48%);
  pointer-events: none;
}

.hero-service-insight-card > * {
  position: relative;
  z-index: 1;
}

.hero-insight-label,
.snapshot-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-service-insight-card p {
  margin: 0;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.72;
}

.hero-service-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-top: 24px;
}

.hero-service-snapshot-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 20px 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.065);
}

.hero-service-snapshot-card.emphasized {
  background:
    radial-gradient(circle at 88% 0%, rgba(212,175,55,0.10), rgba(212,175,55,0) 36%),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(212,175,55,0.20);
}

.hero-service-snapshot-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.68;
}

/* ------------------------------
   Service editorial sections
   ------------------------------ */
.services-editorial {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.services-editorial.bg-pearl {
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 55, 0.08) 0, rgba(212, 175, 55, 0) 30%),
    var(--pearl);
}

.services-header,
.distinction-header {
  max-width: 980px;
  margin: 0 auto 56px;
  text-align: center;
}

.services-header .lux-p-center,
.distinction-header .lux-p-center-dark {
  margin-bottom: 0;
}

.distinction-executive {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.distinction-executive::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0));
  pointer-events: none;
}

/* ------------------------------
   Service context panels and cards
   Used for local/service-fit copy that should not appear as plain paragraphs.
   ------------------------------ */
.service-context-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  margin-top: 34px;
}

.service-context-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 30, 58, 0.08);
  box-shadow: 0 20px 52px rgba(11, 30, 58, 0.065);
  text-align: left;
}

.service-context-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.11), rgba(212, 175, 55, 0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events: none;
}

.service-context-card > * {
  position: relative;
  z-index: 1;
}

.service-context-card.emphasized {
  background: linear-gradient(135deg, #071a36 0%, #102b52 100%);
  border-color: rgba(212, 175, 55, 0.20);
  box-shadow: 0 24px 64px rgba(11, 30, 58, 0.16);
}

.service-context-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-context-card h3 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.service-context-card p {
  margin: 0;
  color: #53647d;
  font-size: 15px;
  line-height: 1.75;
}

.service-context-card.emphasized h3 {
  color: #ffffff;
}

.service-context-card.emphasized p {
  color: #cbd5e1;
}

.services-context-panel {
  position: relative;
  overflow: hidden;
  margin: 18px 0 38px;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.13), rgba(212, 175, 55, 0) 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
  border: 1px solid rgba(11, 30, 58, 0.08);
  box-shadow: 0 26px 72px rgba(11, 30, 58, 0.08);
}

.services-context-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 30, 58, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 58, 0.024) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.42;
  pointer-events: none;
}

.services-context-panel > * {
  position: relative;
  z-index: 1;
}

.services-context-intro {
  max-width: 940px;
  margin: 0 auto 34px;
  text-align: center;
}

.services-context-intro .lux-h2-dark {
  margin-bottom: 16px;
}

.services-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.services-context-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11, 30, 58, 0.08);
  box-shadow:
    0 18px 46px rgba(11, 30, 58, 0.065),
    inset 0 1px 0 rgba(255,255,255,0.72);
}

.services-context-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(212, 175, 55, 0.10), rgba(212, 175, 55, 0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.60), rgba(255,255,255,0));
  pointer-events: none;
}

.services-context-card > * {
  position: relative;
  z-index: 1;
}

.services-context-card h3 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-family: var(--font-main);
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.services-context-card p {
  margin: 0;
  color: #53647d;
  font-size: 15px;
  line-height: 1.74;
}

.services-context-card-wide {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.13), rgba(212, 175, 55, 0) 34%),
    linear-gradient(135deg, #071a36 0%, #102b52 100%);
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: 0 24px 64px rgba(11, 30, 58, 0.16);
}

.services-context-card-wide h3 {
  color: #ffffff;
}

.services-context-card-wide-text {
  max-width: none;
  margin: 0;
  color: #e2e8f0;
  text-align: left;
  font-size: 15px;
  line-height: 1.74;
}

/* ------------------------------
   Shared local intro / diagnosis sections
   ------------------------------ */
.local-diagnosis-grid,
.service-diagnosis-grid,
.scope-grid,
.service-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.local-diagnosis-card,
.service-diagnosis-card,
.scope-card,
.service-scope-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(11, 30, 58, 0.08);
  box-shadow: 0 18px 46px rgba(11, 30, 58, 0.06);
}

.local-diagnosis-card h3,
.service-diagnosis-card h3,
.scope-card h3,
.service-scope-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
}

.local-diagnosis-card p,
.service-diagnosis-card p,
.scope-card p,
.service-scope-card p {
  margin: 0;
  color: #53647d;
  font-size: 15px;
  line-height: 1.72;
}

/* ------------------------------
   Service page area / location sections
   ------------------------------ */
.service-area-section,
.local-areas-section,
.nearby-services-section {
  position: relative;
  padding: 104px 0;
  background: #ffffff;
}

.service-area-grid,
.local-areas-grid,
.nearby-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-area-card,
.local-area-card,
.nearby-service-card {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(11, 30, 58, 0.08);
  box-shadow: 0 16px 40px rgba(11, 30, 58, 0.055);
}

.service-area-card h3,
.local-area-card h3,
.nearby-service-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-main);
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
}

.service-area-card p,
.local-area-card p,
.nearby-service-card p {
  margin: 0;
  color: #53647d;
  font-size: 15px;
  line-height: 1.7;
}

.nearby-service-card a {
  color: inherit;
}

.nearby-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 22px 54px rgba(11, 30, 58, 0.085);
}

/* ------------------------------
   Service-page dark conversion band
   Reviews are defined in core/sections.css, but the bridge and CTA transition
   are service-page-specific. These rules intentionally keep the three adjacent
   blocks on one continuous base background:
   .reviews-premium → .service-links-bridge → .cta-bridge-premium
   ------------------------------ */
.reviews-premium,
.service-links-bridge,
.cta-bridge-premium,
.cta-bridge-premium.dark-mode {
  background: var(--lgc-dark-band, #071a36);
  background-image: none;
}

.reviews-premium {
  padding-bottom: 82px;
}

.service-links-bridge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 38px;
  background: var(--lgc-dark-band, #071a36);
}

.service-links-bridge::before,
.service-links-bridge::after {
  content: none;
}

.service-links-bridge > .lux-container {
  position: relative;
  z-index: 1;
}

.service-links-bridge-card {
  position: relative;
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
  padding: 30px 36px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(212,175,55,0.075), rgba(212,175,55,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,0.086) 0%, rgba(255,255,255,0.048) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.075);
}

.service-links-bridge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 46%);
  pointer-events: none;
}

.service-links-bridge-card > * {
  position: relative;
  z-index: 1;
}

.service-links-bridge-text {
  margin-bottom: 0;
  color: #d7e0ec;
}

.service-links-bridge-text a {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.service-links-bridge-text a:hover,
.service-links-bridge-text a:focus {
  color: #ffffff;
}

.cta-bridge-premium,
.cta-bridge-premium.dark-mode {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 0 104px;
  background: var(--lgc-dark-band, #071a36);
  background-image: none;
}

.cta-floating-card.inverted-card,
.cta-bridge-premium .cta-floating-card,
.cta-bridge-premium.dark-mode .cta-floating-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.086) 0%, rgba(255,255,255,0.046) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 84px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.08);
  color: var(--white);
}

.cta-bridge-premium .cta-floating-card::before,
.cta-bridge-premium.dark-mode .cta-floating-card::before {
  background:
    radial-gradient(circle at 84% 0%, rgba(212,175,55,0.105), rgba(212,175,55,0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.052) 0%, rgba(255,255,255,0) 46%);
}

.cta-floating-card .card-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 8px 15px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.24);
}

.cta-bridge-premium.dark-mode .lux-btn.gold-btn {
  min-height: 52px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* FAQ section architecture is owned by core/sections.css.
   service-page.css must not redefine .faq-executive, .faq-layout,
   .faq-item, .faq-answer, or .faq-trigger because it loads after sections.css. */

/* ------------------------------
   Final CTA section
   ------------------------------ */
.service-final-cta,
.final-cta-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  background:
    radial-gradient(circle at 80% 16%, rgba(212, 175, 55, 0.18) 0, rgba(212, 175, 55, 0) 34%),
    linear-gradient(135deg, #041124 0%, #0b1e3a 100%);
  color: var(--white);
}

.service-final-cta .lux-h2-white,
.final-cta-section .lux-h2-white {
  margin-bottom: 18px;
}

.service-final-cta .lux-p-center-light,
.final-cta-section .lux-p-center-light {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------
   Responsive service page layer
   ------------------------------ */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-image-wrap {
    justify-content: flex-start;
    min-height: auto;
  }

  .hero-image {
    max-width: 720px;
  }
}

@media (max-width: 991px) {
  .hero-ultra-luxe,
  .services-editorial,
  .distinction-executive,
  .service-area-section,
  .local-areas-section,
  .nearby-services-section,
  .service-faq-section,
  .faq-section,
  .service-final-cta,
  .final-cta-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .local-diagnosis-grid,
  .service-diagnosis-grid,
  .scope-grid,
  .service-scope-grid,
  .service-area-grid,
  .local-areas-grid,
  .nearby-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-floating-card {
    padding: 46px 34px;
    border-radius: 28px;
  }

  .service-context-grid,
  .services-context-grid {
    grid-template-columns: 1fr;
  }

  .services-context-panel {
    padding: 34px 28px;
    border-radius: 28px;
  }

  .services-context-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .hero-ultra-luxe {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-image-wrap::before {
    inset: 20px -10px -10px 20px;
    border-radius: 24px;
  }

  .hero-image {
    border-radius: 22px;
    max-width: 100%;
  }

  .glass-review-card {
    display: none;
  }

  .services-header,
  .distinction-header {
    margin-bottom: 38px;
  }

  .local-diagnosis-grid,
  .service-diagnosis-grid,
  .scope-grid,
  .service-scope-grid,
  .service-area-grid,
  .local-areas-grid,
  .nearby-services-grid {
    grid-template-columns: 1fr;
  }

  .local-diagnosis-card,
  .service-diagnosis-card,
  .scope-card,
  .service-scope-card,
  .service-area-card,
  .local-area-card,
  .nearby-service-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .reviews-premium {
    padding-bottom: 68px;
  }

  .service-links-bridge {
    padding-bottom: 32px;
  }

  .service-links-bridge-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .cta-bridge-premium,
  .cta-bridge-premium.dark-mode {
    padding: 34px 0 76px;
  }

  .cta-floating-card {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .cta-action-row {
    align-items: stretch;
    gap: 14px;
  }

  .cta-action-row .lux-btn {
    width: 100%;
  }

  .cta-note {
    justify-content: center;
    text-align: center;
  }

  .hero-service-insight-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .hero-service-snapshot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-service-snapshot-card {
    padding: 18px;
    border-radius: 18px;
  }

  .service-context-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 26px;
  }

  .service-context-card,
  .services-context-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .service-context-card h3,
  .services-context-card h3 {
    font-size: 19px;
  }

  .services-context-panel {
    margin: 12px 0 30px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .services-context-intro {
    margin-bottom: 24px;
  }
}

/* ------------------------------
   Ownership note
   ------------------------------
   This file should override service-page-level layout only.
   It may own service-page-only hero cards, context panels, bridge spacing, and bridge-card polish, but must not restart separate
   section-level gradients or overlays on adjacent dark bridge sections. Continuous dark blocks should
   use the same base background as core/sections.css; visual richness belongs inside cards.
   It must not own reusable section systems such as FAQ accordions,
   reviews, comparison cards, process timelines, areas grids, or service rows.
   Those belong in core/sections.css.
   Reusable UI primitives belong in core/components.css.
*/