/* =========================================================
   Post-Renovation Page Layer
   Page-specific refinements only.

   This file owns post-renovation-specific refinements:
   renovation hero colour treatment, renovation context bridge,
   renovation service-row polish, renovation distinction refinements,
   renovation best-fit cards, unified conversion zone,
   renovation area-section spacing, and page background/footer guards.

   Shared service-page layouts belong in service-page.css.
   Shared section systems belong in core/sections.css.
   Reusable UI primitives belong in core/components.css.
   ========================================================= */

/* ------------------------------
   Hero refinement
   ------------------------------ */
.hero-ultra-luxe {
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.13), rgba(212, 175, 55, 0) 30%),
    radial-gradient(circle at 14% 12%, rgba(74, 120, 168, 0.16), rgba(74, 120, 168, 0) 34%),
    linear-gradient(135deg, #06162d 0%, #071a36 52%, #031022 100%);
}

.hero-service-insight-card p,
.hero-service-snapshot-card p {
  color: #d7e0ec;
}

.hero-service-snapshot-card.emphasized p {
  color: #e2e8f0;
}

/* ------------------------------
   Renovation context bridge
   Bridges the service-row section into the distinction section.
   ------------------------------ */
.services-local-note-box.service-context-grid {
  margin: 36px 0 58px;
}

.renovation-context-bridge {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding: 0 0 76px;
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f9fafb 42%,
      #ffffff 100%
    );
}

.renovation-context-bridge .lux-container {
  position: relative;
  z-index: 2;
}

.renovation-context-bridge .services-local-note-box.service-context-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  transform: none;
}

.renovation-transition-card-group,
.renovation-closing-context {
  justify-content: center;
  align-items: stretch;
}

.renovation-transition-card-group .service-context-card,
.renovation-closing-context .service-context-card {
  flex: 1 1 0;
}

.renovation-closing-context .service-context-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.renovation-context-bridge .service-context-card {
  text-align: center;
}

.renovation-context-bridge .service-context-label {
  justify-content: center;
  text-align: center;
}

.renovation-context-bridge .service-context-card h3 {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.renovation-context-bridge .service-context-card p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-context-card.emphasized .service-context-label,
.services-context-card-wide .service-context-label {
  color: var(--gold-light);
}

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

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

/* ------------------------------
   Renovation service rows
   ------------------------------ */
.services-editorial .service-row:first-of-type {
  margin-top: 0;
}

.services-editorial .service-h3 {
  max-width: 760px;
}

.services-editorial .lux-p-body {
  max-width: 780px;
}

.service-img-wrapper .img-badge {
  letter-spacing: 0.08em;
}

/* ------------------------------
   Renovation distinction section
   Post-renovation-specific comparison and real-issue refinements.
   ------------------------------ */
.distinction-executive {
  background:
    radial-gradient(circle at 12% 4%, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0) 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.renovation-distinction-section {
  padding-top: clamp(72px, 7vw, 112px);
}

.distinction-executive .services-context-panel {
  margin-top: 34px;
}

.renovation-distinction-context-panel {
  margin-bottom: 0;
}

.distinction-executive .comparison-grid {
  margin-top: 48px;
}

.distinction-executive .compare-card {
  overflow: hidden;
}

.distinction-executive .side-industry .comp-icon-box.cross {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.16);
}

.renovation-real-issue-bottom {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 64px;
  padding: clamp(42px, 5vw, 68px);
  border: 1px solid rgba(11, 30, 58, 0.10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0) 34%),
    radial-gradient(circle at 88% 8%, rgba(74, 120, 168, 0.12), rgba(74, 120, 168, 0) 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow:
    0 36px 95px rgba(11, 30, 58, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.90) inset;
}

.renovation-real-issue-bottom::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 26px;
  pointer-events: none;
}

.renovation-real-issue-bottom::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  z-index: -2;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  filter: blur(8px);
  pointer-events: none;
}

.renovation-real-issue-bottom .lux-h2-dark {
  max-width: 920px;
  margin: 12px auto 0;
  color: #071a36;
  text-align: center;
  letter-spacing: -0.045em;
}

.renovation-real-issue-bottom .lux-p-center {
  max-width: 920px;
  margin-top: 18px;
  color: #475569;
  font-size: 16px;
  line-height: 1.86;
}

.renovation-real-issue-bottom > .lux-eyebrow-gold {
  display: flex;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  color: #9a6d16;
  letter-spacing: 0.16em;
}

.renovation-real-issue-grid {
  margin-top: 42px;
  gap: 18px;
}

.renovation-real-issue-grid .services-context-card {
  padding: 28px;
  border: 1px solid rgba(11, 30, 58, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.88) 100%);
  box-shadow:
    0 18px 48px rgba(11, 30, 58, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.renovation-real-issue-grid .services-context-card h3 {
  color: #0b1e3a;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.renovation-real-issue-grid .services-context-card p {
  color: #526174;
  font-size: 14.5px;
  line-height: 1.74;
}

.renovation-real-issue-grid .services-context-card-wide {
  border-color: rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.13), rgba(212, 175, 55, 0) 34%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #071a36 0%, #102b52 100%);
  box-shadow: 0 22px 58px rgba(7, 26, 54, 0.18);
}

.renovation-real-issue-grid .services-context-card-wide h3 {
  color: #ffffff;
}

.renovation-real-issue-grid .services-context-card-wide .services-context-card-wide-text {
  color: #d7e0ec;
}

/* ------------------------------
   Best-fit renovation reset section
   ------------------------------ */
#best-fit-renovation-reset {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 0%, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#best-fit-renovation-reset::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 30, 58, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 58, 0.020) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.34;
  pointer-events: none;
}

#best-fit-renovation-reset > .lux-container {
  position: relative;
  z-index: 1;
}

.renovation-best-fit-intro {
  max-width: 920px;
}

.renovation-fit-card-side {
  width: 100%;
}

#best-fit-renovation-reset .comparison-grid {
  margin-top: 44px;
}

#best-fit-renovation-reset .compare-card {
  display: block;
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: 0 22px 58px rgba(11, 30, 58, 0.075);
}

#best-fit-renovation-reset .side-lgc,
#best-fit-renovation-reset .renovation-fit-card-side {
  width: 100%;
  min-height: 100%;
  padding: 30px 34px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.11), rgba(212, 175, 55, 0) 34%),
    linear-gradient(135deg, #071a36 0%, #102b52 100%);
}

#best-fit-renovation-reset .lgc-content {
  align-items: flex-start;
}

#best-fit-renovation-reset .comp-title {
  color: #ffffff;
}

#best-fit-renovation-reset .comp-desc {
  color: #d7e0ec;
}

#best-fit-renovation-reset .comp-icon-box.cross {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.26);
}

/* ------------------------------
   Unified conversion zone
   Combines reviews, internal link bridge, and final CTA on one dark band.
   ------------------------------ */
.renovation-conversion-zone {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(96px, 9vw, 142px) 0 clamp(104px, 10vw, 156px);
  background:
    radial-gradient(circle at 14% 8%, rgba(212, 175, 55, 0.10), rgba(212, 175, 55, 0) 32%),
    radial-gradient(circle at 88% 36%, rgba(74, 120, 168, 0.14), rgba(74, 120, 168, 0) 38%),
    radial-gradient(circle at 50% 112%, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0) 34%),
    linear-gradient(180deg, #06162d 0%, #071a36 46%, #031022 100%);
}

.renovation-conversion-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.34;
  pointer-events: none;
}

.renovation-conversion-zone::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 38%;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  filter: blur(10px);
  pointer-events: none;
}

.renovation-conversion-reviews,
.renovation-conversion-link-bridge,
.renovation-conversion-cta {
  position: relative;
  background: transparent;
}

.renovation-conversion-reviews {
  padding: 0;
}

.renovation-conversion-reviews .reviews-header {
  margin-bottom: clamp(42px, 5vw, 66px);
}

.renovation-conversion-reviews .reviews-grid {
  gap: clamp(22px, 2.4vw, 34px);
}

.renovation-conversion-reviews .review-card-dark {
  padding: clamp(32px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.11), rgba(212, 175, 55, 0) 36%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.25);
}

.renovation-conversion-link-bridge {
  padding: clamp(54px, 6vw, 82px) 0 clamp(62px, 7vw, 92px);
}

.renovation-conversion-link-bridge .service-links-bridge-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 3.2vw, 40px) clamp(30px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.13), rgba(212, 175, 55, 0) 34%),
    rgba(255, 255, 255, 0.065);
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.renovation-conversion-link-bridge .service-links-bridge-text {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.9;
}

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

.renovation-conversion-cta {
  padding: 0;
}

.renovation-conversion-cta .cta-floating-card.inverted-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(48px, 5.4vw, 72px) clamp(30px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0) 36%),
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 34%),
    rgba(255, 255, 255, 0.075);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(12px);
}

.renovation-conversion-cta .cta-floating-card.inverted-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 26px;
  pointer-events: none;
}

/* ------------------------------
   FAQ and process background refinements
   ------------------------------ */
.faq-executive {
  background: #f8fafc;
}

.process-executive {
  background:
    radial-gradient(circle at 86% 0%, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* ------------------------------
   Bottom renovation service area section
   ------------------------------ */
.renovation-areas-section {
  padding-top: 100px;
}

.areas-executive.renovation-areas-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0) 32%),
    linear-gradient(180deg, #06162d 0%, #031022 100%);
}

#site-pre-footer {
  background: #f8fafc;
}

#site-pre-footer + #site-footer {
  margin-top: 0;
}

/* ------------------------------
   Page bottom background guard
   Prevents white gaps below the pre-footer/footer on long dark service pages.
   Keep until the page shell has a body-level page class that can scope this.
   ------------------------------ */
html,
body {
  background: #031022;
}

#site-footer {
  background: #031022;
}

/* ------------------------------
   Responsive refinements
   ------------------------------ */
@media (max-width: 991px) {
  .services-local-note-box.service-context-grid {
    margin: 30px 0 46px;
  }

  .renovation-context-bridge {
    margin-top: -54px;
    padding-bottom: 62px;
  }

  .renovation-closing-context .service-context-card {
    min-height: 280px;
  }

  .renovation-distinction-section {
    padding-top: 88px;
  }

  .renovation-distinction-context-panel {
    margin-bottom: 0;
  }

  .renovation-real-issue-bottom {
    margin-top: 44px;
    padding: 40px 28px;
    border-radius: 28px;
  }

  .renovation-real-issue-bottom::before {
    inset: 10px;
    border-radius: 22px;
  }

  #best-fit-renovation-reset .comparison-grid,
  .distinction-executive .comparison-grid {
    margin-top: 36px;
  }

  .renovation-areas-section {
    padding-top: 88px;
  }

  .renovation-conversion-zone {
    padding: 88px 0 118px;
  }

  .renovation-conversion-link-bridge {
    padding: 48px 0 58px;
  }

  .renovation-conversion-reviews .review-card-dark {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .services-local-note-box.service-context-grid {
    margin: 24px 0 38px;
  }

  .renovation-context-bridge {
    margin-top: 0;
    padding: 42px 0 54px;
    background:
      linear-gradient(
        180deg,
        #f8fafc 0%,
        #ffffff 100%
      );
  }

  .renovation-context-bridge .services-local-note-box.service-context-grid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }

  .renovation-closing-context .service-context-card {
    min-height: auto;
  }

  .renovation-distinction-section {
    padding-top: 64px;
  }

  .renovation-distinction-context-panel {
    margin-bottom: 0;
  }

  .renovation-real-issue-grid {
    margin-top: 28px;
    gap: 14px;
  }

  .renovation-real-issue-bottom {
    margin-top: 36px;
    padding: 34px 20px;
    border-radius: 24px;
  }

  .renovation-real-issue-bottom::before {
    inset: 8px;
    border-radius: 18px;
  }

  .services-context-card-wide .services-context-card-wide-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .renovation-conversion-zone {
    padding: 72px 0 92px;
  }

  .renovation-conversion-reviews .reviews-header {
    margin-bottom: 32px;
  }

  .renovation-conversion-reviews .review-card-dark {
    padding: 26px;
  }

  .renovation-conversion-link-bridge {
    padding: 38px 0 46px;
  }

  .renovation-conversion-link-bridge .service-links-bridge-card {
    padding: 24px;
    border-radius: 22px;
  }

  .renovation-conversion-link-bridge .service-links-bridge-text {
    text-align: left;
    line-height: 1.82;
  }

  .renovation-conversion-cta .cta-floating-card.inverted-card {
    padding: 38px 22px;
    border-radius: 26px;
  }

  .renovation-conversion-cta .cta-floating-card.inverted-card::before {
    inset: 9px;
    border-radius: 20px;
  }

  .renovation-areas-section {
    padding-top: 74px;
  }
}

/* ------------------------------
   Pre-footer spacing correction
   Keeps the form-to-footer transition tight on long service pages.
   ------------------------------ */
#site-pre-footer .pre-footer-section,
#site-pre-footer .prefooter-section,
#site-pre-footer .estimate-section,
#site-pre-footer section:last-child {
  margin-bottom: 0;
  padding-bottom: clamp(64px, 7vw, 110px);
}

/* ------------------------------
   Ownership note
   ------------------------------
   post-renovation.css owns only post-renovation-specific refinements:
   renovation hero colour treatment, renovation context bridge,
   renovation service-row polish, renovation distinction refinements,
   renovation best-fit cards, unified conversion zone, renovation area-section
   spacing, FAQ/process background refinements, and footer/background guards.

   It should not own global utilities, shared hero shells, shared FAQ systems,
   shared CTA bridges, shared service rows, or reusable service-page panels.

   Shared service-page layouts belong in service-page.css.
   Shared section systems belong in core/sections.css.
   Reusable UI primitives belong in core/components.css.
*/