/* Inner-page typography, photo heroes and reading layouts. Homepage rules are scoped. */
.page-container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.inner-page { --muted: #b3bec6; }
.inner-page .section-kicker { color: var(--accent-light); text-align: left; }
.inner-page h1, .inner-page h2, .inner-page h3 { overflow-wrap: anywhere; }
/* Inner-page heroes: flat shading. The photo is desaturated under one even brand-navy layer,
   so the text sits on a clean colour instead of a see-through gradient. */
.page-hero { position: relative; isolation: isolate; min-height: 580px; display: flex; align-items: center; padding: 132px 0 66px; background: var(--bg); }
.page-hero-media, .page-hero-overlay { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: grayscale(1) contrast(1.05); }
.page-hero-overlay { z-index: -1; background: rgba(12, 25, 33, .88); }
.page-hero > .page-container { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(0,1fr); gap: 64px; align-items: center; }
.page-hero-copy { min-width: 0; }
.breadcrumbs { margin-bottom: 28px; font-size: 12px; color: #d8dee3; text-transform: uppercase; letter-spacing: 1.6px; }
.breadcrumbs ol { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 10px; color: rgba(255, 255, 255, .4); }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero .section-kicker { color: var(--accent-light); text-shadow: none; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px,3vw,42px); line-height: 1.12; text-transform: uppercase; font-weight: 700; text-wrap: balance; }
.page-intro a { text-decoration: underline; text-underline-offset: 4px; }
.page-intro { font-size: 17px; line-height: 1.75; max-width: 58ch; margin-top: 22px; color: #e0e6eb; }
.page-hero .hero-ctas, .page-cta .hero-ctas { justify-content: flex-start; margin-top: 30px; flex-wrap: wrap; }
/* Hero phone link as an outline button next to the solid quote button. */
.page-hero .hero-call { min-height: 52px; padding: 0 26px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; transition: border-color .2s ease, background-color .2s ease; }
.page-hero .hero-call:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.page-hero .hero-call-icon, .page-hero .hero-call-label { display: none; }
.page-hero .hero-call-number { color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; text-shadow: none; }
.page-hero .hero-call-number::before { content: 'Call '; }
.page-hero .hero-call:hover .hero-call-number { color: #fff; }
.page-highlights { border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 30px; background: rgba(255, 255, 255, .05); }
.page-highlights li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.7; font-weight: 600; }
.page-highlights li + li { margin-top: 18px; }
.page-highlights svg, .copy-checks svg { width: 21px; height: 21px; flex: none; color: var(--accent-light); margin-top: 3px; }
.page-body { padding-block: 80px 40px; }
.page-copy { min-width: 0; max-width: 68ch; color: #c4cdd4; font-size: 17px; line-height: 1.85; }
/* Main page copy uses the full width as a split: each section's heading on the left (it stays in
   view while you read), its paragraphs on the right. Same idea as MSNT Energy's split sections. */
.page-body > .page-copy { max-width: none; }
.page-body .copy-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; margin: 0; padding: 56px 0; border-top: 1px solid var(--line); }
.page-body .copy-section:first-child { padding-top: 0; border-top: 0; }
.page-body .copy-section > h2 { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.page-body .copy-section > :not(h2) { grid-column: 2; }
.page-body .copy-section > p:first-of-type, .page-body .copy-section > h2 + * { margin-top: 0; }
/* The service photo between sections lines up with the text column, near its natural size. */
.page-body > .page-copy > .copy-gallery { width: calc((100% - 72px) * 7 / 12); margin: 0 0 56px auto; }
.copy-section { margin-bottom: 44px; }
.copy-section h2, .page-band h2 { margin-bottom: 24px; color: #fff; font-family: var(--font-display); font-size: clamp(22px,2.1vw,30px); line-height: 1.35; text-transform: uppercase; font-weight: 700; text-wrap: balance; }
.copy-section h3 { margin: 26px 0 12px; color: #fff; font-size: 19px; line-height: 1.5; }
.copy-section p + p { margin-top: 18px; }
.page-copy a, .page-faq-list .faq-answer a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 4px; }
.page-copy strong { color: #fff; }
.copy-checks { margin-top: 22px; }
.copy-checks li { display: flex; gap: 12px; margin-top: 12px; }
.copy-steps { padding-left: 26px; }
.copy-steps li { padding-left: 10px; }
.copy-steps li::marker { color: var(--accent-light); font-family: var(--font-display); font-weight: 700; }
.copy-gallery { margin-bottom: 48px; overflow: hidden; border-radius: 18px; }
.copy-gallery img { display: block; width: 100%; height: auto; }
.page-band { padding: 56px 0; }
.page-band:nth-of-type(even) { background: #0e1f29; }
.page-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.page-card { min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid #ffffff24; background: var(--surface); }
.page-card > img { aspect-ratio: 16/10; width: 100%; height: auto; object-fit: cover; }
.page-card > div { padding: 26px; }
.page-card h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.5; text-transform: uppercase; margin-bottom: 16px; }
.page-card h3 a:hover { color: var(--accent-light); }
.page-card p { color: #b3bec6; font-size: 15px; line-height: 1.8; }
.page-card-more { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--accent-light); text-decoration: underline; text-underline-offset: 4px; }
.page-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.page-pills a { display: block; padding: 12px 20px; border: 1px solid #ffffff42; border-radius: 30px; font-size: 14px; line-height: 1.6; color: #d0d9e0; }
.page-pills a:hover { border-color: var(--accent-light); color: #fff; }
.page-process { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.page-process li { min-width: 0; border-radius: 16px; background: var(--surface); padding: 26px 20px; }
.page-process li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); margin-bottom: 22px; }
.page-process svg { width: 22px; height: 22px; }
.page-process h3 { font-family: var(--font-display); font-size: 14px; line-height: 1.55; margin-bottom: 12px; text-transform: uppercase; }
.page-process p { font-size: 14px; line-height: 1.8; color: #b3bec6; }
.suburb-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.suburb-groups h3 { font-size: 16px; margin-bottom: 16px; }
.suburb-groups ul { display: flex; flex-wrap: wrap; gap: 8px; }
.suburb-groups li { padding: 7px 12px; background: #ffffff08; border: 1px solid #ffffff20; border-radius: 24px; font-size: 13px; color: #c4cdd4; }
.suburb-groups.is-compact { gap: 24px; }
.page-spotlight { background: linear-gradient(110deg,#40291d,var(--surface)); border: 1px solid #ff8a3d55; border-radius: 18px; padding: 34px; }
.page-spotlight h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 14px; }
.page-spotlight > a, .page-spotlight > div > a { display: inline-block; margin-top: 20px; color: var(--accent-light); text-decoration: underline; }
.page-map { aspect-ratio: 16/6; border-radius: 18px; overflow: hidden; background: var(--surface); }
.page-map iframe { width: 100%; height: 100%; display: block; border: 0; filter: grayscale(1); }
.page-faq-list { max-width: 900px; }
.page-faq-list summary { font-size: 15px; }
.page-cta p { color: #c4cdd4; font-size: 18px; max-width: 62ch; line-height: 1.8; }
.page-not-found { padding-block: 160px 70px; min-height: 460px; }
.page-not-found h1 { font-family: var(--font-display); font-size: 36px; text-transform: uppercase; margin-bottom: 20px; }
.page-not-found .page-pills { margin-top: 28px; }
/* Existing homepage quote link stretches across its card. Raise the new title link above it. */
.home-page .service-card-title a { position: relative; z-index: 2; }
.home-page .service-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) { .page-copy { max-width: 100%; } .page-body .copy-section { display: block; padding: 40px 0; } .page-body .copy-section:first-child { padding-top: 0; } .page-body .copy-section > h2 { position: static; margin-bottom: 22px; } .page-body > .page-copy > .copy-gallery { width: 100%; margin: 0 0 40px; } .page-process { grid-template-columns: repeat(3,minmax(0,1fr)); } .page-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 899px) { .page-hero > .page-container { grid-template-columns: minmax(0,1fr); gap: 32px; } .page-hero { min-height: 0; padding-top: 116px; } .page-highlights { padding: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } .page-highlights li + li { margin-top: 0; } .suburb-groups { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .page-container { width: calc(100% - 40px); } .page-hero { padding: 100px 0 38px; } .page-hero h1 { font-size: clamp(26px,7vw,32px); } .page-intro a { text-decoration: underline; text-underline-offset: 4px; }
.page-intro { font-size: 15.5px; line-height: 1.75; } .breadcrumbs { font-size: 11px; margin-bottom: 24px; } .page-hero .hero-ctas, .page-cta .hero-ctas { align-items: flex-start; gap: 20px; } .page-hero .hero-cta, .page-cta .hero-cta { width: auto; min-height: 50px; } .page-hero .hero-call, .page-cta .hero-call { justify-content: flex-start; } .page-highlights { display: block; padding: 22px; } .page-highlights li { font-size: 14px; } .page-highlights li + li { margin-top: 12px; } .page-body { padding-top: 48px; } .page-copy { font-size: 16px; } .page-band { padding: 40px 0; } .page-cards, .page-process, .suburb-groups { grid-template-columns: minmax(0,1fr); } .page-process li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 0 20px; } .page-process li > span { grid-row: span 2; } .page-process p { grid-column: 2; } .page-card > div { padding: 22px; } .page-map { aspect-ratio: 4/3; } .page-faq-list summary { font-size: 13px; gap: 14px; } .page-faq-list .faq-toggle { width: 32px; height: 32px; } .page-spotlight { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .inner-page *, .inner-page *::before, .inner-page *::after { transition: none !important; animation: none !important; } }

/* Standalone company, gallery, contact and legal layouts. */
.page-teaser { display: inline-block; margin: 22px 0 28px; font-size: 14px; color: var(--accent-light); text-decoration: underline; text-underline-offset: 5px; }
.credentials-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.credential-tile { background: var(--surface); padding: 28px 24px; border-radius: 16px; border: 1px solid var(--line); }
.credential-tile strong { display: block; font: 700 30px/1.3 var(--font-display); color: var(--accent-light); margin-bottom: 16px; }
.credential-tile h3 { font-size: 15px; margin-bottom: 12px; }
.credential-tile p { font-size: 13px; color: #b3bec6; line-height: 1.8; }
.province-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.province-grid h3 { font-size: 20px; margin-bottom: 24px; }
.project-writeups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.project-writeup { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 16px; padding: 32px; }
.project-writeup h3 { font: 700 22px/1.5 var(--font-display); margin-bottom: 20px; }
.project-writeup p { font-size: 16px; line-height: 1.85; color: #c4cdd4; }
/* Client-supplied project photos (projects page cards and the area-page spotlight). */
.project-photo { margin: -32px -32px 26px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 13px 13px 0 0; background: var(--surface); }
.project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-spotlight.has-photo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.page-spotlight .project-photo { margin: 0; border-radius: 12px; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .page-spotlight.has-photo { grid-template-columns: minmax(0, 1fr); gap: 22px; } .project-photo { margin: -24px -24px 22px; } .page-spotlight .project-photo { margin: 0; } }
.project-writeup p + p { margin-top: 16px; }
.project-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.project-facts li { padding: 6px 12px; border-radius: 20px; border: 1px solid #ffffff36; color: #d8dee3; font-size: 12px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-filters[hidden] { display: none; }
.gallery-filters button { padding: 12px 18px; border: 1px solid #ffffff44; border-radius: 28px; background: transparent; color: #d8dee3; font-size: 13px; }
.gallery-filters button[aria-pressed="true"] { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 24px; }
.gallery-item { min-width: 0; }
.gallery-item[hidden] { display: none; }
.gallery-photo { display: block; border-radius: 14px; overflow: hidden; }
.gallery-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item figcaption { padding: 12px 2px; font-size: 14px; line-height: 1.7; color: #c4cdd4; }
.gallery-lightbox { width: min(1120px,calc(100% - 32px)); max-width: none; max-height: 94dvh; margin: auto; border: 1px solid #ffffff30; border-radius: 16px; padding: 20px; background: #0e1f29; color: #fff; overflow: auto; }
.gallery-lightbox::backdrop { background: #081219dd; }
.gallery-lightbox-inner { position: relative; padding-top: 42px; }
.gallery-lightbox figure img { display: block; width: 100%; height: min(65dvh,720px); object-fit: contain; }
.gallery-lightbox figcaption { text-align: center; font-size: 14px; line-height: 1.6; padding: 16px 8px 0; }
.gallery-lightbox button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff40; background: #263e4d; }
.gallery-lightbox button:hover { background: var(--accent-deep); }
.gallery-lightbox button svg { width: 18px; height: 18px; }
[data-gallery-close] { position: absolute; top: -5px; right: 0; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 14px; font-size: 12px; }
.faq-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.5fr); gap: 64px; padding-block: 70px; align-items: start; }
.faq-jump { position: sticky; top: calc(var(--header-h) + 26px); }
.faq-jump h2, .legal-toc h2 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.faq-jump li + li { margin-top: 6px; }
.faq-jump a { display: block; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 14px; color: #c4cdd4; }
.faq-jump a:hover { color: var(--accent-light); }
.faq-group { margin-bottom: 56px; }
.faq-group h2 { font: 700 26px/1.45 var(--font-display); text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.faq-group > p { margin-bottom: 16px; }
.faq-group .faq-item summary { font-size: 14px; }
.faq-group .faq-answer p { padding-right: 24px; }
.contact-chat { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.contact-chat svg { width: 24px; height: 24px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; padding-block: 56px; }
.contact-card { padding: 26px; border: 1px solid #ffffff35; border-radius: 16px; background: var(--surface); }
.contact-card > svg { width: 28px; height: 28px; color: var(--accent-light); margin-bottom: 18px; }
.contact-card h2 { font-size: 17px; line-height: 1.5; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: #b3bec6; line-height: 1.8; overflow-wrap: anywhere; }
.contact-card:hover { border-color: var(--accent-light); }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 50px; align-items: start; padding-bottom: 40px; }
.contact-layout .page-map { aspect-ratio: 4/3; }
.legal-title { padding: 132px 0 48px; background: var(--surface); }
.legal-title h1 { font: 700 clamp(26px,3.2vw,42px)/1.3 var(--font-display); text-transform: uppercase; }
.legal-title p { color: #b3bec6; font-size: 14px; margin-top: 20px; }
.legal-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.5fr); gap: 64px; align-items: start; padding-block: 64px; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 26px); }
.legal-toc ol { padding-left: 20px; font-size: 14px; color: #b3bec6; line-height: 1.8; }
.legal-toc li { margin-bottom: 12px; padding-left: 5px; }
.legal-toc a:hover { color: var(--accent-light); }
.legal-layout .page-copy { max-width: 68ch; }
@media (max-width: 1023px) {
  .credentials-grid, .province-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns: minmax(0,1fr); }
  .contact-layout .page-copy { max-width: 68ch; }
  .faq-layout, .legal-layout { gap: 32px; grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .credentials-grid, .province-grid, .project-writeups { grid-template-columns: minmax(0,1fr); }
  .project-writeup { padding: 24px; }
  .project-writeup h3 { font-size: 19px; }
  .gallery-grid { gap: 16px; }
  .gallery-item figcaption { font-size: 12px; }
  .gallery-filters { gap: 8px; }
  .gallery-filters button { font-size: 12px; padding: 10px 14px; }
  .gallery-lightbox { width: calc(100% - 20px); padding: 12px; }
  .faq-layout, .legal-layout { display: block; padding-block: 40px; }
  .faq-jump { position: static; margin-bottom: 36px; }
  .faq-jump ul { display: flex; overflow-x: auto; gap: 10px; padding: 3px 3px 12px; }
  .faq-jump li { flex: none; }
  .faq-jump li + li { margin-top: 0; }
  .faq-jump a { border: 1px solid #ffffff44; border-radius: 30px; padding: 12px 16px; font-size: 13px; }
  .faq-group h2 { font-size: 21px; }
  .contact-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-block: 32px; }
  .contact-card { padding: 18px 14px; }
  .contact-card h2 { font-size: 14px; }
  .contact-card p { font-size: 12px; }
  .legal-title { padding: 108px 0 36px; }
  .legal-toc { position: static; margin-bottom: 44px; }
}

/* Finished-work grids share the Projects lightbox and reserve every image's space. */
.work-intro { color: var(--muted); margin: -10px 0 28px; line-height: 1.7; }
.gallery-photo:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
.project-thumbnails { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 24px 0; }
.project-thumbnails .gallery-photo { border-radius: 8px; }
.project-thumbnails figcaption { display: none; }

@media (min-width: 1024px) { .work-grid-four { grid-template-columns: repeat(4,minmax(0,1fr)); } }

/* Named builds keep the supplied photos within their natural resolution. */
.project-hero { padding: 132px 0 48px; background: var(--surface); }
.project-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.project-hero-grid > div { min-width: 0; }
.project-hero h1 { font: 700 clamp(28px,3.2vw,46px)/1.2 var(--font-display); text-transform: uppercase; text-wrap: balance; }
.project-hero .page-intro { text-shadow: none; }
.project-hero .project-facts { margin-block: 24px 0; }
.project-hero .hero-ctas { justify-content: flex-start; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.project-hero-photo { width: 100%; justify-self: center; }
.project-hero-photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
.project-highlights { padding-top: 32px; }
.project-highlights .page-highlights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 24px; border-color: var(--line); background: var(--surface); }
.project-highlights .page-highlights li { margin: 0; font-size: 14px; }
.build-gallery .gallery-photo img { aspect-ratio: auto; object-fit: contain; }
.build-gallery.photos-1 { grid-template-columns: minmax(0,736px); }
.build-gallery.photos-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.home-page .project-slide-link { display: block; width: 100%; height: 100%; }
.home-page .project-slide-link img { width: 100%; height: 100%; object-fit: cover; }
.home-page .build-name a:hover { color: var(--accent-light); }
.project-hero a:focus-visible, .project-writeup a:focus-visible, .home-page .project-slide-link:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
@media (max-width: 899px) {
  .project-hero { padding-top: 116px; }
  .project-hero-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .project-hero-photo { max-width: 720px; }
  .project-highlights .page-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .project-hero { padding: 100px 0 32px; }
  .project-hero h1 { font-size: 28px; }
  .project-hero .hero-ctas { align-items: flex-start; gap: 20px; }
  .project-hero .hero-cta { width: auto; min-height: 50px; }
  .project-highlights .page-highlights { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .build-gallery { grid-template-columns: minmax(0,1fr); }
  .build-gallery.photos-2 { grid-template-columns: minmax(0,1fr); }
}

/* About: NHBRC registration feature, logo shown large. */
.nhbrc-feature { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: linear-gradient(135deg, rgba(24, 46, 132, .28), rgba(255, 255, 255, .02)); }
.nhbrc-feature img { display: block; width: 100%; height: auto; border-radius: 14px; }
.nhbrc-feature h2 { margin: 6px 0 16px; }
.nhbrc-feature p:not(.section-kicker) { max-width: 640px; margin: 0 0 12px; color: #c4cdd4; font-size: 17px; line-height: 1.7; }
@media (max-width: 760px) {
  .nhbrc-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .nhbrc-feature img { width: 200px; }
}

/* Contact page: short enquiry form (homepage quote-bar fields, stacked). */
.contact-form-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.contact-form-card h2 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; text-transform: uppercase; }
.contact-form-card > p { margin: 10px 0 26px; color: #c4cdd4; font-size: 15px; line-height: 1.6; }
.quote-form.contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; align-items: start; }
.contact-field { display: grid; gap: 8px; min-width: 0; }
.contact-field-full, .contact-form .quote-consent, .contact-form .quote-submit, .contact-form .quote-status { grid-column: 1 / -1; }
.contact-field label { color: #e3e9ed; font-size: 14px; font-weight: 600; }
.contact-field label span { color: #93a0aa; font-weight: 500; }
.contact-form .field { height: 52px; font-size: 16px; }
.contact-form textarea.field { height: auto; min-height: 140px; padding: 14px 22px; border-radius: 20px; line-height: 1.6; resize: vertical; }
.contact-form .quote-consent { font-size: 13.5px; color: #cbd4db; }
.contact-form .quote-submit { width: 100%; height: 54px; border-radius: 999px; font-size: 16px; }
@media (max-width: 640px) {
  .contact-form-card { padding: 22px; }
  .quote-form.contact-form { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: a smaller, tighter inner-page hero so it fits the screen. */
@media (max-width: 640px) {
  .page-hero { padding: 92px 0 32px; }
  .page-hero > .page-container { gap: 24px; }
  .breadcrumbs { margin-bottom: 18px; font-size: 10.5px; letter-spacing: 1.2px; }
  .page-hero .section-kicker { font-size: 10.5px; }
  .page-hero h1 { font-size: clamp(21px, 5.9vw, 24px); line-height: 1.18; }
  .page-intro { margin-top: 14px; font-size: 14.5px; line-height: 1.7; }
  .page-hero .hero-ctas { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
  .page-hero .hero-cta { width: auto; height: 46px; min-height: 46px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
  .page-hero .hero-call { height: 46px; min-height: 46px; padding: 0 12px; white-space: nowrap; }
  .page-hero .hero-call-number { font-size: 12px; letter-spacing: .3px; }
  .page-highlights { padding: 18px; }
  .page-highlights li { font-size: 13.5px; line-height: 1.55; }
  .page-highlights li + li { margin-top: 8px; }
  .page-highlights svg { width: 18px; height: 18px; margin-top: 1px; }
}
