/**
 * Immersive commercial service pages.
 *
 * This stylesheet is loaded only by template-service.php so the photographic
 * treatment does not change the home page or the shared analysis templates.
 */

.lush-service-page {
  --lush-hero-ink: #f8fbf2;
  --lush-hero-muted: rgba(248, 251, 242, 0.82);
  --lush-hero-line: rgba(255, 255, 255, 0.3);
  --lush-accent: #cce87a;
  --lush-deep: #082f34;
  overflow: clip;
}

/* A readable, flat quote surface; source conditions are never hidden behind a disclosure. */
.lush-service-price {
  padding-block: clamp(2rem, 5vw, 4rem);
  color: #103b36;
  background: #d9f0f2;
  scroll-margin-top: 6rem;
}

.lush-service-price__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.75rem, 4vw, 4rem);
}

.lush-service-price h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.lush-service-price h3 { margin: 1.5rem 0 0.5rem; font-size: 1.125rem; }
.lush-service-price__terms h3:first-child { margin-top: 0; }
.lush-service-price p { max-width: 65ch; font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.lush-service-price__name { margin-bottom: 0.25rem; font-weight: 700; }
.lush-service-price__summary h3 { margin-top: 0; }
.lush-service-price__layout { scroll-margin-top: 6rem; }
.lush-service-price__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.lush-service-price__options a {
  display: grid;
  gap: .5rem;
  padding-block: 1rem;
  color: #103b36;
  border-block: 1px solid #9fbfbd;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.lush-service-price__options a:hover { color: #07557a; }
.lush-service-price__options a:focus-visible { outline: 3px solid #07557a; outline-offset: 4px; }
.lush-service-price__options strong { font-size: 1.75rem; }
.lush-service-price__options small { font-size: 1rem; line-height: 1.6; }
.lush-service-price__layout + .lush-service-price__layout {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #9fbfbd;
}
.lush-service-price__qualification { margin-top: 0; }
.lush-service-price .lush-service-price__amount {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.lush-service-price__disclaimer { margin-top: 1.5rem; font-size: 0.9375rem; color: #244a46; }
.lush-service-price .pro-button { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 64rem) {
  .lush-service-price__layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 42rem) {
  .lush-service-price__options { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
}

.lush-service-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(44rem, 82vh, 56rem);
  min-height: clamp(44rem, 82svh, 56rem);
  overflow: hidden;
  color: var(--lush-hero-ink);
  background: var(--lush-deep);
}

.lush-service-hero__media,
.lush-service-hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.lush-service-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.002);
}

.lush-service-hero[data-service-visual="pier"] .lush-service-hero__image {
  object-position: 61% 61%;
}

.lush-service-hero[data-service-visual="existing-pond"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="new-pond"] .lush-service-hero__image {
  object-position: 60% 52%;
}

.lush-service-hero[data-service-visual="dam"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="water-intake"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="water-discharge"] .lush-service-hero__image {
  object-position: 62% center;
}

.lush-service-hero[data-service-visual="water-area"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="shore-land"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="recreation"] .lush-service-hero__image {
  object-position: 64% center;
}

.lush-service-hero[data-service-visual="fish-farming"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="land-parcel"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="forest-parcel"] .lush-service-hero__image {
  object-position: 61% center;
}

.lush-service-hero[data-service-visual="due-diligence"] .lush-service-hero__image,
.lush-service-hero[data-service-visual="legalize-existing"] .lush-service-hero__image {
  object-position: 65% center;
}

.lush-service-hero__scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 29, 34, 0.18) 0%, rgba(2, 29, 34, 0.06) 48%, rgba(2, 29, 34, 0.72) 100%),
    linear-gradient(90deg, rgba(3, 34, 41, 0.96) 0%, rgba(3, 34, 41, 0.82) 34%, rgba(3, 34, 41, 0.32) 67%, rgba(3, 34, 41, 0.08) 100%);
}

.lush-service-hero__topography {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -2%;
  width: min(52vw, 48rem);
  height: 100%;
  color: rgba(224, 241, 187, 0.36);
  pointer-events: none;
}

.lush-service-hero__topography > g:first-child {
  stroke-width: 1.2;
}

.lush-service-hero__route-line {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
  stroke-dasharray: 5 9;
}

.lush-service-hero__route-points {
  fill: var(--lush-accent);
  stroke: rgba(4, 45, 47, 0.72);
  stroke-width: 3;
}

.lush-service-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
  padding-block: clamp(5.5rem, 10vw, 8.5rem) clamp(8.5rem, 12vw, 10rem);
}

.lush-service-hero__copy {
  position: relative;
  width: min(100%, 48rem);
  padding: clamp(1.35rem, 3vw, 2.6rem);
  background: linear-gradient(125deg, rgba(3, 38, 43, 0.74), rgba(3, 38, 43, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(1.2rem, 2.5vw, 2rem);
  box-shadow: 0 2rem 5rem rgba(0, 23, 29, 0.22);
}

.lush-service-hero .pro-breadcrumbs {
  margin-bottom: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--lush-hero-muted);
}

.lush-service-hero .pro-breadcrumbs a,
.lush-service-hero .pro-breadcrumbs span {
  color: inherit;
}

.lush-service-hero .pro-breadcrumbs a:hover {
  color: #fff;
}

.lush-service-hero .atlas-section-label {
  color: var(--lush-accent);
}

.lush-service-hero h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
  line-height: 0.96;
  text-wrap: balance;
}

.lush-service-hero__lead {
  max-width: 43rem;
  margin: 0;
  color: var(--lush-hero-ink);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.lush-service-hero .pro-actions {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.lush-service-hero .pro-button {
  color: #16392f;
  background: var(--lush-accent);
  border-color: var(--lush-accent);
  box-shadow: 0 0.75rem 2rem rgba(0, 23, 29, 0.2);
}

.lush-service-hero .pro-button:hover {
  color: #16392f;
  background: #dcf39a;
  border-color: #dcf39a;
}

.lush-service-hero .pro-button--outline {
  color: #fff;
  background: rgba(7, 43, 48, 0.42);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.lush-service-hero .pro-button--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.lush-service-hero .pro-button:focus-visible,
.lush-service-hero .pro-breadcrumbs a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.lush-service-hero__note {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--lush-hero-muted);
  font-size: 0.86rem;
}

.lush-service-hero__analysis-link {
  margin: 1.2rem 0 0;
  color: var(--lush-hero-ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lush-service-hero__analysis-link a {
  color: var(--lush-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lush-service-hero__analysis-link a:hover {
  color: #fff;
}

.lush-service-hero__analysis-link a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.lush-service-hero__analysis-link + .lush-service-hero__note {
  margin-top: 0.8rem;
}

.lush-service-hero__caption {
  position: absolute;
  z-index: 4;
  right: max(1rem, calc((100vw - var(--pro-container)) / 2));
  bottom: clamp(1rem, 2.5vw, 2rem);
  max-width: min(35rem, calc(100% - 2rem));
  padding: 0.65rem 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(2, 30, 34, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.45;
}

.lush-service-checkpoints {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 12%, rgba(190, 221, 132, 0.22), transparent 28rem),
    var(--pro-color-paper);
}

.lush-service-checkpoints::before {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: -9rem;
  width: 31rem;
  height: 31rem;
  content: "";
  background: repeating-radial-gradient(ellipse at center, transparent 0 1.6rem, rgba(32, 91, 75, 0.08) 1.65rem 1.72rem);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.lush-service-checkpoints__list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  list-style: none;
}

.lush-service-checkpoints__list li {
  position: relative;
  min-height: 18rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--pro-color-line);
  border-radius: var(--pro-radius-lg);
  box-shadow: 0 1.2rem 2.8rem rgba(28, 66, 54, 0.08);
}

.lush-service-checkpoints__list li::after {
  position: absolute;
  right: -3.4rem;
  bottom: -3.8rem;
  width: 9rem;
  height: 9rem;
  content: "";
  border: 1px solid rgba(23, 111, 134, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 1rem rgba(23, 111, 134, 0.05),
    0 0 0 2.2rem rgba(23, 111, 134, 0.035);
}

.lush-service-checkpoints__number {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  color: var(--pro-color-aqua-deep);
  background: var(--pro-color-aqua-soft);
  border-radius: 50%;
  place-items: center;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
}

.lush-service-checkpoints__list h3 {
  max-width: 17ch;
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.lush-service-checkpoints__list p {
  max-width: 32rem;
  margin: 0;
  color: var(--pro-color-muted);
  line-height: 1.65;
}

.lush-service-expert-map {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8.5rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 80%, rgba(33, 132, 126, 0.28), transparent 28rem),
    #0a3a3b;
}

.lush-service-expert-map::after {
  position: absolute;
  top: -15rem;
  left: 36%;
  width: 55rem;
  height: 33rem;
  content: "";
  background: rgba(183, 213, 132, 0.1);
  border: 1px solid rgba(214, 235, 174, 0.18);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.lush-service-expert-map__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}

.lush-service-expert-map__copy .atlas-section-label {
  color: var(--lush-accent);
}

.lush-service-expert-map__copy h2 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.lush-service-expert-map__copy p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.76);
}

.lush-service-expert-map__copy p:last-child {
  padding-top: 1.15rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.86rem;
}

.lush-service-expert-map__visual {
  padding: clamp(0.75rem, 2vw, 1.2rem);
  background: #f5f2e7;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: calc(var(--pro-radius-lg) + 0.35rem);
  box-shadow: 0 2rem 5rem rgba(0, 21, 24, 0.36);
}

.lush-service-expert-map__visual .pro-service-atlas__caption {
  padding-inline: 0.35rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 52rem) {
  .lush-service-checkpoints__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .lush-service-hero__copy {
    margin-left: clamp(-2rem, -2vw, -0.5rem);
  }

  .lush-service-expert-map__grid {
    grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  }
}

@media (max-width: 63.99rem) {
  .lush-service-hero {
    min-height: 48rem;
  }

  .lush-service-hero__scrim {
    background:
      linear-gradient(180deg, rgba(2, 29, 34, 0.26) 0%, rgba(2, 29, 34, 0.53) 42%, rgba(2, 29, 34, 0.92) 100%),
      linear-gradient(90deg, rgba(3, 34, 41, 0.82) 0%, rgba(3, 34, 41, 0.34) 100%);
  }

  .lush-service-hero__topography {
    right: -12rem;
    width: 42rem;
    opacity: 0.72;
  }

  .lush-service-hero__inner {
    align-items: flex-end;
  }

  .lush-service-hero__copy {
    width: min(100%, 43rem);
  }
}

@media (max-width: 42rem) {
  .lush-service-hero {
    display: block;
    min-height: auto;
  }

  .lush-service-hero__media {
    position: relative;
    height: clamp(22rem, 52vh, 32rem);
    height: clamp(22rem, 52svh, 32rem);
    inset: auto;
  }

  .lush-service-hero__media picture {
    position: absolute;
    height: 100%;
    inset: 0;
  }

  .lush-service-hero__image {
    object-position: 50% 50%;
  }

  .lush-service-hero[data-service-visual="pier"] .lush-service-hero__image {
    object-position: 50% 58%;
  }

  .lush-service-hero[data-service-visual="existing-pond"] .lush-service-hero__image,
  .lush-service-hero[data-service-visual="new-pond"] .lush-service-hero__image,
  .lush-service-hero[data-service-visual="fish-farming"] .lush-service-hero__image,
  .lush-service-hero[data-service-visual="forest-parcel"] .lush-service-hero__image,
  .lush-service-hero[data-service-visual="recreation"] .lush-service-hero__image,
  .lush-service-hero[data-service-visual="due-diligence"] .lush-service-hero__image {
    object-position: 50% 42%;
  }

  .lush-service-hero[data-service-visual="dam"] .lush-service-hero__image {
    object-position: 50% 56%;
  }

  .lush-service-hero[data-service-visual="shore-land"] .lush-service-hero__image {
    object-position: 50% 30%;
  }

  .lush-service-hero[data-service-visual="land-parcel"] .lush-service-hero__image {
    object-position: 50% 38%;
  }

  .lush-service-hero[data-service-visual="water-discharge"] .lush-service-hero__image,
  .lush-service-hero[data-service-visual="legalize-existing"] .lush-service-hero__image {
    object-position: 50% 47%;
  }

  .lush-service-hero__scrim {
    bottom: auto;
    height: clamp(22rem, 52vh, 32rem);
    height: clamp(22rem, 52svh, 32rem);
    background: linear-gradient(180deg, rgba(2, 29, 34, 0.08) 0%, rgba(2, 29, 34, 0.12) 50%, rgba(2, 29, 34, 0.8) 100%);
  }

  .lush-service-hero__topography {
    height: clamp(22rem, 52vh, 32rem);
    height: clamp(22rem, 52svh, 32rem);
  }

  .lush-service-hero__inner {
    min-height: auto;
    align-items: flex-start;
    padding-block: 0 5rem;
    margin-top: -3.75rem;
  }

  .lush-service-hero__copy {
    padding: 1.15rem;
    background: rgba(3, 38, 43, 0.94);
    border-radius: 1.2rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 23, 29, 0.28);
  }

  .lush-service-hero h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.8rem);
  }

  .lush-service-hero__lead {
    font-size: 1rem;
  }

  .lush-service-hero .pro-actions {
    align-items: stretch;
  }

  .lush-service-hero .pro-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .lush-service-hero__caption {
    top: 0.85rem;
    right: 1rem;
    bottom: auto;
    left: 1rem;
    max-width: none;
  }

  .lush-service-checkpoints__list li {
    min-height: auto;
  }

  .lush-service-checkpoints__number {
    margin-bottom: 2rem;
  }

  .lush-service-expert-map__visual {
    padding: 0.55rem;
  }
}

@media (max-width: 23.5rem) {
  .lush-service-hero__inner {
    padding-bottom: 4.25rem;
    margin-top: -3rem;
  }

  .lush-service-hero__copy {
    padding: 1rem;
  }

  .lush-service-hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.65rem);
  }

  .lush-service-hero__lead {
    font-size: 0.96rem;
  }

  .lush-service-hero__note {
    font-size: 0.8rem;
  }

  .lush-service-hero__caption {
    font-size: 0.68rem;
  }
}

@media (orientation: landscape) and (max-height: 34rem) and (max-width: 64rem) {
  .lush-service-hero {
    display: grid;
  }

  .lush-service-hero,
  .lush-service-hero__inner {
    min-height: auto;
  }

  .lush-service-hero__media,
  .lush-service-hero__media picture {
    position: absolute;
    height: 100%;
    inset: 0;
  }

  .lush-service-hero__scrim {
    height: auto;
    background:
      linear-gradient(180deg, rgba(2, 29, 34, 0.26) 0%, rgba(2, 29, 34, 0.53) 42%, rgba(2, 29, 34, 0.92) 100%),
      linear-gradient(90deg, rgba(3, 34, 41, 0.82) 0%, rgba(3, 34, 41, 0.34) 100%);
    inset: 0;
  }

  .lush-service-hero__topography {
    height: 100%;
  }

  .lush-service-hero__inner {
    align-items: flex-end;
    padding-block: 5.75rem 5.5rem;
    margin-top: 0;
  }

  .lush-service-hero__copy {
    width: min(100%, 48rem);
    padding: 1.1rem 1.25rem;
  }

  .lush-service-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 6.2vw, 3.2rem);
  }

  .lush-service-hero__lead {
    max-width: 44rem;
  }

  .lush-service-hero .pro-actions {
    margin-top: 1rem;
  }

  .lush-service-hero__caption {
    top: auto;
    bottom: 0.75rem;
  }
}

@media (prefers-contrast: more) {
  .lush-service-hero__scrim {
    background:
      linear-gradient(180deg, rgba(0, 20, 25, 0.32), rgba(0, 20, 25, 0.88)),
      linear-gradient(90deg, rgba(0, 20, 25, 0.98) 0 54%, rgba(0, 20, 25, 0.56));
  }

  .lush-service-hero__copy,
  .lush-service-hero__caption {
    background: rgba(0, 25, 30, 0.92);
    border-color: #fff;
  }
}
