

/* =========================================================
   City Page Layer
   Loaded after core CSS and service-page.css when used.

   This file owns city-page-specific refinements only:
   city hero colour treatment, local service-area presentation,
   city-specific intro/context sections, local proof/coverage cards,
   nearby service links, and city-specific responsive refinements.

   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.
   ========================================================= */

/* ------------------------------
   Ownership note
   ------------------------------
   city-page.css is intentionally minimal right now.
   Add only city-page-specific refinements here.

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

   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.
*/

/* ------------------------------
   City hero
   ------------------------------ */
.page-city .city-hero {
  --city-hero-image-min-height: 520px;
  --city-hero-image-tablet-min-height: 430px;
  --city-hero-image-mobile-min-height: 300px;
  --city-hero-image-radius: 34px;
  --city-hero-image-mobile-radius: 30px;
  --city-hero-image-position: center;

  overflow: hidden;
  isolation: isolate;
  padding: clamp(96px, 10vw, 156px) 0 clamp(82px, 8vw, 124px);
  background:
    radial-gradient(circle at 84% 18%, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0) 32%),
    radial-gradient(circle at 12% 16%, rgba(74, 120, 168, 0.18), rgba(74, 120, 168, 0) 34%),
    linear-gradient(135deg, #06162d 0%, #071a36 52%, #031022 100%);
}

.page-city .city-hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.32;
}

.page-city .city-hero .hero-glow {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.08) 34%, rgba(212, 175, 55, 0) 72%);
}

.page-city .city-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.82fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.page-city .city-hero-content {
  max-width: 780px;
}

.page-city .city-hero .lux-eyebrow-gold {
  margin-bottom: 18px;
}

.page-city .city-hero .city-hero-title {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(46px, 7.2vw, 88px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.page-city .city-hero .city-hero-gradient {
  background: linear-gradient(92deg, #ffffff 0%, #f3d987 42%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-city .city-hero .city-hero-lead {
  max-width: 720px;
  margin-top: 24px;
  color: #d8e1ec;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.86;
}

.page-city .city-hero .city-hero-lead strong {
  color: #ffffff;
}

.page-city .city-hero-image-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: var(--city-hero-image-min-height);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--city-hero-image-radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
}

.page-city .city-hero-image-wrap .city-hero-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: var(--city-hero-image-min-height);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: var(--city-hero-image-position);
  border-radius: 0;
  box-shadow: none;
}

.page-city .city-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(3, 16, 34, 0) 40%, rgba(3, 16, 34, 0.46) 100%),
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0) 35%);
  pointer-events: none;
}

.page-city .city-hero-review-card {
  right: clamp(18px, 2.5vw, 34px);
  bottom: clamp(18px, 2.5vw, 34px);
  left: auto;
  z-index: 4;
  width: min(340px, calc(100% - 36px));
  max-width: 340px;
  animation: none;
  background: rgba(7, 26, 54, 0.78);
}

/* ------------------------------
   City content sections
   ------------------------------ */
.page-city .city-services-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0) 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.page-city .city-services-header {
  max-width: 900px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.page-city .city-context-grid {
  max-width: 1120px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}

.page-city .city-context-grid .service-context-card.emphasized a {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(242, 213, 116, 0.58);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.page-city .city-context-grid .service-context-card.emphasized a:hover,
.page-city .city-context-grid .service-context-card.emphasized a:focus,
.page-city .city-context-grid .service-context-card.emphasized a:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.82);
}

.page-city .city-context-grid .service-context-card.emphasized a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.page-city .city-services-section .city-service-row {
  gap: clamp(30px, 4vw, 46px);
  margin-top: clamp(28px, 4vw, 46px);
  padding: clamp(22px, 3vw, 30px);
  border-radius: 30px;
}

.page-city .city-services-section .city-service-row + .city-service-row {
  margin-top: 28px;
}

.page-city .city-comp-subtitle {
  margin: 0 0 10px;
  color: #071a36;
  font-family: var(--font-main);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.page-city .city-process-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.page-city .city-conversion-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(212, 175, 55, 0.10), rgba(212, 175, 55, 0) 32%),
    radial-gradient(circle at 86% 44%, rgba(74, 120, 168, 0.14), rgba(74, 120, 168, 0) 36%),
    linear-gradient(180deg, #06162d 0%, #071a36 48%, #031022 100%);
}

.page-city .city-review-cta {
  margin-top: clamp(42px, 6vw, 76px);
}

.page-city .city-review-cta .cta-floating-card {
  max-width: 1040px;
}

.page-city .city-nearby-section {
  padding: clamp(82px, 8vw, 112px) 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0) 34%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.page-city .city-nearby-section .service-coverage-card {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

/* ------------------------------
   City responsive refinements
   ------------------------------ */
@media (max-width: 991px) {
  .page-city .city-hero {
    padding: 86px 0 88px;
  }

  .page-city .city-hero .city-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .page-city .city-hero-content {
    order: 1;
  }

  .page-city .city-hero .city-hero-image-wrap {
    order: 2;
    display: block;
    width: 100%;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    overflow: visible;
  }

  .page-city .city-hero-image-wrap,
  .page-city .city-hero-image-wrap .city-hero-image {
    min-height: var(--city-hero-image-tablet-min-height);
  }

  .page-city .city-hero-review-card {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin-top: 16px;
    padding: 22px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.10), rgba(212, 175, 55, 0) 34%),
      linear-gradient(135deg, rgba(7, 26, 54, 0.96), rgba(16, 43, 82, 0.92));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  }

  .page-city .city-hero-review-card::before,
  .page-city .city-hero-review-card::after {
    display: none;
    content: none;
  }

  .page-city .city-services-section .city-service-row {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .page-city .city-hero {
    padding: 30px 0 82px;
  }

  .page-city .city-hero .city-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .page-city .city-hero-content {
    order: 1;
    width: 100%;
  }

  .page-city .city-hero-content,
  .page-city .city-hero .hero-btns,
  .page-city .city-hero .city-hero-image-wrap {
    display: contents;
  }

  .page-city .city-hero .city-hero-image-wrap {
    order: 2;
    width: 100%;
    min-height: 0;
    max-width: none;
    overflow: visible;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .page-city .city-hero-image-wrap::after {
    content: none;
  }

  .page-city .city-hero-image-wrap .city-hero-image {
    order: 3;
    width: 100%;
    max-width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    min-height: var(--city-hero-image-mobile-min-height);
    aspect-ratio: 1 / 0.82;
    border-radius: var(--city-hero-image-mobile-radius);
    box-shadow:
      0 26px 70px rgba(0, 0, 0, 0.30),
      0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .page-city .city-hero .city-hero-title {
    order: 2;
    width: 100%;
    max-width: calc(100vw - 36px);
    margin-bottom: 22px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .page-city .city-hero .hero-btns .gold-btn {
    order: 4;
    width: calc(100% - 24px);
    margin: 22px auto 0;
  }

  .page-city .city-hero .city-hero-lead {
    order: 5;
    width: 100%;
    max-width: calc(100vw - 36px);
    margin-top: 22px;
    overflow-wrap: break-word;
  }

  .page-city .city-hero .lux-eyebrow-gold {
    order: 1;
    align-self: flex-start;
    margin: 0 0 18px;
  }

  .page-city .city-hero .hero-btns .outline-light {
    order: 6;
    width: calc(100% - 24px);
    margin: 18px auto 0;
  }

  .page-city .city-hero .hero-stats-row {
    order: 7;
    width: 100%;
    max-width: calc(100vw - 36px);
    margin-top: 30px;
  }

  .page-city .city-hero .city-hero-image-wrap .city-hero-review-card {
    order: 8;
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    max-width: calc(100vw - 36px);
    margin: 24px auto 0;
    padding: 20px 21px 22px;
  }

  .page-city .city-hero .city-hero-image-wrap .city-hero-review-card .glass-quote {
    overflow-wrap: break-word;
  }

  .page-city .city-services-header {
    max-width: calc(100vw - 36px);
    text-align: left;
  }

  .page-city .city-services-section .city-service-row {
    padding: 16px;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .page-city .city-hero .city-hero-title {
    font-size: 38px;
  }
}

@media (max-width: 390px) {
  .page-city .city-hero .city-hero-title {
    font-size: 36px;
  }
}
