/* Shared service-page refinements, loaded after each page family's stylesheet. */
.service-lead-dialog {
  position: fixed; inset: 0; width: min(540px, calc(100vw - 24px)); max-width: none;
  max-height: calc(100dvh - 24px); margin: auto; padding: 24px; overflow-y: auto;
  border: 1px solid #c9d7d5; border-radius: 14px; background: #fff; color: #173846;
  box-shadow: 0 24px 70px #071d2d59;
}
.service-lead-dialog::backdrop { background: #081d2bbf; backdrop-filter: blur(3px); }
.service-lead-dialog__close {
  position: absolute; top: 13px; right: 13px; display: grid; width: 40px; height: 40px;
  place-items: center; border: 1px solid #cfdbdc; border-radius: 8px;
  background: #f4f8f7; color: #173846; font-size: 25px; line-height: 1; cursor: pointer;
}
.service-lead-dialog__close:hover { background: #e9f2f1; }
.service-lead-dialog__kicker { padding-right: 40px; color: #946736; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-lead-dialog h2 { margin-top: 9px; padding-right: 36px; color: #173846; font: 600 clamp(26px, 4vw, 32px)/1.2 Lora, Georgia, serif; }
.service-lead-dialog > p#serviceLeadDescription { margin-top: 8px; color: #526971; font-size: 14px; line-height: 1.5; }
.service-lead-form { margin-top: 17px; }
.service-lead-form__more summary {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px;
  padding: 10px 12px; border: 1px solid #cbd9d8; border-radius: 8px;
  background: #f5f8f7; color: #204b59; font-size: 13px; font-weight: 700;
  line-height: 1.3; cursor: pointer; list-style: none;
}
.service-lead-form__more summary::-webkit-details-marker { display: none; }
.service-lead-form__more summary::after { content: '+'; flex: none; font-size: 20px; font-weight: 400; line-height: 1; }
.service-lead-form__more[open] summary::after { content: '−'; }
.service-lead-form__more summary span { color: #60777c; font-size: 11px; font-weight: 500; }
.service-lead-form__fields { display: grid; gap: 11px; margin-top: 12px; }
.service-lead-form__fields label { display: grid; gap: 6px; color: #26444f; font-size: 12px; font-weight: 750; }
.service-lead-form__fields :is(input, textarea) { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid #a9bec0; border-radius: 8px; background: #fff; color: #183745; font-size: 14px; }
.service-lead-form__fields input { min-height: 44px; }
.service-lead-form__fields textarea { min-height: 68px; resize: vertical; }
.service-lead-dialog :is(button, summary, input, textarea, a):focus-visible { outline: 3px solid #277fa3; outline-offset: 2px; }
.service-lead-form .bv-lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; margin-top: 15px; padding: 0; border: 0; background: transparent; }
.service-lead-form .bv-lead__title { display: none; }
.service-lead-form .bv-lead__field { min-width: 0; }
.service-lead-form .bv-lead__field input { min-height: 46px; border-radius: 8px; }
.service-lead-form .bv-lead__send { align-self: end; min-height: 46px; margin-top: 0; padding: 9px 15px; white-space: nowrap; }
.service-lead-form .bv-lead__agree, .service-lead-form .bv-lead__status { grid-column: 1 / -1; }
.service-lead-form .bv-lead__agree { margin-top: 10px; font-size: 11px; line-height: 1.35; }
.service-lead-form .bv-lead__agree input { width: 19px !important; height: 19px !important; flex-basis: 19px; }

/* More decisive first screens across the four existing landing families. */
.sv-page .sv-hero-grid { gap: 28px; padding: 16px 0 27px; }
.sv-page .sv-hero-copy { padding-top: 10px; }
.sv-page .sv-hero h1 { margin-top: 13px; font-size: clamp(35px, 4vw, 55px); }
.sv-page .sv-hero-lead { margin-top: 15px; font-size: 16px; line-height: 1.5; }
.sv-page .sv-hero-actions { margin-top: 20px; }
.sv-page .sv-hero-contract { padding-top: 16px; }
.sv-page .sv-hero-photo { align-self: center; height: 375px; min-height: 0; max-height: 375px; }
.sv-page .sv-hero-photo img { width: 100%; height: 100%; min-height: 0; max-height: 375px; object-fit: cover; }
.sv-page .sv-hero-rail > div { padding-top: 11px; padding-bottom: 12px; }
.wl-page .wl-hero-grid { gap: 27px; padding: 17px 0 30px; }
.wl-page .wl-hero h1 { margin-top: 12px; font-size: clamp(35px, 4vw, 54px); }
.wl-page .wl-lead { margin-top: 15px !important; font-size: 16px; line-height: 1.5; }
.wl-page .wl-hero-actions { margin-top: 21px; }
.wl-page .wl-hero-media { height: 350px; min-height: 0; }
.rp-page .rp-hero-grid { gap: 28px; padding: 17px 0 34px; }
.rp-page .rp-hero h1 { margin-top: 13px; font-size: clamp(35px, 4vw, 54px); }
.rp-page .rp-hero-copy > p { margin-top: 15px; font-size: 16px; line-height: 1.5; }
.rp-page .rp-hero-facts { margin-top: 23px; padding-top: 14px; }
.rp-page .rp-hero-media img { max-height: 365px; aspect-ratio: 4 / 3; }
.lp .lp-hero { padding: 25px 0 36px; }
.lp .lp-hero-grid { gap: 28px; }
.lp .lp-crumb { margin-bottom: 23px; }
.lp .lp-hero h1 { font-size: clamp(35px, 4vw, 55px); }
.lp .lp-lead { margin-top: 16px !important; font-size: 16px; line-height: 1.5; }
.lp .lp-hero-actions { margin-top: 20px; }
.lp .lp-honesty { margin-top: 12px !important; }
.lp .lp-photo, .lp .lp-photo img { min-height: 330px; max-height: 370px; }
button.sv-btn, button.wl-button, button.rp-button, button.lp-button { cursor: pointer; }

/* Consistent, less sprawling section rhythm. */
.sv-page .sv-section, .wl-page .wl-section, .rp-page .rp-section, .lp .lp-section { padding-top: clamp(40px, 4.4vw, 62px); padding-bottom: clamp(42px, 4.7vw, 66px); }
.sv-page .sv-section-intro, .lp .lp-section-head { margin-bottom: 20px; }
/* The 41 compact service templates share one content rhythm. Their short
   editorial cards previously inherited large minimum heights and wide gaps. */
.lp .lp-section { padding-block: clamp(36px, 3.5vw, 50px); }
.lp .lp-section-head { gap: clamp(14px, 2.5vw, 30px); align-items: start; margin-bottom: 18px; }
.lp .lp-section-head > p { line-height: 1.5; }
.lp .lp-two-col { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 44px); }
.lp .lp-pilot-grid, .lp .lp-system-grid { align-items: stretch; gap: 12px; }
.lp .lp-pilot-grid article, .lp .lp-system-grid article { min-height: 0; padding: 19px 20px; }
.lp .lp-pilot-grid h3 { margin-top: 10px; }
.lp .lp-pilot-grid p { margin-top: 8px; line-height: 1.5; }
.lp .lp-pilot-note { gap: 16px; margin-top: 13px; padding: 17px 20px; }
.lp .lp-checks { padding: 9px 20px; }
.lp .lp-checks li { padding-block: 12px; }
.lp .lp-boundary, .lp .lp-module, .lp .lp-spec, .lp .lp-price-card, .lp .lp-brief { padding: 21px; }
.lp .lp-module { margin-top: 15px; }
.lp .lp-focus-grid, .lp .lp-flow { gap: 10px; margin-top: 16px; }
.lp .lp-focus-grid > div, .lp .lp-flow > div, .lp .lp-steps > div { min-height: 0; padding: 15px; }
.lp .lp-accept { gap: 12px; margin-top: 13px; }
.lp .lp-accept > div { padding: 20px; }
.lp .lp-related { padding-block: 35px; }
.lp .lp-related-grid { gap: 10px; margin-top: 16px; }
.lp .lp-related-grid a { min-height: 0; padding: 15px 17px; }
.sv-page .sv-fit-main, .sv-page .sv-fit-aside { padding: 22px 24px; }
.sv-page .sv-diagram { min-height: 0; }
.sv-page .sv-diagram img { height: 400px; padding: 24px; }
.sv-page .sv-construction-data { padding-top: 0; }
.sv-page .sv-layer-list { margin: 13px 0 17px; }
.sv-page .sv-layer-list summary { padding: 12px 0; }
.sv-page .sv-scope-grid > div { padding: 22px 25px; }
.sv-page .sv-scope-grid h3 { margin: 9px 0 12px; }
.sv-page .sv-scope-grid li { padding: 8px 0; }
.sv-page .sv-estimate-grid { align-items: start; }
.sv-page .sv-estimate-editor, .sv-page .sv-quote { padding: 24px 26px; }
.sv-page .sv-estimate-editor h3 { margin: 8px 0 13px; }
.sv-page .sv-rate { padding-bottom: 15px; }
.sv-page .sv-depth-control, .sv-page .sv-estimate-fixed { margin-top: 18px; }
.sv-page .sv-estimate-links { margin-top: 18px; }
.sv-page .sv-quote-rows { margin-top: 14px; }
.sv-page .sv-quote-rows > div { padding: 11px 0; }
.sv-page .sv-quote-total { padding: 15px 0; }
.sv-page .sv-unknown { margin-top: 0; }
.sv-page .sv-compare-layout { gap: 24px; }
.sv-page .sv-handover-layout { gap: 24px; align-items: start; }
.sv-page .sv-handover-layout figure, .sv-page .sv-handover-layout figure img { min-height: 340px; max-height: 380px; }
.sv-page .sv-handover-layout li { padding: 9px 0; gap: 12px; }
.sv-page .sv-handover-layout h3 { font-size: 16px; }
.sv-page .sv-handover-layout p { margin-top: 4px; }
.sv-page .sv-faq-grid { gap: 27px; }
.sv-page .bv-team-teaser, .wl-page .bv-team-teaser, .rp-page .bv-team-teaser, .lp ~ .bv-team-teaser { padding-block: 38px; }
.bv-team-teaser__card b { display: block; margin-top: 8px; color: #1c6174; font-size: 12px; }
.bv-team-teaser__card p { margin-top: 5px; color: #425b61; font-size: 12px; line-height: 1.4; }

/* Well diagrams and compact decision aids. */
.sv-local-price { display: grid; gap: 4px; margin-top: 15px; padding: 13px 15px; border: 1px solid #b9d1d3; border-radius: 9px; background: #f5faf9; color: #173e50; text-decoration: none; }
.sv-local-price:hover { border-color: #4d8d9a; }
.sv-local-price span { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.sv-local-price strong { font: 650 24px/1.15 Lora, Georgia, serif; }
.sv-local-price small { font-size: 11px; line-height: 1.4; }
.sv-diagram-hotspots { position: absolute; z-index: 2; top: 0; right: 0; left: 0; height: 400px; pointer-events: none; }
.sv-diagram-marker { position: absolute; left: var(--marker-x); top: var(--marker-y); display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #1a5870; color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 3px 11px #0c2f45a6; cursor: pointer; pointer-events: auto; }
.sv-diagram-marker:hover, .sv-diagram-marker[aria-pressed="true"] { background: #e3bd5a; color: #123246; }
.sv-diagram-marker:focus-visible { outline: 3px solid #277fa3; outline-offset: 3px; }
.sv-scope-more { margin-top: 13px; border: 1px solid #ffffff47; border-radius: 9px; }
.sv-scope-more summary { padding: 12px 15px; color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; }
.sv-scope-more ul { display: grid; gap: 7px; padding: 0 15px 14px 32px; color: #d4e2e7; font-size: 12px; line-height: 1.45; list-style: disc; }
.sv-depth-presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.sv-depth-presets button { min-height: 35px; padding: 6px 12px; border: 1px solid #b9cfd3; border-radius: 7px; background: #f4f8f8; color: #19485a; font-size: 12px; font-weight: 750; cursor: pointer; }
.sv-depth-presets button[aria-pressed="true"] { border-color: #28697c; background: #dceeed; }
.sv-depth-presets button:focus-visible { outline: 3px solid #277fa3; outline-offset: 2px; }
.sv-option-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.sv-option-links a { padding: 8px 11px; border: 1px solid #c7d6d7; border-radius: 7px; color: #24576b; font-size: 12px; font-weight: 700; text-decoration: none; }
.sv-option-links a:hover { border-color: #5c9aaa; background: #edf5f4; }

/* Concrete decision scenarios keep the lighter landing pages useful without a long text wall. */
.lp .lp-situations { padding-block: 34px 39px; }
.lp .lp-situations .lp-section-head { margin-bottom: 16px; }
.lp-situation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.lp-situation { min-width: 0; border: 1px solid #d4deda; border-radius: 12px; background: #fff; }
.lp-situation summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: start; gap: 10px; min-height: 70px; padding: 18px; color: #173946; font-size: 15px; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; }
.lp-situation summary::-webkit-details-marker { display: none; }
.lp-situation summary:focus-visible { outline: 3px solid #277fa3; outline-offset: 3px; border-radius: 9px; }
.lp-situation-number { color: #9b6b38; font-size: 11px; letter-spacing: .08em; line-height: 1.9; }
.lp-situation-toggle { color: #236478; font-size: 18px; font-weight: 400; line-height: 1.2; }
.lp-situation[open] .lp-situation-toggle { transform: rotate(45deg); }
.lp-situation p { margin: 0 18px 18px 58px; color: #455f65; font-size: 13px; line-height: 1.55; }
.lp-price-card > strong small { color: #d0dfe0; font: 500 16px/1.3 Arial, sans-serif; white-space: nowrap; }

/* Four drilling-intent landings: concise price above the fold and an answer-first decision aid. */
.lp-hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 14px; max-width: 600px; margin-top: 15px; padding: 12px 15px; border: 1px solid #b7ced0; border-radius: 10px; background: #f3f8f7; color: #173b4c; }
.lp-hero-price > span { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.lp-hero-price strong { font: 600 clamp(20px, 2vw, 26px)/1.2 Lora, Georgia, serif; white-space: nowrap; }
.lp-hero-price strong small { font: 600 12px/1.3 Arial, sans-serif; white-space: nowrap; }
.lp-hero-price a { margin-left: auto; color: #1e6174; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.lp .lp-drilling-guide { padding-block: 38px 42px; }
.lp .lp-drilling-guide .lp-section-head { margin-bottom: 18px; }
.lp-guide-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 13px; align-items: start; }
.lp-guide-choices { display: none; gap: 8px; }
.lp-drilling-guide.is-ready .lp-guide-choices { display: grid; }
.lp-guide-choices button { display: grid; grid-template-columns: 25px minmax(0, 1fr) 20px; align-items: center; gap: 8px; width: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid #b9ceca; border-radius: 9px; background: #f8fbf9; color: #234955; font-size: 13px; font-weight: 750; line-height: 1.35; text-align: left; cursor: pointer; }
.lp-guide-choices button span { color: #9b6b38; font-size: 11px; letter-spacing: .06em; }
.lp-guide-choices button b { color: #2b7181; font-size: 18px; font-weight: 400; }
.lp-guide-choices button[aria-pressed="true"] { border-color: #2f7180; background: #e9f3f1; color: #113b4d; }
.lp-guide-choices button:focus-visible { outline: 3px solid #277fa3; outline-offset: 3px; }
.lp-guide-caveat { margin: 4px 3px 0; color: #526a6d; font-size: 12px; line-height: 1.5; }
.lp-guide-panels { min-width: 0; }
.lp-guide-panel { padding: 21px 24px; border: 1px solid #c6d6d2; border-radius: 12px; background: #fff; }
.lp-guide-panel + .lp-guide-panel { margin-top: 10px; }
.lp-guide-panel[hidden] { display: none; }
.lp-guide-panel__kicker { margin: 0; color: #9b6b38; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lp-guide-panel h3 { margin: 7px 0 8px; color: #123949; font: 600 clamp(21px, 2.1vw, 27px)/1.22 Lora, Georgia, serif; }
.lp-guide-panel > p:not(.lp-guide-panel__kicker) { color: #476067; font-size: 13px; line-height: 1.6; }
.lp-guide-panel > strong { display: block; margin-top: 13px; color: #173e50; font-size: 12px; }
.lp-guide-panel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 9px 0 14px; padding: 0; list-style: none; }
.lp-guide-panel li { padding: 9px 10px; border-radius: 7px; background: #f1f6f4; color: #39585f; font-size: 11px; line-height: 1.4; }
.lp-guide-panel a { color: #205d70; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.lp-faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 19px; align-items: start; overflow-wrap: anywhere; }
.lp-faq summary span { min-width: 0; }

@media (max-width: 900px) {
  .lp-guide-panel ul { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .sv-page .sv-hero-photo, .sv-page .sv-hero-photo img { height: 320px; max-height: 320px; }
  .wl-page .wl-hero-media { height: 310px; }
  .rp-page .rp-hero-media img { max-height: 315px; }
  .lp .lp-photo, .lp .lp-photo img { min-height: 285px; max-height: 330px; }
}
@media (max-width: 700px) {
  .lp-guide-layout { grid-template-columns: minmax(0, 1fr); }
  .lp-drilling-guide.is-ready .lp-guide-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .lp-guide-choices button { display: block; min-height: 55px; padding: 8px; font-size: 11px; text-align: center; }
  .lp-guide-choices button span, .lp-guide-choices button b { display: none; }
  .lp-guide-caveat { grid-column: 1 / -1; }
  .lp-guide-panel { padding: 18px; }
  .lp-hero-price a { margin-left: 0; }
  .lp-situation-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-situation summary { min-height: 0; padding: 16px; }
  .lp-situation p { margin: 0 16px 17px 56px; }
  .lp .lp-section { padding-block: 32px 36px; }
  .lp .lp-section-head { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 15px; }
  .lp .lp-two-col { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .lp .lp-pilot-grid, .lp .lp-system-grid { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-pilot-grid article, .lp .lp-system-grid article { padding: 17px 18px; }
  .lp .lp-pilot-note { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-module, .lp .lp-spec, .lp .lp-price-card, .lp .lp-brief { padding: 18px; }
  .lp .lp-accept { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-related { padding-block: 28px; }
  .sv-page .sv-hero-grid, .wl-page .wl-hero-grid, .rp-page .rp-hero-grid { gap: 20px; padding-bottom: 24px; }
  .lp .lp-situations { padding-block: 30px 34px; }
  .sv-page .sv-hero-photo, .sv-page .sv-hero-photo img, .wl-page .wl-hero-media, .rp-page .rp-hero-media img, .lp .lp-photo, .lp .lp-photo img { height: 240px; min-height: 240px; max-height: 240px; }
  .sv-page .sv-hero-contract { display: none; }
  .sv-page .sv-hero-rail > div:not(:first-child), .sv-page .sv-hero-rail > p { display: none; }
  .sv-page .sv-hero-rail { display: block; }
  .sv-page .sv-hero-rail > div:first-child { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
  .sv-page .sv-hero h1, .wl-page .wl-hero h1, .rp-page .rp-hero h1, .lp .lp-hero h1 { font-size: clamp(33px, 8.5vw, 45px); }
  .sv-page .sv-section, .wl-page .wl-section, .rp-page .rp-section, .lp .lp-section { padding-top: 38px; padding-bottom: 42px; }
  .sv-page .sv-diagram img { height: 340px; padding: 19px; }
  .sv-diagram-hotspots { height: 340px; }
  .sv-page .sv-estimate-editor, .sv-page .sv-quote { padding: 21px 19px; }
  .sv-page .sv-handover-layout figure, .sv-page .sv-handover-layout figure img { min-height: 240px; max-height: 280px; }
  .service-lead-dialog { padding: 19px; }
  .service-lead-form .bv-lead { grid-template-columns: 1fr; }
  .service-lead-form .bv-lead__send { width: 100%; margin-top: 8px; }
}
