/* Site-wide refresh for theme pages. Pairs with area-pages.css (shared .ap components). */
.nc-refresh {
   --nc-navy: #172B56;
   --nc-cyan: #00ABE7;
   --nc-ice: #EEF7FB;
   --nc-line: #D6E9F2;
   --nc-ink: #3E4C66;
}

/* ---------- shared components used outside .ap-hero ---------- */
.ap-trust-float { position: relative; z-index: 3; margin-top: -52px; }
.ap-trust-float .ap-trust { margin-top: 0; box-shadow: 0 20px 44px rgba(14, 29, 61, .22); }

.ap-cta-box--solo { grid-template-columns: 1fr; }
.ap-cta-box--solo .ap-cta-body p { max-width: 640px; }

.ap-strip { padding: 64px 0; }
.ap-strip-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px;
   flex-wrap: wrap; padding: 36px 44px; border-radius: 20px; background: linear-gradient(120deg, #0E1D3D, #172B56);
   box-shadow: 0 20px 44px rgba(14, 29, 61, .2); }
.ap-strip-box > * { position: relative; z-index: 1; }
.ap .ap-strip-title { color: #fff; font-size: 28px; font-weight: 800; line-height: 1.2; margin: 0; }
.ap-strip .ap-eyebrow { margin-bottom: 8px; }
.nc-refresh section + .ap > .ap-strip { padding-top: 0; margin-top: -40px; }

/* ---------- theme page skin ---------- */
.nc-refresh .bg_gray11 { background-color: var(--nc-ice) !important; }
.nc-refresh h2.fs_45 { font-size: 40px; line-height: 1.2; }

/* content photos: one style everywhere (rounded, soft shadow, no offset shapes) */
.nc-refresh .auto-container .mb_30 > img,
.nc-refresh .auto-container .mb_15 > img,
.nc-refresh .auto-container p img,
.nc-refresh .auto-container .image-box img,
.nc-refresh .auto-container img.float-start,
.nc-refresh .auto-container img.float-end,
.nc-refresh .auto-container img[style*="float"],
.nc-refresh [class*="img-float-"] img,
.nc-refresh .nc-media img { border-radius: 14px; box-shadow: 0 16px 36px rgba(23, 43, 86, .16); }
.nc-refresh .col-lg-6 > .mb_30 > img,
.nc-refresh .col-lg-5 > .mb_30 > img { position: relative; z-index: 1; width: 100%; }
.nc-refresh section .auto-container { position: relative; }

/* gallery rows */
.nc-refresh .bnox_79 .mb_15 { overflow: hidden; border-radius: 14px; }
.nc-refresh .bnox_79 .mb_15 > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: none; transition: transform .4s ease; }
.nc-refresh .bnox_79 .mb_15:hover > img { transform: scale(1.04); }
.nc-refresh .bnox_79 .logo-container { display: flex; align-items: center; justify-content: center; height: 90px; border-radius: 0; }
.nc-refresh .bnox_79 .logo-container > img { width: auto; max-width: 140px; max-height: 70px; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.nc-refresh .bnox_79 .logo-container:hover > img { transform: none; }
.nc-refresh .auto-container .auto-container { padding-left: 0; padding-right: 0; }

/* lists: check circles instead of theme icons */
.nc-refresh ul.list-1 li { position: relative; padding-left: 36px; margin-bottom: 10px; font-size: 17px; font-weight: 500;
   line-height: 1.5; color: var(--nc-ink); font-family: inherit; }
.nc-refresh ul.list-1 li > i,
.nc-refresh ul.list-1 li > img.mr_15 { display: none; }
.nc-refresh ul.list-1 li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
   background: var(--nc-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.nc-refresh ul.list-1 li.nc-benefit { margin-bottom: 18px; font-size: 17px; font-weight: 400; line-height: 1.7; color: #646464; }
.nc-refresh ul.list-1 li.nc-benefit strong { display: block; margin-bottom: 2px; color: var(--nc-navy); font-size: 18px; font-weight: 700; }
.nc-refresh ul.list-1:has(> li:nth-child(6)):not(:has(> .nc-benefit)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.nc-refresh .row .col-md-6 ul.list-1 { display: block; }

.nc-refresh ul.list-50 li, .nc-refresh ul.list-50 li p { font-size: 17px; font-weight: 500; font-style: normal; line-height: 1.6; color: var(--nc-ink); }
.nc-refresh ul.list-50 li { margin-bottom: 8px; }

/* "why choose" restructure */
.nc-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin: 8px 0 44px; }
.nc-split-copy p:last-child { margin-bottom: 0; }
.nc-media { position: relative; }
.nc-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nc-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; margin-bottom: 20px; }
.nc-features > div { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; }
.nc-features > div > .nc-card { height: 100%; }
.nc-refresh .row > div > .nc-card { height: calc(100% - 22px); margin-bottom: 22px; }
.nc-card { padding: 28px 30px 12px; background: #fff; border: 1px solid var(--nc-line); border-top: 5px solid var(--nc-cyan);
   border-radius: 16px; box-shadow: 0 10px 30px rgba(23, 43, 86, .07); }
.nc-card .d-flex { margin-bottom: 14px !important; }
.nc-card i.fs_65 { font-size: 40px !important; width: 48px !important; line-height: 1; }
.nc-card h4 { color: var(--nc-navy); font-weight: 700; flex: 1; }
.nc-card p { font-size: 16px !important; color: #5B6B84; }
.nc-card p.mb_30 { margin-bottom: 16px !important; }

/* sidebar */
.nc-refresh .row > .col-lg-3:has(> .widget) { align-self: flex-start; position: sticky; top: 120px; }
.nc-refresh .col-lg-3 > .widget { border-radius: 16px; overflow: hidden; }
.nc-refresh .col-lg-3 > .widget:has(> .fs_30) { background: var(--nc-ice); padding: 28px 24px; }
.nc-refresh .col-lg-3 > .widget .fs_30 { color: var(--nc-navy); font-size: 26px !important; line-height: 1.25; }

/* buttons */
.nc-refresh .btn-1 { border-radius: 999px !important; }
.nc-refresh .link-btn .btn-1 { text-align: center; }
.nc-refresh .col-lg-3 .bg_dark { padding: 18px 26px 28px !important; }
.nc-refresh .col-lg-3 .link-btn .btn-1 { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
   padding: 16px 14px !important; font-size: 14px !important; letter-spacing: .04em; line-height: 1.2; white-space: nowrap; }
.nc-refresh .col-lg-3 .link-btn .btn-1 i { position: static; margin: 0 !important; font-size: 15px; line-height: 1; }

/* about page counters */
.nc-card:has(> .fun-fact-1-block) { display: flex; align-items: center; padding: 26px 28px; }
.nc-card .fun-fact-1-block { width: 100%; min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; }
.nc-card .fun-fact-1-block .d-flex { gap: 18px; margin-bottom: 0 !important; }
.nc-card .fun-fact-1-block i.fs_65 { flex: none; width: 56px !important; height: 56px; margin: 0 !important; display: flex; align-items: center;
   justify-content: center; border-radius: 14px; background: var(--nc-navy); color: var(--nc-cyan) !important; font-size: 30px !important; }
.nc-card .fun-fact-1-block i.fs_65::before { margin: 0; }
.nc-card .fun-fact-1-block .fs_50 { font-size: 40px !important; line-height: 1.1; white-space: nowrap; }
.nc-card .fun-fact-1-block p { color: var(--nc-navy) !important; font-size: 16px !important; }

/* About: "Over 30 Years of Experience" badge, content centered in the circle */
.nc-refresh .experience-year { display: flex !important; flex-direction: column; align-items: center; justify-content: center;
   padding: 0 !important; font-size: 15px !important; line-height: 1.2; }
.nc-refresh .experience-year .fs_60 { margin: 0 0 2px !important; font-size: 46px !important; line-height: 1; }

/* swatch rows on the James Hardie options page: same crop for every tile */
.nc-refresh .project-1-row .project-1-image img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }

/* page intro heading: icon beside the H1, not floated into the paragraph */
.nc-refresh .header-bottom { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.nc-refresh .header-bottom .header-icon { float: none; flex: none; width: 48px; margin: 0; }
.nc-refresh .header-bottom > h1, .nc-refresh .header-bottom > h2 { margin: 0 !important; }

/* lightbox caption: centered and readable */
.fancybox-caption-wrap { padding: 0 0 4vh; background: none; text-align: center; }
.fancybox-caption { display: inline-block; padding: 12px 26px; border: 0; border-radius: 999px; background: #172B56;
   color: #fff; font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.3; }
.fancybox-caption::before, .fancybox-caption::after { display: none; }

/* testimonial names on the About page's navy band */
.nc-refresh .testimonials-1-block .testimonials-1-author-title { color: #fff; font-size: 17px; }
.nc-refresh .testimonials-1-block .testimonials-1-designation { color: var(--nc-cyan); }

/* customer reviews: rows hold two copies of the reviews, so -50% loops seamlessly */
.nc-refresh .testimonial-row-scroll { width: max-content; }
.nc-refresh .testimonial-row-scroll.row1 { animation: ncReviewLoop 90s linear infinite; }
.nc-refresh .testimonial-row-scroll.row2 { animation: ncReviewLoop 110s linear infinite; }
.nc-refresh .testimonial-row-scroll:hover { animation-play-state: paused; }
.nc-refresh .testimonial-block-scroll { flex: 0 0 420px; width: 420px; }
@keyframes ncReviewLoop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 575px) { .nc-refresh .testimonial-block-scroll { flex-basis: 320px; width: 320px; } }
@media (prefers-reduced-motion: reduce) { .nc-refresh .testimonial-row-scroll { animation: none; } }

/* vendor logo row (static) */
.nc-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-evenly; gap: 20px 16px; padding: 0 0 10px; }
.nc-logos .client-logo-1-image { margin: 0 !important; display: flex; align-items: center; justify-content: center; width: 140px; height: 110px; padding: 0 !important; flex: none; }
.nc-logos img { width: auto !important; max-width: 100%; max-height: 100px; object-fit: contain; }

/* blog resource links */
.nc-resources { margin-top: 36px; padding: 26px 30px; background: var(--nc-ice); border-left: 5px solid var(--nc-cyan); border-radius: 14px; }
.nc-refresh .nc-resources-title { margin: 0 0 12px; color: var(--nc-navy); font-size: 20px; font-weight: 700; line-height: 1.3; }
.nc-resources ul { margin: 0; padding: 0; list-style: none; }
.nc-resources li { position: relative; padding: 6px 0 6px 22px; line-height: 1.5; }
.nc-resources li::before { content: "\203A"; position: absolute; left: 4px; top: 4px; color: var(--nc-cyan); font-size: 20px; font-weight: 700; }
.nc-resources a { color: var(--nc-navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 171, 231, .45); text-underline-offset: 3px; }
.nc-resources a:hover { color: var(--nc-cyan); }
.nc-refresh .col-lg-3 .nc-resources { margin: 0 0 30px; padding: 22px; }

/* typography consistency */
.nc-refresh section .auto-container h2:not([class]) { font-size: 40px; line-height: 1.2; margin: 34px 0 16px; }
.nc-refresh section .auto-container h3:not([class]) { color: var(--nc-navy); font-size: 24px; font-weight: 700; line-height: 1.3; margin: 26px 0 10px; }
.nc-refresh section .auto-container p em, .nc-refresh section .auto-container li em { font-style: normal; }

/* FAQ accordions on service pages */
.nc-refresh .faq-section { background: var(--nc-ice) !important; }
.nc-refresh .faq-section .accordion-item { border: 1px solid var(--nc-line) !important; border-left: 5px solid var(--nc-cyan) !important;
   border-radius: 12px !important; margin-bottom: 14px; overflow: hidden; background: #fff; }
.nc-refresh .faq-section .accordion-button { font-weight: 700; color: var(--nc-navy); box-shadow: none !important; background: #fff; }
.nc-refresh .faq-section .accordion-button:not(.collapsed) { color: var(--nc-navy); background: #fff; }

/* filler for intro columns that end well above their neighbour */
.nc-fill .ap-faq-card { margin-top: 30px; padding: 30px; }
.nc-fill .ap-eyebrow { margin-bottom: 8px; }
.nc-fill .ap-faq-card-title { font-size: 24px !important; line-height: 1.25; }
.nc-fill .ap .ap-faq-card p { font-size: 16px; margin-bottom: 20px; }
.nc-fill .ap-btn { padding: 13px 22px; font-size: 15px; }
.nc-fill-photo { margin-top: 30px; }
.nc-fill-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: 0 16px 36px rgba(23, 43, 86, .16); }
@media (min-width: 992px) {
   .nc-fill-col, .nc-fill { display: flex; flex-direction: column; }
   .nc-fill { flex: 1 1 auto; }
   .nc-fill-photo { position: relative; flex: 1 1 0; min-height: 240px; }
   .nc-fill-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
   .nc-stretch { display: flex; flex-direction: column; }
   .nc-stretch > .mb_30:has(> img) { position: relative; flex: 1 1 0; min-height: 320px; }
   .nc-stretch > .mb_30 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

@media (max-width: 991px) {
   .ap-trust-float { margin-top: -36px; }
   .nc-split { grid-template-columns: 1fr; gap: 32px; }
   .nc-refresh .row > .col-lg-3:has(> .widget) { position: static; }
   .nc-refresh h2.fs_45 { font-size: 32px; }
   .ap-strip-box { padding: 30px 26px; }
}
@media (max-width: 575px) {
   .nc-features { grid-template-columns: 1fr; }
   .nc-refresh ul.list-1:has(> li:nth-child(6)) { grid-template-columns: 1fr; }
   .ap .ap-strip-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
   .nc-refresh .bnox_79 .mb_15 > img { transition: none; }
}

/* footer estimate block (replaces the newsletter) */
.nc-footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.nc-footer-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px;
   background: #00ABE7; color: #fff !important; font-size: 15px; font-weight: 600; line-height: 1; transition: background .2s, color .2s; }
.nc-footer-btn:hover { background: #fff; color: #172B56 !important; }
.nc-footer-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-size: 22px; font-weight: 600; }
.nc-footer-phone i { color: #00ABE7; font-size: 17px; transform: scaleX(-1); }
.nc-footer-phone:hover { color: #00ABE7 !important; }
.nc-footer-trust { margin: 0 0 22px; color: rgba(255, 255, 255, .6); font-size: 14px; }
